Help with 2.4.22 MTD driver
Frank R Callaghan
f.callaghan at ieee.org
Thu Oct 16 15:57:19 EDT 2003
Hi All,
I have been using 2.4.19 + mdt patches for sometime with no problem, now
I must switch to 2.4.22 and I have a problem with MTD
The kernel seem to detect the chip correctly:
physmap flash device: 200000 at 9400000
Amd/Fujitsu Extended Query Table v1.1 at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling fast programming due to code brokenness.
mtd: Giving out device 0 to Physically mapped flash
Using physmap partition definition
Creating 2 MTD partitions on "Physically mapped flash":
0x00000000-0x001e0000 : "fixed_flash"
mtd: Giving out device 1 to fixed_flash
0x001e0000-0x00200000 : "BIOS-DO_NOT_TOUCH"
mtd: Giving out device 2 to BIOS-DO_NOT_TOUCH
but latter:
.......................
.......................
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001e0024: 0x7265
id
Further such events for this erase block will not be printed
JFFS2: Erase block at 0x001e0000 is not formatted. It will be erased
................... repeated for tree more blocks
cat /proc/mtd gives:
dev: size erasesize name
mtd0: 00200000 00010000 "Physically mapped flash"
mtd1: 001e0000 00010000 "fixed_flash"
mtd2: 00020000 00010000 "BIOS-DO_NOT_TOUCH"
I'm not sure if this correct as before with 2.4.19 it looks like this
# cat /proc/mtd
dev: size erasesize name
mtd0: 001e0000 00010000 "fixed_flash"
mtd1: 00020000 00010000 "BIOS-DO_NOT_TOUCH"
Now the flash file system on the partision is corrupt :(
can someone please give me a little guidance on how to find the problem ?
what other info would help ?
Thanks In Advance,
Frank.
More information about the linux-mtd
mailing list