Bad SD card controller?

ttz ttzweb at gmail.com
Sat Oct 27 16:14:47 CEST 2007


I did make sure to position the card correctly and to slide
and lock the holder(where then I have to slide to unlock
the holder next time if I want to take the card out).  

Is there someway to debug it within the u-boot?  I do have the debug board
if that may help.

Thanks!

Tom

> 
> Is that card inserted right? It's not obvious but the card holder
> actually slides and locks in place. Have you done this properly?
> 
> -Nick
>


On 27/10/07 02:52 -0400, Nick Guenther wrote:
> On 10/27/07, ttz <ttzweb at gmail.com> wrote:
> >
> > On 20/10/07 05:04 -0500, ttz wrote:
> > > Since I got my P1 a week ago, I had had trouble to get the SD card mounted.
> > > I tried with the following builds:
> > >
> > > OpenMoko-openmoko-devel-image-glibc-ipk-P1-September-Snapshot-20070916-fic-gta01.rootfs.jffs2
> > > uImage-2.6.22.5-moko11+svnr2937-r0-fic-gta01.bin
> > >
> > > and
> > >
> > > uImage-2.6.22.5-moko11+svnr2937-r3-neo1973.bin
> > > scaredycat-openmoko-devel-image-fic-gta01.jffs2
> > >
> > > also with my own builds and couple older ones. All kernel boots were
> > > fine but none of them gave me the device /dev/mmcblk0p1, thus
> > > I never got the SD card mounted.
> > >
> > > The dmesg shows there are I/O errors:
> > >
> > > root at fic-gta01:~$ dmesg | grep mmc
> > > <7>mmc_set_power(power_mode=0, vdd=0
> > > ...
> > > <7>mmc_set_power(power_mode=2, vdd=20
> > > <6>mmcblk0: mmc0:e624 SU512 495488KiB
> > > <6> mmcblk0:<3>mmcblk0: error 1 transferring data
> > > <4>end_request: I/O error, dev mmcblk0, sector 0
> > > <3>Buffer I/O error on device mmcblk0, logical block 0
> > > <3>mmcblk0: error 1 transferring data
> > > <4>end_request: I/O error, dev mmcblk0, sector 0
> > >
> > > GTA01Bv4 # mmcinit
> > > trying to detect SD Card...
> > > Manufacturer:       0x03, OEM "SD"
> > > Product name:       "SU512", revision 8.0
> > > Serial number:      281088817
> > > Manufacturing date: 8/2007
> > > CRC:                0x21, b0 = 1
> > > READ_BL_LEN=15, C_SIZE_MULT=7, C_SIZE=3453
> > > size = 2329935872
> > > mmc_block_read: err SDIDSTA=0x00000024
> > > GTA01Bv4 #
> > >
> > > GTA01Bv4 # ext2ls mmc 0
> > > mmc_block_read: err SDIDSTA=0x00000024
> > > bad MBR sector signature 0xfd33
> > > ** Bad partition - mmc 0:1 **
> > > GTA01Bv4 #
> > >
> > > So it looks like there is block read error. I don't think my cards
> > > are bad, so I kind of suspect that I may have a bad disk controller.
> > >
> > > Any idea on this?  Who should I talk to at FIC about the possible
> > > hw defect?
> > >
> > > Thanks!
> > >
> > > Tom
> 
> > Seems everyone else has no problem with the SD card but me. I thought
> > to upgrade with the latest uboot.  I tried few more images and latest
> > images bundle I tried is the following:
> >
> > - u-boot-gta01bv4-1.2.0+git3e66c078003607a7d1d214c15a5f262bc1b4032f+svn20070829-r2.bin
> > - uImage-2.6.22.5-moko11+svnr2937-r3-neo1973.bin
> > - OpenMoko-scaredycat-openmoko-devel-image-glibc-ipk-P1-Snapshot-20071021-fic-gta01.rootfs.jffs2
> >
> > doesn't seem to change anything as I still got the mmc I/O error with
> > the two SD cards come with my Adv set as well as another SD card of my own.
> > All of the three cards can be read and written with no problem on other
> > machines(linux and windows). This gets kind frustrating.
> >
> > Thanks!
> >
> > Tom
> >
> >



More information about the device-owners mailing list