quartz64: Integrate into rockchip64 board family
The `media` board family is being deprecated.
This commit is contained in:
parent
eb60d33aba
commit
fc279e8e97
@ -1,14 +1,31 @@
|
||||
# Rockchip RK3566 quad core 4GB-8GB GBE PCIe USB3
|
||||
BOARD_NAME="Pine Quartz64 A"
|
||||
BOARDFAMILY="media"
|
||||
BOARDFAMILY="rockchip64"
|
||||
BOARD_MAINTAINER=""
|
||||
BOOT_SOC="rk3568"
|
||||
BOOT_SOC="rk3566"
|
||||
BOOTCONFIG="quartz64-a-rk3566_defconfig"
|
||||
KERNEL_TARGET="current,edge"
|
||||
FULL_DESKTOP="yes"
|
||||
BOOT_LOGO="desktop"
|
||||
BOOT_FDT_FILE="rockchip/rk3566-quartz64-a.dtb"
|
||||
SRC_EXTLINUX="yes"
|
||||
SRC_CMDLINE="console=ttyS02,1500000 console=tty0"
|
||||
ASOUND_STATE="asound.state.station-m2"
|
||||
IMAGE_PARTITION_TABLE="gpt"
|
||||
|
||||
# Mainline U-Boot
|
||||
function post_family_config__quartz64_a_use_mainline_uboot() {
|
||||
display_alert "$BOARD" "Using mainline U-Boot for $BOARD / $BRANCH" "info"
|
||||
|
||||
declare -g BOOTSOURCE="https://github.com/u-boot/u-boot.git" # We ❤️ Mainline U-Boot
|
||||
declare -g BOOTBRANCH="tag:v2024.07-rc5"
|
||||
declare -g BOOTPATCHDIR="v2024.07/board_${BOARD}"
|
||||
# Don't set BOOTDIR, allow shared U-Boot source directory for disk space efficiency
|
||||
|
||||
declare -g UBOOT_TARGET_MAP="BL31=${RKBIN_DIR}/${BL31_BLOB} ROCKCHIP_TPL=${RKBIN_DIR}/${DDR_BLOB};;u-boot-rockchip.bin"
|
||||
|
||||
# Disable stuff from rockchip64_common; we're using binman here which does all the work already
|
||||
unset uboot_custom_postprocess write_uboot_platform write_uboot_platform_mtd
|
||||
|
||||
# Just use the binman-provided u-boot-rockchip.bin, which is ready-to-go
|
||||
function write_uboot_platform() {
|
||||
dd "if=$1/u-boot-rockchip.bin" "of=$2" bs=32k seek=1 conv=notrunc status=none
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,13 +1,31 @@
|
||||
# Rockchip RK3566 quad core 4GB-8GB GBE PCIe USB3
|
||||
BOARD_NAME="Pine Quartz64 B"
|
||||
BOARDFAMILY="media"
|
||||
BOARDFAMILY="rockchip64"
|
||||
BOARD_MAINTAINER=""
|
||||
BOOT_SOC="rk3568"
|
||||
BOOT_SOC="rk3566"
|
||||
BOOTCONFIG="quartz64-b-rk3566_defconfig"
|
||||
KERNEL_TARGET="current,edge"
|
||||
FULL_DESKTOP="yes"
|
||||
BOOT_LOGO="desktop"
|
||||
BOOT_FDT_FILE="rockchip/rk3566-quartz64-b.dtb"
|
||||
SRC_EXTLINUX="yes"
|
||||
SRC_CMDLINE="console=ttyS02,1500000 console=tty0"
|
||||
IMAGE_PARTITION_TABLE="gpt"
|
||||
|
||||
# Mainline U-Boot
|
||||
function post_family_config__quartz64_b_use_mainline_uboot() {
|
||||
display_alert "$BOARD" "Using mainline U-Boot for $BOARD / $BRANCH" "info"
|
||||
|
||||
declare -g BOOTSOURCE="https://github.com/u-boot/u-boot.git" # We ❤️ Mainline U-Boot
|
||||
declare -g BOOTBRANCH="tag:v2024.07-rc5"
|
||||
declare -g BOOTPATCHDIR="v2024.07/board_${BOARD}"
|
||||
# Don't set BOOTDIR, allow shared U-Boot source directory for disk space efficiency
|
||||
|
||||
declare -g UBOOT_TARGET_MAP="BL31=${RKBIN_DIR}/${BL31_BLOB} ROCKCHIP_TPL=${RKBIN_DIR}/${DDR_BLOB};;u-boot-rockchip.bin"
|
||||
|
||||
# Disable stuff from rockchip64_common; we're using binman here which does all the work already
|
||||
unset uboot_custom_postprocess write_uboot_platform write_uboot_platform_mtd
|
||||
|
||||
# Just use the binman-provided u-boot-rockchip.bin, which is ready-to-go
|
||||
function write_uboot_platform() {
|
||||
dd "if=$1/u-boot-rockchip.bin" "of=$2" bs=32k seek=1 conv=notrunc status=none
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user