From: Wolfgang Denk Date: Thu, 20 Nov 2008 17:50:42 +0100 Subject: [U-Boot] U-boot resets when booting Linux kernel In-Reply-To: <28d526a60811200736x3c8b5fc0lcb4be405c690aeab@mail.gmail.com> References: <28d526a60811200646m4495f30dic4e1b6edbc2cab3d@mail.gmail.com> <20081120152559.E5F41832E89D@gemini.denx.de> <28d526a60811200736x3c8b5fc0lcb4be405c690aeab@mail.gmail.com> Message-ID: <20081120165042.29B08832E89D@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear "Simon Boman", In message <28d526a60811200736x3c8b5fc0lcb4be405c690aeab@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!"