From: Troy Kisky <troy.kisky@boundarydevices.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] i.MX6 DRAM_RESET documentation
Date: Tue, 16 Jul 2013 14:59:29 -0700 [thread overview]
Message-ID: <51E5C241.4070901@boundarydevices.com> (raw)
Hi All
I have a strange issue that maybe you can help explain. Under u-boot
during a tftp transfer,
we have some boards that show timeouts on our latest build, and 1 board
where ethernet doesn't work at all on the latest build. These boards
work with
an older rev of software. I was able to compare the two versions until I
found the
relevant change that caused the problem. It was the setting for
IOMUXC_SW_PAD_CTL_PAD_DRAM_RESET.
The working code uses a value of 00b for this field. When I changed it
to 11b,
things broke. In the documentation, this register is defined differently for
mx6q vs mv6solo/duallite. The duallite way works for the quad, and either
way works for the duallite.
board/boundary/nitrogen6x/ddr-setup.cfg:DATA 4, MX6_IOM_DRAM_RESET,
0x000e0030
board/freescale/imx/ddr/mx6q_4x_mt41j128.cfg:DATA 4 0x020e057c 0x00020030
Who's right? And should it depend on quad vs duallite ?
Currently, I believe that the duallite documentation is correct for all.
Thanks
Troy
IMX6DQRM-04-2013.pdf has the field defined
as below
IOMUXC_SW_PAD_CTL_PAD_DRAM_RESET field descriptions
31?20 : This read-only field is reserved and always has the value 0.
19?18 : DDR Select Field
Select one of next values for pad: DRAM_RESET.
00 RESERVED0 ? Reserved
01 RESERVED1 ? Reserved
10 LPDDR2 ? LPDDR2 mode (240 Ohm driver unit calibration, 240, 120, 80,
60, 48, 40, 32 Ohm drive
strengths at 1.2V)
11 DDR3 ? DDR3 mode (240 Ohm driver unit calibration, 240, 120, 80, 60,
48, 40, 32 Ohm drive
strengths at 1.5V)
___________________________________
mx6solo-Reference Manual Addendum Rev A.2.pdf has
the field defined as below
IOMUXC_IOMUXC_SW_PAD_CTL_PAD_DRAM_RESET field descriptions
Field Description
31?22 : This field is reserved.
21?20 : DO_TRIM Read Only Field 0 0
19?18 : DDR Select Field
Select one out of next values for pad: DRAM_RESET.
00 LPDDR1 / DDR3 / (DDR2 ODT) modes
01 DDR2 driver mode
10 LPDDR2 mode
11 Reserved
next reply other threads:[~2013-07-16 21:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-16 21:59 Troy Kisky [this message]
2013-07-17 2:28 ` [U-Boot] i.MX6 DRAM_RESET documentation Liu Hui-R64343
2013-07-17 14:17 ` Eric Nelson
2013-07-17 17:24 ` Troy Kisky
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=51E5C241.4070901@boundarydevices.com \
--to=troy.kisky@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox