PDA

Bekijk de volledige versie : Use USB as storage



zerg
18-09-2009, 12:37
Hello,
I'm writing inthe Russsian section becasue I undestand it, but am not good enough to write correctly :)
I have 16G USB flash and use it as external disk.Curently I have 3 partitions
1- swap
2- ipkg
3 - Storage
USB stick is formated with ext3 filesystem. I'm afraid that usb will burn , becasue it is not ment to be HDD and have frequent write actions.
I wanted to formti it with jffs2, becasue it is much better for USB flash sticks.
I'm using Oleg's last firmmware(1.9.2.7-10) and there is no jffs2 suport by default in it. I want to enable this support
In this forum I found a topich with attached module for jffs2 support :
http://wl500g.info/showthread.php?t=4440&highlight=JFFS2&page=22.
I downloaded modules-fs-2.4.37.tar.bz2 file, but I can not use modprobe because it is givving error "modprobe: could not parse modules.dep". There is no modules.dep file in my firmware version.
I used insmod , but as I see "jffs2 требует предварительной загрузки модуля crc32.o"

1- Please tell me where to find and download crc32.o for Olegs's latest firmware. Do I have the right jffs2.o module, or there are other more up-to date?
2 -Please share if jffs2 is good idea if I want to have external storage on USB Flash stick instead HDD. Any advices ?

Thanks in advance.

lly
18-09-2009, 12:49
As you can see, modules from post on your link, are for different kernel(2.4.37) than your FW 1.9.2.7-10 (2.4.20).
Jffs2 compiled for renewed Oleg FW 1.9.2.7-d (http://wl500g.googlecode.com/) from enthusiasts only.

zerg
18-09-2009, 16:31
As you can see, modules from post on your link, are for different kernel(2.4.37) than your FW 1.9.2.7-10 (2.4.20).
Jffs2 compiled for renewed Oleg FW 1.9.2.7-d (http://wl500g.googlecode.com/) from enthusiasts only.

Do you know if there are similar modules for the 1.9.2.7-10 (2.4.20) ?

lly
18-09-2009, 16:48
Do you know if there are similar modules for the 1.9.2.7-10 (2.4.20) ?
You can try to compile they yourself, but nobody can guarantee successful result, since 2.4.20 too old. Even OpenWRT & DD-WRT projects starts from 2.4.30.

zerg
20-09-2009, 14:05
Thanks lly.
Obviously there is no easy way to enable jffs2.
Can you please reccomand or send link how to create a small RAM drive.
For example 512K of RAM , whcih can be mounted somewhere in the file system and be used to store write-intensive files ( like syslog, RRD files, etc...). After this on less frequent intervals and before reboot, I would copy interesting files on the flash.
I searched the forum but was not able to find such info. Is this possible ?

lly
20-09-2009, 17:06
Can you please reccomand or send link how to create a small RAM drive.
?
It is already present in all Oleg's firmwares - /tmp. See kernel documentation for tmpfs & ramfs.

P.S. If you means permanent storage fs, it have to be in flash, not RAM.
P.P.S I haven't any ready to use links, try google.

zerg
06-01-2010, 15:17
Can you plese tell me how to format an external usb with jffs2 .
I installed the new new firmare - WL500gp-1.9.2.7-d-r1000.trx.
Installed also needed modules from modules-1.9.2.7-d-r1000.tgz

modprobe jffs2.o
Now I need to format the USB stick with jffs2 file system. Can I find any utility for jffs2 formatting ? mkfs.jffs2 ?

bodoo69
16-02-2010, 19:33
It is already present in all Oleg's firmwares - /tmp. See kernel documentation for tmpfs & ramfs.

P.S. If you means permanent storage fs, it have to be in flash, not RAM.
P.P.S I haven't any ready to use links, try google.

hello, from where i can download

wl500g FW 1.9.2.7-d

can u give me the direct link?
coz is not here

http://code.google.com/p/wl500g/

thankyu

lly
16-02-2010, 20:05
You have to read forum more attentively - there is no support for wl500g (not deluxe!) in latest Oleg 1.9.2.7-10 & our FW.