[PATCH] imx-image support

Sascha Hauer s.hauer at pengutronix.de
Fri May 24 02:33:59 EDT 2013


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



More information about the barebox mailing list