diff options
| author | Eric Benard <eric@eukrea.com> | 2014-10-20 14:46:16 +0200 |
|---|---|---|
| committer | Peter Korsgaard <peter@korsgaard.com> | 2014-10-25 01:04:08 +0200 |
| commit | 98db1a53889528b26248ea4cc31811aa97d9dde6 (patch) | |
| tree | a28a2f4068f4308e42c860db1af0bc0e3188a6ec | |
| parent | e8d8a37a79ded23b54ef7953a869f4937350aea9 (diff) | |
| download | buildroot-98db1a53889528b26248ea4cc31811aa97d9dde6.tar.gz buildroot-98db1a53889528b26248ea4cc31811aa97d9dde6.zip | |
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>
| l--------- | board/freescale/imx53loco/create-boot-sd.sh | 1 | ||||
| -rwxr-xr-x | board/freescale/imx6sabresd/create-boot-sd.sh | 8 |
2 files changed, 4 insertions, 5 deletions
diff --git a/board/freescale/imx53loco/create-boot-sd.sh b/board/freescale/imx53loco/create-boot-sd.sh new file mode 120000 index 0000000000..3083fd2869 --- /dev/null +++ b/board/freescale/imx53loco/create-boot-sd.sh @@ -0,0 +1 @@ +../imx6sabresd/create-boot-sd.sh
\ No newline at end of file diff --git a/board/freescale/imx6sabresd/create-boot-sd.sh b/board/freescale/imx6sabresd/create-boot-sd.sh index 9930b1eed3..af45115c72 100755 --- a/board/freescale/imx6sabresd/create-boot-sd.sh +++ b/board/freescale/imx6sabresd/create-boot-sd.sh @@ -7,9 +7,7 @@ PROGNAME=$(basename $0) 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!" @@ -77,8 +75,8 @@ TMPDIR=$(mktemp -d) # 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} |

