* /dev/mtdblock missing
@ 2001-05-02 22:51 Fry, Dan
2001-05-02 22:59 ` Vipin Malik
0 siblings, 1 reply; 3+ messages in thread
From: Fry, Dan @ 2001-05-02 22:51 UTC (permalink / raw)
To: linux-mtd
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: /dev/mtdblock missing
2001-05-02 22:51 /dev/mtdblock missing Fry, Dan
@ 2001-05-02 22:59 ` Vipin Malik
2001-05-03 5:29 ` AW: " Florian Schirmer / TayTron
0 siblings, 1 reply; 3+ messages in thread
From: Vipin Malik @ 2001-05-02 22:59 UTC (permalink / raw)
To: Fry, Dan; +Cc: linux-mtd
Are you using devfs?
If not then the MAKEDEV script file in the utils file should do it. (using the
mknod command)
If you are using devfs, then I don't know.
Vipin
"Fry, Dan" wrote:
> 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
>
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/
^ permalink raw reply [flat|nested] 3+ messages in thread
* AW: /dev/mtdblock missing
2001-05-02 22:59 ` Vipin Malik
@ 2001-05-03 5:29 ` Florian Schirmer / TayTron
0 siblings, 0 replies; 3+ messages in thread
From: Florian Schirmer / TayTron @ 2001-05-03 5:29 UTC (permalink / raw)
To: Vipin Malik, Fry, Dan; +Cc: linux-mtd
Hi!
>Are you using devfs?
>
>If not then the MAKEDEV script file in the utils file should do it. (using
the
>mknod command)
>
>If you are using devfs, then I don't know.
If using devfs /dev/mtdblock/{0,1,...} will be created automatically.
>2) Is ftl.c needed -- the HOWTO doesn't include it
No, you dont need it.
Cheers,
Florian
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-05-03 5:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-02 22:51 /dev/mtdblock missing Fry, Dan
2001-05-02 22:59 ` Vipin Malik
2001-05-03 5:29 ` AW: " Florian Schirmer / TayTron
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox