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

WRT54GL 1.1 - Shibby 108 - File is too big to fit in MTD

Discussion in 'Tomato Firmware' started by celluloid, Mar 11, 2013.

  1. celluloid

    celluloid Serious Server Member

    Hi,

    I'm wanting to test out a Shibby build on an older installed original tomato running on a WRT54GL.

    The shibby file tomato-ND-1.28.5x-108-SD-VPN.trx is under 4 megs so I'm not sure what the issue actually is. I get a "File is too big to fit in MTD" error when trying to upgrade.

    I currently have a bunch of WRT54GL's that are setup as wireless ethernet bridges under the original releases of tomato. The one feature that was lacking was the ability to run multiple bridges using wpa2. I currently have them setup as bridges over wpa.

    Is it possible to run the ethernet bridges using wpa2 instead of wpa under the Shibby firmwares?

    Thanks
     
  2. octra

    octra Serious Server Member

    Had the same "problem".
    Quick google search game me the answer: "Max size for non-netgear is 3801088 bytes since the rest is for nvram and boot loader."
    It's too big. Thats all. You can still try the Mini Build as i did yesterday.
     
  3. celluloid

    celluloid Serious Server Member

    Hmm

    The upgrade screen on tomato mentions the following:

    Free Memory: 6,668.00 KB (aprox. size that can be buffered completely in RAM)

    Is this not related?

    Edit:

    I just took a look at the mini vs sd/vpn and I'm not sure how you got that to work?
    You mention that 3801088 bytes is the max the gl can support yet tomato-NDUSB-1.28.5x-108-mini-USB.trx is 3878912 bytes. Am I missing something here?
     
  4. vlads

    vlads Serious Server Member

    The maximum image size for 4MB routers is 3866624 bytes or 3776KB.
     
    Monk E. Boy and octra like this.
  5. celluloid

    celluloid Serious Server Member

    Good to know vlads. The other poster obviously could not have flashed the mini version since it's also too big.
     
  6. eahm

    eahm LI Guru Member

  7. celluloid

    celluloid Serious Server Member

    Again? Nobody mentioned anything about using toastman. I simply wanted to try out this firmware on my device and it doesn't work.

    The matrix on http://tomato.groov.pl/?page_id=69 states that the GL is supported. Obviously it's not.
     
  8. eahm

    eahm LI Guru Member

    Again just because I've mentioned it few times in other threads, nothing personal with you. Take a deep breath and relax.

    After that, test Toastman K24.
     
  9. heebo1974

    heebo1974 Serious Server Member

    Or you could try tomato-ND-1.28.5x-108-VPN.trx, if you don't need SDHC support or DNScrypt proxy.
     
  10. eahm

    eahm LI Guru Member

    You may want to take a look at the first post.
     
  11. heebo1974

    heebo1974 Serious Server Member

    Yep, at the first post there is different version. SD-VPN, which is actually bigger than plain VPN. I have whr-hp-g54 and that SD-VPN didn't fit into it, but plain VPN version fits. I dont need sdhc or dnscrypt proxy, so it is VPN is just fine.
     
    eahm likes this.
  12. eahm

    eahm LI Guru Member

    My bad, I assumed he tested and talked about the plain VPN build.
     
  13. PGalati

    PGalati Network Guru Member

    tomato-ND-1.28.5x-107-SD-VPN.trx does fit on a WRT54GL. Something from 107 to 108 pushed it just past the MTD space. I assume Shibby will fix this when he becomes aware of it.
     
    octra likes this.
  14. octra

    octra Serious Server Member

    Look, I mixed up the 2.4 and 2.6 Kernel Firmwares. My Bad.
    But I can't recommend the 2.6 Kernel for the WRT54GL. I'm going back to Toastmans Builds, because i'm used to that.
     
  15. mito

    mito LI Guru Member

  16. Mangix

    Mangix Networkin' Nut Member

    it's actually the lower amount posted above. on these routers, the bootloader takes 256kb of space. or in hex, 00400000 - 0004000 = 003b0000 = your number. but you also have to subtract nvram (-0001000) which would equal 3801088.
     
  17. vlads

    vlads Serious Server Member

    I disagree with you mate...

    First, a bit of bad math... 400000h minus 40000h is 3c0000h.

    Math aside, thhe linux partition on Broadcom based 4MB routers is from 0x00040000 (end of the pmon/CFE) to 0x003f0000 (beginning of the NVRAM). This is 3b0000h or 3866624.

    Dec 31 19:00:08 gw-2251 user.notice kernel: Creating 5 MTD partitions on "sflash":
    Dec 31 19:00:08 gw-2251 user.notice kernel: 0x00000000-0x00040000 : "pmon"
    Dec 31 19:00:08 gw-2251 user.notice kernel: 0x00040000-0x003f0000 : "linux"
    Dec 31 19:00:08 gw-2251 user.notice kernel: 0x00113c00-0x003f0000 : "rootfs"
    Dec 31 19:00:08 gw-2251 user.notice kernel: 0x003f0000-0x00400000 : "jffs2"
    Dec 31 19:00:08 gw-2251 user.notice kernel: 0x003f0000-0x00400000 : "nvram"
     
  18. celluloid

    celluloid Serious Server Member

    @PGalati Thanks for the info about version 107 fitting. This seems to be the correct response. It seems that the 108 version is simply a tad bigger than the previous, but it's good to know that 107 does fit on the gl and technically this version should work.

    @mito your link refers to the k26 build, I'm using the k24. I find it also find it funny that GhaladReam mentions the following in that thread:

    This of course is not working in my case.

    I seriously wish people would take the time to read what I actually posted. I took the time to be very specific about the issue yet people still chime in with information that doesn't pertain to my posting.
     
  19. Mangix

    Mangix Networkin' Nut Member

    Bah I think you're right. I double checked the sizes of shibby's builds that would not flash and this fits with that. Well, assuming I have good memory.
     
  20. PGalati

    PGalati Network Guru Member

    I know this thread is somewhat old now but I have not heard anything as to whether Shibby's tomato-ND-1.28.5x-108-SD-VPN.trx will be reworked to fit withing the constraints of the 4MB flash, such as the WRT54GL.
     

Share This Page