From: Eric Nelson <eric@nelint.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [RFC PATCH 0/9] ARM: imx: mx6: Add virtual mx6memcal board
Date: Tue, 1 Nov 2016 13:13:41 -0700 [thread overview]
Message-ID: <1478031230-7263-1-git-send-email-eric@nelint.com> (raw)
In-Reply-To: <701ada06-690e-cd1c-51a0-a33e4b29b7ff@nelint.com>
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
--
2.7.4
next prev parent reply other threads:[~2016-11-01 20:13 UTC|newest]
Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-30 17:18 [U-Boot] [PATCH 0/3] mx6: ddr: updates for dynamic DDR calibration Eric Nelson
2016-10-30 17:19 ` [U-Boot] [PATCH 1/3] mx6: ddr: allow 32 cycles for DQS gating calibration Eric Nelson
2016-10-30 17:27 ` Marek Vasut
2016-10-30 17:19 ` [U-Boot] [PATCH 2/3] mx6: ddr: pass mx6_ddr_sysinfo to calibration routines Eric Nelson
2016-10-30 17:29 ` Marek Vasut
2016-10-30 17:19 ` [U-Boot] [PATCH 3/3] mx6: ddr: add routine to return DDR calibration data Eric Nelson
2016-10-30 17:30 ` Marek Vasut
2016-10-30 19:14 ` Eric Nelson
2016-10-30 20:02 ` Marek Vasut
2016-10-30 19:20 ` [U-Boot] [PATCH] ARM: mx6: ddr: use Kconfig for inclusion of DDR calibration routines Eric Nelson
2016-10-30 20:03 ` Marek Vasut
2016-10-30 23:10 ` Eric Nelson
2016-10-30 23:33 ` [U-Boot] [PATCH V2 0/4] mx6: ddr: updates for dynamic DDR calibration Eric Nelson
2016-10-30 23:33 ` [U-Boot] [PATCH V2 1/4] mx6: ddr: allow 32 cycles for DQS gating calibration Eric Nelson
2016-10-30 23:33 ` [U-Boot] [PATCH V2 2/4] mx6: ddr: pass mx6_ddr_sysinfo to calibration routines Eric Nelson
2016-10-30 23:33 ` [U-Boot] [PATCH V2 3/4] mx6: ddr: add routine to return DDR calibration data Eric Nelson
2016-10-30 23:33 ` [U-Boot] [PATCH V2 4/4] ARM: mx6: ddr: use Kconfig for inclusion of DDR calibration routines Eric Nelson
2016-11-22 10:59 ` [U-Boot] [PATCH V2 0/4] mx6: ddr: updates for dynamic DDR calibration Christoph Fritz
2016-11-29 16:28 ` Stefano Babic
2016-11-01 20:13 ` Eric Nelson [this message]
2016-11-01 20:13 ` [U-Boot] [RFC PATCH 1/9] mx6: Add board mx6memcal for use in validating DDR Eric Nelson
2017-07-14 14:18 ` Fabio Estevam
2017-07-14 17:58 ` Eric Nelson
2017-07-14 19:01 ` Fabio Estevam
2017-07-28 2:50 ` Eric Nelson
2016-11-01 20:13 ` [U-Boot] [RFC PATCH 2/9] mx6memcal: zero values for MPWRDLCTL cause read DQS calibration errors Eric Nelson
2016-11-01 20:13 ` [U-Boot] [RFC PATCH 3/9] mx6memcal: add configuration for SABRE Lite Eric Nelson
2016-11-01 20:13 ` [U-Boot] [RFC PATCH 4/9] mx6memcal: add configuration for Nitrogen6_max board Eric Nelson
2016-11-01 20:13 ` [U-Boot] [RFC PATCH 5/9] mx6memcal: add configuration for tr1x board (i.MX6SL with DDR3) Eric Nelson
2016-11-01 20:13 ` [U-Boot] [RFC PATCH 6/9] mx6memcal: add configuration for Wandboard Solo (512MiB of x32 DDR3) Eric Nelson
2016-11-01 20:13 ` [U-Boot] [RFC PATCH 7/9] mx6memcal: add configuration for Wandboard Quad Eric Nelson
2016-11-01 20:13 ` [U-Boot] [RFC PATCH 8/9] mx6memcal: add configuration for mx6slevk Eric Nelson
2016-11-01 20:13 ` [U-Boot] [RFC PATCH 9/9] mx6memcal: add configuration for warp board (i.MX6SL) Eric Nelson
2016-11-02 2:06 ` [U-Boot] [RFC PATCH 0/3] ARM: imx: mx6: Add plugin support for SPL Eric Nelson
2016-11-02 2:06 ` [U-Boot] [RFC PATCH 1/3] ARM: mx6: preserve Boot ROM stack in SPL Eric Nelson
2016-11-02 2:06 ` [U-Boot] [RFC PATCH 2/3] ARM: mx6: ddr: add plugin-utils placeholder Eric Nelson
2016-11-02 2:06 ` [U-Boot] [RFC PATCH 3/3] ARM: imx: mx6memcal: allow build of combined SPL+U-Boot Eric Nelson
2017-01-18 1:27 ` [U-Boot] [RFC PATCH 0/3] ARM: imx: mx6: Add plugin support for SPL Tim Harvey
2017-01-18 17:05 ` Eric Nelson
2017-01-18 18:49 ` Tim Harvey
2017-01-18 19:01 ` Fabio Estevam
2017-01-20 17:40 ` Tim Harvey
2017-01-27 14:56 ` Fabio Estevam
2017-01-27 15:25 ` Otavio Salvador
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1478031230-7263-1-git-send-email-eric@nelint.com \
--to=eric@nelint.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox