PDA

Bekijk de volledige versie : Using jffs2 with usb stick



zerg
07-01-2010, 10:53
Hello,
I'm using WL500gp-1.9.2.7-d-r1000 firmware.
using the modules-1.9.2.7-d-r1000.tgz (http://wl500g.googlecode.com/files/modules-1.9.2.7-d-r1000.tgz) I managed to enable jffs2


cd /opt
tar -xf modules-1.9.2.7-d-r1000.tgz -z

and in /opt/lib I have /modules/2.4.20/ subfolder
After this with modprobe I enabled jffs2 (crc32 is required)
now "cat /proc/filesystems" shows jffs2


nodev rootfs
nodev bdev
nodev proc
nodev sockfs
nodev tmpfs
nodev shm
nodev pipefs
nodev eventpollfs
ext3
nodev ramfs
msdos
vfat
nodev devfs
ntfs
squashfs
nodev usbdevfs
nodev usbfs
jffs2


I don't know now how to format the usb stick (2gb).
I was not able to find any pakage from oleg repository, which brings jffs2 formattiong utility - mkfs.jffs2. I can not find also "mtd tools" package.


Can you please help me! How to format the USB stich and start using it ?

Thanks in advance !

wpte
07-01-2010, 12:02
you can format it in a linux distribution on your pc with gnome partition manager, or you can download the gparted live cd: http://gparted.sourceforge.net/livecd.php

probably the easiest way:)