All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] U-boot issue with Intel StrataFlash P30.
Date: Sat, 11 Sep 2010 08:41:27 +0200	[thread overview]
Message-ID: <201009110841.27562.sr@denx.de> (raw)
In-Reply-To: <1284154219.13384.13.camel@parana.digitel.com.br>

Hi Moratelli,

On Friday 10 September 2010 23:30:19 Carlos Roberto Moratelli wrote:
> I am porting the u-boot to a MPC8536E custom board and I am facing an
> issue with flash. When u-boot tries to detect the flash (INTEL
> STRATAFLASH P30) it just freeze. The u-boot is started from the same
> flash.
> 
> The problem happen when the CFI Driver tries a read from flash
> (flash_read8()) for the first time. Please, see the log bellow.
> 
> Has someone faced this kind of issue? Are there some tip to solve the
> problem?

Might be that you have problems with byte access to this most likely 16bit 
wide flash device. I suggest you try setting this in your board config header:

#define CONFIG_SYS_FLASH_CFI_WIDTH       FLASH_CFI_16BIT

Cheers,
Stefan

--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de

      parent reply	other threads:[~2010-09-11  6:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-10 21:30 [U-Boot] U-boot issue with Intel StrataFlash P30 Carlos Roberto Moratelli
2010-09-10 22:00 ` Wolfgang Denk
2010-09-11  6:41 ` Stefan Roese [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=201009110841.27562.sr@denx.de \
    --to=sr@denx.de \
    --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.