Overclock WL-520gu

Discussion in 'Tomato Firmware' started by beanie1984, Dec 10, 2009.

  1. beanie1984

    beanie1984 Addicted to LI Member

    I have a WL-520gu running Tomato 1.27 + SpeedMod 119. The processor is rated at 240MHz but seems to be clocked at only 200MHz. How can I change this without switching to a different Mod?

    # cat /proc/cpuinfo
    system type             : Broadcom BCM5354 chip rev 3
    processor               : 0
    cpu model               : BCM3302 V2.9
    BogoMIPS                : 197.83
    wait instruction        : no
    microsecond timers      : yes
    tlb_entries             : 32
    extra interrupt vector  : no
    hardware watchpoint     : no
    VCED exceptions         : not available
    VCEI exceptions         : not available
    unaligned_instructions  : 3
    dcache hits             : 0
    dcache misses           : 0
    icache hits             : 0
    icache misses           : 0
    instructions            : 0
  2. beanie1984

    beanie1984 Addicted to LI Member

    One note:

    I do see this in NVRAM:
  3. darthboy

    darthboy LI Guru Member

    Most 3rd party firmware have this set to 200MHz to fix some problem with the clock. I dont know how you can switch it back to 240MHz though.
  4. Toastman

    Toastman Super Moderator Staff Member Member

    The answer to this one would be useful, I want to try to overclock the ASUS WL500gP v2 which uses the same processor. Anyone know the answer to changing the clock frequency?
  5. Slimey

    Slimey Network Guru Member

  6. Toastman

    Toastman Super Moderator Staff Member Member

    Tried using those commands with several frequencies including 200, but no change in practice from stock 240.

    Anyone else find this works?
  7. i1135t

    i1135t Network Guru Member

    The commands are the same for all makes/models that run tomato, in this sequence:
    nvram set debug_clkfix=0
    nvram set clockfreq=???
    nvram commit
    I have the Asus WL500-GP v1 and just tried overclocking to 280 and appears to be working fine, without a heatsink. I believe it can go to 300, but I don't want to push it without proper cooling. Will see how it performs as time progresses into the summer, when the air temp rises to 80+, haha. It's winter here right now, so maybe that's why it's working OK... :)

    Not sure if the "nvram set debug_clkfix=0" command may be necessary as it was stated somewhere that it can brick some routers. If the overclock works without issuing this command, I wouldn't see the harm in leaving it as its default value of "1". Maybe someone can elaborate?
  8. gingernut

    gingernut LI Guru Member

    From what I read there is a problem with setting the cpu to 240MHz. It causes the routers clock/time to go out of sync.
  9. mstombs

    mstombs Network Guru Member

    The debug_clkfix is only relevant for routers of type HW_BCM5325E, which seems to include my wrt54gs v1.1. When debug_clkfix is not 0 the router clkfreq is boosted to 216, I'm pretty sure this was originally a Linksys fix for wireless problems. If I wanted to play with clkfreq on this router I would have to use the debug_clkfix, or my change would be reverted on next boot.

    See for yourself in the sourcecode - the beauty of Open Source!
  10. Toastman

    Toastman Super Moderator Staff Member Member

    The WL500gP v2 uses the BCM5354 at 240MHz - some other ASUS models use them at 200MHz. The v1 uses B CM4704/BCM4780 at 264MHz (according to the ASUS forum list http://oleg.wl500g.info/devices.html, so it's actually best considered as a completely different router.

    I find the v2 to be sluggish, and I have often wondered if the 5354 can go faster than 240MHz.
  11. teddy_bear

    teddy_bear Network Guru Member

    In Broadcom SDK sources, the frequency of BCM5354 CPU is hardcoded to 240MHz - it doesn't use nvram settings or anything else.

    According to comments in the source code, the BCM5354 chip can only run on 2 fixed frequencies - 200 and 240 MHz. For some reason Broadcom/Asus fixed it at 200 for WL-520GU on hardware level. So even if you remove the patch from the source code that sets it to 200MHz and change it to 240, it still will run at 200MHz - that is what actually caused the clock problems in the early releases of DD-WRT and Tomato on that router (the code assumed that it's 240MHz while in fact it was 200).

    So the short answer is - no, it's not possible to overclock the WL-520GU.
  12. Toastman

    Toastman Super Moderator Staff Member Member

    Thanks so much for that reply, now I can stop wondering!
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice