/dev/mtdblock missing

Fry, Dan dfry at bb.directv.com
Wed May 2 18:51:25 EDT 2001


Hi List,

	I'm trying to get JFFS2 up and running on an atlas demo board.  The
flash chip are being found and /dev/mtd0 (char device) is created.  However
I can't mount a jffs2 because /dev/mtdblock0,1,2 etc. is missing.
mtdblock.c is compiled in, and cat /proc/devices lists mtdblock under block
devices.  I tried including ftl.c figuring there may be dependences.

This is the output at boot up:

physmap flash device: 2000000 at 1c000000

<4><6>Physically mapped flash: Found 2 x16 devices at 0x0 in 32-bit mode

Number of erase regions: 1

Erase Region #0: BlockSize 0x20000 bytes, 64 blocks

Primary Vendor Command Set: 0001 (Intel/Sharp Extended)

Primary Algorithm Table at 0031

Alternative Vendor Command Set: 0000 (None)

No Alternate Algorithm Table

Vcc Minimum: 4.5 V

Vcc Maximum: 5.5 V

No Vpp line

Typical byte/word write timeout: 128 µs

Maximum byte/word write timeout: 2048 µs

Typical full buffer write timeout: 128 µs

Maximum full buffer write timeout: 2048 µs

Typical block erase timeout: 1024 µs

Max. bytes in buffer write: 0x20

Number of Erase Block Regions: 1

Physically mapped flash: Found 2 x16 devices at 0x1000000 in 32-bit mode

JEDEC ID: 89 15

0: offset=0x0,size=0x40000,blocks=64

1: offset=0x1000000,size=0x40000,blocks=64

<5>ftl_cs: FTL header not found.  

Questions:
1) How to I get /dev/mtdblock0 created?

2) Is ftl.c needed -- the HOWTO doesn't include it?

Cheers,

	- Dan 





More information about the linux-mtd mailing list