jffs on wnr3500L V2

19 posts / 0 new
Last post
anthropo
anthropo's picture
jffs on wnr3500L V2

hello,

i can't auto mount jffs with the web gui

i have tried checking enable + rebbot the rooter nut nothing happens neither appears in the logs ?

 

Did you manage to mount it ? Is it possible manually via ssh or a script (command line) ?

Thank you

shibby
shibby's picture
@Tathagata - tomato search

@Tathagata - tomato search jffs2 in mtd partition.

if (!mtd_getinfo("jffs2", &part, &size)) return;

but tomato for wnr3500Lv2 hasn`t jffs2 partition:
# cat /proc/mtd
dev: size erasesize name
mtd0: 00080000 00020000 "boot"
mtd1: 00180000 00020000 "nvram"
mtd2: 00040000 00020000 "board_data"
mtd3: 00040000 00020000 "POT1"
mtd4: 00040000 00020000 "POT2"
mtd5: 00040000 00020000 "T_Meter1"
mtd6: 00040000 00020000 "T_Meter2"
mtd7: 00040000 00020000 "ML1"
mtd8: 00040000 00020000 "ML2"
mtd9: 00040000 00020000 "ML3"
mtd10: 00040000 00020000 "ML4"
mtd11: 00040000 00020000 "ML5"
mtd12: 00040000 00020000 "ML6"
mtd13: 00040000 00020000 "ML7"
mtd14: 01b00000 00020000 "linux"
mtd15: 019eecd0 00020000 "rootfs"

As you think... can i rename one of partition (like ML7) to jffs2?
http://repo.or.cz/w/tomato.git/blob/refs/heads/tomato-shibby-RT-N:/relea...
Line 587
and jffs will works?

irouy
irouy's picture
Has anyone already succeeded

Has anyone already succeeded in activating the jffs2?

irouy
irouy's picture
Tathagata Das said: This is

Tathagata Das said: This is not a straight forward job as one would have expected. Broadcom NAND flash driver does not follow NAND driver development method. I am working on this. Once this is done it would be better if couple of guys test this firmware.

I have a couple of these devices lying around and am willing to do some testing once you have some working code.

redge
redge's picture
Hi,

Hi,
Did someone manage to activate JFFS on tomato with this router ? With the shibby build, the menu item seems desactivated.
In the changelog of version 087 there is:
"- fix VLAN support for WNR3500Lv2 and remove JFFS support for this router"

Is this limited to shibby ?

Redge

Sascha2k
Sascha2k's picture
Hey there,

Hey there,

have you managed to write the firmware with jffs support for WNR3500Lv2 ?

@Tathagata Das: Nice job if you are working on this. Thanks.

Sascha

salutuj
salutuj's picture
It seems to be still

It seems to be still unsupported. I installed Tomato by Shibby for WNR3500Lv2 101-AIO few days ago on WNR3500Lv2 09/19/12
http://www.myopenrouter.com/download/list?sort=date&cat=75
It would make much sense to me to have it enabled, as router has 128MB so there would be no need to have optware installed on USB drive.

Thanks and regards,
Pawel Niewiadomski.

Piotr.Dobrogost
Piotr.Dobrogost's picture
Tathagata Das said: This is

Tathagata Das said: This is not a straight forward job as one would have expected. Broadcom NAND flash driver does not follow NAND driver development method. I am working on this. Once this is done it would be better if couple of guys test this firmware.

Could you (or someone from Netgear) please report on progress? It's been 8 months since the above statement was made...

irouy
irouy's picture
As mentioned before I'm still

As mentioned before I'm still available to do testing. I have about 10 of these devices in my stock and around 45 running on customer sites. The only thing missing is JFFS :)

Fred34563456
Fred34563456's picture
I would also be interested in

I would also be interested in this..

I have the most recent Tomato-by-shibby installed, and if there is free flash space I'd love to be able to make an ext3 fs on it to mount at /opt/

How can one tell which mtd blocks are currently in use and which are free?

strom
strom's picture
First, I would like to thank

First, I would like to thank Shibby for his wonderful implementation of Tomato on the WRT3500Lv2.  I have been running it on my first wnr3500lv2 for several months, and I have been very happy with it.

To Tathagata Das: I appreciate the work you have done for the Open Source Community for Netgear.

But, and it it a BIG but...

Offering a router as Open Source (as stated on the box) is very misleading to the consumer, since the source code for the Broadcom networking components and other, JFFS and USB, is proprietary.  

The source code provided for dd-wrt and Shibby's Tomato contain code marked as confidential by Broadcom.  The developers at OpenWRT seem to be unwilling? to use code from proprietary sources(not suprisingly, due to copyright restrictions).

 By not utilizing JFFS within this platform,  as much as 120MB (Depends on the mtds utilized by the firmware) of the possible storage space cannot be realized.  

Until companies like Netgear push for more openess with regards to Broadcom's restrictive licensing of it's source code, a true open source platform will not be possible.

@Fred34563456:  You would not want to use ext3 directly on a flash chip, the superblock would wear out the flash.  A NAND flash chip has a limited number of writes to a single location.  JFFS, and most controllers in USB flash drives, levels the writes out to different locations on the chip, minimizing multiple writes to a single location, thus extending the life of the chip.

Fred34563456
Fred34563456's picture
Well the main point was any

Well the main point was any read/write filesystem to allow installation of stuff like optware..

If JFFS is the way to go, then that would be fine.

Its not like it would be need to be written/modified very often anyway.

In fact, leaving it mounted RO there would be fine, so long as it could easily and quickly be remounted RW.

What are your thoughts on ext3 on usb flash drives? Would JFFS be better? I'm not really that familiar with it, can on just mkfs.jffs and mount it like anything else?

Prasad
Prasad's picture
@Tathagata Das,

@Tathagata Das,

Could you please update us about JFFS2 on wnr3500L V2.
If you are busy, can you please guide us to solve this problem. Ready to take and enjoy this work.

Best Regards,
Prasad

irouy
irouy's picture
Prasad said: @Tathagata Das,

Prasad said: @Tathagata Das, Could you please update us about JFFS2 on wnr3500L V2. If you are busy, can you please guide us to solve this problem. Ready to take and enjoy this work. Best Regards, Prasad

+1

irouy
irouy's picture
So will we ever get support

So will we ever get support for this?

sztmbr
sztmbr's picture
Hi there! Any chance for JFFS

Hi there! Any chance for JFFS on wnr3500L-v2? Thanks a lot for help!

vin77
vin77's picture
Hello to everybody,

Hello to everybody,

You can find my modified version of latest Advanced Tomato (v.3.4-138) for WNR3500Lv2 with 92,7 MB NAND JFFS2 available space at this link.

Vin wink

reborn
reborn's picture
vin77 - thx for that link!

vin77 - thx for that link!

alexfinn
alexfinn's picture
I was very much busy with

I was very much busy with R6300 and WNDR4500 releases. Once I get some time, I will look into this again.

Tathagata Das said: This is not a straight forward job as one would have expected. Broadcom NAND flash driver does not follow NAND driver development method. I am working on this. Once this is done it would be better if couple of guys test this firmware.

I have a couple of these devices lying around and am willing to do some testing once you have some working code.