From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Schwarz Date: Tue, 29 Nov 2011 16:11:33 +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: <4ED4F625.1030206@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 03:41 PM, Tom Rini wrote: > On 11/29/2011 04:11 AM, Simon Schwarz wrote: [SNIP] >> I will do some debugging later this day and post the results here. So here is the result of my first session: - The problem seems to be in fat.c disk_read-function. - it returns -1 because if (cur_dev->block_read) seems to be false if it tries to read the second cluster (it seems works with the first cluster!) So the question now is how can cur_dev->block_read be reset in between... > > 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. > Jap I know. This is a strange problem. ATM I am clueless... Regards Simon