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:
The-going
2022-03-01 10:38:17 +03:00
committed by GitHub
parent ac05b7a14a
commit 9f207654ac

View File

@@ -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