[U-Boot] U-boot resets when booting Linux kernel

Wolfgang Denk wd at denx.de
Thu Nov 20 17:50:42 CET 2008


Dear "Simon Boman",

In message <28d526a60811200736x3c8b5fc0lcb4be405c690aeab at mail.gmail.com> you wrote:
>
> I'm quite sure about kernel, the only interface I am going to use is
> the serial interface.

early debug?

> Do you know where I can find the file where maps the U-boot code to RAM?
> Or how is it made?

lib_ppc/board.c

> U-boot.map shows only where the functions is stored at flash but I
> need to know where they are executing in RAM...

A simple method is to print the relocation offset in the debugger -
register r2 holds the global data pointer.

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
Was heißt Windows auf Indianisch? - "Weißer  Mann,  der  auf  Sanduhr
wartet!"


More information about the U-Boot mailing list