Skip to contentSkip to conversation

JFFS XConfig

DISCUSSION David Mackay 3 participants 4 messages Jan 22, 2002 – Jan 28, 2002 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

Hi,

We have downloaded the source of 2.4.12 and are using XConfig to set compile parameters. We intend a system with a 16M compact flash IDE device formatted as JFFS2. However when it comes to JFFS2 the option is greyed out, JFFS is however available for selection, any thoughts?

Thanks, David

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

#1 lore raw
Quoted 4 lines · [email protected] said:

We have downloaded the source of 2.4.12 and are using XConfig to set
compile parameters. We intend a system with a 16M compact flash IDE device formatted as JFFS2. However when it comes to JFFS2 the option is greyed out, JFFS is however available for selection, any thoughts?

JFFS and JFFS2 will not be available unless you have selected CONFIG_MTD.

As you don't have any flash devices on your system and you want to use JFFS2 on a hard drive, you need to select the 'blkmtd' driver and configure it to use your CF drive as backing store for the faked MTD device.

--
dwmw2

#2 lore raw

--- David Woodhouse <[email protected]> wrote: >

Quoted 20 lines
Quoted 1 line · [email protected] said:

We have downloaded the source of 2.4.12 and are

using XConfig to set

Quoted 1 line

compile parameters. We intend a system with a 16M

compact flash IDE

Quoted 1 line

device formatted as JFFS2. However when it comes

to JFFS2 the option

Quoted 1 line

is greyed out, JFFS is however available for

selection, any thoughts?

JFFS and JFFS2 will not be available unless you have selected CONFIG_MTD.

As you don't have any flash devices on your system and you want to use
JFFS2 on a hard drive, you need to select the 'blkmtd' driver and configure
it to use your CF drive as backing store for the faked MTD device.

Quoted 2 lines

--
dwmw2

Thanks for the advice David, however it appears still not to be available with CONFID_MTD enabled. However JFFS is available!

Any other ideas?

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

#3 lore raw

Hi!

Quoted 8 lines
Quoted 2 lines

JFFS and JFFS2 will not be available unless you have selected CONFIG_MTD.

Thanks for the advice David, however it appears still not to be available with CONFID_MTD enabled. However JFFS is available!

Any other ideas?

See linux/fs/Config.in. It should contain something like this:
dep_tristate 'Journalling Flash File System v2 (JFFS2) support' CONFIG_JFFS2_FS $CONFIG_MTD

It translates pretty much to David's previous answer. If you see this and make xconfig still doesn't work but make menuconfig does, this is a bug. If both don't, something looks seriously wrong. Make sure you didn't cause it (stock kernel, no patches,...) and send some feedback.

Jörn

Signature · 2 lines
Do not stop an army on its way home.
-- Sun Tzu