From: Shawn Date: Thu, 24 Jun 2004 10:53:30 -0700 (PDT) Subject: [U-Boot-Users] Where is flash_init() after u-boot relocated to RAM? In-Reply-To: <20040624071815.F2998C13D3@atlas.denx.de> Message-ID: <20040624175330.44479.qmail@web20709.mail.yahoo.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Wolfgang, > > 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. > I did read that chapter. I found that gdb even cannot stop at cpu_init_f(). At this time u-boot is still executed from flash. I linked u-boot at 0xffe00000. Isn't it strange, is it? Thanks, -Shawn. __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail