this script permits the generation of an sdcard that will boot on
and i.MX53 QSB with a recent bootloader (now supported by buildroot).
Tested on an i.MX53 QSB and an i.MX53 QSB-R
Signed-off-by: Eric BĂ©nard <eric@eukrea.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
--- /dev/null
+../imx6sabresd/create-boot-sd.sh
\ No newline at end of file
usage()
{
- echo "Create an SD card that boots on an i.MX6DL SABRESD board."
- echo "It is supposed to work also for the i.MX6Q SABRESD board, but"
- echo "it this is not tested."
+ echo "Create an SD card that boots on an i.MX53/6 board."
echo
echo "Note: all data on the the card will be completely deleted!"
echo "Use with care!"
# FAT partition: kernel and DTBs
mkfs.vfat ${PART1}
mount ${PART1} ${TMPDIR}
-cp output/images/uImage ${TMPDIR}/
-cp output/images/*.dtb ${TMPDIR}/
+cp output/images/*Image ${TMPDIR}/
+cp output/images/*.dtb ${TMPDIR}/ || true
sync
umount ${TMPDIR}