mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
33 lines
1.2 KiB
Plaintext
33 lines
1.2 KiB
Plaintext
# Rockchip RK3568 quad core SOC with 1-8GB eMMC USB3
|
|
BOARD_NAME="Lubancat2"
|
|
BOARDFAMILY="rk35xx"
|
|
BOARD_FIRMWARE_INSTALL="-full"
|
|
BOARD_MAINTAINER="andyshrk"
|
|
BOOTCONFIG="lubancat-2-rk3568_defconfig"
|
|
KERNEL_TARGET="edge"
|
|
FULL_DESKTOP="yes"
|
|
BOOT_LOGO="desktop"
|
|
BOOT_FDT_FILE="rockchip/rk3568-lubancat-2.dtb"
|
|
BOOT_SCENARIO="spl-blobs"
|
|
IMAGE_PARTITION_TABLE="gpt"
|
|
|
|
# Mainline U-Boot
|
|
function post_family_config_branch_edge__lubancat_2_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"
|
|
declare -g BOOTPATCHDIR="v2024.07"
|
|
# 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
|
|
}
|
|
}
|