Skip to contentSkip to conversation

mkfs.jffs

DISCUSSION Darshak 3 participants 4 messages Dec 1, 2006 Memory technology devices (MTD)

lore
Share & tools
lore

Darshak

author
#0 lore raw

Hi ,
I have compiled kernel [ 2.4.33 ] with jffs support.But I am not able to find command mkfs.jffs/2 how could i enable this ?

Thanxs & Rgds
Darshak Modi

#1 lore raw
Quoted 6 lines · Darshak

Hi ,
I have compiled kernel [ 2.4.33 ] with jffs support.But I am not able to find command mkfs.jffs/2 how could i enable this ?

It's part of the mtd-utils package. Most Linux distributions have this already packaged. If not, it's available at:

ftp://ftp.infradead.org/pub/mtd-utils/

josh

author
#2 lore raw

thanxs a lot josh.!
Thanxs & Rgds
Darshak Modi
Elitecore Tech. Ltd.
Ph: +91-79-26405600 Ex: 276
email: [email protected]
----- Original Message ----- From: "Josh Boyer" <[email protected]>
To: "Darshak" <[email protected]>
Cc: <[email protected]>
Sent: Friday, December 01, 2006 6:57 PM
Subject: Re: mkfs.jffs

Quoted 21 lines · Darshak
Quoted 6 lines

Hi ,
I have compiled kernel [ 2.4.33 ] with jffs support.But I am not able to find command mkfs.jffs/2 how could i enable this ?

It's part of the mtd-utils package. Most Linux distributions have this already packaged. If not, it's available at:

ftp://ftp.infradead.org/pub/mtd-utils/

josh

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

#3 lore raw
In reply to Darshak
Quoted 11 lines · Darshak

Hi ,
I have compiled kernel [ 2.4.33 ] with jffs support.But I am not able to find command mkfs.jffs/2 how could i enable this ?

Thanxs & Rgds
Darshak Modi

Run make xconfig and under Kernel/Library/Defaults Selection click on y for "Customize Kernel Settings", "Customize Vendor/User Settings", and "Update Default Vendor Settings". Then select Save and Exit which will allow you to select what you need in the kernel to enable JFFS2, and select what you need in the User section to enable mkfs.jffs2. First, under File systems select Miscellaneous filesystems in the left window. Then select Journalling Flash File System v2 (JFFS2) support in the upper right window. This enables the JFFS2_FS compiler flag. Save and exit which will allow for the second selection.
Second, select Flash Tools and scrolling down enable mtd-utils and mkfs.jffs2. Save and exit and you should be able to compile in mkfs.jffs2.