Hi,

This weekend I compiled OpenWRT for my WNDR4300. As stated in the
documentation, only initramfs works currently so I hooked up serial port
and ran the image using U-Boot/TFTP. I created an image with the SoC
NAND driver from Jonus in order to boot an image from NAND flash, but I
get errors while booting:
[   23.420000] __nand_correct_data: uncorrectable ECC
error__nand_correct_data: uncorrectable ECC error


I enabled debuging output in the ar934x-nfc driver:
[    3.720000] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xf1 (Micron
NAND 128MiB 3,3V 8-bit), 128MiB, page size: 2048, OOB size: 64
[    3.730000] ar934x-nfc ar934x-nfc: buf:a7950000 size:2112
[    3.730000] Scanning device for bad blocks
....
[   49.750000] ar934x-nfc ar934x-nfc: read, column=2048 page=65472
len=64
[   49.760000] ar934x-nfc ar934x-nfc: read a0:ffc00800 a1:00000000
len:40 cmd:0030006a dma:000000cc ctrl:00080b54
[   49.770000] ar934x-nfc ar934x-nfc: got IRQ, status:00000010
[   49.770000] ar934x-nfc ar934x-nfc: read, column=2048 page=65473
len=64
[   49.780000] ar934x-nfc ar934x-nfc: read a0:ffc10800 a1:00000000
len:40 cmd:0030006a dma:000000cc ctrl:00080b54
[   49.790000] ar934x-nfc ar934x-nfc: got IRQ, status:00000010
[   49.800000] 12 cmdlinepart partitions found on MTD device ar934x-nfc
[   49.800000] Creating 12 MTD partitions on "ar934x-nfc":
[   49.810000] 0x000000000000-0x000000040000 : "u-boot"
[   49.820000] 0x000000040000-0x000000080000 : "u-boot-env"
[   49.820000] 0x000000080000-0x0000000c0000 : "caldata"
[   49.830000] 0x0000000c0000-0x000000140000 : "pot"
[   49.830000] 0x000000140000-0x000000340000 : "language"
[   49.840000] 0x000000340000-0x0000003c0000 : "config"
[   49.850000] 0x0000003c0000-0x0000006c0000 : "traffic_meter"
[   49.860000] 0x0000006c0000-0x0000007e0000 : "kernel"
[   49.860000] 0x0000007e0000-0x000001fc0000 : "rootfs"
[   49.870000] mtd: partition "rootfs" set to be root filesystem
[   49.870000] ar934x-nfc ar934x-nfc: read, column=0 page=4032 len=2112
[   49.880000] ar934x-nfc ar934x-nfc: read a0:0fc00000 a1:00000000
len:840 cmd:0030006a dma:000000cc ctrl:00080b54
[   49.890000] ar934x-nfc ar934x-nfc: got IRQ, status:00000010
[   49.900000] ar934x-nfc ar934x-nfc: read, column=0 page=4032 len=2112
[   49.900000] ar934x-nfc ar934x-nfc: read a0:0fc00000 a1:00000000
len:840 cmd:0030006a dma:000000cc ctrl:00080b54
[   49.910000] ar934x-nfc ar934x-nfc: got IRQ, status:00000010
[   49.920000] __nand_correct_data: uncorrectable ECC error
[   49.920000] split_squashfs: error occured while reading from
"ar934x-nfc"
[   49.930000] 0x0000006c0000-0x000001fc0000 : "firmware"
[   49.940000] 0x000001fc0000-0x000002000000 : "caldata_backup"
[   49.950000] 0x000002000000-0x000008000000 : "reserved"

Later, I get lots of these "__nand_correct_data: uncorrectable ECC
error" messages. To me it looks like the length is the problem since the
shorter reads doens't suffer this problem...


Any idea?


--
Stefan
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to