From: Wolfgang Denk Date: Thu, 24 Jun 2004 09:18:10 +0200 Subject: [U-Boot-Users] Where is flash_init() after u-boot relocated to RAM? In-Reply-To: Your message of "Wed, 23 Jun 2004 16:45:08 PDT." <20040623234508.26128.qmail@web20709.mail.yahoo.com> Message-ID: <20040624071815.F2998C13D3@atlas.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 In message <20040623234508.26128.qmail@web20709.mail.yahoo.com> you wrote: > > I'm trying to trace into flash_init(). The function is called after u-boot > is relocated to RAM. So the System.map is no longer useful. How can I know Of course System.map (or the symbol table in the u-boot ELF file) is still usefiul; you just have to add the relocation offset. > the address of the function to set a breakpoint? RTFM: http://www.denx.de/twiki/bin/view/DULG/DebuggingUBoot#Section_10.1.2. Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de Windows95 = graphical user interface for a single-threaded interrupt handler (DOS)