[U-Boot] devkit8000: MMC/FAT booting problem with SPL

Simon Schwarz simonschwarzcor at googlemail.com
Tue Nov 29 19:41:37 CET 2011


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


More information about the U-Boot mailing list