public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] AMCC Bamboo boot from NAND Flash is broken
@ 2008-06-04 16:29 Eugene O'Brien
  2008-06-04 17:21 ` Stefan Roese
  0 siblings, 1 reply; 2+ messages in thread
From: Eugene O'Brien @ 2008-06-04 16:29 UTC (permalink / raw)
  To: u-boot

Hi Stefan,

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!

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"

Regards,
Eugene

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-06-04 17:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox