OESF Portables Forum

Everything Else => Desktop Operating Systems Issues => Zaurus General Forums => Archived Forums => Linux Issues => Topic started by: Pyrates on January 17, 2004, 02:36:54 pm

Title: Jffs support into kernel?
Post by: Pyrates on January 17, 2004, 02:36:54 pm
Hi there!

I want to have jffs2 support in my kernel in order to be able to customize my OZ Rom-Image. How do I get it? Now, I have a self-configured kernel, but the option for jffs2 is greyed out in xconfig and not appearing in menuconfig. I guess there\'s some sort of dependency that I have to enable something else in the kernel, but the docs aren\'t giving anything away... Btw, it\'s a 2.4.22 kernel, patched to 2.4.23-pre4.

I\'d be really grateful for any hint, cheers
Philipp
Title: Jffs support into kernel?
Post by: tumnus on January 17, 2004, 04:22:03 pm
You need to enable Memory Technology Devices (MTD) support. It has it\'s own section on the main menu.
Title: Jffs support into kernel?
Post by: lardman on January 17, 2004, 04:51:35 pm
Are you sure you don\'t already have it. My Mandrake ROM came with it.

Try:
modprobe mtdblock
modprobe mtdram -o total_size=16384
modprobe jffs2
dd if=initrd.bin of=/dev/mtdblock/0
mount -t jffs2 /dev/mtdblock/0 mnt/initrd

Or something similar.


Si
Title: Jffs support into kernel?
Post by: Anonymous on January 17, 2004, 08:39:58 pm
Nope, tumnus is right  My kernel is self-compiled, so the probability\'s very high that I missed something there.... thanks anyway, both of you

Cheers
Philipp