• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: my plug doesn't boot no more...  (Read 1304 times)
spazm2000
Newbie
*

Karma: 0
Posts: 5


View Profile
« on: September 26, 2009, 06:10:16 PM »

Hi,

I've been installing various things on my plug for the last week and it was working fine till today. I was booting it on usb with the help of this guide (http://computingplugs.com/index.php/Booting_entirely_off_an_external_USB_device). Everything was left untouched on the nand drive. But today I decided to go for a mmc card. So I plugged it in and transfered everything to the mmcblk0p2 since I created a mmcblk0p1 with the uImage.sheeva.040309. Everything went smootly... but I wasn't able to boot on the mmc... uboot wasn't able to so I found another guide (http://www.cyrius.com/debian/kirkwood/sheevaplug/unpack.html) explaining how to replace the U-boot on the plug. No problem there either... but it still booting completely saying that the mmcblk0p2 wasn't found.

Decided I had enough for tonight and rebooted it on my usb drive... but now it's refusing to boot at all... it dies after the kernel thing.

Here's what I was typing in the console to boot it from USB :

setenv bootargs 'console=ttyS0,115200 root=/dev/sda2 rootdelay=10 mtdparts=nand_mtd:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) rw'
setenv bootcmd 'usb start; ext2load usb 0:1 0x8000000 /uImage.sheeva.040309; bootm 0x8000000; reset'
run bootcmd

Now when I do that I get this :


/**********************************************/

Hit any key to stop autoboot:  0
Marvell>> setenv bootargs 'console=ttyS0,115200 root=/dev/sda2 rootdelay=10 mtdparts=nand_mtd:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) rw'
Marvell>> setenv bootcmd 'usb start; ext2load usb 0:1 0x8000000 /uImage.sheeva.040309; bootm 0x8000000; reset'
Marvell>> run bootcmd
(Re)start USB...
USB:   scanning bus for devices... 2 USB Device(s) found
       scanning bus for storage devices... 1 Storage Device(s) found
.
.........................
.........................
.........................
.........................
.........................
.........................
.........................
.....................

2070316 bytes read
## Booting image at 08000000 ...
   Image Name:   Linux-2.6.22.18
   Created:      2009-04-04   1:49:44 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2070252 Bytes =  2 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

/**********************************************/

It just stops there... I don't know what to do now... I've tried various to set theses with no success :

setenv arcNumber 2097
setenv mainlineLinux yes
saveenv

What can I do to make it boot?
Logged

spazm2000
Newbie
*

Karma: 0
Posts: 5


View Profile
« Reply #1 on: September 26, 2009, 06:12:05 PM »

Here's the printout of the printenv in case it's usefull....


Marvell>> printenv
baudrate=115200
loads_echo=0
rootpath=/mnt/ARM_FS/
netmask=255.255.0.0
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):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
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:D8:91
run_diag=no
bootargs=console=ttyS0,115200 mtdparts=nand_mtd:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) rw root=/dev/mtdblock1 rw ip=10.4.50.4:10.4.50.5:10.4.50.5:255.255.255.0:DB88FXX81:eth0:none
bootcmd=nand read.e 0x800000 0x100000 0x400000; bootm 0x800000
bootargs_nand=console=ttyS0,115200 mtdparts=nand_mtd:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) rw root=/dev/mtdblock1 rw ip=10.4.50.4:10.4.50.5:10.4.50.5:255.255.255.0:DB88FXX81:eth0:none
bootcmd_nand=nand read.e 0x800000 0x100000 0x400000; bootm 0x800000
arcNumber=2097
stdin=serial
stdout=serial
stderr=serial
console=console=ttyS0,115200 mtdparts=nand_mtd:0x100000@0(uboot)ro,0x0@0x100000(uImage),0x1ff00000@0x100000(rootfs)rw
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

Logged

ianjb
Jr. Member
**

Karma: 0
Posts: 65


View Profile
« Reply #2 on: September 26, 2009, 06:58:27 PM »

Your printout with the hang at "done, booting the kernel." shows that you are using the original kernel 2.6.22.18. For that you must have mainlineLinux set to no.
Logged

spazm2000
Newbie
*

Karma: 0
Posts: 5


View Profile
« Reply #3 on: September 26, 2009, 07:29:22 PM »

Thanks a lot man, that fixed the problem.
Logged

Pages: [1]
Print
Jump to: