[U-Boot] [PATCH V2 00/21] Add mx6solo/mx6duallite support

Troy Kisky troy.kisky at boundarydevices.com
Sat Sep 22 04:38:57 CEST 2012


After this series the same binary will run on a
Saberlite board using any of the pin compatible processors
mx6 quad, mx6 duallite, or mx6 solo. This is accomplished
using a plugin and a table built by mkimage.

I made it easy to revert back to the current method by
removing
#define USE_PLUGIN

from imximage.cfg file so that it is easy to
support a single processor.

In that case, you should also add
   #define FOR_MX6Q/FOR_MX6DL/FOR_MX6SOLO/FOR_MX6SOLOLITE
to select which processor you are building for.

Patches 1-5 of the series are unchanged from version 1.


Troy Kisky (21):
  imximage: make header variable length
  imximage: check dcd_len as entries added
  imximage: enable word writes for version2 header
  imximage: cleanup parsing
  imximage: add expression evaluation
  imximage: add plugin commands
  imximage.cfg: run files through C preprocessor
  mx6: add plugin file for use with imximage.cfg
  mx6q_4x_mt41j128.cfg: use symbols instead of hardcoded constants
  mx6q_4x_mt41j128.cfg: allow plugin to work
  mx6q_4x_mt41j128.cfg: enable plugin mode
  mx6q_4x_mt41j128.cfg: add comments
  mx6q_4x_mt41j128.cfg: use ddr3 mode for reset
  mx6q_4x_mt41j128.cfg: skip initiailizing non-existent memory
  mx6q_4x_mt41j128.cfg: reorder for more efficient storage
  mx6q_4x_mt41j128.cfg: force ZQ calibration
  mx6: soc: add get_cpu_type
  arch-mx6: add mx6dl_pins.h
  mx6qsabrelite: add support for mx6 solo/duallite
  mx6q_4x_mt41j128.cfg: add mx6 solo/duallite support
  mx6qsabrelite: change CONFIG_SYS_PROMPT

 Makefile                                      |    3 +-
 arch/arm/cpu/armv7/mx6/Makefile               |    5 +-
 arch/arm/cpu/armv7/mx6/plugin.S               |  164 +++++
 arch/arm/cpu/armv7/mx6/soc.c                  |   26 +
 arch/arm/include/asm/arch-mx6/imx-mkimage.h   |  177 +++++
 arch/arm/include/asm/arch-mx6/imx-regs.h      |    1 +
 arch/arm/include/asm/arch-mx6/mx6dl_pins.h    |  118 +++
 arch/arm/include/asm/arch-mx6/sys_proto.h     |    6 +
 board/esg/ima3-mx53/imximage.cfg              |  120 +--
 board/freescale/imx/ddr/mx6q_4x_mt41j128.cfg  |  433 ++++++-----
 board/freescale/mx25pdk/imximage.cfg          |   77 +-
 board/freescale/mx51evk/imximage.cfg          |  114 +--
 board/freescale/mx53ard/imximage_dd3.cfg      |   83 ++-
 board/freescale/mx53evk/imximage.cfg          |   86 +--
 board/freescale/mx53loco/imximage.cfg         |   83 ++-
 board/freescale/mx53smd/imximage.cfg          |   83 ++-
 board/freescale/mx6qarm2/imximage.cfg         |   88 +--
 board/freescale/mx6qsabrelite/mx6qsabrelite.c |  231 ++----
 board/freescale/mx6qsabrelite/pads.h          |  172 +++++
 board/genesi/mx51_efikamx/imximage_mx.cfg     |  132 ++--
 board/genesi/mx51_efikamx/imximage_sb.cfg     |  126 ++--
 board/ttcontrol/vision2/imximage_hynix.cfg    |  295 ++++----
 include/configs/mx6qsabrelite.h               |    2 +-
 tools/imximage.c                              |  967 ++++++++++++++++++-------
 tools/imximage.h                              |   45 +-
 25 files changed, 2389 insertions(+), 1248 deletions(-)
 create mode 100644 arch/arm/cpu/armv7/mx6/plugin.S
 create mode 100644 arch/arm/include/asm/arch-mx6/imx-mkimage.h
 create mode 100644 arch/arm/include/asm/arch-mx6/mx6dl_pins.h
 create mode 100644 board/freescale/mx6qsabrelite/pads.h

-- 
1.7.9.5



More information about the U-Boot mailing list