mirror of https://github.com/armbian/build.git
abandon vendor uboot
This commit is contained in:
parent
81ad50f257
commit
35b9c5360c
|
|
@ -56,8 +56,7 @@ function post_family_tweaks__enable_aic8800_bluetooth_service() {
|
|||
fi
|
||||
}
|
||||
|
||||
function post_family_config__use_mainline_uboot() {
|
||||
[[ "${BRANCH}" == "vendor" ]] && return 0
|
||||
function post_family_config__1_use_mainline_uboot() {
|
||||
|
||||
unset BOOT_FDT_FILE # boot.scr will use whatever u-boot detects and sets 'fdtfile' to
|
||||
unset BOOTFS_TYPE # mainline u-boot can boot ext4 directly
|
||||
|
|
@ -80,17 +79,7 @@ function post_family_config__use_mainline_uboot() {
|
|||
}
|
||||
}
|
||||
|
||||
# Override family config for this board; let's avoid conditionals in family config.
|
||||
function post_family_config_branch_vendor__radxa-zero3_use_vendor_uboot() {
|
||||
BOOTSOURCE='https://github.com/radxa/u-boot.git'
|
||||
BOOTBRANCH='branch:rk35xx-2024.01'
|
||||
BOOTPATCHDIR="u-boot-radxa-latest"
|
||||
|
||||
UBOOT_TARGET_MAP="BL31=$RKBIN_DIR/$BL31_BLOB ROCKCHIP_TPL=$RKBIN_DIR/$DDR_BLOB;;u-boot-rockchip.bin"
|
||||
|
||||
unset uboot_custom_postprocess write_uboot_platform write_uboot_platform_mtd
|
||||
|
||||
function write_uboot_platform() {
|
||||
dd if=$1/u-boot-rockchip.bin of=$2 seek=64 conv=notrunc status=none
|
||||
}
|
||||
function post_family_config_branch_vendor__2_zero3_different_dtb_for_vendor() {
|
||||
declare -g BOOT_FDT_FILE="rockchip/rk3566-radxa-zero3.dtb"
|
||||
display_alert "$BOARD" "Using ${BOOT_FDT_FILE} for ${BRANCH}" "warn"
|
||||
}
|
||||
Loading…
Reference in New Issue