|
View:
New views
8 Messages
—
Rating Filter:
Alert me
|
|
|
SheevaPlug fails to boot from SDI installed Debian on my plug, to an SD card following the instructions
from http://www.cyrius.com/debian/kirkwood/sheevaplug/install.html The install went fine, but I can't manage to get the last step working, namely setting the plug up to boot Debian from the SD. I partitioned in d-i, with a single partition for / plus a swap partition. Marvell>> setenv bootargs_console console=ttyS0,115200 Marvell>> setenv bootcmd_mmc 'mmcinit; ext2load mmc 0 0x0800000 /boot/uInitrd; ext2load mmc 0 0x400000 /boot/uImage' Marvell>> setenv bootcmd 'setenv bootargs $(bootargs_console); run bootcmd_mmc; bootm 0x400000 0x0800000' Marvell>> run bootcmd SD found. Card desciption is: Manufacturer: 0x03, OEM "SD" Product name: "SU01G", revision 8.0 Serial number: 1091923440 Manufacturing date: 7/2008 CRC: 0x00, b0 = 0 ** Invalid partition type "����" (expect "U-Boot") ** Invalid partition type "����" (expect "U-Boot") ## Booting image at 00400000 ... Bad Magic Number Marvell>> U-Boot 1.1.4 (Sep 14 2009 - 15:36:37) Marvell version: 3.4.19 -- Jonas Häggqvist rasher(at)rasher(dot)dk -- To UNSUBSCRIBE, email to debian-arm-REQUEST@... with a subject of "unsubscribe". Trouble? Contact listmaster@... |
|
|
Re: SheevaPlug fails to boot from SDread attached message by Martin Michlmayr
Am Dienstag, 27. Oktober 2009 00:38:13 schrieb Jonas Häggqvist: > I installed Debian on my plug, to an SD card following the instructions > from http://www.cyrius.com/debian/kirkwood/sheevaplug/install.html > > The install went fine, but I can't manage to get the last step working, > namely setting the plug up to boot Debian from the SD. I partitioned in > d-i, with a single partition for / plus a swap partition. > > Marvell>> setenv bootargs_console console=ttyS0,115200 > Marvell>> setenv bootcmd_mmc 'mmcinit; ext2load mmc 0 0x0800000 > /boot/uInitrd; ext2load mmc 0 0x400000 /boot/uImage' > Marvell>> setenv bootcmd 'setenv bootargs $(bootargs_console); run > bootcmd_mmc; bootm 0x400000 0x0800000' > Marvell>> run bootcmd > SD found. Card desciption is: > Manufacturer: 0x03, OEM "SD" > Product name: "SU01G", revision 8.0 > Serial number: 1091923440 > Manufacturing date: 7/2008 > CRC: 0x00, b0 = 0 > > ** Invalid partition type "����" (expect "U-Boot") > > ** Invalid partition type "����" (expect "U-Boot") > ## Booting image at 00400000 ... > Bad Magic Number > Marvell>> > > U-Boot 1.1.4 (Sep 14 2009 - 15:36:37) Marvell version: 3.4.19 > * アズマ <masha_kazuhra3n@...> [2009-10-25 23:03]: > I am in trouble in starting the i debian's nstaller according to the > method of ur l > "http://www.cyrius.com/debian/kirkwood/sheevaplug/install.html". > Never the kernel booting had ended ! It will work after you execute the following commands: setenv mainlineLinux yes setenv arcNumber 2097 saveenv reset > next, print messeages included variables are showed as belows. > mainlinelinux=yes > arcNumber=2097 ... > mainlineLinux=no The variables are case-sensitive, and you have to change mainlineLinux to yes. -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to debian-arm-REQUEST@... with a subject of "unsubscribe". Trouble? Contact listmaster@... |
|
|
Re: SheevaPlug fails to boot from SD* Karsten König <remur@...> [2009-10-27 01:03]:
> read attached message by Martin Michlmayr That's a different issue to the one Jonas is running into. -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to debian-arm-REQUEST@... with a subject of "unsubscribe". Trouble? Contact listmaster@... |
|
|
Re: SheevaPlug fails to boot from SD* Jonas Häggqvist <rasher@...> [2009-10-27 00:38]:
> Marvell>> setenv bootcmd_mmc 'mmcinit; ext2load mmc 0 0x0800000 > /boot/uInitrd; ext2load mmc 0 0x400000 /boot/uImage' I'm not sure, but can you try setenv bootcmd_mmc 'mmcinit; ext2load mmc 0:1 0x0800000 /boot/uInitrd; ext2load mmc 0:1 0x400000 /boot/uImage' or setenv bootcmd_mmc 'mmcinit; ext2load mmc 0:2 0x0800000 /boot/uInitrd; ext2load mmc 0:2 0x400000 /boot/uImage' Is your root partition the first primary partition on the SD card or which one? -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to debian-arm-REQUEST@... with a subject of "unsubscribe". Trouble? Contact listmaster@... |
|
|
Re: SheevaPlug fails to boot from SDMartin Michlmayr wrote:
> * Jonas Häggqvist <rasher@...> [2009-10-27 00:38]: >> Marvell>> setenv bootcmd_mmc 'mmcinit; ext2load mmc 0 0x0800000 >> /boot/uInitrd; ext2load mmc 0 0x400000 /boot/uImage' > > I'm not sure, but can you try > > setenv bootcmd_mmc 'mmcinit; ext2load mmc 0:1 0x0800000 /boot/uInitrd; ext2load mmc 0:1 0x400000 /boot/uImage' > or > setenv bootcmd_mmc 'mmcinit; ext2load mmc 0:2 0x0800000 /boot/uInitrd; ext2load mmc 0:2 0x400000 /boot/uImage' Neither of these seemed to help. > Is your root partition the first primary partition on the SD card or > which one? It's the first partition. Dump from fdisk: Device Boot Start End Blocks Id System /dev/mmcblk0p1 1 97 779121 83 Linux /dev/mmcblk0p2 98 123 208845 82 Linux swap / Solaris Output of printenv (with the second bootcmd_mmc): baudrate=115200 loads_echo=0 rootpath=/mnt/ARM_FS/ netmask=255.255.0.0 console=a0000 e=ttyS0,115200 CASset=min MALLOC_len=1 ethprime=egiga0 bootargs_root=root=/dev/mtdblock2 ro ethmtu=1500 usb0Mode=host nandEcc=1bit ethact=egiga0 serverip=10.10.0.2 ipaddr=10.10.0.1 cesvcid=ULULULULULULPPULULULULULDA bootargs_end=:::DB88FXX81:eth0:none image_name=uImage standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serve; mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500 yuk_ethaddr=00:00:00:EE:51:81 netretry=no rcvrip=169.254.100.100 loadaddr=0x02000000 autoload=no ethaddr=00:50:43:01:65:0C run_diag=no arcNumber=2097 stdin=serial stdout=serial stderr=serial nandEnvBase=a0000 mainlineLinux=yes enaMonExt=no enaCpuStream=no enaWrAllo=no pexMode=RC disL2Cache=no setL2CacheWT=yes disL2Prefetch=yes enaICPref=yes enaDCPref=yes sata_dma_mode=yes netbsd_en=no vxworks_en=no bootdelay=3 disaMvPnp=no enaAutoRecovery=yes pcieTune=no bootargs_console=console=ttyS0,115200 bootcmd=setenv bootargs $(bootargs_console); run bootcmd_mmc; bootm 0x400000 0x0800000 bootcmd_mmc=mmcinit; ext2load mmc 0:2 0x0800000 /boot/uInitrd; ext2load mmc 0:2 0x400000 /boot/uImage bootargs=console=ttyS0,115200 Environment size: 1349/131068 bytes -- Jonas Häggqvist rasher(at)rasher(dot)dk -- To UNSUBSCRIBE, email to debian-arm-REQUEST@... with a subject of "unsubscribe". Trouble? Contact listmaster@... |
|
|
Re: SheevaPlug fails to boot from SDOn 10/26/2009 07:23 PM, Jonas Häggqvist wrote:
> Martin Michlmayr wrote: >> * Jonas Häggqvist <rasher@...> [2009-10-27 00:38]: >>> Marvell>> setenv bootcmd_mmc 'mmcinit; ext2load mmc 0 0x0800000 >>> /boot/uInitrd; ext2load mmc 0 0x400000 /boot/uImage' >> >> I'm not sure, but can you try >> >> setenv bootcmd_mmc 'mmcinit; ext2load mmc 0:1 0x0800000 /boot/uInitrd; >> ext2load mmc 0:1 0x400000 /boot/uImage' >> or >> setenv bootcmd_mmc 'mmcinit; ext2load mmc 0:2 0x0800000 /boot/uInitrd; >> ext2load mmc 0:2 0x400000 /boot/uImage' > > Neither of these seemed to help. > >> Is your root partition the first primary partition on the SD card or >> which one? > > It's the first partition. Dump from fdisk: > > Device Boot Start End Blocks Id System > /dev/mmcblk0p1 1 97 779121 83 Linux > /dev/mmcblk0p2 98 123 208845 82 Linux swap > / Solaris > > Output of printenv (with the second bootcmd_mmc): > > baudrate=115200 > loads_echo=0 > rootpath=/mnt/ARM_FS/ > netmask=255.255.0.0 > console=a0000 > e=ttyS0,115200 > CASset=min > MALLOC_len=1 > ethprime=egiga0 > bootargs_root=root=/dev/mtdblock2 ro > ethmtu=1500 > usb0Mode=host > nandEcc=1bit > ethact=egiga0 > serverip=10.10.0.2 > ipaddr=10.10.0.1 > cesvcid=ULULULULULULPPULULULULULDA > bootargs_end=:::DB88FXX81:eth0:none > image_name=uImage > standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) > root=/dev/mtdblock0 rw ip=$(ipaddr):$(serve; > mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs > mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500 > yuk_ethaddr=00:00:00:EE:51:81 > netretry=no > rcvrip=169.254.100.100 > loadaddr=0x02000000 > autoload=no > ethaddr=00:50:43:01:65:0C > run_diag=no > arcNumber=2097 > stdin=serial > stdout=serial > stderr=serial > nandEnvBase=a0000 > mainlineLinux=yes > enaMonExt=no > enaCpuStream=no > enaWrAllo=no > pexMode=RC > disL2Cache=no > setL2CacheWT=yes > disL2Prefetch=yes > enaICPref=yes > enaDCPref=yes > sata_dma_mode=yes > netbsd_en=no > vxworks_en=no > bootdelay=3 > disaMvPnp=no > enaAutoRecovery=yes > pcieTune=no > bootargs_console=console=ttyS0,115200 > bootcmd=setenv bootargs $(bootargs_console); run bootcmd_mmc; bootm > 0x400000 0x0800000 > bootcmd_mmc=mmcinit; ext2load mmc 0:2 0x0800000 /boot/uInitrd; ext2load > mmc 0:2 0x400000 /boot/uImage > bootargs=console=ttyS0,115200 > > Environment size: 1349/131068 bytes > I haven't spotted a correction I might suggest, but if it helps at all, I have kept all my configurations from the default factory configs, through dual-boot SD|NAND, which is what I'm using currently - perhaps they will give you an idea or two. http://12.am/sheevaplug/ -- Kind regards, Michael -- To UNSUBSCRIBE, email to debian-arm-REQUEST@... with a subject of "unsubscribe". Trouble? Contact listmaster@... |
|
|
Re: SheevaPlug fails to boot from SD* Jonas Häggqvist <rasher@...> [2009-10-27 01:23]:
> >setenv bootcmd_mmc 'mmcinit; ext2load mmc 0:1 0x0800000 /boot/uInitrd; ext2load mmc 0:1 0x400000 /boot/uImage' > >or > >setenv bootcmd_mmc 'mmcinit; ext2load mmc 0:2 0x0800000 /boot/uInitrd; ext2load mmc 0:2 0x400000 /boot/uImage' > > Neither of these seemed to help. Could you try: setenv bootcmd_mmc 'mmcinit; mmcinit; ext2load mmc 0 0x0800000 /boot/uInitrd; ext2load mmc 0 0x400000 /boot/uImage' There are some people who said that running "mmcinit" twice helped them... maybe it also helps in your case. If that doesn't help, I'm out of ideas and suggest you post to the OpenPlug forum. -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to debian-arm-REQUEST@... with a subject of "unsubscribe". Trouble? Contact listmaster@... |
|
|
Re: SheevaPlug fails to boot from SDMartin Michlmayr wrote:
> * Jonas Häggqvist <rasher@...> [2009-10-27 01:23]: >>> setenv bootcmd_mmc 'mmcinit; ext2load mmc 0:1 0x0800000 /boot/uInitrd; ext2load mmc 0:1 0x400000 /boot/uImage' >>> or >>> setenv bootcmd_mmc 'mmcinit; ext2load mmc 0:2 0x0800000 /boot/uInitrd; ext2load mmc 0:2 0x400000 /boot/uImage' >> Neither of these seemed to help. > > Could you try: > > setenv bootcmd_mmc 'mmcinit; mmcinit; ext2load mmc 0 0x0800000 /boot/uInitrd; ext2load mmc 0 0x400000 /boot/uImage' > > There are some people who said that running "mmcinit" twice helped > them... maybe it also helps in your case. > > If that doesn't help, I'm out of ideas and suggest you post to the > OpenPlug forum. Just to follow-up here. The extra mmcinit didn't help either. Furthermore ext2ls and fatls (on a FAT-formatted card) both fail, so I suspect a bug in u-boot. If I load the kernel from TFTP, the system boots fine off the SD. This is my thread on plugforum: http://plugcomputer.org/plugforum/index.php?topic=881.0 -- Jonas Häggqvist rasher(at)rasher(dot)dk -- To UNSUBSCRIBE, email to debian-arm-REQUEST@... with a subject of "unsubscribe". Trouble? Contact listmaster@... |
| Free embeddable forum powered by Nabble | Forum Help |