• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: Unable to install kernel on Sheevaplug  (Read 1536 times)
Johan
Newbie
*

Karma: 0
Posts: 1


View Profile
« on: February 17, 2011, 09:46:51 PM »

Hi !
Was not sure of the section but couldn't find a better place.

I accidently brick my sheevaplug one week old and I'm since trying to make it work like the first day.
I reinstalled uboot so I get Serial access now but I'm facing a strange problem when I try to install a new kernel (uImage).
This is what I get (I tried both USB and TFTP before asking but both act the same way) :

Code:
Marvell>> tftpboot 0x2000000 sheeva-2.6.31-uImage
Using egiga0 device
TFTP from server 192.168.2.1; our IP address is 192.168.2.2
Filename 'sheeva-2.6.31-uImage'.
Load address: 0x2000000
Loading: #################################################################
          ---SKIP--
         #####################
done
Bytes transferred = 2766512 (2a36b0 hex)
Marvell>> nand erase 0x100000 0x400000

NAND erase: device 0 offset 0x100000, size 0x400000
Skipping bad block at  0x00200000                                           
Skipping bad block at  0x00400000                                           
Erasing at 0x4e0000 -- 100% complete.
OK
Marvell>> nand write.e 0x800000 0x100000 0x400000

NAND write: device 0 offset 0x100000, size 0x400000

Bad block at 0x200000 in erase block from 0x200000 will be skipped
Bad block at 0x400000 in erase block from 0x400000 will be skipped
Writing data at 0x4f8000 --  93% complete.nand_verify_pages: Failed ECC write                                                   verify, page 0x00000a00,      0 bytes were succesful
writing NAND page at offset 0x500000 failed
Data did not fit into device, due to bad blocks
 4194304 bytes written: ERROR

As far as I understand the problem, I have bad blocks on my sheevaplug in the place where we put the kernel.
I'm able to boot the kernel from memory with mboot so I think my kernel is valid :

Code:
Marvell>> bootm
## Booting image at 02000000 ...
   Image Name:   Linux-2.6.31
   Created:      2009-09-16   6:55:48 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2766448 Bytes =  2.6 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

Please help me to understand how can I manage those bad blocks so that I can install kernel and finally use my sheevaplug the way I want...
Thanks for your help.
Logged

Pages: [1]
Print
Jump to: