summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2020-04-22 05:21:01 -0700
committerYe Li <ye.li@nxp.com>2020-04-22 05:21:01 -0700
commit5cffd1cec6873582687e9296b982e157644f286f (patch)
treed6c6e14d2908e14516f3ec4dbe10577c937876c0
parenta5317d1ad2010ff9942ac4f027886bb831a9ff39 (diff)
imx8: Update flexspi script to keep flexspi header
Generate a flexspi header file "imx-fspi-header.bin" when building flash.bin image for flexspi booting. The binary is from the 0 offset of flash. Signed-off-by: Ye Li <ye.li@nxp.com>
-rwxr-xr-xscripts/fspi_packer.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/fspi_packer.sh b/scripts/fspi_packer.sh
index 98c7d21..50f265f 100755
--- a/scripts/fspi_packer.sh
+++ b/scripts/fspi_packer.sh
@@ -11,6 +11,7 @@ fi
dd if=qspi-flash of=qspi-flash.off bs=1k seek=4
dd if=qspi-header.off of=qspi-flash.off conv=notrunc
mv qspi-flash.off flash.bin
+cp qspi-header.off imx-fspi-header.bin
rm qspi-tmp qspi-header* qspi-flash*
echo "F(Q)SPI IMAGE PACKED"