problems with mtd on atmel dk
Brock Denson
bdenson at wa-ventures.com
Fri Jul 23 16:31:13 EDT 2004
I am having problems with the flash on my at91rm9200dk board with
linux-2.4.26-vrs1 and the at91-03052004 patch. The dk has two flash chips,
an 8M dataflash (serial) at54db642, and a 2M parallel at49bv1614a. In the
boot log I get the following:
For the parallel flash:
...
physmap flash device: 200000 at 10000000
CFI: Found no Physically mapped flash device at location zero
Search for id:(1f c0) interleave(1) type(2)
Found: Atmel AT49BV16X
Physically mapped flash:
Found 1 x16 devices at 0x0 in 16-bit mode
kmod: failed to exec /sbin/modprobe -s -k cfi_cmdset_0002, errno = 2
Support for command set 0002 not present
gen_probe: No supported Vendor Command Set found
kmod: failed to exec /sbin/modprobe -s -k map_rom, errno = 2
...
For the serial flash:
...
Found AT91 i2c
AT91 SPI driver loaded
at91_dataflash: Atmel AT45DB642 detected [spi0] (8650752 bytes)
Creating 3 MTD partitions on "Atmel AT45DB642":
0x00000000-0x00010000 : "bootloader"
0x00010000-0x000d0000 : "kernel"
mtd: partition "kernel" doesn't start on an erase block boundary -- force
read-only
0x000d0000-0x00840000 : "filesystem"
mtd: partition "filesystem" doesn't start on an erase block boundary --
force read-only
...
If I do a ls dev/mtdblock I see:
0 1 2
Which I assume are the three partitions on the dataflash device, but I can
not mount them with mount -t jffs2 /dev/mtdblock/0 /mnt. I get a permission
denied error.
I don't see any listing at all for the parallel flash. Can someone point me
in the right direction on how to solve this problem?
Thanks,
Brock Denson
WAIV
bdenson at wa-ventures.com
210 849-1988
More information about the linux-mtd
mailing list