[U-Boot] [PATCH] at91rm9200: fix broken boot from nor flash

Wolfgang Denk wd at denx.de
Mon Nov 24 01:28:40 CET 2008


Dear Jens,

In message <gfu31h$hf8$1 at ger.gmane.org> you wrote:
> This patch fix the broken boot from NOR Flash on AT91RM9200 boards, if
> CONFIG_AT91RM9200 is defined and nor preloader is used.
> 
> Please see <http://lists.denx.de/pipermail/u-boot/2008-November/043078.html>
> <http://lists.denx.de/pipermail/u-boot/2008-November/043093.html>
> for reason

I  testedm  the  patch,  but  it  doesn't  fix  the  problem  on  the
AT91RM9200DK  board  (that's  the  one  I  could  easily  test at the
moment).

I bisected the problem, and for me culprit seems to be commit ID
d4fc6012fd0a5c211b825691f44b06f8032c0551

Bisecting is a bit difficult,m because close to the end there is a
non-compiling version; these are the last few steps:

...
f01dbb5424a81453c81190dd30e945891466f621 bad
71d67f43dabe8dd8adbe594b6c61944a2d106efa good
65d7ada64557e76094b4fd3bad30a0f18f5fb2b2 doesn't build; seems bad
dcbfd2e5649f97aa04fbbc6ea2b008aa4486e225 bad

=> 

commit d4fc6012fd0a5c211b825691f44b06f8032c0551
Author: Peter Pearse <peter.pearse at arm.com>
Date:   Tue Aug 14 10:10:52 2007 +0100

    Add MACH_TYPE records for several AT91 boards.
    Merge to two at45.c files into a common file, split to at45.c and spi.c
    Fix spelling error in DM9161 PHY Support.
    Initialize at91rm9200 board (and set LED).
    Add PIO control for at91rm9200dk LEDs and Mux.
    Change dataflash partition boundaries to be compatible with Linux 2.6.
    
    Signed-off-by:      Peter Pearse <peter.pearse at arm.com>
    Signed-off-by:      Ulf Samuelsson <ulf at atmel.com>


Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Build a system that even a fool can use and only a fool will want  to
use it.


More information about the U-Boot mailing list