From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Schwarz Date: Tue, 29 Nov 2011 19:41:37 +0100 Subject: [U-Boot] devkit8000: MMC/FAT booting problem with SPL In-Reply-To: <4ED512FB.3040206@gmail.com> References: <4ED4BDF4.3000502@gmail.com> <4ED4EF34.1090706@ti.com> <201111291725.54643.marek.vasut@gmail.com> <4ED512FB.3040206@gmail.com> Message-ID: <4ED52761.3010601@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 11/29/2011 06:14 PM, Simon Schwarz wrote: > On 11/29/2011 05:25 PM, Marek Vasut wrote: > [SNIP] >> >> Stupid question -- isn't some stack corruption / memory corruption >> going on ? >> >> M > > Not stupid at all. I don't think it is a stack corruption but IMHO it > seems that the .bss section is overwritten somehow. > > The cur_dev pointer is 0x80000120 for the first sector and 0xe087c004 > before the second one. So either it is changed somewhere or somehow the > pointer is overwritten by accident. > little status-report: The .bss-section is overwritten. Moving it into the middle of RAM fixes the problem - although this is not a solution it may help to find the root... Regards