[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problem Booting from SD Card.



I am trying to install Squeeze onto an SD card using the Debian installer. The installation goes OK, but when I try to boot I get:

Connected.
 0
Error! cmd : 8, err : 0201
Error! cmd : 1, err : 0201
Error! cmd : 1, err : 0201
Error! cmd : 1, err : 0201
Error! cmd : 1, err : 0201
Error! cmd : 1, err : 0201
Error! cmd : 1, err : 0201
Error! cmd : 1, err : 0201
Error! cmd : 1, err : 0201
Error! cmd : 1, err : 0201
Error! cmd : 1, err : 0201
No MMC card found

Bad partition 1 **
Bad partition 1 **
## Booting image at 00400000 ...
Bad Magic Number
Marvell>>

Command (m for help): p

Disk /dev/sdb: 7948 MB, 7948206080 bytes
255 heads, 63 sectors/track, 966 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000037fb

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1         902     7245283+  83  Linux
/dev/sdb2             903         966      514080   82  Linux swap / Solaris

With 2 mmcinit.
Connected.
Error! cmd : 1, err : 0201
Error! cmd : 1, err : 0201
Error! cmd : 1, err : 0201
Error! cmd : 1, err : 0201
Error! cmd : 1, err : 0201
Error! cmd : 1, err : 0201
Error! cmd : 1, err : 0201
Error! cmd : 1, err : 0201
Error! cmd : 1, err : 0201
Error! cmd : 1, err : 0201
No MMC card found
SDHC found. Card desciption is:
Manufacturer:       0x03, OEM "SD"
Product name:       "SD08G", revision 8.0
Serial number:      1887477612
Manufacturing date: 12/2008
CRC:                0x00, b0 = 0

Unable to read "/boot/uInitrd" from mmc 0:1 **
## Booting image at 00400000 ...
Bad Magic Number
Marvell>>

My configuration is:

bootcmd=setenv bootargs $(bootargs_console); run bootcmd_mmc; bootm 0x400000 0x0800000 bootcmd_mmc=mmcinit;mmcinit;ext2load mmc 0:1 0x0800000 /boot/uInitrd;ext2load mmc 0:1 0x400000 /boot/uImage

I am using 2 mmcinit as an attempt to fix the problem, like some previous posters.

I have tried with 2 SD cards (8 and 4 GB), both Sandisk. However, if I copy the files to a 1 GB Kingston card, the boot gets much further:

Snipped log below to the point where it hangs:

[    1.940000] usbcore: registered new device driver usb
[    1.960000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.970000] orion-ehci orion-ehci.0: Marvell Orion EHCI
[ 1.970000] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[    2.010000] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[    2.030000] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[    2.030000] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 2.040000] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.050000] usb usb1: Product: Marvell Orion EHCI
[    2.050000] usb usb1: Manufacturer: Linux 2.6.30-2-kirkwood ehci_hcd
[    2.060000] usb usb1: SerialNumber: orion-ehci.0
[    2.060000] usb usb1: configuration #1 chosen from 1 choice
[    2.070000] hub 1-0:1.0: USB hub found
[    2.070000] hub 1-0:1.0: 1 port detected
done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. Begin: Waiting for root file system ... [ 2.320000] mmc0: host does not support reading read-only switch. assuming write-enable.
[    2.330000] mmc0: new high speed SD card at address 678f
[    2.350000] mmcblk0: mmc0:678f SD01G 982 MiB
[    2.360000]  mmcblk0: p1 p2

Ian.


Reply to: