Skip to contentSkip to conversation

mini2440 MTD partitions uncorrectable error

Buildroot Andrei Ehrlich 2 participants 3 messages May 21, 2012

lore
Share & tools
lore
#0 lore raw

Hello,

I have the following problem:
with buildroot-2011.11 I have generated file system, kernel (3.1.4) and u-boot. The board starts and everything works fine except for one small flaw that bothers me. When starting the kernel providesthe following output:

...
at24 0-0050: 1024 byte 24c08 EEPROM, writable, 16 bytes/write S3C24XX NAND Driver, (c) 2004 Simtec Electronics s3c24xx-nand s3c2440-nand: Tacls=1, 9ns Twrph0=3 29ns, Twrph1=2 19ns s3c24xx-nand s3c2440-nand: NAND soft ECC
NAND device: Manufacturer ID: 0xec, Chip ID: 0xd3 (Samsung NAND 1GiB 3,3V 8-bit)
Creating 4 MTD partitions on "nand":
0x000000000000-0x000000040000 : "u-boot"
*uncorrectable error : *
0x000000040000-0x000000060000 : "u-boot-env"
*ftl_cs: FTL header not found.* 0x000000060000-0x000000560000 : "kernel"
*ftl_cs: FTL header not found.* 0x000000560000-0x000040000000 : "root"
*ftl_cs: FTL header not found.*
dm9000 Ethernet Driver, V1.31
...

Has anyone an idea how I can remove the bold warnings? These warnings
seem to be generated by the file linux-3.1.4/drivers/mtd/ftl.c (line 180). Unfortunately I have no idea how I can fix this problem and hope for
your expert help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120521/ca8211f6/attachment-0001.html>

#1 lore raw
Quoted 24 lines · Andrei Ehrlich

Hello,

I have the following problem:
with buildroot-2011.11 I have generated file system, kernel (3.1.4) and u-boot. The board starts and everything works fine except for one small flaw that bothers me. When starting the kernel providesthe following output:

...
at24 0-0050: 1024 byte 24c08 EEPROM, writable, 16 bytes/write S3C24XX NAND Driver, (c) 2004 Simtec Electronics
s3c24xx-nand s3c2440-nand: Tacls=1, 9ns Twrph0=3 29ns, Twrph1=2 19ns s3c24xx-nand s3c2440-nand: NAND soft ECC
NAND device: Manufacturer ID: 0xec, Chip ID: 0xd3 (Samsung NAND 1GiB 3,3V 8-bit) Creating 4 MTD partitions on "nand":
0x000000000000-0x000000040000 : "u-boot"
*uncorrectable error : *
0x000000040000-0x000000060000 : "u-boot-env"
*ftl_cs: FTL header not found.*
0x000000060000-0x000000560000 : "kernel"
*ftl_cs: FTL header not found.*
0x000000560000-0x000040000000 : "root"
*ftl_cs: FTL header not found.*
dm9000 Ethernet Driver, V1.31
...

Quoted 3 lines

Has anyone an idea how I can remove the bold warnings? These warnings seem to be generated by the file linux-3.1.4/drivers/mtd/ftl.c (line 180).
Unfortunately I have no idea how I can fix this problem and hope for your expert help.

This question doesn't seem to be related to buildroot, but rather to MTD.
Try the MTD mailing list at linux-mtd at lists.infradead.org.

I can hazard a guess though: is it possible that your memory card is not
formatted (or simply isn't there)?

Regards,
Arnout

Signature · 6 lines
Arnout Vandecappelle                               arnout at mind be
Senior Embedded Software Architect                 +32-16-286540
Essensium/Mind                                     http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium                BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
#2 lore raw

Thanks for the note. I boot from NFS, but the NAND device on the Board was formatted and configured the U-boot. The solution for my problem was disabling CONFIG_FTL option in the kernel config (thanks to Peter K.)

Regards
Andrei

Quoted 44 lines · Arnout Vandecappelle
Quoted 27 lines · Andrei Ehrlich

Hello,

I have the following problem:
with buildroot-2011.11 I have generated file system, kernel (3.1.4) and u-boot. The board starts and everything works
fine except for one small flaw that bothers me. When starting the kernel providesthe following output:

...
at24 0-0050: 1024 byte 24c08 EEPROM, writable, 16 bytes/write S3C24XX NAND Driver, (c) 2004 Simtec Electronics s3c24xx-nand s3c2440-nand: Tacls=1, 9ns Twrph0=3 29ns, Twrph1=2 19ns s3c24xx-nand s3c2440-nand: NAND soft ECC
NAND device: Manufacturer ID: 0xec, Chip ID: 0xd3 (Samsung NAND 1GiB 3,3V 8-bit)
Creating 4 MTD partitions on "nand":
0x000000000000-0x000000040000 : "u-boot"
*uncorrectable error : *
0x000000040000-0x000000060000 : "u-boot-env"
*ftl_cs: FTL header not found.* 0x000000060000-0x000000560000 : "kernel"
*ftl_cs: FTL header not found.* 0x000000560000-0x000040000000 : "root"
*ftl_cs: FTL header not found.*
dm9000 Ethernet Driver, V1.31
...

Quoted 5 lines

Has anyone an idea how I can remove the bold warnings? These warnings seem to be generated by the file linux-3.1.4/drivers/mtd/ftl.c (line 180).
Unfortunately I have no idea how I can fix this problem and hope for your expert help.

This question doesn't seem to be related to buildroot, but rather to
MTD.
Try the MTD mailing list at linux-mtd at lists.infradead.org.

I can hazard a guess though: is it possible that your memory card is not
formatted (or simply isn't there)?

Regards,
Arnout