Skip to content

Instantly share code, notes, and snippets.

@cengiz-io
Created December 26, 2019 17:25
Show Gist options
  • Save cengiz-io/b3de38c6c6874e98b14e29279bab6d74 to your computer and use it in GitHub Desktop.
Save cengiz-io/b3de38c6c6874e98b14e29279bab6d74 to your computer and use it in GitHub Desktop.
sun50iw6p1smp_defconfig
arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dtb
arm64/boot/dts/allwinner/sun50i-h6-orangepi-lite2.dtb
arm64/boot/dts/allwinner/sun50i-h6-orangepi-one-plus.dtb
/build/OrangePiH6_mainline/external/chips/sun50iw6p1/mainline/bl31.bin
/build/OrangePiH6_mainline/uboot/
uboot make orangepi_3_defconfig
start=$(aarch64-linux-gnu-nm u-boot | grep __rel_dyn_start | cut -f 1 -d ' ');
end=$(aarch64-linux-gnu-nm u-boot | grep __rel_dyn_end | cut -f 1 -d ' ');
tools/relocate-rela u-boot-nodtb.bin 0x4a000000 $start $end
OBJCOPY spl/u-boot-spl-nodtb.bin
COPY spl/u-boot-spl.bin
MKSUNXI spl/sunxi-spl.bin
CAT u-boot-sunxi-with-spl.bin
CFGCHK u-boot.cfg
u-boot-sunxi-with-spl.bin
u-boot-sunxi-with-spl.bin-3 -f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment