Posted: Thu Jul 09, 2009 3:12 Post subject: Max Sizes for Firmwares?
What are the max sizes for Firmware without bricking? The reason is that I wanted to take the LS command from another build to micro using the FMK. I did, but the firmware file is quite a bit bigger than it was before. What are the max sizes for the different firmwares?
Joined: 24 Feb 2009 Posts: 2026 Location: Sol System > Earth > USA > Arkansas
Posted: Thu Jul 09, 2009 3:54 Post subject:
It depends on your router. If you use the mega version, firmware size is typically 8mb. Any routers using something below that to mini typically has a 4mb firmware size (unless you can use mega, but choose something less). Micro is for those "neutered" routers that cannot have a firmware greater that 2mb. Seriously though, look up your router in the router database. Hopefully that should give the appropriate firmware size. _________________ E3000 22200M KongVPN K26
WRT600n v1.1 refirb mega 18767 BS K24 NEWD2 [not used]
WRT54G v2 16214 BS K24 [access point]
Try Dropbox for syncing files - get 2.5gb online for free by signing up.
Read! Peacock thread
*PLEASE* upgrade PAST v24SP1 or no support.
I know about that, but what is the absolute maximum (in bytes) for the firmware images on each chip, 2, 4, and 8.
Look in the Peacock Announcement it has some maximum's there. Have you read the Peacock Announcement like a good DD-WRT user? _________________ R7000 Kong vpn 23550-R01 (Main Router)
WRT610Nv2 converted E3000 vpnKong 21661 (RB)
WRT600N v1.1 BS std-nokaid 13637(5Ghz CB)(2.4Ghz AP)
WRT54G v5 BS micro 14684(RB)
Sorry, I wasn't dealing with creating custom versions of the firmware so I think I skipped that part Actually, I don't think that was there when I read the Peacock Sticky.
Peacock doesn't give firmware sizes. It does depend on the router, the exact maximum. You can get some guidance from the size of the dd-wrt build for your router.
You first mentioned micro....it is pretty much maxed out at the current size. _________________ SIG:
I'm trying to teach you to fish, not give you a fish. If you just want a fish, wait for a fisherman who hands them out. I'm more of a fishing instructor.
LOM: "If you show that you have not bothered to read the forum announcements or to follow the advices in them then the level of help available for you will drop substantially, also known as Murrkf's law.."
Well the current build of micro I downloaded has a size of 1703936 while the max is 1769472, so there is currently about 60000 bytes of free space before I would run out? Because I replaced the busybox with teh busybox from mini and relinked all of the commands using ln -s, then deleted the pppd binary because I don't use it, and my size is 1699840, so provided the firmware compresses right, this will work?
What router is this? Does it have a jtag port, JIC?
If the size is smaller than the current micro build, it should work. _________________ SIG:
I'm trying to teach you to fish, not give you a fish. If you just want a fish, wait for a fisherman who hands them out. I'm more of a fishing instructor.
LOM: "If you show that you have not bothered to read the forum announcements or to follow the advices in them then the level of help available for you will drop substantially, also known as Murrkf's law.."
isnt there the space of the CFE or BSP that we are forgetting here? _________________ 2x WRT54G v5, 2x WRT54G v2
1x WRT54G-TM
1x WRT54GL
1x WRT54G2 v1
2x BUFFALO WHR-G54S
2x BUFFALO WHR-G300N v2
1x BUFFLOW WHR-HP-G300N
1x La Fonera
FON Client Bridge tutorial
Joined: 26 Jan 2008 Posts: 13049 Location: Behind The Reset Button
Posted: Thu Jul 09, 2009 13:52 Post subject: Re: Max Sizes for Firmwares?
4512jth wrote:
What are the max sizes for Firmware without bricking? The reason is that I wanted to take the LS command from another build to micro using the FMK. I did, but the firmware file is quite a bit bigger than it was before. What are the max sizes for the different firmwares?
Eko posted this the other day.. 4mb flash routers though.
Well the current build of micro I downloaded has a size of 1703936 while the max is 1769472, so there is currently about 60000 bytes of free space before I would run out? Because I replaced the busybox with teh busybox from mini and relinked all of the commands using ln -s, then deleted the pppd binary because I don't use it, and my size is 1699840, so provided the firmware compresses right, this will work?
micro + complete busybox = micro-plus?
Looks like an unnecessary work. _________________ [WRT54Gv2 mini - EKO 12548M AP] [WRT54Gv8 micro-plus-ssh - EKO 12548M RB]
I believe that micro plus only has a stripped down version of busybox, and micro+ is only available for a few 2mb routers. _________________ SIG:
I'm trying to teach you to fish, not give you a fish. If you just want a fish, wait for a fisherman who hands them out. I'm more of a fishing instructor.
LOM: "If you show that you have not bothered to read the forum announcements or to follow the advices in them then the level of help available for you will drop substantially, also known as Murrkf's law.."
I believe that micro plus only has a stripped down version of busybox, and micro+ is only available for a few 2mb routers.
For comparison purposes:
ls -l in bin folder (micro-plus 12360):
lrwxrwxrwx 1 root root 7 Jun 22 10:52 ash -> busybox
-rwxr-xr-x 1 root root 465627 Jun 22 10:52 busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:52 cat -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:52 chgrp -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:52 chmod -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:52 chown -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:52 cp -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:52 date -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:52 dd -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:52 df -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:52 dmesg -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:52 echo -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:52 egrep -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:52 false -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:52 fgrep -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:52 getopt -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:52 grep -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:52 gunzip -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:52 gzip -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:52 hostname -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:52 kill -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:52 ln -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:52 login -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:52 ls -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:52 mkdir -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:52 more -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:52 mount -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:52 mv -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:52 netstat -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:52 pidof -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:52 ping -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:52 ps -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:52 pwd -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:52 rm -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:52 rmdir -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:52 run-parts -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:52 sed -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:52 sh -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:52 sleep -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:52 stty -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:52 sync -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:52 tar -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:52 touch -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:52 true -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:52 umount -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:52 uname -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:52 usleep -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:52 vi -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:52 watch -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:52 wc -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:52 zcat -> busybox
ls -l in bin folder (mini 12360):
lrwxrwxrwx 1 root root 7 Jun 22 10:58 ash -> busybox
-rwxr-xr-x 1 root root 465627 Jun 22 10:58 busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:58 cat -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:58 chgrp -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:58 chmod -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:58 chown -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:58 cp -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:58 date -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:58 dd -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:58 df -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:58 dmesg -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:58 echo -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:58 egrep -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:58 false -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:58 fgrep -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:58 getopt -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:58 grep -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:58 gunzip -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:58 gzip -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:58 hostname -> busybox
-rwxr-xr-x 1 root root 28391 Jun 22 10:58 ipkg
lrwxrwxrwx 1 root root 7 Jun 22 10:58 kill -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:58 ln -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:58 login -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:58 ls -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:58 mkdir -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:58 more -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:58 mount -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:58 mv -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:58 netstat -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:58 pidof -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:58 ping -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:58 ps -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:58 pwd -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:58 rm -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:58 rmdir -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:58 run-parts -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:58 sed -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:58 sh -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:58 sleep -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:58 stty -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:58 sync -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:58 tar -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:58 touch -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:58 true -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:58 umount -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:58 uname -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:58 usleep -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:58 vi -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:58 watch -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:58 wc -> busybox
lrwxrwxrwx 1 root root 7 Jun 22 10:58 zcat -> busybox
Same busybox, i think (465627 bytes). Stripped down busybox? Surely yes, but for all. _________________ [WRT54Gv2 mini - EKO 12548M AP] [WRT54Gv8 micro-plus-ssh - EKO 12548M RB]