|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
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. -- To UNSUBSCRIBE, email to debian-arm-REQUEST@... with a subject of "unsubscribe". Trouble? Contact listmaster@... |
|
|
Re: Problem Booting from SD Card.Doh! Should have said I am using a Sheevaplug.
Ian Barton wrote: > 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. > > -- To UNSUBSCRIBE, email to debian-arm-REQUEST@... with a subject of "unsubscribe". Trouble? Contact listmaster@... |
|
|
Re: Problem Booting from SD Card.* Ian Barton <lists@...> [2009-11-05 10:43]:
> 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 Unfortunately there's nothing we can do about this. SheevaPlug support is being merged into upstream u-boot, which will probably help. But I'm not sure what the status of that is. > Snipped log below to the point where it hangs: > > 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 This is likely because the UUIDs of the partitions of this stick don't match that of the original installation. The Debian installer nowadays uses UUID instead of device names like /dev/mmcblk0p1 in /etc/fstab. You can fix this easily though: put the original SD card into your PC and check the UUIDs of each ext2/ext3 partition like this: sudo tune2fs -l /dev/mmcblk0p1 | grep UUID And then put the new SD card in and set the UUIDs with tune2fs -U. -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to debian-arm-REQUEST@... with a subject of "unsubscribe". Trouble? Contact listmaster@... |
|
|
Re: Problem Booting from SD Card.> * Ian Barton <lists@...> [2009-11-05 10:43]:
>> 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 > > Unfortunately there's nothing we can do about this. SheevaPlug > support is being merged into upstream u-boot, which will probably > help. But I'm not sure what the status of that is. > >> Snipped log below to the point where it hangs: >> >> 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 > > Thanks. Is this a manufacturer problem or an SD vs SDHC problem? If I can try a different make of SDHC is it likely to work? Ian. -- To UNSUBSCRIBE, email to debian-arm-REQUEST@... with a subject of "unsubscribe". Trouble? Contact listmaster@... |
|
|
Re: Problem Booting from SD Card.* Ian Barton <lists@...> [2009-11-05 11:42]:
> >>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 > > Thanks. Is this a manufacturer problem or an SD vs SDHC problem? If I > can try a different make of SDHC is it likely to work? Some SDHC cards are known to work, yes. Anyway, I asked about the status of an u-boot release based on the upstream code but didn't get a reply. I still hope this will improve SD support but because of the lack of reply I have no idea when this will happen. -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to debian-arm-REQUEST@... with a subject of "unsubscribe". Trouble? Contact listmaster@... |
| Free embeddable forum powered by Nabble | Forum Help |