orangepizero2: current: linux-5.13 support

This commit is contained in:
leeboby
2021-10-11 18:19:49 +08:00
parent 6cfbcaaf9c
commit 1c450892b7
8 changed files with 8320 additions and 18 deletions

4
external/config/sources/families/include/sunxi64_common.inc vendored Normal file → Executable file
View File

@@ -32,7 +32,11 @@ write_uboot_platform()
dd if=$1/boot0_sdcard.fex of=$2 bs=8k seek=1 conv=fsync > /dev/null 2>&1
dd if=$1/boot_package.fex of=$2 bs=8k seek=2050 conv=fsync > /dev/null 2>&1 || true
elif [[ -f $1/u-boot-with-dtb.bin ]]; then # legacy a64 loader
dd if=/dev/zero of=$2 bs=1k count=1023 seek=1 status=noxfer > /dev/null 2>&1
dd if=$1/u-boot-with-dtb.bin of=$2 bs=1k seek=8 conv=fsync > /dev/null 2>&1 || true
elif [[ -f $1/u-boot-sunxi-with-spl.bin ]]; then
dd if=/dev/zero of=$2 bs=1k count=1023 seek=1 status=noxfer > /dev/null 2>&1
dd if=$1/u-boot-sunxi-with-spl.bin of=$2 bs=1k seek=8 conv=fsync > /dev/null 2>&1 || true
else
[[ -f $1/sunxi-spl.bin ]] && dd if=$1/sunxi-spl.bin of=$2 bs=8k seek=1 conv=fsync > /dev/null 2>&1
[[ -f $1/u-boot.itb ]] && dd if=$1/u-boot.itb of=$2 bs=8k seek=5 conv=fsync > /dev/null 2>&1 || true