• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: Sheevaplug does not boot alone ??  (Read 2093 times)
djemac
Newbie
*

Karma: 0
Posts: 2


View Profile
« on: July 22, 2012, 02:22:58 PM »

Some days ago, my SDHC card crashed  and it was impossible to repair it

I've succeeded to make another one and put my saved data on it

Since that, I don't now why but when I switch on the sheevaplug, it is waiting and not booting either on the NAND or the SDHC card

When I type

Marvell >>

run mmc_config to boot from SD

(  the other command is run jffs2_config to boot from NAND)


the sheevaplug is booting on the SD.

But if for example there is a  power cut, then the sheevaplug doesn't boot alone, and I need to connect to it via the USB cable and type from my computer the run mmc_config

what's going wrong?

Code:
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
console=console=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
loadaddr=0x02000000
autoload=no
ethact=egiga0
ethaddr=F0:AD:4E:00:41:92
run_diag=no
bootargs_console=console=ttyS0,115200
bootargs_root_jffs2=root=/dev/mtdblock2 ro
mtdpartitions_jffs2=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
jffs2_config=setenv arcNumber;setenv mainlineLinux no;setenv bootargs_root $(bootargs_root_jffs2);setenv bootcmd run bootcmd_jffs2;saveenv;reset
bootcmd_jffs2=setenv bootargs $(bootargs_console) $(mtdpartitions_jffs2); nand read.e 0x00800000 0x00100000 0x00400000; bootm 0x00800000
bootargs_root_mmc=root=/dev/mmcblk0p2 rootdelay=5
bootcmd_mmc=setenv bootargs $(bootargs_console) $(bootargs_root_mmc); mmcinit; ext2load mmc 0:1 0x800000 /uImage; bootm 0x00800000
mmc_config=setenv arcNumber 2097;setenv mainlineLinux yes;setenv bootcmd run bootcmd_mmc;saveenv;reset
bootargs_root=root=/dev/mtdblock2 ro
bootargs=console=ttyS0,115200 root=/dev/mmcblk0p2 rootdelay=5
arcNumber=2097
bootcmd=run bootcmd_mmc
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
Logged

djemac
Newbie
*

Karma: 0
Posts: 2


View Profile
« Reply #1 on: July 30, 2012, 02:00:52 PM »

Nobody to help me?
Logged

birdman
Sr. Member
****

Karma: 4
Posts: 443


View Profile WWW
« Reply #2 on: July 31, 2012, 05:13:57 PM »

Quote
When I type

Marvell >>

run mmc_config to boot from SD
Your environment has this:
Quote
bootcmd=run bootcmd_mmc
and that isn't the same.  Try changing it to:
Quote
bootcmd=run mmc_config
(and don't forget to save it).  That way you'll get arcNumber and mainlineLinux set, which you presumably need.
Logged

Pages: [1]
Print
Jump to: