mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
Fix build for orangepizero2, sun50iw9 (#3517)
* Fix build LEGACY for sun50iw9
* Revert "Fix build LEGACY for sun50iw9"
This reverts commit 4ed64f395a.
* Unset var_origin_kernel for sun50iw9 LINUXFAMILY
This commit is contained in:
@@ -8,6 +8,7 @@ case $BRANCH in
|
||||
|
||||
legacy)
|
||||
|
||||
unset var_origin_kernel
|
||||
LINUXFAMILY=sun50iw9
|
||||
KERNELSOURCE='https://github.com/orangepi-xunlong/linux-orangepi.git'
|
||||
KERNELBRANCH="branch:orange-pi-4.9-sun50iw9"
|
||||
@@ -26,7 +27,7 @@ case $BRANCH in
|
||||
ATFSOURCE=""
|
||||
ATF_COMPILE="no"
|
||||
INITRD_ARCH=arm
|
||||
|
||||
|
||||
ASOUND_STATE='asound.state.sun50iw9-legacy'
|
||||
|
||||
write_uboot_platform()
|
||||
@@ -93,11 +94,11 @@ if [[ ${BRANCH} == legacy ]]; then
|
||||
cp ${BOARD}-u-boot.dtb sunxi.fex
|
||||
$SRC/packages/pack-uboot/${BOARDFAMILY}/tools/update_dtb sunxi.fex 4096
|
||||
$SRC/packages/pack-uboot/${BOARDFAMILY}/tools/update_boot0 boot0_sdcard.fex sys_config.bin SDMMC_CARD
|
||||
|
||||
|
||||
$SRC/packages/pack-uboot/${BOARDFAMILY}/tools/update_uboot -no_merge u-boot.fex sys_config.bin
|
||||
update_uboot -no_merge u-boot.bin sys_config.bin
|
||||
#pack boot package
|
||||
|
||||
|
||||
busybox unix2dos boot_package.cfg
|
||||
$SRC/packages/pack-uboot/${BOARDFAMILY}/tools/dragonsecboot -pack boot_package.cfg
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user