I installed Debian Squeeze according to Martin Michlmayr´s instructions to a Kingston 8 gb SD. Uneventful, booted ok, according to instructions:
http://www.cyrius.com/debian/kirkwood/sheevaplug/install.htmlUsed:
setenv mainlineLinux yes
setenv arcNumber 2097
saveenv
reset
then:
setenv bootargs_console console=ttyS0,115200
setenv bootcmd_mmc 'mmcinit; ext2load mmc 0 0x0800000 /uInitrd; ext2load mmc 0 0x400000 /uImage'
setenv bootcmd 'setenv bootargs $(bootargs_console); run bootcmd_mmc; bootm 0x400000 0x0800000'
saveenv
I had previously installed Ubuntu 9.04 to the NAND with the 1.0 installer. uboot v19 not 24. Left the uboot alone, did not update. It booted fine. Instructions:
http://www.openplug.org/plugwiki/index.php/SheevaPlug_InstallerI booted into the Debian Squeeze on the SD card with the mini-usb in the SheevaPlug and connected ok, then rebooted the plug, interrupted the reboot and at the Marvell prompt on the SheevaPlug entered the following with the SD card in the SheevaPlug:
setenv bootargs_nand 'console=ttyS0,115200 ubi.mtd=1 root=ubi0:rootfs rootfstype=ubifs'
setenv bootcmd_nand 'setenv bootargs $(bootargs_nand) $(mtdpartitions); nand read.e 0x00800000 0x00100000 0x00400000; bootm 0x00800000'
setenv bootargs_mmc console=ttyS0,115200
setenv bootcmd_mmc 'mmcinit; ext2load mmc 0 0x0800000 /uInitrd; ext2load mmc 0 0x400000 /uImage'
setenv bootcmd 'setenv bootargs $(bootargs_mmc); run bootcmd_mmc; bootm 0x400000 0x0800000; run bootcmd_nand'
saveenv
then booted the SheevaPlug with the SD card Debian Squeeze. Booted fine. Rebooted, interrupted the reboot, removed the SD card, then booted and the NAND booted the Ubuntu 9.04 no problem. Rebooted reinstalled the SD card, rebooted and up came Debian Squeeze.
So at least for the Ubuntu 9.04 on the NAND and Debian Squeeze on the SD card these environment variables seem to work for dual booting the SheevaPlug.
Comments anyone?