New IT forum
10 August 2022, 10:26:03 pm *
Welcome, %1$s. Please login or register.

: GertDuino now in stock.
 
Pages: [1]

Author Topic: Guruplug - Bad CRC - Not starting anymore ... dead or not ?  (Read 5604 times)

jolann6973

  • Newbie
  • *
  • Posts: 7
Guruplug - Bad CRC - Not starting anymore ... dead or not ?
« on: 02 November 2011, 12:53:22 pm »

Hello everyone,

I need someone's help to get my guruplug usable again.

First, I had the problem described here:
http://www.newit.co.uk/forum/index.php/topic,2037.0.html

I tried to solve it and restart the plug, then I had a red fix light indicating boot problem ... So I bought the cable and tried to reflash the plug totally following this :

http://www.myownhomeserver.ch/en/reset

and this :

http://plugcomputer.org/plugwiki/index.php/Reflashing_images_on_the_GuruPlug

The files I used are located here :

http://plugcomputer.org/downloads/guru-plug/




This is the commands I used :

Code: [Select]
--- uImage ---
setenv serverip 192.168.1.103
setenv ipaddr 192.168.1.10
tftp 0x6400000 uImage-guruplug
 nand erase 0x100000 0x400000
 nand write.e 0x6400000 0x100000 0x40000

--- rootFs ---
tftp 0x6400000 rootfs.ubi.img
nand erase 0x500000 0x1fb00000
nand write.e 0x6400000 0x500000 0xb940000

--- SETENV ---
setenv x_bootcmd_usb 'usb start'
setenv x_bootcmd_kernel 'nand read.e 0x6400000 0x100000 0x400000'
setenv x_bootargs_root 'ubi.mtd=2 root=ubi0:rootfs rootfstype=ubifs'
setenv x_bootargs 'console=ttyS0,115200'
setenv x_bootcmd '$(x_bootcmd_usb); $(x_bootcmd_kernel); setenv bootargs $(x_bootargs) $(x_bootargs_root); bootm 0x6400000;'
setenv bootcmd 'run x_bootcmd'

saveenv
reset


--- UBOOT ---
tftp 0x6400000 uboot.guruplug.bin
nand erase 0x0 0x100000
nand write.e 0x6400000 0x0 0x100000


This is the output I get when I try to startup :

Code: [Select]
U-Boot 2010.03-01161-gd91b0a9 (Apr 22 2010 - 03:24:41)
Marvell-GuruPlug

SoC:   Kirkwood 88F6281_A0
DRAM:  512 MB
NAND:  512 MiB
*** Warning - bad CRC or NAND, using default environment

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... 2 USB Device(s) found
       scanning bus for storage devices... 0 Storage Device(s) found

NAND read: device 0 offset 0x100000, size 0x400000
 4194304 bytes read: OK
## Booting kernel from Legacy Image at 06400000 ...
   Image Name:   Linux-2.6.33.2-00003-g4b82fc0
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2688524 Bytes =  2.6 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... Bad Data CRC
ERROR: can't get kernel image

I tried many kernels / uboot I could found on the web (even sheeva ones), I tried to install debian on USB using this tutorial :
http://www.cyrius.com/debian/kirkwood/sheevaplug/install.html
with no success (problem with udev finding usb ...)

But that's not what I want.
I wanted to recompile kernel and uboot, but I didn't manage to use a cross-compiler ...

If anyone can help, I would be glad.

Thank you,

Julien
Logged

PacoLM

  • Full Member
  • ***
  • Posts: 108
Re: Guruplug - Bad CRC - Not starting anymore ... dead or not ?
« Reply #1 on: 02 November 2011, 02:25:37 pm »

Hi,

 I do not know if its a copy error but:
Quote
--- uImage ---
setenv serverip 192.168.1.103
setenv ipaddr 192.168.1.10
tftp 0x6400000 uImage-guruplug
nand erase 0x100000 0x400000

nand write.e 0x6400000 0x100000 0x40000 <- you missed a 0 here, should be

nand write.e 0x6400000 0x100000 0x400000

Also, in the uboot settings add:
Code: [Select]
setenv arcNumber 2659
setenv mainlineLinux yes
Before saveenv and reset

Hope it helps,

PacoLM
Logged

jolann6973

  • Newbie
  • *
  • Posts: 7
Re: Guruplug - Bad CRC - Not starting anymore ... dead or not ?
« Reply #2 on: 02 November 2011, 02:59:04 pm »

Hey man,

Thank you so much ... it starts again now ! I guess it was the 0 missing ... not writing all the data because of it. I lost so much time because of a bad copy and paste ...
Anyway, thank you very much.

Maybe that's another topic but can I upgrade the last version of the kernel even if it's for sheevaplug ?

Jolann
Logged

PacoLM

  • Full Member
  • ***
  • Posts: 108
Re: Guruplug - Bad CRC - Not starting anymore ... dead or not ?
« Reply #3 on: 03 November 2011, 06:01:56 am »

Good you fixed it!.
To upgrade your sheeva, run this code:

Code: [Select]
wget http://sheeva.with-linux.com/sheeva/README-PLUG-UPDATE.sh
mv README-PLUG-UPDATE.sh upgradeKernel.sh
chmod +x upgradeKernel.sh
./upgradeGuru.sh 3.1 --nandkernel
rm sheeva-3*
cd /lib/modules
rm -rf 2.6*
reboot

Before running this, be sure you upgrade your sheeva by apt-get update && apt-get dist-upgrade

Hope it helps,

PacoLM
Logged
Pages: [1]
 
 

Powered by MySQL Powered by PHP SMF 2.0.10 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!