[U-Boot-Users] MMC Card Problems with U-Boot 1.1.6
Pete MacKay
linux at architechnical.net
Tue Feb 13 23:27:05 CET 2007
What kind of MMC cards are you using? We're in the same boat and haven't
been able to initialize Patriot 512MB cards. I've rewritten/added to the
code for SD 2.0 (added 'sdinit' and an sd interface) and am seeing portions
of the data dropped when I read blocks from a 512MB SanDisk SD 2.0 card.
We're clocking at 10 MHz, running a 312 MHz PXA-270 (with turbo mode), and
both cards work fine under our 2.6.18 kernel.
You can define DEBUG and MMC_DEBUG and rebuild u-boot to look at the command
outputs. Our MMC_STAT register reads 0x2140 on successful commands and
0x2142 on timeouts.
Has anyone been able to copy file systems correctly with MMC or SD on the
PXA-270? I'm not convinced this ever worked.
sgobien wrote:
>
> I’m using U-Boot 1.1.6, and I’m having problems with the MMC support. My
> board is a custom board based on the PXA270 CPU, with 128MB of SDRAM and
> 64MB
> of internal flash. Using the loadb command, I can successfully copy my
> filesystem to the SDRAM. Then, I use the cp.b command to transfer it to
> flash.
> Everything works properly and the filesystem transfers without any
> problem.
>
> Next, I tried using the fatload command to copy the same exact filesystem
> from
> the MMC card to SDRAM. U-Boot claims that the entire file was copied
> correctly as indicated by the filesize environment variable. However,
> once I
> move the filesystem to flash, it ends up corrupted in the flash. I can
> only
> conclude that the fatload command has incorrectly copied the filesystem
> from
> the MMC card to SDRAM.
>
> Has anybody had trouble using MMC cards and the fat commands with a PXA270
> CPU? I don’t receive any error messages, so I’m not really sure where to
> look.
>
> Thanks in advance for any guidance.
>
> Steve
>
--
View this message in context: http://www.nabble.com/MMC-Card-Problems-with-U-Boot-1.1.6-tf3189031.html#a8954799
Sent from the Uboot - Users mailing list archive at Nabble.com.
More information about the U-Boot
mailing list