All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fabio Estevam <festevam@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] i.MX35PDK: Starting U-Boot from serial NOR-Flash
Date: Wed, 4 Jul 2012 14:35:32 -0300	[thread overview]
Message-ID: <CAOMZO5DUgaeF3f=9_2yqiPOPnO+2LzvdneGhh2fGDVGuGtwxVg@mail.gmail.com> (raw)
In-Reply-To: <CAOMZO5AKS1cJ_fqvYfP09DVoM7MQoLRm6CL=s38tW2dBKv0k1w@mail.gmail.com>

On Wed, Jul 4, 2012 at 2:31 PM, Fabio Estevam <festevam@gmail.com> wrote:

> Take a look at Freescale U-boot as a reference:
> http://opensource.freescale.com/git?p=imx/uboot-imx.git;a=blob;f=board/freescale/mx35_3stack/flash_header.S;h=b662669f80061be18787eafea6eb3668786b6224;hb=329240314138de1fb8d3d08531e0c3408482972f

Just to clarify: this file has the RAM settings for two versions of
the board. Earlier mx35pdk came with mDDR and the more recent boards
have DDR2. Most likely your mx35pdk has DDR2 populated, do the values
you need to use are:

//DDR2 init
DCDGEN(2, 4, 0xB8001010, 0x00000304)
DCDGEN(3, 4, 0xB8001010, 0x0000030C)
DCDGEN(4, 4, 0xB8001004, 0x007ffc3f)
DCDGEN(5, 4, 0xB8001000, 0x92220000)
DCDGEN(6, 4, 0x80000400, 0x12345678)
DCDGEN(7, 4, 0xB8001000, 0xA2220000)
DCDGEN(8, 4, 0x80000000, 0x87654321)
DCDGEN(9, 4, 0x80000000, 0x87654321)
DCDGEN(10, 4, 0xB8001000, 0xB2220000)
DCDGEN(11, 1, 0x80000233, 0xda)
DCDGEN(12, 1, 0x82000780, 0xda)
DCDGEN(13, 1, 0x82000400, 0xda)
DCDGEN(14, 4, 0xB8001000, 0x82226080)
DCDGEN(15, 4, 0xB8001004, 0x007ffc3f)
DCDGEN(16, 4, 0xB800100C, 0x007ffc3f)
DCDGEN(17, 4, 0xB8001010, 0x00000304)
DCDGEN(18, 4, 0xB8001008, 0x00002000)

You just need to convert these values into the proper syntax for imximage.cfg.

  reply	other threads:[~2012-07-04 17:35 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-04 13:29 [U-Boot] i.MX35PDK: Starting U-Boot from serial NOR-Flash Hornung, Michael
2012-07-04 17:31 ` Fabio Estevam
2012-07-04 17:35   ` Fabio Estevam [this message]
     [not found]   ` <334319B2EBE0B144BAE1402B79D82DC5D31358D8@srvpegasus>
2012-07-05 18:06     ` Fabio Estevam
2012-07-09 13:11   ` Hornung, Michael
     [not found]   ` <334319B2EBE0B144BAE1402B79D82DC5D31358DF@srvpegasus>
2012-07-09 19:45     ` Fabio Estevam
2012-07-10 19:08       ` Hornung, Michael
2012-07-26 20:32         ` Fabio Estevam
2012-07-31 13:47           ` Michael Hornung
2012-08-02  9:00             ` Michael Hornung
2012-08-02 12:55               ` Fabio Estevam
2012-08-02 13:07                 ` Stefano Babic
2012-08-03  8:03                 ` Michael Hornung
2012-08-03  9:30                   ` Stefano Babic
2012-07-05  9:16 Hornung, Michael

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='CAOMZO5DUgaeF3f=9_2yqiPOPnO+2LzvdneGhh2fGDVGuGtwxVg@mail.gmail.com' \
    --to=festevam@gmail.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.