From: Eric Nelson <eric.nelson@boundarydevices.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] i.MX6 Solo and Dual Lite
Date: Wed, 16 Jan 2013 15:33:37 -0700 [thread overview]
Message-ID: <50F72AC1.5080105@boundarydevices.com> (raw)
Hi all,
We're preparing to launch i.MX6 Solo/Dual-Lite and Dual versions of
our Nitrogen6X product line.
We made a couple of stabs at patches to support these processor
variants in September and October last year.
The first attempt added run-time detection using i.MX plugins:
http://lists.denx.de/pipermail/u-boot/2012-September/#134442
It was soundly rejected.
The second attempt added preprocessor support to imximage in order
to allow a single board definition file to be compiled for each
processor variant.
http://lists.denx.de/pipermail/u-boot/2012-September/#134442
We think the approach was generally agreed to based on this comment
from Tom:
http://lists.denx.de/pipermail/u-boot/2012-October/137611.html
And a follow-up patch from Troy:
http://lists.denx.de/pipermail/u-boot/2012-October/138162.html
But things seemed to stall here:
http://lists.denx.de/pipermail/u-boot/2012-November/139918.html
Troy submitted a number of other patches, including some fixes to the
DDR initialization, but they were all made based on a 'preprocessorized'
version of mx6q_4x_mt41j128.cfg.
Troy and I also had some discussion surrounding **how** the preprocessor
was used to define the differences between processors:
http://lists.denx.de/pipermail/u-boot/2012-October/136751.html
In a nutshell, the current patch set uses a set of preprocessor macros
to configure things for each. For example, this macro call in the file
mx6q_4x_mt41j128.cfg will write either 0x48254A36 (Quad or Dual)
or 0x3F3F3035 (Dual-Lite/Solo) to register MMDC_P1_MPWRDLCTL:
WRITE_ENTRY2(MMDC_P1_MPWRDLCTL, 0x48254A36, 0x3F3F3035)
Nobody else seemed to comment on this, and it seems pretty critical.
Can we get some feedback before we prepare V2/V3 patches?
Our expectation is that we'll submit patches for each of the
following configurations of Nitrogen6X:
nitrogen6q - Dual/Quad 1GB
nitrogen6q2g - Dual/Quad 2GB
nitrogen6solo - Solo 512MB
nitrogen6duallite - Dual Lite 512MB
nitrogen6solo1G - Solo 1GB
nitrogen6duallite1G - Dual Lite 1GB
Our hope is that we can do this with essentially one code
base but a separate .cfg file or #ifdefs for each.
A single include/config/nitrogen6x.h with #ifdefs should
allow us to exclude those features (e.g. SATA) on the
Solo and Dual-Lite.
Please advise,
Eric
next reply other threads:[~2013-01-16 22:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-16 22:33 Eric Nelson [this message]
2013-01-18 13:55 ` [U-Boot] i.MX6 Solo and Dual Lite Stefano Babic
2013-01-19 19:09 ` Eric Nelson
2013-01-21 9:12 ` Stefano Babic
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=50F72AC1.5080105@boundarydevices.com \
--to=eric.nelson@boundarydevices.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.