From: Sascha Hauer <s.hauer@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH] imx-image support
Date: Fri, 24 May 2013 08:33:59 +0200 [thread overview]
Message-ID: <1369377242-23493-1-git-send-email-s.hauer@pengutronix.de> (raw)
This series adds a imx-image and a imx-usb-loader tool. The imx-image
tool can be used to generate the i.MX images for the internal boot mode.
Advantage over generating them with gcc/ld is that we can use the more
advanced features of the image format, like the register polling
functions. Also I think the process is easier to understand.
The second tool is a USB upload tool for i.MX SoCs. It's based on work
by Eric Nelson, but heavily updated. This tool can directly upload and
execute the imx-images. It is known to work on i.MX35,51,53,6.
Last not least the babbage board is converted to use the imx-image
tool as an example how to use this stuff.
Sascha
----------------------------------------------------------------
Sascha Hauer (3):
ARM: Makefile: Make sure to clean boarddirs
scripts: Add imx-usb-loader tool
ARM: i.MX51 babbage: switch to imx-image
arch/arm/Makefile | 201 +--
arch/arm/boards/freescale-mx51-pdk/Makefile | 4 +-
arch/arm/boards/freescale-mx51-pdk/board.c | 7 +-
arch/arm/boards/freescale-mx51-pdk/dcd-data.h | 60 -
.../boards/freescale-mx51-pdk/flash-header.imxcfg | 59 +
arch/arm/boards/freescale-mx51-pdk/flash_header.c | 29 -
arch/arm/mach-imx/Kconfig | 22 +
scripts/Makefile | 1 +
scripts/Makefile.lib | 25 +
scripts/imx/.gitignore | 2 +
scripts/imx/Makefile | 10 +
scripts/imx/README | 89 ++
scripts/imx/imx-image.c | 742 ++++++++++
scripts/imx/imx-usb-loader.c | 1427 ++++++++++++++++++++
14 files changed, 2488 insertions(+), 190 deletions(-)
delete mode 100644 arch/arm/boards/freescale-mx51-pdk/dcd-data.h
create mode 100644 arch/arm/boards/freescale-mx51-pdk/flash-header.imxcfg
delete mode 100644 arch/arm/boards/freescale-mx51-pdk/flash_header.c
create mode 100644 scripts/imx/.gitignore
create mode 100644 scripts/imx/Makefile
create mode 100644 scripts/imx/README
create mode 100644 scripts/imx/imx-image.c
create mode 100644 scripts/imx/imx-usb-loader.c
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next reply other threads:[~2013-05-24 6:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-24 6:33 Sascha Hauer [this message]
2013-05-24 6:34 ` [PATCH 1/3] ARM: Makefile: Make sure to clean boarddirs Sascha Hauer
2013-05-24 6:34 ` [PATCH 2/3] scripts: Add imx-usb-loader tool Sascha Hauer
2013-05-24 6:34 ` [PATCH 3/3] ARM: i.MX51 babbage: switch to imx-image Sascha Hauer
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=1369377242-23493-1-git-send-email-s.hauer@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
/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