uncorrectable error

B.P.
Hi

I've tried to make my first steps on Mini2440 by using this tutorial
(http://narnia.cs.ttu.edu/drupal/node/131). Everything seemed to work fine
but when I've made a reset after the last command the kernel seems to be
loaded and I just get reams of entries like this:

uncorrectable error : <3>uncorrectable error : <4>mtd->read(0x2af bytes
from 0x2fd554) returned ECC error
uncorrectable error : <4>mtd->read(0x274 bytes from 0x26458c) returned ECC
error
uncorrectable error : <4>mtd->read(0x41c bytes from 0x2643e4) returned ECC
error
uncorrectable error : <4>mtd->read(0x490 bytes from 0x264370) returned ECC
error
uncorrectable error : <4>mtd->read(0x524 bytes from 0x2642dc) returned ECC
error
uncorrectable error : <3>uncorrectable error : <4>mtd->read(0xaab bytes
from 0x2edb60) returned ECC error
uncorrectable error : <4>mtd->read(0x44 bytes from 0x2ee60c) returned ECC
error
uncorrectable error : <3>uncorrectable error : <4>mtd->read(0xaba bytes
from 0x2ee650) returned ECC error
uncorrectable error : <4>mtd->read(0x44 bytes from 0x2ef10c) returned ECC
error
uncorrectable error : <3>uncorrectable error : <4>mtd->read(0xae9 bytes
from 0x2ef150) returned ECC error
uncorrectable error : <4>mtd->read(0x44 bytes from 0x2efc3c) returned ECC
error
uncorrectable error : <4>mtd->read(0x7f4 bytes from 0x2f0044) returned ECC
error
uncorrectable error : <4>mtd->read(0x44 bytes from 0x2f0838) returned ECC
error
uncorrectable error : <4>mtd->read(0xb0b bytes from 0x2f134c) returned ECC
error
Data CRC 11eb8ee7 != calculated CRC 641e1920 for node at 002f1308
uncorrectable error : <4>mtd->read(0x44 bytes from 0x2f1e58) returned ECC
error
uncorrectable error : <3>uncorrectable error : <4>mtd->read(0xb61 bytes
from 0x2f1e9c) returned ECC error
uncorrectable error : <4>mtd->read(0x44 bytes from 0x2f2a00) returned ECC
error
uncorrectable error : <4>mtd->read(0x924 bytes from 0x2f2a44) returned ECC
error
uncorrectable error : <4>mtd->read(0x44 bytes from 0x2f1308) returned ECC
error
uncorrectable error : <4>mtd->read(0xb0b bytes from 0x2f134c) returned ECC
error
Data CRC 11eb8ee7 != calculated CRC d85ed7c2 for node at 002f1308
uncorrectable error : <4>mtd->read(0x614 bytes from 0x2641ec) returned ECC
error
uncorrectable error : <4>mtd->read(0x688 bytes from 0x264178) returned ECC
error
uncorrectable error : <4>mtd->read(0x6e0 bytes from 0x263920) returned ECC
error
uncorrectable error : <4>mtd->read(0x38 bytes from 0x262fc8) returned ECC
error
uncorrectable error : <4>mtd->read(0xa8 bytes from 0x262f58) returned ECC
error
uncorrectable error : <4>mtd->read(0x684 bytes from 0x17c) returned ECC
error
Kernel panic - not syncing: Attempted to kill init!

Does anybody have an idea what might be happened wrong?

davef
I have run thru his procedure, probably 100 times and haven't seen that
one.

You are using the u-boot, kernel and JFFS2 image that he refers to?

<mtd->read> might suggest that something has gone wrong in setting up the
partitions.

It is a 64M dev board you are using?

davef
A test that you can run after loading the kernel.

  nand read 0x31000000 kernel 0x500000
  bootm 0x31000000

You should observe that the kernel gets further through the boot process,
possibly to the place where the file system would try to mount.

Then carry on with loading in the JFFS2 image.

B.P.
Thanks for your reply. These output where printed after loading the kernel.
There where also some other output that I'll post next time I start up the
board.

PS: I use the Mini2440 128MB version with the u-boot-128MB image from this
page.

davef
PS: I use the Mini2440 128MB version with the u-boot-128MB image from this
page.

Mini2440 128MB version of the kernel?

The only process I could say works with that tutorial . . . is only using
the images he references on a 64M dev board.

I would verify that the u-boot-128MB image has sorted out the u-boot issue
that buserror refers to on his site.

If you using the 2.6.32.2 version of the kernel then there could be issues
trying to run the GPE JFFS2 rootfs image from that package.  As far as I
understand kernel modules have to be installed using the same version as
the kernel, if you expect everything to work properly.  He uses 2.6.29.4

Someone needs to rewrite that tutorial for 128M machines.
 
Good luck!

Vinicius Kamakura
I am getting the same error, using the same process with a 128MB board, any
thoughts?

Vinicius Kamakura
just to add, this is the kernel image:

http://www.andahammer.com/Downloads/MoreFlorian/uImage-micro2440.bin
u-boot prints:

MINI2440 # nboot.e kernel

Loading from NAND 128MiB 3,3V 8-bit, offset 0x60000
   Image Name:   Angstrom/2.6.30+git/micro2440
   Created:      2009-06-17  13:39:35 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2122212 Bytes =  2 MB
   Load Address: 30008000
   Entry Point:  30008000

this is the rootfs:

http://www.andahammer.com/Downloads/MoreFlorian/gpe-image-micro2440.jffs2

regards, hex

open-nandra
@Vinicius Kamakura: links doesn't work. Could you provide correct links or
am I miss something? Did you make nand scrub and bbt ?