aboutsummaryrefslogtreecommitdiffstats
path: root/tools/firmware-utils/src/mkfwimage.c
Commit message (Collapse)AuthorAgeFilesLines
* mkfwimage: Increase RSPRO maximum size to 0xF00000 (15 MiB)Gabor Juhos2013-10-201-1/+1
| | | | | | | | | | | | | | | | | | | | | RSPRO has 16MiB of Flash, using the following layout: [ 2.930000] 0x000000000000-0x000000030000 : "RedBoot" [ 2.940000] 0x000000030000-0x000000130000 : "kernel" [ 2.950000] 0x000000130000-0x000000ff0000 : "rootfs" [ 2.960000] 0x000000ff0000-0x000000fff000 : "FIS directory" [ 2.970000] 0x000000fff000-0x000001000000 : "RedBoot config" Firmware images contain kernel and rootfs, so they can use up to 0xFF0000 - 0x30000 = 0xFC0000 (15,75MiB) of space. We don't include the RedBoot and FIS partitions and leave an extra 0xC0000 (768KiB) of space. This is based on revision 18410 which sets the limit to 0xB00000 (11 MiB). Signed-off-by: Bruno Randolf <br1@einfach.org> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38484 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils/mkfwimage: allow to override firmware magicGabor Juhos2012-02-181-5/+12
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30627 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mkfwimage: add support for the XM layout (bullet/rocket/nano M)Felix Fietkau2009-11-181-1/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18448 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: increase max size of RouterStation and RouterStation Pro firmware imagesGabor Juhos2009-11-131-2/+2
| | | | | | | Thanks to riskable! (closes #5860) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18410 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] firmware-utils/mkfwimage: add support for RouterStation Pro (patch ↵Gabor Juhos2009-05-251-0/+6
| | | | | | from Ubiquiti Networks) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16064 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [atheros] Generate suitable images for the UBNT PicoStation2Jo-Philipp Wich2009-04-211-0/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15314 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx] create firmware image for the Ubiquiti LS-SR71 boardGabor Juhos2009-03-141-0/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14874 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] firmware-utils/mkfwimage: update RouterStation specific values, adn ↵Gabor Juhos2009-02-041-14/+2
| | | | | | remove some unused code git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14404 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] firmware-utils/mkfwimage: fix root_start valuesGabor Juhos2009-01-051-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13874 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] firmware-utils/mkfwimage: fix Ubiquiti firmware generation (closes ↵Gabor Juhos2009-01-041-5/+5
| | | | | | #4414) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13859 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] firmware-utils/mkfwimage: add RouterStation support (based on a ↵Gabor Juhos2008-12-181-14/+71
| | | | | | patch by Jonas <jonas at ubnt.com>) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13682 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix mkfwimage to recognize the -s optionTravis Kemen2008-07-281-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11978 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix mkfwimage build on mac os xFelix Fietkau2008-07-261-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11947 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Use mkfwimage from athero.openwrt.net with modification for XS2 devices. Add ↵Travis Kemen2008-07-251-77/+74
| | | | | | back in ubiquiti image generation. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11920 3c298f89-4303-0410-b956-a3cf2f4a3e73
* buld images for the Ubiquiti LiteStation and NanoStation ported from ↵Travis Kemen2008-05-071-0/+394
http://atheros.openwrt.net. Tested on a Nanostation 2 with airos 3 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11061 3c298f89-4303-0410-b956-a3cf2f4a3e73