mirror of
https://github.com/DrHo1y/orangepi-build.git
synced 2026-11-21 17:42:45 +07:00
orangepizero2: current: linux-5.13 support
This commit is contained in:
4
external/config/sources/families/include/sunxi64_common.inc
vendored
Normal file → Executable file
4
external/config/sources/families/include/sunxi64_common.inc
vendored
Normal file → Executable 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
|
||||
|
||||
Reference in New Issue
Block a user