Skip to content

RFC ARM: imx: mx6: Add virtual mx6memcal board

Eric Nelson u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest9 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9mx6: Add board mx6memcal for use in validating DDRarch/arm/cpu/armv7/mx6/Kconfig board/freescale/mx6memcal/Kconfig board/freescale/mx6memcal/MAINTAINERS +7 more+902 -01 reply
1/9mx6: Add board mx6memcal for use in validating DDR+0 -01 reply
1/9mx6: Add board mx6memcal for use in validating DDR+0 -00 replies
2/9mx6memcal: zero values for MPWRDLCTL cause read DQS calibration errorsboard/freescale/mx6memcal/spl.c+4 -00 replies
3/9mx6memcal: add configuration for SABRE Liteconfigs/mx6memcal_sabrelite_defconfig+34 -00 replies
4/9mx6memcal: add configuration for Nitrogen6_max boardconfigs/mx6memcal_nitrogen6_max_defconfig+33 -00 replies
5/9mx6memcal: add configuration for tr1x board (i.MX6SL with DDR3)configs/mx6memcal_tr1x_defconfig+36 -00 replies
6/9mx6memcal: add configuration for Wandboard Solo (512MiB of x32 DDR3)configs/mx6memcal_wandboard_solo_defconfig+35 -00 replies
7/9mx6memcal: add configuration for Wandboard Quadconfigs/mx6memcal_wandboard_quad_defconfig+34 -00 replies
8/9mx6memcal: add configuration for mx6slevkconfigs/mx6memcal_mx6slevk_defconfig+37 -00 replies
9/9mx6memcal: add configuration for warp board (i.MX6SL)configs/mx6memcal_warpboard_defconfig+39 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [U-Boot] [RFC PATCH 0/9] ARM: imx: mx6: Add virtual mx6memcal board

This patch series adds a DDR calibration tool in the form of a virtual i.MX6 board named "mx6memcal".

I was hoping to send this without the RFC, but found something that needs some investigation in the process of cleanup (see ccgr_init in patch 1) and would like to get it out so that others can experiment and so I can get some additional feedback.

The board is added in patch 1.

The second patch is kept separate because I don't yet know why this is needed. If the initial calibration is left as all zero, the calibration of the Nitrogen6_Max board will fail. Other boards don't appear to have this problem.

The rest of the patches add configurations for use in testing.

Most of the boards are supported in main-line U-Boot, though I did add the Nitrogen6_max board as a test of a 4GiB DDR arrangement.

The 'tr1x' board is a custom design that uses i.MX6SL and DDR3 that I've been testing against and it works fine.

The mx6slevk and warp boards aren't currently supported because LPDDR2 isn't fully supported.

I did have them working in a local tree that pre-dated Marek's addition of the calibration code into main-line:

https://github.com/ericnelsonaz/u-boot/tree/memcal-pass1

Finally, as noted in the commit message, I saw some quirkiness with a Wandboard Quad. For some reason, the dynamic calibration failed on this platform when I selected 64-bit bus width and I haven't taken time to investigate.

Eric Nelson (9):
mx6: Add board mx6memcal for use in validating DDR
mx6memcal: zero values for MPWRDLCTL cause read DQS calibration errors
mx6memcal: add configuration for SABRE Lite
mx6memcal: add configuration for Nitrogen6_max board
mx6memcal: add configuration for tr1x board (i.MX6SL with DDR3)
mx6memcal: add configuration for Wandboard Solo (512MiB of x32 DDR3)
mx6memcal: add configuration for Wandboard Quad
mx6memcal: add configuration for mx6slevk
mx6memcal: add configuration for warp board (i.MX6SL)

 arch/arm/cpu/armv7/mx6/Kconfig             |   9 +
 board/freescale/mx6memcal/Kconfig          | 235 +++++++++++++++
 board/freescale/mx6memcal/MAINTAINERS      |   7 +
 board/freescale/mx6memcal/Makefile         |  13 +
 board/freescale/mx6memcal/README           |  49 +++
 board/freescale/mx6memcal/mx6memcal.c      |  32 ++
 board/freescale/mx6memcal/spl.c            | 462 +++++++++++++++++++++++++++++
 configs/mx6memcal_defconfig                |  32 ++
 configs/mx6memcal_mx6slevk_defconfig       |  37 +++
 configs/mx6memcal_nitrogen6_max_defconfig  |  33 +++
 configs/mx6memcal_sabrelite_defconfig      |  34 +++
 configs/mx6memcal_tr1x_defconfig           |  36 +++
 configs/mx6memcal_wandboard_quad_defconfig |  34 +++
 configs/mx6memcal_wandboard_solo_defconfig |  35 +++
 configs/mx6memcal_warpboard_defconfig      |  39 +++
 include/configs/mx6memcal.h                |  62 ++++
 scripts/config_whitelist.txt               |   5 +
 17 files changed, 1154 insertions(+)
 create mode 100644 board/freescale/mx6memcal/Kconfig
 create mode 100644 board/freescale/mx6memcal/MAINTAINERS
 create mode 100644 board/freescale/mx6memcal/Makefile
 create mode 100644 board/freescale/mx6memcal/README
 create mode 100644 board/freescale/mx6memcal/mx6memcal.c
 create mode 100644 board/freescale/mx6memcal/spl.c
 create mode 100644 configs/mx6memcal_defconfig
 create mode 100644 configs/mx6memcal_mx6slevk_defconfig
 create mode 100644 configs/mx6memcal_nitrogen6_max_defconfig
 create mode 100644 configs/mx6memcal_sabrelite_defconfig
 create mode 100644 configs/mx6memcal_tr1x_defconfig
 create mode 100644 configs/mx6memcal_wandboard_quad_defconfig
 create mode 100644 configs/mx6memcal_wandboard_solo_defconfig
 create mode 100644 configs/mx6memcal_warpboard_defconfig
 create mode 100644 include/configs/mx6memcal.h
Signature · 1 line
2.7.4