aboutsummaryrefslogtreecommitdiffstats
path: root/tools/firmware-utils/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* firmware-utils: restore compilation of mkhilinkfw.John Crispin2014-10-201-2/+2
| | | | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42989 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils: made mkdir615h1 work for all Senao-produced devices as ↵John Crispin2014-08-031-1/+1
| | | | | | | | mksenaofw and cleaned up some of its formatting Signed-off-by: Forest Crossman <cyrozap@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41962 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils: add new tool for fixing headers on ZyXEL devices (brcm63xx)Jonas Gorski2014-07-271-0/+1
| | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41849 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: DGN3500 (all known variants) factory and sysupgrade image building ↵John Crispin2014-06-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | support This patch adds factory image building for the DGN3500, all variants, and fixes sysupgrade images to make them play nice with the sercomm secondary boot loader. The factory images can be used directly in the update dialog in the interface of the stock firmware and via the special Sercomm bootmode and a special windows flashing utility (allegedly present in the CD that came with the device -- but it's also compatible with the NSLU2 Upgrade_207_XP utility.) The special bootmode can be activated by turning the device on while holding the reset button pressed, then releasing it when the power led starts blinking red and green. Please notice that if using the 207 utility, it will always report that the flashing failed even though it completed successfully. Just power cycle the router manually after the utility reports the failure and OpenWRT will boot. This same utility (despite reporting failure in this case too) can revert a DGN3500 (any variant) to the appropriate stock Netgear firmware. This patch is a heavily modified version of a package I found on the OpenWRT forum with a couple fixes and features added -- mainly the generation of all the different image variants to support all known models directly, atm known variants are AnnexA-WW, AnnexA-NA and AnnexB-DE/GR. I tested the patch successfully on my device. Signed-off-by: Marco Antonio Mauro <marcus90@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41236 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: RT-N56U support fixes and factory image creationJohn Crispin2014-06-161-0/+1
| | | | | | Signed-off-by: Mikko Hissa <mikko.hissa@werzek.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41224 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils: add Gemtek header toolJohn Crispin2014-04-221-0/+1
| | | | | | | | | Generates webflash-compatible images for a few RT2880 routers based on Gemtek OEM boards. Signed-off-by: Claudio Leite <leitec@staticky.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40551 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: don't build mkhilinkfw untilt he ssl header dependency is resolvedJohn Crispin2014-01-121-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39248 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils: add HLK-RM04 toolJohn Crispin2014-01-121-0/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39238 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils: remove the wndr3700 utilityGabor Juhos2013-11-061-1/+0
| | | | | | | | It is not used anymore. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38663 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: add tool to generate dcs93xl imagesJohn Crispin2013-10-071-0/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38317 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils: add a tool TP-Link v2 image generationJohn Crispin2013-08-061-0/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37726 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add basics for Poray devicesJohn Crispin2013-08-011-0/+1
| | | | | | | | | | | | | | | | This commit adds the basic elements to support Poray brand routers. It contains a tool to do the encryption/obfuscation that is used in Poray routers. Support for Poray devices was worked on by: Felix Kaechele <heffer@fedoraproject.org> Luis Soltero <lsoltero@globalmarinenet.com> Michel Stempin <michel.stempin@wanadoo.fr> Signed-off-by: Felix Kaechele <heffer@fedoraproject.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37635 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: add Broadcom cable modem firmware image creatorFlorian Fainelli2013-06-061-0/+1
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36873 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils: new tool for fixing U-Media firmware headersGabor Juhos2012-10-181-0/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33848 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/firmware-utils: add seama toolGabor Juhos2012-10-181-0/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33840 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/firmware-utils: add a new tool for TEW-712BR firmware generationGabor Juhos2012-08-221-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33233 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/firmware-utils: add tool for DIR-651-H1 firmware generationGabor Juhos2012-08-171-0/+1
| | | | | | Signed-off-by: Mikko Hissa <mikko.hissa@uta.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33204 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] use HOST_STATIC_LINKING instead of hardcoding -staticJo-Philipp Wich2012-08-121-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33140 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] firmware-utils: link staticallyJo-Philipp Wich2012-08-101-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33117 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] adds mkdapimgJohn Crispin2012-07-241-0/+1
| | | | | | Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32822 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [lantiq] Support booting the Speedport W502V using BRN-BOOT.John Crispin2012-02-141-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | While the disadvantage is less available flash space, it's easy and safe to flash without opening the device. Going back to the original firmware is also possible. This patch add two firmware utilities, mkbrncmdline and mkbrnboot. mkbrncmdline patches the uncompressed kernel so the registeres a0 to a3 are initialized and the memory size is passed in. mkbrnboot takes the lzma compressed kernel and squashfs images and creates a firmware image that can be flashed using the BRN-BOOT recovery kernel, which is booted by holding both buttons when powering up the device and will listen on http://192.168.2.1. The firmware file from bin/lantiq/ to use is openwrt-lantiq-danube-ARV4525PW-BRNDTW502-brnImage The BRN-BOOT recovery kernel does size-check the image, so if it's too big to fit into flash it will complain accordingly. A second patch is needed to make the wired network interface work since there is no u-boot to pre-initialise it. Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30532 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: clean up Makefiles / make ccache workJohn Crispin2012-01-151-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29754 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] Add firmware tool for generating factory images for Edimax devicesVasilis Tsiligiannis2011-10-301-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28688 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/firmware-utils: add yet another buffalo toolGabor Juhos2011-07-061-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27475 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/firmware-utils: add new firmware tool for the DIR-300-B1 boardGabor Juhos2011-07-041-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27438 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/firmware-utils: add buffalo specific fw toolsGabor Juhos2011-05-311-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27050 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm63xx: Add firmware helpers for T-Home Speedport W 303VFlorian Fainelli2011-05-111-0/+2
| | | | | | | | | Add two helpers for generating correctly tagged images for the T-Home Speedport W 303V Typ B as well as xor'd ones as required by CFE. Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26877 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: Add edimax PS1208mfg supportHauke Mehrtens2010-12-021-0/+1
| | | | | | | Thank you clemvangelis for the patches. (closes #7672) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24217 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools/firmware-utils] imagetag: Significantly updated brcm63xx imagetag ↵Daniel Dickinson2010-11-161-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | writing tool. * Rewrote commandline parsing code using gengetopt - We now get long options - We have more options including use of the info section for board information (e.g. to add the same boardid but different GPIOs on different routers) * Added back the ability to write stock images (this is useful, for example, when copying the firmware from the in-memory flash, and then being able to create an image that will let you revert to/test stock firmware * Fixed copying of CRCs to use memcpy instead of strncpy (strncpy stops at 0) * Added ability to use all sections of the imagetag, including custom magic signatures (e.g. for the Telsey router I'm adding soon), info sections, and reserved sections * Added putting the router type (as defined in the image generating Makefile) into the info1 section and the filesystem type in the info2 section. This will be used by mtd (when I add the code) to return the name of image used to flash this router. (As requested by Jo, as well as being useful for same boardid different board scenario described above). git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24011 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/firmware-utils: new tool for the Zcomax devicesGabor Juhos2010-09-031-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22883 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: Add new image generation and fix leds/reset button on WNR834B V2Hauke Mehrtens2010-08-061-0/+1
| | | | | | | | | | Thank you realopty for the patch. tools/firmware-utils/src/mkchkimg.c is from http://www.myopenrouter.com/download/10611/mkchkimg/ This closes #7702. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22516 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Revert r21806 there are no users of it yetFlorian Fainelli2010-06-141-1/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21808 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] add hcsmakeimage, for cable modems/routers based on bcm33xxFlorian Fainelli2010-06-141-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21806 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] add mktitanimg to create Titan (AR7-based) images (#6632)Florian Fainelli2010-06-061-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21689 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] firmware-utils: unify cc and cc2 macros, simplifies MakefileJo-Philipp Wich2010-02-011-9/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19487 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] firmware-utils: copy bcm_tag.h to src/ and get rid of cc3 macro, ↵Jo-Philipp Wich2010-02-011-5/+1
| | | | | | fixes imagetag compilation git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19485 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: create images for the WNDR3700, which can be flashed via the factory ↵Gabor Juhos2009-11-281-0/+1
| | | | | | web interface git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18571 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils: add WNDR3700 image fixing tool (thanks to Anael Orlinski)Gabor Juhos2009-11-281-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18569 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] firmware-utils: add new tool for the wrt400n (based on a patch by ↵Gabor Juhos2009-07-121-0/+1
| | | | | | Sandeep Mistry <sandeep.mistry at gmail.com>) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16792 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] firmware-utils: add a tool to compute crc value for the 5gxi firmwareGabor Juhos2009-06-251-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16557 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] firmware-utils: add a file {en,de}cryption tool, based on the PC1 ↵Gabor Juhos2009-06-241-0/+1
| | | | | | encryption algrithm git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16550 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils: add a small utility for generating nand flash images with ↵Felix Fietkau2009-06-141-0/+1
| | | | | | ecc info git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16458 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm63xx] rework imagetag firmware generator and MTD partition parser to ↵Florian Fainelli2009-06-091-1/+8
| | | | | | | | | accomodate with all known imagetag versions from Broadcom and vendors, patch from Daniel Dickinson (fixes #4987). git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16393 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/firmware-utils: Added encode_crc, for Freecom devices.Rod Whitby2009-03-221-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14961 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] firmware-utils: add new firmware generation tool for the TP-LINK ↵Gabor Juhos2009-02-261-0/+1
| | | | | | TL-WR941ND device git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14672 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build system refactoring in preparation for allowing packages to do ↵Felix Fietkau2009-02-221-6/+6
| | | | | | host-build steps git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14610 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] firmware-utils/mkplanexfw: new firmware generation tool for the ↵Gabor Juhos2009-02-041-0/+5
| | | | | | Planex MZK-W04NU device git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14410 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add makeamitbin to generate images for other RDC-based devices, thanks sn9 !Florian Fainelli2008-10-281-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13056 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] firmware-utils: new firmware generation tool for the WILIGEAR WBD-111Gabor Juhos2008-10-131-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12975 3c298f89-4303-0410-b956-a3cf2f4a3e73
* replacement of the add_header utility used by various vendorsImre Kaloz2008-06-271-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11588 3c298f89-4303-0410-b956-a3cf2f4a3e73