From: "Andreas Bießmann" <andreas.devel@googlemail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/2] AVR32: use generic mmc framework
Date: Wed, 12 Oct 2011 17:18:52 +0200 [thread overview]
Message-ID: <4E95AFDC.6050405@gmail.com> (raw)
In-Reply-To: <4E95AD75.1040408@stackframe.org>
Dear Sven,
Am 12.10.2011 17:08, schrieb Sven Schnelle:
> On 10/12/2011 04:59 PM, Andreas Bie?mann wrote:
>> b) ext2ls is not reliable:
>>>> ---8<---
>>>> U-Boot> ext2ls mmc 0:1
>>>> <DIR> 1024 .
>>>> <DIR> 1024 ..
>>>> <DIR> 12288 lost+found
>>>> gen_atmel_mci: CMDR 00051051 (17) ARGR 02008600 (SR: 00400025) Data
>>>> Transfer Failed
>>>> ** ext2fs_devread read error - last part
>>>> U-Boot>
>>>> --->8---
>>> Hmm, that's really bad. What type of card is this? MMC, SD or SDHC?
>> It is SD card (the one delivered with my atstk1002, there is an Atmel
>> label on it ;).
>>
>> When initialising mmc with old atmel_mci driver I get this:
>>
>> ---8<---
>> U-Boot> mmc init
>> Manufacturer ID: 03
>> OEM/Application ID: 5344
>> Product name: SD128
>> Product Revision: 5.8
>> Product Serial Number: 8227719
>> Manufacturing Date: 06/03
>> SD Card detected (RCA 58916)
>> CSD data: 00260032 1f5983c0 fefa4fff 924040ab
>> CSD structure version: 1.0
>> MMC System Spec version: 0
>> Card command classes: 1f5
>> Read block length: 512
>> Supports partial reads
>> Write block length: 512
>> Does not support partial writes
>> Supports group WP: 32
>> Card capacity: 125960192 bytes
>> File format: 0/0
>> Write protection:
>> mmc: Using 131072 cycles data timeout (DTOR=0x62)
>> .mmc1 is available
>> --->8---
>>
>
> Thanks for the Info Andreas. Do you have some other SD/SDHC cards handy?
> would be interesting if it doesn't work at all on your Board, or if this
> is an card
> specific issue...
at least one other SD Card works:
---8<---
U-Boot> mmc part
Partition Map for MMC device 0 -- Partition Type: DOS
Partition Start Sector Num Sectors Type
1 247 1995529 6
U-Boot> mmc list
mci: 0
U-Boot> fatls mmc 0
11323605 ms-avr-svn4980.sh
11327707 ms-avr-svn4982-dirty.sh
11327707 ms-avr-svn4983-dirty.sh
11323605 ms-avr-svn4985.sh
1437538 uimage-svn4985-dirty.bin
11327701 ms-avr-svn4988.sh
10541275 ms-avr-svn4990-dirty.sh
1000/
43229 ms-update-dsp-svn4981.sh
22749 ms-update-msp-svn4986.sh
43230 ms-update-lpc-svn4990.sh
22749 ms-update-msp-svn5000.sh
43229 ms-update-dsp-svn4996.sh
10541275 ms-update-avr-svn5000-dirty.sh
43217 ms-dsp-test.sh
43229 ms-update-dsp-svn5005.sh
10586518 ms-qe11-test.sh
839 ecg-raw2-20111010-122711.dat
164 ecg-raw2-20111010-130305.dat
99944 ecg-raw1-20111010-131651.dat
6607604 ecg-raw2-20111010-134759.dat
906959 ecg-raw2-20111010-141628.dat
1601399 ecg-raw2-20111010-151814.dat
10586518 ms-qe11.sh
10488027 ms-update-avr-svn5019-dirty.sh
24 file(s), 1 dir(s)
--->8---
best regards
Andreas Bie?mann
next prev parent reply other threads:[~2011-10-12 15:18 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-12 13:09 [U-Boot] [PATCH] AVR32: switch to generic mmc framework Sven Schnelle
2011-10-12 13:09 ` [U-Boot] [PATCH 1/2] AVR32: use " Sven Schnelle
2011-10-12 14:29 ` Andreas Bießmann
2011-10-12 14:51 ` Sven Schnelle
2011-10-12 14:59 ` Andreas Bießmann
2011-10-12 15:08 ` Sven Schnelle
2011-10-12 15:18 ` Andreas Bießmann [this message]
2011-10-14 12:30 ` Andreas Bießmann
2011-10-13 7:52 ` Sven Schnelle
2011-10-12 17:54 ` Wolfgang Denk
2011-10-13 7:45 ` Sven Schnelle
2011-10-12 13:09 ` [U-Boot] [PATCH 2/2] AVR32: remove old atmel_mci driver Sven Schnelle
2011-10-12 17:01 ` [U-Boot] [PATCH] AVR32: switch to generic mmc framework Reinhard Meyer
2011-10-13 8:04 ` Andreas Bießmann
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=4E95AFDC.6050405@gmail.com \
--to=andreas.devel@googlemail.com \
--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