Most 3rd party firmware, atleast dd-wrt and openwrt are compiled on 64bit Ubuntu LTS releases.
Categories: WNR3500Lv2 Open Source Router
Tomato, DD-WRT, and even stock v22.214.171.124.chk fit in 8MB, probably so does the new stock v126.96.36.199. Now that we have the luxury of 128MB NAND Flash, why not take advantage of it? There are so many functions I'd love to have, some are reserved for servers and NAS systems. Some of those routines are open-source, so why not port them to this router? Especially since it has support for a USB hard drive. It seems it could become a fairly complete Linux server.
I'd love to see support for more configuration for QoS with different rules per user and port, multi-SSID, port capturing, and Cascading routers and access points, to name a few.
Which OS are developers using to target this router? (stock firmware uses ancient Fedora Core 6, 32bit, and recommends building only on that platform)
I have compiled Toamto on Fedora (32 bit) and dd-wrt on Fedora (64 bit) for WNR3500Lv2.
One more thing, before porting you should check if the features you wish to have is already present in the firmwares released in this site or not. As far I can see that multiple SSID support is already present in dd-wrt firmware for WNR3500Lv2.
Keep us know about your progress, this will help to enrich the knowledge of this forum.
Would be cool to know this also, I wonder if there is a way to use some of that 128MB of flash storage to backup the NVRAM and probably dual boot tomato and dd-wrt (eg boot into tomato then in a menu select something like reboot into dd-wrt and then it will backup the NVRAM, then set during the next boot, swap in the dd-wrt nvram then boot into dd-wrt
just imagining the possibilities the 128MB flash
Yes I am able to falsh both the Tomato and dd-wrt firmwares in my WNR3500Lv2.
I am able to build Stock firmware on same Fedora 32 bit machine and also able to flash it in WNR3500Lv2.
As far as my knowledge concerned, there should not be some barrier of firmware size to 8MB. Though I also haven't seen any firmware with size greater than 8MB.
I used fc14(32 bit) to compile Stock and Tomato source code and fc15(64 bit) for dd-wrt source code for WNR3500Lv2.
Earlier I had Fedora 14 (32 bit) and compiled Stock and tomato on it.
Next I read from dd-wrt release README that it was compiled in Fedora 15(64 bit) thats why I used the same to compile dd-wrt.
Yes toolchain is needed for cross-compilation as the compiled executables are meant to run on a different platform.
Why not just try it and see if it successfully builds an image? I got a successful build of Tomato Shibby on Ubuntu 12.04 32 bit after updating dnscrypt to 0.9.3. What I don't know yet is if the image works as my second WNR3500LV2 has not shown up. Sometimes is is just more efficient to try it and see what happens. If it fails, ask questions specific to the failure and see what comes back.
Berk said: Subhra, your chronology makes sense, but is there any reason that we can't use the most recent 64 bit OS (Fedora 16, Ubuntu 12.04) to build all the older code? (as in, problem with legacy support, version control, Fedora vs Ubuntu?) I'm not sure whether to use "MIPS" or "MIPS II" toolchain, though that may become clear at install. The whole reason for my concern in the first place was I read in the readme in the stock firmware that it was built in Fedora Core 6, and warned against building on any other. Then I read in some other readme files deeper into the project that they were only tested on such-n-such older OS, and to only build on that platform. This is why I'm confused: are those disclaimers bunk? Since you successfully built "stock" on Fedora 14, 32bit, flashed it, and ran it; this seems to suggest it is okay to build everything on later OS'es. Any way to know if your builds were as efficient as theirs? Then there's Fedora vs Ubuntu. Everyone has their preferences, but in this case I just care about compatibility and efficiency of my object code to the chip.dd-wrt for WNR3500Lv2 can be build successfully on Fedora 15 (64 bit). But it is mentioned nowhere that dd-wrt cannot be build in Fedora 16 (64 bit). You can try it.
To build dd-wrt on a linux mechine it should be equipped with some basic development tools. You will find the list here.
Keep this forum updated about your progress, it would be great help for other developers.