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

Marek Vasut marek.vasut at gmail.com
Tue Nov 29 17:25:54 CET 2011


> On 11/29/2011 04:11 AM, Simon Schwarz wrote:
> > Hi List,
> > 
> > there seems to be a problem in devkit8000 in combination with mmc boot.
> > 
> > I have this error:
> > OMAP SD/MMC: 0
> > reading u-boot.img
> > reading u-boot.img
> > Error reading cluster
> > spl: error reading image u-boot.img, err - -1
> > ### ERROR ### Please RESET the board ###
> > 
> > Some exploring i did some time ago showed that this error is deep in the
> > FAT implementation. (a pity that i don't have my notes on this anymore)
> > 
> > I'am aware that there have been changes some time ago regarding FAT/SPL
> > and malloc.
> > 
> > Is someone able to guess where the problem might be - to be true I
> > didn't had a clue from the FAT code.
> > 
> > I will do some debugging later this day and post the results here.
> 
> The datapoint I want to raise is that I can see this with my SPL series
> as well, but only on devkit8000.  Beagleboard and omap3evm are fine
> booting from MMC with SPL.  Which is odd, I know.

Stupid question -- isn't some stack corruption / memory corruption going on ?

M


More information about the U-Boot mailing list