Add iMX8 NMHW23 build script
This commit is contained in:
parent
009844bc23
commit
eca191faab
|
|
@ -0,0 +1,20 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Stop on error
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
# Build boot image
|
||||||
|
|
||||||
|
make imx8_nmhw23_defconfig
|
||||||
|
export ATF_LOAD_ADDR=0x80000000
|
||||||
|
export BL33_LOAD_ADDR=0x80020000
|
||||||
|
make flash.bin
|
||||||
|
|
||||||
|
# Generate boot image
|
||||||
|
|
||||||
|
dd if=u-boot.itb of=flash.bin bs=512 seek=528
|
||||||
|
|
||||||
|
# Generate eMMC/SD image
|
||||||
|
|
||||||
|
dd if=flash.bin of=flash.sd bs=1k seek=32 conv=fsync
|
||||||
Loading…
Reference in New Issue