public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Pete MacKay <linux@architechnical.net>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] MMC Card Problems with U-Boot 1.1.6
Date: Tue, 13 Feb 2007 14:27:05 -0800 (PST)	[thread overview]
Message-ID: <8954799.post@talk.nabble.com> (raw)
In-Reply-To: <loom.20070207T200857-521@post.gmane.org>


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.

  reply	other threads:[~2007-02-13 22:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-07 19:09 [U-Boot-Users] MMC Card Problems with U-Boot 1.1.6 sgobien
2007-02-13 22:27 ` Pete MacKay [this message]
2007-02-13 22:51   ` Haavard Skinnemoen
2007-02-14  0:05     ` Pete MacKay

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8954799.post@talk.nabble.com \
    --to=linux@architechnical.net \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox