[U-Boot] [PATCH 0/5] toradex: config block handling

Marcel Ziswiler marcel.ziswiler at toradex.com
Fri Sep 16 19:05:00 CEST 2016


This series integrates Toradex factory configuration block handling. The
config block is a data structure which gets stored to flash during
production testing. The structure holds such information as board resp.
hardware revision, product ID and serial number which is used as the NIC
part of the Ethernet MAC address as well. The config block will be read
upon boot by the checkboard() function, displayed as part of the board
information and passed to Linux via device tree or ATAGs.


Marcel Ziswiler (5):
  colibri_imx7/vf: move to custom checkboard_fallback()
  apalis/colibri_t20/t30: deactivate displaying board info
  toradex: config block handling
  apalis/colibri_imx7/pxa270/t20/t30/vf: integrate config block handling
  apalis/colibri_t30: move environment location

 arch/arm/Kconfig                              |   1 +
 board/toradex/apalis_t30/Kconfig              |  16 +
 board/toradex/apalis_t30/apalis_t30.c         |  12 +-
 board/toradex/colibri_imx7/Kconfig            |  14 +
 board/toradex/colibri_imx7/colibri_imx7.c     |   6 +-
 board/toradex/colibri_pxa270/Kconfig          |   9 +
 board/toradex/colibri_pxa270/colibri_pxa270.c |   8 +
 board/toradex/colibri_t20/Kconfig             |   9 +
 board/toradex/colibri_t20/colibri_t20.c       |  13 +
 board/toradex/colibri_t30/Kconfig             |  16 +
 board/toradex/colibri_t30/colibri_t30.c       |   9 +-
 board/toradex/colibri_vf/Kconfig              |  12 +
 board/toradex/colibri_vf/colibri_vf.c         |   8 +-
 board/toradex/common/Kconfig                  |  73 ++++
 board/toradex/common/Makefile                 |   4 +
 board/toradex/common/common.c                 | 179 +++++++++
 board/toradex/common/common.h                 |  13 +
 board/toradex/common/common.mk                |   8 +
 board/toradex/common/configblock.c            | 545 ++++++++++++++++++++++++++
 board/toradex/common/configblock.h            |  68 ++++
 include/configs/apalis_t30.h                  |  13 +-
 include/configs/colibri_imx7.h                |   6 +-
 include/configs/colibri_pxa270.h              |   7 +-
 include/configs/colibri_t20.h                 |   4 +-
 include/configs/colibri_t30.h                 |  13 +-
 include/configs/colibri_vf.h                  |   8 +-
 26 files changed, 1048 insertions(+), 26 deletions(-)
 create mode 100644 board/toradex/common/Kconfig
 create mode 100644 board/toradex/common/Makefile
 create mode 100644 board/toradex/common/common.c
 create mode 100644 board/toradex/common/common.h
 create mode 100644 board/toradex/common/common.mk
 create mode 100644 board/toradex/common/configblock.c
 create mode 100644 board/toradex/common/configblock.h

-- 
2.5.5



More information about the U-Boot mailing list