From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Tue, 29 Nov 2011 17:25:54 +0100 Subject: [U-Boot] devkit8000: MMC/FAT booting problem with SPL In-Reply-To: <4ED4EF34.1090706@ti.com> References: <4ED4BDF4.3000502@gmail.com> <4ED4EF34.1090706@ti.com> Message-ID: <201111291725.54643.marek.vasut@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 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