<div dir="ltr">Hello. I have a big problem: i cannot read a new 8Gb SD card from Sandisk. <br><br>some details:<br><br>- the 512 Mb card works without any problem, i&#39;ve been able to reformat it, use ext2 on it, mount /usr in it<br>
- i have partitioned the 8Gb card from my pc card reader and i&#39;ve put a kernel and a rootfs inside it as the wiki explain<br>- my FR card slot have got a little capacitor soldered between 2 pins, like in this image (<a href="http://makovey.objectis.net/Members/dimon/issues/om/microSD2.jpg/view">http://makovey.objectis.net/Members/dimon/issues/om/microSD2.jpg/view</a>) , but with better soldering <br>
- during all the experiments i never suspended-resumed the phone, and i am sure the partitions in the card are not corrupted (because i checked them periodically with the card reader)<br><br>- the boot loader see the card, and is able to load a kernel from it! <br>
(in NAND menu)<br>$ cu -l /dev/ttyACM0<br>Connected.<br>In:&nbsp;&nbsp;&nbsp; usbtty<br>Out:&nbsp;&nbsp; usbtty<br>Err:&nbsp;&nbsp; usbtty<br>Unrecognized hardware revision 0x305. Defaulting to GTA02v6.<br>PCB rev: 0x305<br>Power: 0mA<br>GTA02v6 # mmcinit<br>
Card Type:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SD 2.0 SDHC<br>Manufacturer:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0x03, OEM &quot;SD&quot;<br>Product name:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;SU08G&quot;, revision 8.0<br>Serial number:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 554005576<br>Manufacturing date: 8/2008<br>MMC/SD size:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3MiB<br>
<br>All the output that follows is taken after booting from the internal flash, just with the memory card inserted.<br>If instead i boot from the sd i noticed a strange behaviour: the first try it sometimes fail to read the card, but the second try it works good, it loads the kernel and the kernel output is exactly the same of the one below, except it ends in a kernel panic not finding his root.<br>
<br># uname -a<br>Linux roby-neo 2.6.24 #1 PREEMPT Wed Sep 3 19:01:18 CST 2008 armv4tl unknown<br><br># cat /proc/cmdline<br>glamo_mci.sd_idleclk=1 glamo_mci.sd_max_clk=5000000 rootdelay=5 rootfstype=jffs2 root=/dev/mtdblock6 console=ttySAC2,115200 console=tty0 loglevel=8 regular_boot mtdparts=physmap-flash:-(nor);neo1973-nand:0x00040000(u-boot),0x00040000(u-boot_env),0x00800000(kernel),0x000a0000(splash),0x00040000(factory),0x0f6a0000(rootfs)<br>
<br>- i tried to set just the sd_max_clk to the values (default,10000000,8333333,5000000), i tried to set the sd_idleclk to 1 or to 0, with the sd_drive at 3 or 0 (doesn&#39;t know what&#39;s the effect).. nothing, always the same errors.<br>
- kernel output: (the relevant part, the complete one is attached)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [...]<br>
[&nbsp;&nbsp;&nbsp; 3.230000] <b>mmc0: new high speed SDHC card at address 8fe4</b><br>[&nbsp;&nbsp;&nbsp; 3.270000] neo1973-pm-gps neo1973-pm-gps.0: FIC Neo1973 GPS Power Managerment:starting<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [...]<br>[&nbsp;&nbsp;&nbsp; 3.335000] Bluetooth: HCI USB driver ver 2.9<br>
[&nbsp;&nbsp;&nbsp; 3.340000] usbcore: registered new interface driver hci_usb<br>[&nbsp;&nbsp;&nbsp; 3.350000] mmcblk0: mmc0:8fe4 <b>SU08G 7761920KiB</b><br>[&nbsp;&nbsp;&nbsp; 3.355000]&nbsp; mmcblk0:&lt;6&gt;glamo-mci glamo-mci.0:<b> Error after cmd: 0x8310</b><br>[&nbsp;&nbsp;&nbsp; 3.370000] mmcblk0:<b> error -110</b> sending read/write command<br>
[&nbsp;&nbsp;&nbsp; 3.375000] end_request: I/O error, dev mmcblk0, sector 0<br>[&nbsp;&nbsp;&nbsp; 3.375000] Buffer I/O error on device mmcblk0, logical block 0<br>[&nbsp;&nbsp;&nbsp; 3.380000] glamo-mci glamo-mci.0:<b> Error after cmd: 0x20</b><br>[&nbsp;&nbsp;&nbsp; 3.385000] glamo-mci glamo-mci.0: <b>Error after cmd: 0x122</b><br>
[&nbsp;&nbsp;&nbsp; 3.390000] mmcblk0: <b>error -84</b> sending read/write command<br>[&nbsp;&nbsp;&nbsp; 3.395000] end_request: I/O error, dev mmcblk0, sector 0<br>[&nbsp;&nbsp;&nbsp; 3.395000] Buffer I/O error on device mmcblk0, logical block 0<br>[&nbsp;&nbsp;&nbsp; 3.400000]&nbsp; <b>unable to read partition table</b><br>
[&nbsp;&nbsp;&nbsp; 3.410000] S3c2440 SDIO Host controller<br>[&nbsp;&nbsp;&nbsp; 3.515000] pnp: the driver &#39;sdio_s3c24xx_hcd&#39; has been registered<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [...]<br>
<br>Please, tell me that i can solve this problem! actually i&#39;m sure it can be solved, because the boot loader is perfectly (nearly) able to read and load the kernel written in the sd. <br>Tell me if some other kind output could be useful.. maybe my shoes number? :) <br>
<br>roby<br><br></div>