mirror of
https://github.com/DrHo1y/orangepi-build.git
synced 2026-11-10 09:47:20 +07:00
Update for h618
This commit is contained in:
@@ -60,8 +60,10 @@ case $BRANCH in
|
||||
ATF_TARGET_MAP='PLAT=sun50i_h616 DEBUG=1 bl31;;build/sun50i_h616/debug/bl31.bin'
|
||||
UBOOT_TARGET_MAP=';;u-boot-sunxi-with-spl.bin'
|
||||
[[ $BOARD =~ orangepizero2 ]] && BOOTBRANCH='branch:v2021.10-sunxi'
|
||||
[[ $BOARD =~ orangepizero3|orangepir1b|orangepizero2w ]] && BOOTBRANCH='v2021.07-sunxi'
|
||||
BOOTSCRIPT='boot-sun50iw9-next.cmd:boot.cmd'
|
||||
if [[ $BOARD =~ orangepizero3|orangepir1b|orangepizero2w ]]; then
|
||||
BOOTBRANCH='branch:v2021.07-sunxi'
|
||||
fi
|
||||
|
||||
## For Linux5.16.y
|
||||
#KERNELBRANCH="branch:orange-pi-5.16-sunxi64"
|
||||
@@ -112,7 +114,7 @@ family_tweaks_bsp()
|
||||
uboot_custom_postprocess()
|
||||
{
|
||||
|
||||
if [[ ${BRANCH} =~ legacy|current ]]; then
|
||||
if [[ ${BRANCH} =~ legacy|current && $(dpkg --print-architecture) == amd64 ]]; then
|
||||
|
||||
rm dts/*.dts sys_config ${BOARD}-u-boot-${BRANCH}.dtb -r >/dev/null 2>&1
|
||||
export PATH=${EXTER}/packages/pack-uboot/${BOARDFAMILY}/tools/:$PATH
|
||||
|
||||
Reference in New Issue
Block a user