I looked at other posts describing problems with the DENX uboot and microSD but I see something different
when I try installing on my Guruplug Server Plus. I had a previous version of uboot load from a microSD but
had to replace due to I/O errors corrupting it.
I followed these instructions to install Debian Squeeze on a new microSD
http://www.cyrius.com/debian/kirkwood/sheevaplug/install.htmlEverything went well until I tried booting from the new SD. I tried both a USB boot and the SD instructions.
U-Boot 2011.12 (Mar 11 2012 - 18:53:15)
Marvell-GuruPlug
SoC: Kirkwood 88F6281_A1
DRAM: 512 MiB
WARNING: Caches not enabled
NAND: 512 MiB
In: serial
Out: serial
Err: serial
Net: egiga0, egiga1
88E1121 Initialized on egiga0
88E1121 Initialized on egiga1
Hit any key to stop autoboot: 0
(Re)start USB...
USB: Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 3 USB Device(s) found
scanning bus for storage devices... Device NOT ready
Request Sense returned 02 3A 00
2 Storage Device(s) found
** Bad partition 1 **
** Bad partition 1 **
Wrong Image Format for bootm command
ERROR: can't get kernel image!
baudrate=115200
bootargs=console=ttyS0,115200
bootargs_console=console=ttyS0,115200
bootcmd=setenv bootargs $(bootargs_console); run bootcmd_usb; bootm 0x00800000 0x01100000
bootcmd_mmc=mmc init; ext2load mmc 0:1 0x00800000 /uImage; ext2load mmc 0:1 0x01100000 /uInitrd
bootcmd_usb=usb start; ext2load usb 0:1 0x00800000 /uImage; ext2load usb 0:1 0x01100000 /uInitrd
bootdelay=3
eth1addr=02:50:43:e8:c0:6c
ethact=egiga0
ethaddr=02:50:43:2b:78:54
stderr=serial
stdin=serial
stdout=serial
x_bootargs=console=ttyS0,115200
x_bootargs_root=ubi.mtd=2 root=ubi0:rootfs rootfstype=ubifs
x_bootcmd_ethernet=ping 192.168.2.1
x_bootcmd_kernel=nand read.e 0x6400000 0x100000 0x400000
x_bootcmd_usb=usb start
I tried both usb and SD (it was unclear from the instructions whether Guruplug always sees SD as USB or just during install).
I don't understand why mmc init isn't in uboot help menu and I get "command not recognized."