Max Sizes for Firmwares?

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page 1, 2  Next
Author Message
4512jth
DD-WRT User


Joined: 14 Mar 2009
Posts: 233

PostPosted: Thu Jul 09, 2009 3:12    Post subject: Max Sizes for Firmwares? Reply with quote
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?
Sponsor
crashfly
DD-WRT Guru


Joined: 24 Feb 2009
Posts: 2026
Location: Sol System > Earth > USA > Arkansas

PostPosted: Thu Jul 09, 2009 3:54    Post subject: Reply with quote
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.
4512jth
DD-WRT User


Joined: 14 Mar 2009
Posts: 233

PostPosted: Thu Jul 09, 2009 4:18    Post subject: Reply with quote
I know about that, but what is the absolute maximum (in bytes) for the firmware images on each chip, 2, 4, and 8.
Blazian
DD-WRT Guru


Joined: 12 Apr 2009
Posts: 1359
Location: VA, USA

PostPosted: Thu Jul 09, 2009 4:29    Post subject: Reply with quote
4512jth wrote:
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? Confused Razz

_________________
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)
4512jth
DD-WRT User


Joined: 14 Mar 2009
Posts: 233

PostPosted: Thu Jul 09, 2009 4:48    Post subject: Reply with quote
Sorry, I wasn't dealing with creating custom versions of the firmware so I think I skipped that part Embarassed Actually, I don't think that was there when I read the Peacock Sticky.
freonchill
DD-WRT Guru


Joined: 17 Jul 2006
Posts: 2055

PostPosted: Thu Jul 09, 2009 4:50    Post subject: Reply with quote
42
_________________
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
Murrkf
DD-WRT Guru


Joined: 22 Sep 2008
Posts: 12675

PostPosted: Thu Jul 09, 2009 4:56    Post subject: Reply with quote
freonchill wrote:
42


*I* got this... Wink

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.."
4512jth
DD-WRT User


Joined: 14 Mar 2009
Posts: 233

PostPosted: Thu Jul 09, 2009 5:19    Post subject: Reply with quote
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?
Murrkf
DD-WRT Guru


Joined: 22 Sep 2008
Posts: 12675

PostPosted: Thu Jul 09, 2009 13:35    Post subject: Reply with quote
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.."
freonchill
DD-WRT Guru


Joined: 17 Jul 2006
Posts: 2055

PostPosted: Thu Jul 09, 2009 13:51    Post subject: Reply with quote
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
barryware
DD-WRT Guru


Joined: 26 Jan 2008
Posts: 13049
Location: Behind The Reset Button

PostPosted: Thu Jul 09, 2009 13:52    Post subject: Re: Max Sizes for Firmwares? Reply with quote
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.

http://www.dd-wrt.com/phpBB2/viewtopic.php?p=315214&highlight=#315214

_________________
[Moderator Deleted] Shocked
ctovar_ve
DD-WRT User


Joined: 15 Mar 2009
Posts: 409

PostPosted: Thu Jul 09, 2009 14:25    Post subject: Reply with quote
4512jth wrote:
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]
Murrkf
DD-WRT Guru


Joined: 22 Sep 2008
Posts: 12675

PostPosted: Thu Jul 09, 2009 14:35    Post subject: Reply with quote
ctovar_ve wrote:

micro + complete busybox = micro-plus?

Looks like an unnecessary work.


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.."
ctovar_ve
DD-WRT User


Joined: 15 Mar 2009
Posts: 409

PostPosted: Thu Jul 09, 2009 14:47    Post subject: Reply with quote
Murrkf wrote:
ctovar_ve wrote:

micro + complete busybox = micro-plus?

Looks like an unnecessary work.


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]
4512jth
DD-WRT User


Joined: 14 Mar 2009
Posts: 233

PostPosted: Thu Jul 09, 2009 15:29    Post subject: Reply with quote
The reason I haven't used Micro Plus is because no one has built a CFE for the WRT54GS v6 that is compressed. However, I think this should work.
Goto page 1, 2  Next Display posts from previous:    Page 1 of 2
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum