public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] AMCC Bamboo boot from NAND Flash is broken
Date: Wed, 4 Jun 2008 19:21:44 +0200	[thread overview]
Message-ID: <200806041921.45093.sr@denx.de> (raw)
In-Reply-To: <8B3930FEA8618C44B48EB06B5D33A06E12FD3B@satmail.Advantech.ca>

Hi Eugene,

On Wednesday 04 June 2008, Eugene O'Brien wrote:
> Yesterday I decided to update u-boot from the u-boot-ppc4xx repo. I boot my
> board similarly to the Bamboo NAND flash boot. So after I re-flashed U-Boot
> ... nothing ... I bricked my board ... thanks!

Sorry about that. I hope you were able to get it back to "life".

> The good news is that the fix is relatively simple. I took a look at the
> code and I see that the SDRAM is no longer initialised anywhere. I renamed
> function early_sdram_init() to initdram() and returned the fixed SDRAM
> size. I made this trivial change from looking at the code in
> nand_spl/board/amcc/canyonlands/ddr2_fixed.c. After that my board booted
> correctly. The corresponding change to Bamboo must be done in
> nand_spl/board/amcc/bamboo/sdram.c.
>
> If you're looking for a patch from me, it might take some time so I suggest
> you make this change yourself. The commit change that breaks the Bamboo
> code is
> "ppc4xx/NAND_SPL:?Consolidate?405?and?440?NAND?booting?code?in?start.S"

Thanks for the description. I'll send a patch in a few minutes to the list. It 
would be great if you could ack it, when you think it is ok now.

Best regards,
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
=====================================================================

      reply	other threads:[~2008-06-04 17:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-04 16:29 [U-Boot-Users] AMCC Bamboo boot from NAND Flash is broken Eugene O'Brien
2008-06-04 17:21 ` 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=200806041921.45093.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox