From: "Eric Bénard" <eric@eukrea.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2 2/2] imx6sabresd/create-boot-sd.sh: allow usage for i.MX53
Date: Mon, 20 Oct 2014 12:12:52 +0200 [thread overview]
Message-ID: <1413799972-4281-2-git-send-email-eric@eukrea.com> (raw)
In-Reply-To: <1413799972-4281-1-git-send-email-eric@eukrea.com>
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>
---
board/freescale/imx53loco/create-boot-sd.sh | 1 +
board/freescale/imx6sabresd/create-boot-sd.sh | 8 +++-----
2 files changed, 4 insertions(+), 5 deletions(-)
create mode 120000 board/freescale/imx53loco/create-boot-sd.sh
diff --git a/board/freescale/imx53loco/create-boot-sd.sh b/board/freescale/imx53loco/create-boot-sd.sh
new file mode 120000
index 0000000..3083fd2
--- /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 9930b1e..af45115 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}
--
2.1.1
prev parent reply other threads:[~2014-10-20 10:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-20 10:12 [Buildroot] [PATCH v2 1/2] mx53loco: update support Eric Bénard
2014-10-20 10:12 ` Eric Bénard [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1413799972-4281-2-git-send-email-eric@eukrea.com \
--to=eric@eukrea.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox