1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

FYI, WRT54G-TM $17, will run Tomato with CFE update

Discussion in 'Tomato Firmware' started by TexasFlood, Dec 3, 2009.

  1. WRobertE

    WRobertE Addicted to LI Member

    When I modded a WRT54G-TM and a WRT54GL as a hobby project several months ago to add a heatsink, fan and fan speed control, I noticed that the BCM chips in the devices showed as follows:

    GL
    ---
    BCM5352EKPB?
    RN08...

    TM
    ---
    BCM5352EKPBG
    RN07...

    I wrote down all this info at the time but I seem to have misplaced that piece of paper. So, from memory I'm not sure whether the GL version had a 'G' on the end of the BCM string. I'm certain of the RN08 and RN07 differences, however. I confirmed this for the TM by opening up an unmodded unit that I still have (the CFE's already been changed, however). Since the GL now has a heatsink on the BCM, I can't look at it.

    Anyway, that seemed to match the info that said the GL was a v0.8 (I.E. RN08 or Release Number 8, I thought) and the TM was a v0.7. Maybe those differences on the BCM's were just a coincidence.

    I'd be curious if anyone with a stock TM (not flashed with a different CFE) could telnet into the router and retrieve it's cpuinfo string.

    If anyone's interested, attached are pictures of my mods.

    Picture 1 - Holes cut in the top for the fan and the side to direct airflow over the BCM heatsink.
    Picture 2 - Heatsink on BCM.
    Picture 3 - Potentiometer and fan wiring.
    Picture 4 - Completed mod with fan speed knob.

    This TM is running at 250 MHz.
     

    Attached Files:

  2. TexasFlood

    TexasFlood Network Guru Member

    I would, if the stock firmware supported telnet, :sad:

    After reading Bitsum Technologies article "Overclocking the WRT54G/GS v4, WRT54GL v1, WRT54GL v1.1", sounds like it's the CFE that defines supported clock frequencies which makes a bit more sense than what I was thinking, that it was the CPU hardware revision.
     
  3. WRobertE

    WRobertE Addicted to LI Member

    Good point ... I wish I had thought about that.
     
  4. TexasFlood

    TexasFlood Network Guru Member

    Hey, I tried it anyway just to be sure, and ssh, :-D Even tried the old ping bug but didn't work either, then I was out of ideas. Mine shipped with inksys firmware 5.00.33, wonder if there is a hack of linksys firmware out there that could be loaded on it that allows telnet, not sure.
     
  5. Toastman

    Toastman Super Moderator Staff Member Member

    No, it was the staff there had accidentally deleted the configuration while updating the customer lists. Most service calls are due to staff related errors or workmen breaking cables, etc. The "false alarm" visit was because the night security guy kept switching the power off for reasons only known to himself. Easily fixed, I removed the external switch :biggrin:

    I have never had a heat related issue. If one fails, I would expect to see problems with electrolytic capacitors, not the CPU.

    I always use Victek's releases, as you surmised, I test new firmware at my own location before using it in the field, and often test Victek's pre-releases for him because of the high loads on my routers. I mostly use an older version - based on RAF 1.23.8515 (ND driver) - which I changed the GUI to use labelled QOS classes as building staff could not understand the Highest to Lowest, then A through to E classes. (Unfortunately most people think that "lowest" means exactly that - but in tomato, it isn't, E is the lowest priority). If you want to try it, it's here: http://firmware.mooo.com/Toastman B...P Builds/tomato-ND_4515.5 based on 8515.5.trx It also supports 140 users in Static DHCP/Wireless filter/Access restrictions.

    RAF v1.25 8515.2 ND is extremely good, but I did not compile it for my mod yet - waiting for 1.27 ! I use it on AP's.

    BTW - I only ever had one GL that would not clock at 250MHz, but 240MHz was stable.
    http://www.linksysinfo.org/forums/showpost.php?p=340922&postcount=60

    Currently, I have to confess I am tired of the current generation of routers, we really need more memory for stability. As soon as someone gets the RT-N16 running tomato, I'll start switching over.
     
  6. Trademark

    Trademark Network Guru Member

    Just for fun, I decided to look at some pictures I took of the guts of my WRT54GS v3 and WRT54G-TM. Based on what I'm seeing, the RN# WRobertE is seeing, is not a representation of the BCM3302 version.

    For instance, here is a list of what is printed on mine:

    WRT54GS v3
    BCM5352EKBP
    RA0522 P10
    745560 P

    WRT54G-TM
    BCM5352EKPBG
    RN0722 P10
    824479 U

    WRT54GL (This is from another source)
    BCM5352EKPBG
    RN0614 P10
    778120 N

    Now I know for a fact that my GS v3 with Thibor15c firmware (specifically for the GSv3 mind you) reported BCM3302 V0.8, but as you can see, the number in question is completely different, with an RA05 at the beginning. The GL shows RN06. Based on this information, that number is likely a serial number of some sort.

    Therefore, it is my belief that all the WRT's using the SOC BCM5352 (G v4-6,GS v3-6,GL v1-1.1,G-TM) are all V0.8 and anything earlier (except for the G v1-1.1) are all V0.7.

    Confused yet? :confused:
     
  7. TexasFlood

    TexasFlood Network Guru Member

    For some time already, :shock: Maybe less so after your post but uncertain after all the conflicting info :sad:
     
  8. WRobertE

    WRobertE Addicted to LI Member

    Actually, that's GREAT information. It verifies for me that the TM and the GL ARE actually 0.8's and, as you surmise, the fact that my units had RN07 and RN08, respectively, was just a fluke.

    Thanks for taking the time to look at your routers.
     
  9. TVTV

    TVTV LI Guru Member

    So this means that the GL can do 260 easy, since the TM and the GL have the same CPU?
     
  10. WRobertE

    WRobertE Addicted to LI Member

  11. TexasFlood

    TexasFlood Network Guru Member

    Yeah, the OpenWRT WIKI Valid BCM5352/BCM3302 r0.8 Frequencies" table lists the valid CPU speeds over 200MHz as 216, 225, 233, 237 and 250. All of these have been verified by users of this forum. The Bitsum Technologies article "Overclocking the WRT54G/GS v4, WRT54GL v1, WRT54GL v1.1" lists the valid CPU speeds over 200MHz as 206, 212, 216, 217, 225, 238, 240 and 250. So obviously there are a few more options listed there that could be tested, but I'm not brave enough until I get a jtag header on the WRT54G-TM. There is also a modified CFE discussed there that adds speeds 263, 275, and 288. There is also a very appropriate warning along with this "WARNING: I highly recommend installing at least passive cooling (heatsink) before running your board at this high a frequency for any sustained duration."
     
  12. jsmiddleton4

    jsmiddleton4 Network Guru Member

    I cranked my TM back down to 225. So now I have a GL at 225 and at TM at 225 in a simple WDS setup. Fast and stable. 250 may have been just a tad snappier when accessing setup menus etc., but as for on-line, I can't tell any difference at 225 vs 250.
     
  13. TexasFlood

    TexasFlood Network Guru Member

    What he said, /\ :biggrin: , did the same, noticed the same.
     
  14. Toastman

    Toastman Super Moderator Staff Member Member

    Texasflood #11 - FYI - I just tried all of those options on my GL and they all work. Anything between selects the closest speed. Anything over 250 selects 250, which is the maximum.
     
  15. TexasFlood

    TexasFlood Network Guru Member

    Toastman. Really. I expected it to be a lot touchier than that. Mostly due to some recent posts I recall about 2 different WRT54GLs that got bricked by overclocking to 215MHz. Did you set yours from command line or GUI? Thanks
     
  16. jsmiddleton4

    jsmiddleton4 Network Guru Member

    My GL runs fine at 200/216/225. Not trying anything more than 225 though.
     
  17. ladysman

    ladysman LI Guru Member

    I have 2 WRT54GS v2's and 1 v2.1 and when I set them to 240, they always (eventually) default back to 216. By looking above, it seems it's because i'm not setting to a frequency that is known by these models?

    My TM models I haven't messed with yet but i'll clock these at 225 then since I just want them stable. Just waiting on a new firmware to put in before i put in production. Although i'm leaning towards just installing them. :)

    I plan on doing a WDS as well this time just because I have so many freaking routers...lol

    I really like victek's firmware but installed Thor's just because I "can" with the 8mb flash capability and he includes all of Victek's changes anyway.
     
  18. WRobertE

    WRobertE Addicted to LI Member

    I've run my GL with Victek's 1.25.8515 ND for months of continuous uptime at 233. But, it does have a heatsink and fan on it.

    I'm eagerly awaiting Victek's 1.27 release which hopefully will get incorporated into the TomatoVPN version from SgtPepperKSU. I want to put that on my TM, which I've also modded with a heatsink and fan, and I think the overclocking will help with the additional VPN overhead.
     
  19. Toastman

    Toastman Super Moderator Staff Member Member

    This was the WRT54GL v1.1. - I entered 200, 216, 225, 233, 237, 250, from the GUI in Victek's RAF software. Any intermediate (incorrect) entries just select the nearest valid option. Entering via a command session does the same thing too. I wouldn't recommend doing this on other routers though - I believe that previous versions of the WRT could brick easily if you select and invalid frequency.

    Reading though all of the posts, nobody has yet shown that setting over 225 MHz is unstable, or have they?
     
  20. TexasFlood

    TexasFlood Network Guru Member

    Maybe it's the version of the GL? Or I just misunderstood. Not sure. I was thinking, based on this thread about two GLs supposedly having been bricked by setting clock speed to 215HMz, that entering the wrong overclocking value and a GL (and a TM by inference) could easily brick it.
     
  21. Toastman

    Toastman Super Moderator Staff Member Member

    Texasflood, you are not wrong. I just tried 215 on one of my GL's and it did not reboot. Flashing power light, all LAN lights ON. There is something odd about using that particular speed setting.

    Before, I tried several odd values off the top of my head and none of them did this.
     
  22. ladysman

    ladysman LI Guru Member


    not sure if this was directed to me or not but I never said 225 and over was unstable. Mine just won't keep the settins.:wink:

    I should mention that i've changed it now 15 times and it hasn't bricked yet...(neither of them them)
     
  23. TexasFlood

    TexasFlood Network Guru Member

    Do you set it through the GUI or telnet/SSH? If not the GUI, did you change the NVRAM variable debug_clkfix as along with clkfreq? My understanding is that clkfreq changes on Tomato won't stick as long as debug_clkfix is set to 1.
     
  24. TexasFlood

    TexasFlood Network Guru Member

    Wow. Interesting, if confusing results. Sorry that your router had to give it's life to prove it, but hopefully you've got jtag handy to recover. Thanks for testing.
     
  25. Toastman

    Toastman Super Moderator Staff Member Member

    Oh, it's definitely a JTAG job. Dead as a dodo. And no parallel port on my PC's these days, so it'll have to wait until I can get a backplate to plug into the motherboard.

    Isn't it ironic? 350+ routers all supposedly on the brink of exploding due to overclocking to 250MHz and running 150mW, and the only two failures in two years are due to experimenting :biggrin:
     
  26. TexasFlood

    TexasFlood Network Guru Member

    Well, I appreciate you testing it. I do feel bad that your router got turned into a doorstop, at least for now. Do those jtag tools work with USB parallel conversion devices?
     
  27. ladysman

    ladysman LI Guru Member

    always through the gui with the victek mod. I might try a different frequency to see if that stays longer.
     
  28. Toastman

    Toastman Super Moderator Staff Member Member

    No worries. Dunno about USB to // convertors - I know that's a bit of a bodge, so maybe not. I may have to make a cable from an old header connector off a floppy cable or something :biggrin:

    ladysman, for a new frequency to work, the router has to be rebooted - so why, having once rebooted successfully, and loaded the frequency from NVRAM, it should later *lose* that entry, I can't imagine. Check your NVRAM list to see if it's still saved correctly?
     
  29. TexasFlood

    TexasFlood Network Guru Member

    All of the frequencies listed in the table at OpenWRT WIKI Valid BCM5352/BCM3302 r0.8 Frequencies" over 200MHz have been tested by users of this forum, including Toastman. These are 216, 225, 233, 237 and 250.

    The table at Bitsum Technologies article "Overclocking the WRT54G/GS v4, WRT54GL v1, WRT54GL v1.1" also has a list that adds the speeds 206, 212, 217, 238, and 240. Not sure if anyone tested these, think Toastman tested some of them, maybe all.

    So probably safe to stick with that first list and try any of 216, 225, 233, 237 or 250.
     
  30. ladysman

    ladysman LI Guru Member

    :oops:

    I think you know where i'm going with this. :wink:

    so what should I put the GS v2 at?
     
  31. WRobertE

    WRobertE Addicted to LI Member

    The first thing would be to see what's returned by:

    cat /cpu/procinfo

    If it says: BCM3302 V0.8 then you should be able to use the frequencies shown previously by TexasFlood for the V0.8.

    However, if it says BCM3302 V0.7 then the frequencies shown in another table on this link are supposed to be valid:
    OpenWRT WIKI Valid BCM5352/BCM3302 r0.8 Frequencies

    Unless you have a JTAG and are comfortable with the process for de-bricking, however, I'd USE EXTREME CAUTION.
     
  32. TexasFlood

    TexasFlood Network Guru Member

    I don't have one so can't test what works. Been going by the tables I've found online. There is a table on the OpenWRT WIKI "Overclocking for the WRT54G/GS v2, v2.2, and v3" that has some supposedly valid BCM5352/BCM3302 r0.7 frequencies for the WRT54G v2-v3. As I said, I can't test these myself so can't swear they are correct. You might want to at least do a "cat /proc/cpuinfo" to verify that your GS indeed has a BCM5352/BCM3302 r0.7.

    *Edit - WRobertE just beat me to posting basically the same info. I agree with his statement "Unless you have a JTAG and are comfortable with the process for de-bricking, however, I'd USE EXTREME CAUTION."

    Also, assuming that table is correct and you can clock it over 250, I would advise against doing so without supplemental cooling. You might get away with it but you might also let the blue smoke out and it'll never work again.
     
  33. Toastman

    Toastman Super Moderator Staff Member Member

    I have checked all of these: 183, 188, 197, 200, 206, 212, 216, 217, 225, 225, 238, 240, 250 on the WRT54GL v1.1

    I also checked a few dozen weird frequencies and each time the closest lower frequency in the table above was selected. But 215 for some reason appears to be a "rogue".

    Once one has made a decision to overclock, it makes sense to select the fastest frequency that has proved to be stable. People's opinions on this vary, but my choice is always 250. I only ever had one GL that would not clock at 250. It did work and was stable at 240, but I just keep it as a spare because I do not trust it.

    I don't know anything about the GS... sorry.
     
  34. ladysman

    ladysman LI Guru Member

    I just tried 240 on one of my V2 and then rebooted. It went right back to 216.

    Processor is BCM947xx
    BCM3302 v0.7

    Guess this router doesn't like it.

    Went to 228 then rebooted. BRICKED.

    It's dead. I shouldn't have done that but I did and it's gone.

    Oh well, No JTAG either. Plenty more where that came from.

    I wouldn't trust that table I guess.
     
  35. TexasFlood

    TexasFlood Network Guru Member

    Cool. Thanks again, Toastman. Is it reasonable to assume since the GL and TM share the same processor core and after Tornado's CFE update for TM, share the same CFE, that all of those frequencies should apply to the TM? Well, so far I've tried 250, 225 and 240 on mine and feed fairly confident that the rest will work. That doesn't mean they will, of course, just that I believe they probably will, :-D
     
  36. TexasFlood

    TexasFlood Network Guru Member

    Sorry about that, really. It appears both a jtag and serial console can be added, at least according to the OpenWRT Linksys Hardware page and the OpenWRT Linksys WRT54GS page. So there is hope for recovery. Apparently the table on the OpenWRT WIKI "Overclocking for the WRT54G/GS v2, v2.2, and v3" can't be trusted, bummer. Above the table is states:

    Other models use the commonly documented clock frequencies, with a max CPU clock of 300mhz. They do not appear to have CFEs that will prevent the clock from being set to invalid frequencies, or that recover to default clkfreq via a nvram reset. Be even more careful with these versions of the WRT54G.

    So, if true, what, you'll have to fix the nvram clkfreq value, not just erase it? Sounds like it's recoverable but a bit of a PITA.
     
  37. ladysman

    ladysman LI Guru Member

    I just installed one of the TM's but really want to increase it to 225 to be safe. Without going through this whole thread, can one of you pinpoint me to the telnet sequence?

    I am a little leary of doing this since my luck has been pretty crappy today. Oh well, screw it.:biggrin:

    edit, think I found it
    http://www.linksysinfo.org/forums/showpost.php?p=356080&postcount=77
     
  38. TexasFlood

    TexasFlood Network Guru Member

    Yup, that's it.
    If you choose not to try and recover the GS right now, don't trash it like one guy recently did with a GL, :-( Anyway, again, sorry about the GS, but I've actually got a TM to test with and am on a bit more solid footing here, I have personally set mine to 216, 225 and 250 and run at least a few hours at each setting. I'm going to test some more clock speeds as I get to it but those three I can personally vouch for now.
     
  39. ladysman

    ladysman LI Guru Member

    Mine is at 225 right now. Piece of cake. Not sure I really need 250. :biggrin:
     
  40. jsmiddleton4

    jsmiddleton4 Network Guru Member

    Just a reminder if folks do overclock their routers to be sure and set it back to default speed when updating firmware.
     
  41. ladysman

    ladysman LI Guru Member

    So clear it back to 200 then update, the overclock again? Just making sure that is what you are saying.
     
  42. TexasFlood

    TexasFlood Network Guru Member

    Pretty sure that's what he meant, just to be on the safe side, which is the side I like to be on myself, :wink:
     
  43. jsmiddleton4

    jsmiddleton4 Network Guru Member

    Yep. Do not update firmware if router in overclocked state.
     

Share This Page