Author Topic: Jffs support into kernel?  (Read 2143 times)

Pyrates

  • Full Member
  • ***
  • Posts: 198
    • View Profile
    • http://www.pipsfrank.de
Jffs support into kernel?
« 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
\" ... and the Vogon will do things to you that you wish you\'d never been born, or, if you\'re a clearer minded thinker, that the Vogon had never been born.\"

tumnus

  • Hero Member
  • *****
  • Posts: 1176
    • View Profile
    • http://www.cpinkney.org.uk
Jffs support into kernel?
« Reply #1 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.
# Search the Zaurus Howtos ## Search the Zaurus FAQs ## Find Z software at ELSI #
--------------------
UK SL5500 with Sharp ROM 3.13, SL5600 with Sharp ROM 1.32 - SuSE 9.0 Pro, Windows XP Home
Qualendar for Calendar and Todo
Socket Bluetooth CF Card (Rev F), Kingmax 512MB MMC Card, Palm Tungsten T Stylus,
Pretec CF->Smartmedia Adapter, Semsons Universal Battery Extender

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Jffs support into kernel?
« Reply #2 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
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

Anonymous

  • Guest
Jffs support into kernel?
« Reply #3 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