mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
switch current u-boot to v2025.01
This commit is contained in:
@@ -37,6 +37,28 @@ function post_family_config_branch_edge__rock-3a_use_mainline_uboot() {
|
||||
}
|
||||
}
|
||||
|
||||
function post_family_config_branch_current__rock-3a_use_mainline_uboot() {
|
||||
display_alert "$BOARD" "Mainline U-Boot overrides for $BOARD - $BRANCH" "info"
|
||||
unset BOOTFS_TYPE # fixes armbian-install and unneeded for modern uboot anyway
|
||||
declare -g BOOTCONFIG="rock-3a-rk3568_defconfig"
|
||||
declare -g BOOTDELAY=1
|
||||
declare -g BOOTSOURCE="https://github.com/u-boot/u-boot"
|
||||
declare -g BOOTBRANCH="tag:v2025.01"
|
||||
declare -g BOOTPATCHDIR="v2025.01"
|
||||
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 u-boot-rockchip-spi.bin"
|
||||
unset uboot_custom_postprocess write_uboot_platform write_uboot_platform_mtd # disable stuff from rockchip64_common; we're using binman here which does all the work already
|
||||
|
||||
# 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
|
||||
}
|
||||
|
||||
function write_uboot_platform_mtd() {
|
||||
flashcp -v -p "$1/u-boot-rockchip-spi.bin" /dev/mtd0
|
||||
}
|
||||
}
|
||||
|
||||
function post_family_config__rock3a_uboot_add_sata_target() {
|
||||
display_alert "$BOARD" "Configuring ($BOARD) standard and sata uboot target map" "info"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user