mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
additional commenting on binman-atf-mainline BOOT_SCENARIO
This commit is contained in:
@@ -176,6 +176,7 @@ prepare_boot_configuration() {
|
|||||||
UBOOT_TARGET_MAP="BL31=bl31.elf idbloader.img u-boot.itb;;idbloader.img u-boot.itb"
|
UBOOT_TARGET_MAP="BL31=bl31.elf idbloader.img u-boot.itb;;idbloader.img u-boot.itb"
|
||||||
[[ $BOOT_SCENARIO == binman-atf-mainline ]] &&
|
[[ $BOOT_SCENARIO == binman-atf-mainline ]] &&
|
||||||
UBOOT_TARGET_MAP="BL31=bl31.elf;;u-boot-rockchip.bin"
|
UBOOT_TARGET_MAP="BL31=bl31.elf;;u-boot-rockchip.bin"
|
||||||
|
# binman builds do not have separate build targets for idbloader.img and u-boot.itb
|
||||||
;;
|
;;
|
||||||
tpl-spl-blob)
|
tpl-spl-blob)
|
||||||
UBOOT_TARGET_MAP="BL31=$RKBIN_DIR/$BL31_BLOB idbloader.img u-boot.itb;;idbloader.img u-boot.itb"
|
UBOOT_TARGET_MAP="BL31=$RKBIN_DIR/$BL31_BLOB idbloader.img u-boot.itb;;idbloader.img u-boot.itb"
|
||||||
@@ -213,6 +214,7 @@ uboot_custom_postprocess() {
|
|||||||
|
|
||||||
case "$BOOT_SCENARIO" in
|
case "$BOOT_SCENARIO" in
|
||||||
blobless | tpl-spl-blob | binman*)
|
blobless | tpl-spl-blob | binman*)
|
||||||
|
# binman-atf-mainline functions the same as original `binman` after build
|
||||||
:
|
:
|
||||||
;;
|
;;
|
||||||
|
|
||||||
@@ -283,7 +285,7 @@ write_uboot_platform() {
|
|||||||
local logging_prelude=""
|
local logging_prelude=""
|
||||||
[[ $(type -t run_host_command_logged) == function ]] && logging_prelude="run_host_command_logged"
|
[[ $(type -t run_host_command_logged) == function ]] && logging_prelude="run_host_command_logged"
|
||||||
|
|
||||||
if [ -f $1/u-boot-rockchip.bin ]; then #"$BOOT_SCENARIO" == binman
|
if [ -f $1/u-boot-rockchip.bin ]; then #"$BOOT_SCENARIO" == "binman" or "binman-atf-mainline"
|
||||||
${logging_prelude} dd if=$1/u-boot-rockchip.bin of=$2 bs=32k seek=1 conv=notrunc status=none
|
${logging_prelude} dd if=$1/u-boot-rockchip.bin of=$2 bs=32k seek=1 conv=notrunc status=none
|
||||||
elif [ -f $1/rksd_loader.img ]; then # legacy rk3399 loader
|
elif [ -f $1/rksd_loader.img ]; then # legacy rk3399 loader
|
||||||
${logging_prelude} dd if=$1/rksd_loader.img of=$2 seek=64 conv=notrunc status=none
|
${logging_prelude} dd if=$1/rksd_loader.img of=$2 seek=64 conv=notrunc status=none
|
||||||
|
|||||||
Reference in New Issue
Block a user