[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: SheevaPlug fails to boot from SD



On 10/26/2009 07:23 PM, Jonas Häggqvist wrote:
> Martin Michlmayr wrote:
>> * Jonas Häggqvist <rasher@rasher.dk> [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


Reply to: