mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] imx-image support
@ 2013-05-24  6:33 Sascha Hauer
  2013-05-24  6:34 ` [PATCH 1/3] ARM: Makefile: Make sure to clean boarddirs Sascha Hauer
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Sascha Hauer @ 2013-05-24  6:33 UTC (permalink / raw)
  To: barebox


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-05-24  6:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-24  6:33 [PATCH] imx-image support Sascha Hauer
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox