Just to warn everyone, having only been introduced to Linux within the last 2 years, and coming to the plug from the NSLU2, which (at least at the moment) seems a bit simpler, I am very much a beginner with this type of thing, so please be patient!
I bought a Sheevaplug from New IT off eBay the other day, and it arrived yesterday. My NSLU2 has been overloaded beyond belief and it is just too slow, so I was looking for something with a bit more grunt to act as a home server running things like CUPS, Transmission, Samba, Apache and maybe a webcam.
I was worried about the relatively small amount of space on the plug when it arrived. I decided to move the root file system to an SD card I had (Sandisk 4Gb card) so I followed the guide on the wiki here
When I got to the part to do with UBoot, as per the guide, I changed the bootargs using the command (I did check that my bootargs were initially set the same as those in the guide, and they were, so I thought it would be fine):
setenv bootargs console=ttyS0,115200 root=/dev/mmcblk0p1 rw ip=10.4.50.4:10.4.50.5:10.4.50.5:255.255.255.0:DB88FXX81:eth0:none
And then checked it using printenv bootargs. All looked well, so I typed 'boot' and the plug booted. I watched it boot, and a couple of [failed] notices came up, but Debian (mine has Debian on it as standard? I am not sure) booted, I logged ina dn all was fine. I also SSHd in to prove to myself that it wasn't broken. All worked well.
I then repeated the process (shut down, got into UBoot, setenv bootargs etc) and included saveenv at the end, as I figured the changes I made were good.
That seemed to go well. Then I typed 'boot'. I got this:
NAND read: device 0 offset 0x100000, size 0x400000
Reading data from 0x4ff800 -- 100% complete.
4194304 bytes read: OK
## Booting image at 00800000 ...
Image Name: Linux-188.8.131.52
Created: 2009-03-19 9:18:16 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2106696 Bytes = 2 MB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... Bad Data CRC
This seems to happen without fail every time I turn it on. I tried setting the bootargs back to what I had originally, with this line:
setenv bootargs console=ttyS0,115200 mtdparts=nand_mtd:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) rw root=/dev/mtdblock1 rw ip=10.4.50.4:10.4.50.5:10.4.50.5:255.255.255.0:DB88FXX81:eth0:none
But it still does the same thing upon boot.
So I have a couple of questions - first of all - did I go wrong anywhere obvious? I would love to fully understand what caused this, as well as how to fix it.
Second - how can I fix it? I have found a couple of other threads which sound similar, and they suggested restoring via USB - so this would mean following these instructions
I would be grateful for any help anyone can offer - as I say, I am a bit of a newbie, but eager to learn from my mistakes!