summaryrefslogtreecommitdiff
path: root/tools/firmware-utils/src
Commit message (Collapse)AuthorAgeFilesLines
* firmware-utils: made mkdir615h1 work for all Senao-produced devices as ↵John Crispin2014-08-031-37/+44
| | | | | | | | mksenaofw and cleaned up some of its formatting Signed-off-by: Forest Crossman <cyrozap@gmail.com> SVN-Revision: 41962
* firmware-utils: add new tool for fixing headers on ZyXEL devices (brcm63xx)Jonas Gorski2014-07-271-0/+259
| | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 41849
* firmware-utils/mktplinkfw: add support for GL.iNet v1Gabor Juhos2014-07-131-0/+6
| | | | | | | | | | | | | Patch is based on http://patchwork.openwrt.org/patch/5273/. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Michel Stempin <michel.stempin@wanadoo.fr> Signed-off-by: Mark Janssen <mark@sig-io.nl> Signed-off-by: alzhao <alzhao@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/5653/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 41620
* firmware-utils/mkdir615h1: fix magic XOR calculationJohn Crispin2014-06-241-2/+2
| | | | | | Signed-off-by: Forest Crossman <cyrozap@gmail.com> SVN-Revision: 41314
* lantiq: DGN3500 (all known variants) factory and sysupgrade image building ↵John Crispin2014-06-171-0/+167
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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> SVN-Revision: 41236
* ramips: RT-N56U support fixes and factory image creationJohn Crispin2014-06-161-0/+294
| | | | | | Signed-off-by: Mikko Hissa <mikko.hissa@werzek.com> SVN-Revision: 41224
* firmware-utils: add Gemtek header toolJohn Crispin2014-04-221-0/+211
| | | | | | | | | Generates webflash-compatible images for a few RT2880 routers based on Gemtek OEM boards. Signed-off-by: Claudio Leite <leitec@staticky.com> SVN-Revision: 40551
* firmware-utils/mktplinkfw: add support for TL-WDR4300v1 (IL)Gabor Juhos2014-03-271-0/+6
| | | | | | | | | | | The version of TL-WDR4300 sold in Israel comes with a different hardware id. Patch-by: Daniel <daniel@makrotopia.org> Patchwork: http://patchwork.openwrt.org/patch/5001/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 40037
* firmware-utils/mktplinkfw: add support for the Oolite v1 boardGabor Juhos2014-03-271-0/+6
| | | | | | | | | Patch-by: Lars Bøgild Thomsen <lth@cow.dk> Patchwork: http://patchwork.openwrt.org/patch/4922/ [juhosg: fix whitespaces] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 40035
* firmware-utils/mktplinkfw: add an option to generate 16MiB imagesGabor Juhos2014-03-271-0/+12
| | | | | | | | Signed-off-by: Andrew 'Necromant' Andrianov <andrew@ncrmnt.org> Patchwork: http://patchwork.openwrt.org/patch/2449/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 40034
* firmware-utils/mktplinkfw: allow to reserve space in the generated imagesGabor Juhos2014-01-251-4/+17
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39396
* firmware-utils: mkhilinkfw breaks the build botsJohn Crispin2014-01-121-0/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39243
* firmware-utils: add HLK-RM04 toolJohn Crispin2014-01-121-0/+320
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39238
* firmware-utils: check_magic() in buffalo-lib.c always return 0John Crispin2013-12-271-2/+2
| | | | | | | | spotted with cppcheck Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr> SVN-Revision: 39171
* firmware-utils/mkplinkfw: add TL-WA801ND v2 supportGabor Juhos2013-12-151-0/+6
| | | | | | | | Signed-off-by: Jiri Pirko <jiri@resnulli.us> Patchwork: http://patchwork.openwrt.org/patch/4503/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39066
* firmware-utils/trx: remove trailing whitespacesGabor Juhos2013-11-301-3/+3
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38963
* firmware-utils/trx: fix two bugsGabor Juhos2013-11-301-2/+1
| | | | | | | | | | - fix crc32 calculation if -F was enabled. - don't convert the crc32 to little endian twice. Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> SVN-Revision: 38962
* firmware-utils/mkplinkfw: add TL-WR1043ND v2 supportGabor Juhos2013-11-291-0/+6
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38957
* tools: adapt addpattern for WD's Range ExtenderGabor Juhos2013-11-071-7/+15
| | | | | | | | | | | | A few things had to be changed to add support for these devices: - support code patterns with 8 characters - new board definition for the range extender device Patchwork: http://patchwork.openwrt.org/patch/4280/ Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38685
* firmware-utils: remove the wndr3700 utilityGabor Juhos2013-11-061-150/+0
| | | | | | | | It is not used anymore. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38663
* 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> SVN-Revision: 38484
* tools: add tool to generate dcs93xl imagesJohn Crispin2013-10-071-0/+39
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38317
* firmware-utils/mktplinkfw: add support for the TL-MR13U boardGabor Juhos2013-09-191-0/+6
| | | | | | | | Signed-off-by: Oleg Titov <oleg.titov@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/4063/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38065
* firmware-utils: add a tool TP-Link v2 image generationJohn Crispin2013-08-061-0/+944
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37726
* firmware-utils: remove v2 supportJohn Crispin2013-08-061-85/+3
| | | | | | | | we will use gabors patch instead Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37725
* firmware-utils: fix segfault introduced by v2 changesJohn Crispin2013-08-061-2/+2
| | | | | | Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com> SVN-Revision: 37724
* firmware-utils: add support for TDW8970 to mktplinkfwJohn Crispin2013-08-061-0/+13
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37718
* firmware-utils: add v2 header support to firmware-utilsJohn Crispin2013-08-061-3/+72
| | | | | | | | only image build works. inspect and md5 checksum support are not implemented yet Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37717
* ramips: add basics for Poray devicesJohn Crispin2013-08-011-0/+753
| | | | | | | | | | | | | | | | 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> SVN-Revision: 37635
* firmware-utils/mktplinkfw: add support for the TL-MR10U boardGabor Juhos2013-07-261-0/+6
| | | | | | | | | | | Based on andelf's patch: http://andelf.diandian.com/post/2013-05-22/40050677370 Signed-off-by: Oleg Titov <oleg.titov@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/3840/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37549
* tools: add Broadcom cable modem firmware image creatorFlorian Fainelli2013-06-063-0/+512
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 36873
* firmware-utils/mkcameofw: allow to use combined kernel imageGabor Juhos2013-05-081-28/+56
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 36583
* firmware-utils/mktplinkfw: add description for -W option into usage outputGabor Juhos2013-04-301-0/+1
| | | | | | | | | Add description for -W <hwrev> option into usage output of mktplinkfw. Signed-off-by: yousong <yszhou4tech@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 36497
* firmware-utils/mktplinkfw: add support for the TL-WR720N v3 boardGabor Juhos2013-04-261-0/+6
| | | | | | | Signed-off-by: yousong <yszhou4tech@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 36455
* Add Netgear WNCE2001 (OF version)John Crispin2013-04-091-2/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add Netgear WNCE2001. This is a small RT3052 device with 4MB spi flash and 32MB ram. 2 built-in antennas, 1x fastE, no USB, reset & wps switch. On my model the AP/RT switch is unpopulated, but I verified the gpio mapping for it. The stock firmware is running an unprotected tftpd which allows you to read any file from the filesystem. Serial port is present on testpads (See image on the wiki page). There are more testpads below the shield near the SoC, which may have JTAG. Slight annoyance: The bootloader is checksumming kernel&rootfs, but can be tricked by zeroing checksum and length fields in the checksum partition, see target/linux/ramips/base-files/lib/preinit/04_disable_wnce2001_flash_checksumming The manufacturer image is very similar to the DAP one, so I slightly modified mkdapimg to support generating it. The resulting openwrt-ramips-rt305x-wnce2001-squashfs-factory-(worldwide|northamerica).bin can be used to flash from stock to OpenWRT using the stock firmware upgrade function, without using the serial port. http://www.netgear.com/landing/wnce2001.aspx http://wiki.openwrt.org/toh/netgear/wnce2001 Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de> SVN-Revision: 36289
* firmware-utils/mktplinkfw: Add support for MR3420v2Gabor Juhos2013-03-111-0/+6
| | | | | | | | Patch-by: Dmytro <dioptimizer@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/3441/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35963
* firmware-utils/mktplinkfw: add support for the TL-WA830RE v1/v2 boardsGabor Juhos2013-02-251-0/+12
| | | | | | | Signed-off-by: Ronald Hecht <ronald.hecht@gmx.de> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35787
* firmware-utils/mktplinkfw: add support for the TL-WDR4900 v1Gabor Juhos2013-02-131-0/+12
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35593
* firmware-utils/mktplinkfw: add TP-LINK TL-WR743ND v2 supportGabor Juhos2013-02-021-0/+6
| | | | | | | | | AR9331 based, these same as 741v4 Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35448
* adds support for Edimax BR-6524NJohn Crispin2013-01-062-0/+2
| | | | | | | | fixes #12754 Signed-off-by: <rq@akl.lt> SVN-Revision: 35019
* firmware-utils/mktplinkfw: add support for the TL-MR3220 v2Gabor Juhos2012-12-191-0/+6
| | | | | | | | | | Based on the following patch: http://patchwork.openwrt.org/patch/3043/ Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34781
* firmware-utils/mkfwimage2: allow to use numbers in partition namesGabor Juhos2012-12-171-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34729
* firmware-utils/mktplinkfw: add support for TP-LINK WA801NDv1Gabor Juhos2012-12-071-0/+6
| | | | | | | Patch-by: Amir Sagie <openwrt-devel@taproot.org.il> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34575
* firmware-utils/mktplinkfw: add support for TL-WA7510NGabor Juhos2012-11-131-0/+6
| | | | | | | | | [juhosg: separated from the http://patchwork.openwrt.org/patch/2820/ patch] Signed-off-by: Stefan Helmert <helst_listen@aol.de> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34189
* firmware-utils: new tool for fixing U-Media firmware headersGabor Juhos2012-10-181-0/+354
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 33848
* tools/firmware-utils: add seama toolGabor Juhos2012-10-182-0/+637
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 33840
* firmware-utils: move bcm_tag.h hereJonas Gorski2012-10-081-1/+70
| | | | | | | Since there is only one user of bcm_tag.h left, we can safely move it into the firmware-utils directory, replacing the symlink. SVN-Revision: 33655
* tools/firmware-utils: add a new tool for TEW-712BR firmware generationGabor Juhos2012-08-221-0/+405
| | | | SVN-Revision: 33233
* tools/firmware-utils/ptgen option to use MB roundingJohn Crispin2012-08-221-4/+18
| | | | SVN-Revision: 33218
* tools/firmware-utils: add tool for DIR-651-H1 firmware generationGabor Juhos2012-08-171-0/+410
| | | | | | Signed-off-by: Mikko Hissa <mikko.hissa@uta.fi> SVN-Revision: 33204