From: Pieter <phenning@vastech.co.za>
To: u-boot@lists.denx.de
Subject: [U-Boot] Solved: need help with flash in U-boot 2009
Date: Tue, 03 Feb 2009 11:28:19 +0200 [thread overview]
Message-ID: <49880E33.3080303@vastech.co.za> (raw)
In-Reply-To: <49871F4E.8060404@vastech.co.za>
Pieter wrote:
> Hi all
>
> We recently ported a MPC8548 board from U-Boot 1.2 to U-Boot 2009.01.
> U-Boot seems to work fine except for Flash operations, and we can boot
> Linux 2.6.27 kernel using nfs.
>
> We are using CFI ( AMD nor flash). The problem presented it self as the
> inability to erase a sector of flash. With further investigation we
> became aware that we can not red the flash correctly. It seams like the
> 1st 16bits of the 32 bit value is read correctly, but instead of reading
> the second 16bits, the 1st 16 bits are repeated. as shown below (
> comparing the output of U-Boot 2009 and U-Boot 1.2
>
> U-Boot 2009:
>
> UBoot=> md
> f8000020
>
> f8000020: 65716571 73007300 00000000 00000000 eqeqs.s.........
>
> U-Boot 1.2
>
> UBoot=> md
> f8000020
>
> f8000020: 65717575 73000000 00000000 00000000 equus...........
>
<snip>
I found the problem and thought I'll post the solution in case someone
down the line makes the same mistake.
In porting to U-Boot 2009 I defined the port size in BR0 as 16bit, where
it should have be 32 bit.
cheers pieter
prev parent reply other threads:[~2009-02-03 9:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-02 16:29 [U-Boot] need help with flash in U-boot 2009 Pieter
2009-02-03 9:28 ` Pieter [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=49880E33.3080303@vastech.co.za \
--to=phenning@vastech.co.za \
--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