2024-09-18 16:11:51 +00:00
|
|
|
# Rockchip RK3568 quad core 4GB-8GB GBE PCIe USB3 SATA NVMe
|
|
|
|
|
BOARD_NAME="Mixtile Edge 2"
|
2025-02-15 16:06:14 +00:00
|
|
|
BOARDFAMILY="rk35xx"
|
|
|
|
|
BOOTCONFIG="mixtile-edge2-rk3568_defconfig"
|
2024-09-18 16:11:51 +00:00
|
|
|
BOARD_MAINTAINER=""
|
|
|
|
|
BOOT_SOC="rk3568"
|
|
|
|
|
KERNEL_TARGET="current,edge,vendor"
|
|
|
|
|
BOOT_FDT_FILE="rockchip/rk3568-mixtile-edge2.dtb"
|
|
|
|
|
IMAGE_PARTITION_TABLE="gpt"
|
|
|
|
|
FULL_DESKTOP="yes"
|
|
|
|
|
BOOT_LOGO="desktop"
|
|
|
|
|
SRC_CMDLINE="earlycon=uart8250,mmio32,0xfe660000 loglevel=7 console=ttyS2,1500000" # for extlinux / EXT=u-boot-menu
|
|
|
|
|
|
|
|
|
|
# Mainline U-Boot
|
|
|
|
|
function post_family_config__h96_max_use_mainline_uboot() {
|
|
|
|
|
if [[ "${BRANCH}" == "vendor" || "${BRANCH}" == "legacy" ]]; then
|
|
|
|
|
display_alert "$BOARD" "Using vendor U-Boot for $BOARD / $BRANCH" "info" # See below hook
|
|
|
|
|
return
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
display_alert "$BOARD" "Using mainline U-Boot for $BOARD / $BRANCH" "info"
|
|
|
|
|
|
2025-11-13 07:46:16 +00:00
|
|
|
declare -g BOOTCONFIG="generic-rk3568_defconfig"
|
|
|
|
|
declare -g BOOTSOURCE="https://github.com/u-boot/u-boot.git"
|
2024-09-18 16:11:51 +00:00
|
|
|
declare -g BOOTBRANCH="tag:v2024.07"
|
|
|
|
|
declare -g BOOTPATCHDIR="v2024.07/board_${BOARD}"
|
|
|
|
|
declare -g BOOTDIR="u-boot-${BOARD}" # do not share u-boot directory
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
}
|
|
|
|
|
}
|