public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Dirk Behme <dirk.behme@de.bosch.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Problem booting i.MX6 from parallel NOR flash
Date: Mon, 10 Sep 2012 09:57:50 +0200	[thread overview]
Message-ID: <504D9D7E.5030600@de.bosch.com> (raw)
In-Reply-To: <CAJtJ-H73a1Cs5CNDekdovWE=3SeEHKW4_DxnX2zi-ySDYMKTYg@mail.gmail.com>

On 07.09.2012 20:41, Carolyn Smith wrote:
> Hello,
> 
> I have a custom i.MX6 board that is configured to boot from 16-bit parallel
> NOR flash using non-multiplexed I/O with the data on the upper half of the
> data bus. I.e. chip select 0 of the EIM bus should be configured so that
> MUM = 0 and DSZ = 010b.
> 
> However, the board is coming out of reset (using a BDI3000) with MUM = 1
> and DSZ = 001b so multiplexed I/O with the data on the lower half of the
> data bus. According to the EIM multiplexing table, this isn't even a valid
> configuration.

Check the BOOT_MODE and BOOT_CFG of your board. A valid boot 
configuration to boot from parallel NOR on your board should look like this:

SRC_SBMR1: 0x02044000

> Further, if I change the EIM_CS0GCR1 register (using the BDI) to force MUM
> = 0 and DSZ = 010b, then read from the flash, I can see the correct data on
> the bus using a logic analyzer but the BDI always returns 0.

Check the pin multiplex and EIM configuration. An example can be found in

u-boot-2009.08/board/freescale/mx6q_sabreauto/mx6q_sabreauto.c

in Freescale's latest U-Boot ER release for i.MX6.

Best regards

Dirk

      reply	other threads:[~2012-09-10  7:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-07 18:41 [U-Boot] Problem booting i.MX6 from parallel NOR flash Carolyn Smith
2012-09-10  7:57 ` Dirk Behme [this message]

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=504D9D7E.5030600@de.bosch.com \
    --to=dirk.behme@de.bosch.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