imx6sabresd/create-boot-sd.sh: allow usage for i.MX53

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>
This commit is contained in:
Eric Benard 2014-10-20 14:46:16 +02:00 committed by Peter Korsgaard
parent e8d8a37a79
commit 98db1a5388
2 changed files with 4 additions and 5 deletions

View File

@ -0,0 +1 @@
../imx6sabresd/create-boot-sd.sh

View File

@ -7,9 +7,7 @@ PROGNAME=$(basename $0)
usage() usage()
{ {
echo "Create an SD card that boots on an i.MX6DL SABRESD board." echo "Create an SD card that boots on an i.MX53/6 board."
echo "It is supposed to work also for the i.MX6Q SABRESD board, but"
echo "it this is not tested."
echo echo
echo "Note: all data on the the card will be completely deleted!" echo "Note: all data on the the card will be completely deleted!"
echo "Use with care!" echo "Use with care!"
@ -77,8 +75,8 @@ TMPDIR=$(mktemp -d)
# FAT partition: kernel and DTBs # FAT partition: kernel and DTBs
mkfs.vfat ${PART1} mkfs.vfat ${PART1}
mount ${PART1} ${TMPDIR} mount ${PART1} ${TMPDIR}
cp output/images/uImage ${TMPDIR}/ cp output/images/*Image ${TMPDIR}/
cp output/images/*.dtb ${TMPDIR}/ cp output/images/*.dtb ${TMPDIR}/ || true
sync sync
umount ${TMPDIR} umount ${TMPDIR}