From: Vaisakh P S <vaisakhrulez@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] MMC problem in PXA270 hardware
Date: Tue, 19 Jan 2010 05:41:19 -0800 (PST) [thread overview]
Message-ID: <27225880.post@talk.nabble.com> (raw)
In-Reply-To: <2acbd3e41001181502p6a0897a2wb13ce9e0feb88228@mail.gmail.com>
Hi,
Thanks everyone for your suggestions, I changed the width to 1 bit and it
is working right.
Regards,
Vaisakh P S
Andy Fleming-2 wrote:
>
> On Mon, Jan 18, 2010 at 5:31 AM, Wolfgang Denk <wd@denx.de> wrote:
>> Dear Vaisakh P S,
>>
>> In message <27208581.post@talk.nabble.com> you wrote:
>>>
>>> I did some more debugging, i dumped the MBR for the sdcard, and it was
>>> proper in OS in board and PC.
>>>
>>> Here is the dump i got in OS:
>>>
>>> 00000000 ?fa b8 00 10 8e d0 bc 00 ?b0 b8 00 00 8e d8 8e c0
>>> 00000010 ?fb be 00 7c bf 00 06 b9 ?00 02 f3 a4 ea 21 06 00
>>> 00000020 ?00 be be 07 38 04 75 0b ?83 c6 10 81 fe fe 07 75
>> ...
>>> But in Uboot, the dump which i got MBR read was the following
>>>
>>> ?0xea 0xa8 0x0 0x0 0x8e 0xc0 0xac 0x0 0xa0 0xa8 0x0 0x0 0x8e 0xc8 0x8e
>>> 0xc0
>>> 0xea 0xae 0x0 0x6c 0xae 0x0 0x6 0xa8 0x0 0x2 0xe2 0xa4 0xea 0x20 0x6 0x0
>>> 0x0
>>> 0xae 0xae 0x6 0x28 0x4 0x64 0xa 0x82 0xc6 0x0 0x80 0xee 0xee 0x6 0x64
>>> 0xe2
>>
>> Seems something is eating the 0x10 bit, so 0xFA becomes 0xEA, etc.
>
>
> Actually, it looks like you're losing the 0x01 bit, too. Maybe the
> u-boot driver is somehow mis-detecting how many bits are connected?
> The card should be saying which bit-widths it supports, and the host
> controller should be properly reporting which widths it supports. I'm
> not familiar with the pxa270's driver, but it might be possible to
> modify it to only do 1-bit transfers, and see if that works.
>
> Andy
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>
>
--
View this message in context: http://old.nabble.com/-U-Boot--MMC-problem-in-PXA270-hardware-tp27206457p27225880.html
Sent from the Uboot - Users mailing list archive at Nabble.com.
prev parent reply other threads:[~2010-01-19 13:41 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-18 6:00 [U-Boot] MMC problem in PXA270 hardware Vaisakh
2010-01-18 10:33 ` Vaisakh P S
2010-01-18 11:31 ` Wolfgang Denk
2010-01-18 23:02 ` Andy Fleming
2010-01-19 13:41 ` Vaisakh P S [this message]
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=27225880.post@talk.nabble.com \
--to=vaisakhrulez@gmail.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