Putting in boot forum 'cause that's the place to start.
A few hours after I unpack and try the SheevaPlug (feel the pain), I'm jambed. Basic devel kit, jffs2. A1 processor according to the label and printout.
The SheevaPlug booted ok on about the third effort. I used PuTTY to get into it, via the mini-USB, from a Hardy Linux box.
I then used the plug to format a SD card so going good at that point.
Then I tried to update uBoot via a USB memory stick. The stick worked ok, and the plug reported nothing. Believe it or not, despite the commands working. A bit annoyed, I tried setting up a tftp server, but ran into the usual problems of free sofware vis. which one, has it set up right, what addresses is it using, can I wire it past the router, or must I set up the router? Too many questions unanswered. Deciding this wasn't for me I tried a few uBoot images on other sticks, found the SheevaPlug now booting, switching uBoots, but complaining about magic numbers. Here's the info,
** MARVELL BOARD: SHEEVA PLUG LE
U-Boot 1.1.4 (Sep 14 2009 - 15:36:37) Marvell version: 3.4.19
U-Boot code: 00600000 -> 0067FFF0 BSS: -> 006CFB00
Soc: 88F6281 A1 (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], egiga1
Hit any key to stop autoboot: 0
Marvell>> <INTERRUPT>
Note I reverted to uBoot 3.4.19. NewIT image. Still able to swap uBoots. All report magic number errors.
Here's my current environment. This matches, close as I can,
http://www.newit.co.uk/forum/index.php/topic,134.0.htmlfactory version. Though some settings seem either not on that list or new.
Marvell>> printenv
autoload=no
baudrate=115200
bootargs_root=root=/dev/mtdblock2 ro
bootargs=console=ttyS0,115200 mtdparts=nand_mtd:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) rw root=/dev/mtdblock1 rw
bootargs_end=:::DB88FXX81:eth0:none 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
bootdelay=3
CASset=min
cesvcid=ULULULULULULPPULULULULULDA
console=ttyS0,115200
disaMvPnp=no
disL2Cache=no
disL2Prefetch=yes
enaAutoRecovery=yes
enaCpuStream=no
enaDCPref=yes
enaICPref=yes
enaMonExt=no
enaWrAllo=no
ethact=egiga0
ethaddr=00:50:43:75:19:19
ethmtu=1500
ethprime=egiga0
image_name=uImage
ipaddr=10.10.0.1
loadaddr=0x02000000
loads_echo=0
mainlineLinux=no
MALLOC_len=1
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs
nandEcc=1bit
nandEnvBase=5200
netbsd_en=no
netmask=255.255.255.0
netretry=no
pcieTune=no
pexMode=RC
rcvrip=169.254.100.100
rootpath=/mnt/ARM_FS/
run_diag=yes
sata_dma_mode=yes
serverip=10.10.0.2
setL2CacheWT=yes
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
stderr=serial
stdin=serial
stdout=serial
usb0Mode=host
vxworks_en=no
yuk_ethaddr=00:00:EE:51:81
Or did I inherit these when the boot failed and went into default? Here's what happens when I boot,
Environment size: 1322/131068 bytes
Marvell>> boot
NAND read: device 0 offset 0x100000, size 0x400000
Reading data from 0x4ff800 -- 100% complete.
4194304 bytes read: OK
## Booting image at 00800000 ...
Bad Magic Number
Marvell>>
QuestionsAre these env settings the right set? And some of the envs seem to have changed? New envs? What should they be?
Is this a likely fix anyhow? I thought the magic number would here refer to the address start of the image file. All's good there, surely? Not been near the image.
Or am I looking at a full scale effor at reimaging and so forth?