OpenWrt Forum Archive

Topic: Create jffs2 partition on Kamikaze x86

The content of this topic has been archived on 5 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hello,

I have an embedded PC, booting from a flash card and I installed the Kamikaze x86 branch on it.
However, the card is 256 MB and Kaimkaze uses only about 20 MB so I would like to make another partition from the remaining space and format it with jffs2.
I made the partition but I can't find a format utility for jffs2.
What tool does that and where can I get it ?

Thanks !

jffs2 is useful and can be used only with embedded flash devices, not with regular CF, SD and other flash cards. Those have builtin their own wear levelling management.
If you want to increase the size of your (ext2?) image, you can do this with "make menuconfig" - Target Images - select ext2 - file system part size
If you want to create another partition on the flash card, you can do this with fdisk, and format it with ext2 or ext3 with mkfs.ext2 or mkfs.ext3 respectively.
You may have to install kmod-fs-ext3 and e2fsprogs.

The discussion might have continued from here.