Hi-
On my SD card (2GB, so not SDHC) there is one primary ext2 partition and I want it to be the root file system of my Sheeva Plug and want the plug to boot from /boot/ on the card.
I could make the RFS part, but not the booting... I also tried with another 4GB SDHC card and using FAT instead of ext2. Nothing. If I set it to boot from USB or NAND, it works properly.
I have U-Boot 1.1.4 (Nov 11 2009 - 16:17:48) Marvell version: 3.4.25. I simply loaded uboot.bin from TFTP with bubt, did not use installer.
Here is the output:
Marvell>> reset
�
__ __ _ _
| \/ | __ _ _ ____ _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| | | | (_| | | \ V / __/ | |
|_| |_|\__,_|_| \_/ \___|_|_|
_ _ ____ _
| | | | | __ ) ___ ___ | |_
| | | |___| _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
\___/ |____/ \___/ \___/ \__|
** MARVELL BOARD: SHEEVA PLUG LE
U-Boot 1.1.4 (Nov 11 2009 - 16:17:48) Marvell version: 3.4.25
U-Boot code: 00600000 -> 0067FFF0 BSS: -> 006CFB00
Soc: 88F6281 A0 (DDR2)
CPU running @ 1200Mhz L2 running @ 400Mhz
SysClock = 400Mhz , TClock = 200Mhz
DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000 size 256MB
DRAM CS[1] base 0x10000000 size 256MB
DRAM Total size 512MB 16bit width
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:512 MB
Flash: 0 kB
CPU : Marvell Feroceon (Rev 1)
Streaming disabled
Write allocate disabled
USB 0: host mode
PEX 0: interface detected no Link.
Net: egiga0 [PRIME]
Hit any key to stop autoboot: 0
SD found. Card desciption is:
Manufacturer: 0x1b, OEM "SM"
Product name: "SD ", revision 1.0
Serial number: 3934332571
Manufacturing date: 8/2008
CRC: 0x00, b0 = 0
2620504 bytes read
## Booting image at 00800000 ...
Image Name: Linux-2.6.30.2
Created: 2009-07-23 1:53:36 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2620440 Bytes = 2.5 MB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... Bad Data CRC
And here are the settings:
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
run_diag=yes
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;
ethaddr=00:50:43:16:28:2d
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
bootargs_console=console=ttyS0,115200
bootargs_root=root=/dev/mtdblock2 ro install_type=mmc
bootargs_ip=ip=10.4.50.4:10.4.50.5:10.4.50.5:255.255.255.0:DB88FXX81:eth0:none
bootargs=$(bootargs_console) $(bootargs_root) $(bootargs_ip)
bootcmd_mmc=mmcinit; ext2load mmc 0:1 0x0800000 /boot/sheeva-2.6.30.2-uImage
bootcmd=run bootcmd_mmc; bootm 0x0800000
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
filesize=27FC58
Environment size: 1436/131068 bytes
Any suggestions? Thanks in advance!