• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: help me :'(  (Read 1252 times)
slore
Newbie
*

Karma: 0
Posts: 24


View Profile
« on: January 08, 2010, 01:31:05 PM »

guys please help me my sheeva is dead:
i've restored it with the installer and sunme.exe nand but now the uboot says bad magic how can i resolve that?

here's what i achive till now

Quote
Marvell>> setenv bootcmd nand read.e 0x800000 0x100000 0x400000; bootm 0x8000000
## Booting image at 08000000 ...
Bad Magic Number
Marvell>> printenv
baudrate=115200
loads_echo=0
ipaddr=10.4.50.165
serverip=10.4.50.5
netmask=255.255.255.0
run_diag=yes
CASset=min
MALLOC_len=1
ethprime=egiga0
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage
ethaddr=00:50:43:20:1e:12
ethmtu=1500
mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
usb0Mode=host
yuk_ethaddr=00:00:00:EE:51:81
nandEcc=1bit
netretry=no
rcvrip=169.254.100.100
loadaddr=0x02000000
autoload=no
ethact=egiga0
roothpath=/dev/mtdblock2
console=a0000
e=ttyS0,115200
bootargs_root=root=/dev/mtdblock2 ro
rootpath=/mnt/ARM_FS/
standalone=fsload 0x2000000 uImage
stdin=serial
stdout=serial
stderr=serial
nandEnvBase=a0000
mainlineLinux=no
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=ttyS0,115200 root=/dev/sda panic=10 rootdelay=10 mtdparts=nand_mtd:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) rw
bootcmd=nand read.e 0x800000 0x100000 0x400000

Environment size: 1128/131068 bytes
Marvell>> boot

NAND read: device 0 offset 0x100000, size 0x400000

Reading data from 0x4ff800 -- 100% complete.
 4194304 bytes read: OK
Marvell>>

« Last Edit: January 08, 2010, 01:48:58 PM by slore » Logged

pingtoo
Sr. Member
****

Karma: 15
Posts: 318


View Profile
« Reply #1 on: January 08, 2010, 02:06:10 PM »

You can
Code:
Marvell>> bootm 0x800000 #<- this will boot whatever you load from nand
What happen is when you run the command
Quote
Marvell>> setenv bootcmd nand read.e 0x800000 0x100000 0x400000; bootm 0x8000000
you miss the quote, the line is being executed as two different commands, one is setenv, the other is bootm.
so to reset your bootcmd do this
Code:
Marvell>> setenv bootcmd 'nand read.e 0x800000 0x100000 0x400000; bootm 0x8000000'
Marvell>> saveenv
Marvell>> reset
Now it should auto boot into the object you load from nand.
Logged

Good Luck Smiley

slore
Newbie
*

Karma: 0
Posts: 24


View Profile
« Reply #2 on: January 08, 2010, 11:40:27 PM »

the issue still comes outs so i tried to reflash but when i load it from usb it freeze when says
done, booting the kernel

here my printenv

Quote
baudrate=115200
loads_echo=0
ipaddr=10.4.50.165
serverip=10.4.50.5
rootpath=/mnt/ARM_FS/
netmask=255.255.255.0
e=ttyS0,115200 mtdparts=nand_mtd:0xc0000@0(uboot)ro,0x1ff00000@0x100000(root)
CASset=min
MALLOC_len=1
ethprime=egiga0
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;
ethmtu=1500
mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
usb0Mode=host
yuk_ethaddr=00:00:00:EE:51:81
nandEcc=1bit
netretry=no
rcvrip=169.254.100.100
autoload=no
ethact=egiga0
bootargs_root=ubi.mtd=1 root=ubi0:rootfs rootfstype=ubifs
mtdpartitions=mtdparts=orion_nand:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs)
ethaddr=00:50:43:01:c1:e6
real_bootcmd=setenv bootargs $(bootargs_console) $(mtdpartitions) $(bootargs_root); nand read.e 0x00800000 0x00100000 0x00400000; bootm 0x00800000
bootargs_console=console=ttyS0,115200
recover1=setenv mainlineLinux yes; setenv arcNumber 2097; setenv bootcmd run recover2; saveenv; reset
recover2=run recover3; setenv bootcmd $(real_bootcmd); saveenv; setenv bootargs $(bootargs_console) $(mtdpartitions) root=/dev/ram0 rw ramdisk=0x01100000,8M install_type=nand; bootm 0x00800000 0x01100000
recover3=run recover4; nand erase clean 0x00100000 0x00400000; nand write.e 0x00800000 0x00100000 0x00400000
recover4=usb start; fatload usb 0 0x00800000 uImage; fatload usb 0 0x01100000 initrd
loadaddr=0x2000000
mtd1set=loadaddr 0x2000000
mtd1Size=0x300000
e=ttyS0,115200
e=ttyS0,115200
bootargs=a0000 rootfstype=squashfs root=/dev/mtdblock2 mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
arcNumber=2097
filesize=44AD000
bootcmd=setenv bootargs $(console) rootfstype=squashfs root=/dev/mtdblock2 $(mvNetConfig) $(mvPhoneConfig; nand read.e $(loadaddr) 0x100000 0x200000; bootm $(loadaddr);
console=a0000
e=ttyS0,115200
stdin=serial
stdout=serial
stderr=serial
nandEnvBase=00
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

Environment size: 2285/131068 bytes

Logged

pingtoo
Sr. Member
****

Karma: 15
Posts: 318


View Profile
« Reply #3 on: January 09, 2010, 07:00:14 AM »

It looks like you did not run the recover1, also it looks you are using an buggy version of u-boot 3.4.23, please try download this one http://plugcomputer.org/plugforum/index.php?topic=1134.msg7016#msg7016, rename the file to uboot.bin in the directory where sheeva-installer/uboot directory.
Logged

Good Luck Smiley

slore
Newbie
*

Karma: 0
Posts: 24


View Profile
« Reply #4 on: January 09, 2010, 07:25:27 AM »

i follow your help but still the same i'm really scared

some logs
Quote
Marvell>> printenv
baudrate=115200
loads_echo=0
ipaddr=10.4.50.165
serverip=10.4.50.5
rootpath=/mnt/ARM_FS/
netmask=255.255.255.0
CASset=min
MALLOC_len=1
ethprime=egiga0
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;
ethmtu=1500
mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
usb0Mode=host
yuk_ethaddr=00:00:00:EE:51:81
nandEcc=1bit
netretry=no
rcvrip=169.254.100.100
autoload=no
ethact=egiga0
bootargs_root=ubi.mtd=1 root=ubi0:rootfs rootfstype=ubifs
mtdpartitions=mtdparts=orion_nand:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs)
ethaddr=00:50:43:01:c1:e6
real_bootcmd=setenv bootargs $(bootargs_console) $(mtdpartitions) $(bootargs_root); nand read.e 0x00800000 0x00100000 0x00400000; bootm 0x00800000
bootargs_console=console=ttyS0,115200
recover1=setenv mainlineLinux yes; setenv arcNumber 2097; setenv bootcmd run recover2; saveenv; reset
recover2=run recover3; setenv bootcmd $(real_bootcmd); saveenv; setenv bootargs $(bootargs_console) $(mtdpartitions) root=/dev/ram0 rw ramdisk=0x01100000,8M install_type=nand; bootm 0x00800000 0x01100000
recover3=run recover4; nand erase clean 0x00100000 0x00400000; nand write.e 0x00800000 0x00100000 0x00400000
recover4=usb start; fatload usb 0 0x00800000 uImage; fatload usb 0 0x01100000 initrd
loadaddr=0x2000000
mtd1Size=0x300000
filesize=44AD000
bootcmd=setenv bootargs $(console) rootfstype=squashfs root=/dev/mtdblock2 $(mvNetConfig) $(mvPhoneConfig; nand read.e $(loadaddr) 0x100000 0x200000; bootm $(loadaddr);
console=console=ttyS0,115200
bootargs=console=ttyS0,115200 rootfstype=squashfs root=/dev/mtdblock2 mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
arcNumber=2097
stdin=serial
stdout=serial
stderr=serial
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

Environment size: 2149/131068 bytes


Marvell>> version

U-Boot 1.1.4 (Dec 27 2009 - 22:03:21) Marvell version: 3.4.27 - pingtoo patch.01
Marvell>>


Marvell>> boot

NAND read: device 0 offset 0x100000, size 0x200000

Reading data from 0x2ff800 -- 100% complete.
 2097152 bytes read: OK
## Booting image at 02000000 ...
Bad Magic Number
Marvell>>


Marvell>> rcvr
USB:   scanning bus for devices... 2 USB Device(s) found
1 Storage Device(s) found
Trying to load image from USB flash drive using FAT FS
reading /flashware.img
...

72011776 bytes read
Update bootcmd
Erasing Nand...Writing to Nand... done

bootcmd: setenv bootargs $(console) root=/dev/ram0 $(mvNetConfig) rootfstype=squashfs initrd=0x2200000,0x41ad000 ramdisk_size=67252 recovery=usb serverip=0.0.0.0  ethact=$(ethact) ethaddr=00:50:43:01:c1:e6 eth1addr=<NULL>; bootm 0x2000000;
Booting the image (@ 0x2000000)...
## Booting image at 02000000 ...
   Image Name:   Linux-2.6.22.18
   Created:      2009-03-30  15:30:26 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2148292 Bytes =  2 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

« Last Edit: January 09, 2010, 09:24:25 AM by slore » Logged

pingtoo
Sr. Member
****

Karma: 15
Posts: 318


View Profile
« Reply #5 on: January 09, 2010, 11:37:03 AM »

Please be careful on state what you mean. I have never ask you to run rcvr. Angry

I ask you to run recover1. which should be done this way
Code:
Marvell>> run recover1

If you wish to continue, please clarify what is the installation method you used, what kernel version you are using.
Logged

Good Luck Smiley

slore
Newbie
*

Karma: 0
Posts: 24


View Profile
« Reply #6 on: January 09, 2010, 12:26:25 PM »

pingtoo i follow your help and now my plug is on-line again thank you very much !!!!
Logged

Pages: [1]
Print
Jump to: