aboutsummaryrefslogtreecommitdiffstats
path: root/tools/firmware-utils/src/mktplinkfw.c
Commit message (Collapse)AuthorAgeFilesLines
* tools: firmware-utils: add region code support to mktplinkfwJohn Crispin2016-04-211-5/+46
| | | | | | Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49215 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: firmware-utils: clean up mktplinkfwJohn Crispin2016-04-211-434/+34
| | | | | | | | | | | | | Remove the whole board list from mktplinkfw, as OpenWrt doesn't use it and it was severely out of sync with the list of built images for ar71xx. Also: * fix -Wall warnings * add const where appropriate Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49214 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add TP-Link TL-WA901ND-v4 supportJohn Crispin2016-04-091-0/+6
| | | | | | Signed-off-by: Tiziano Bacocco <tizbac2@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49158 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Add support for the OMYlink OMY-X1John Crispin2016-03-161-0/+6
| | | | | | | | | | | | This patch adds support for the OMYlink OMY-X1 https://wiki.openwrt.org/toh/omylink/omy-x1 http://www.omylink.com/ Signed-off-by: L. D. Pinney <ldpinney@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49026 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Added support for TL-WA801NDv3John Crispin2016-02-121-1/+6
| | | | | | Signed-off-by: Tiziano Bacocco <tizbac2@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48705 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mktplinkfw: add missing exceeding bytes info to logsJohn Crispin2015-12-111-2/+2
| | | | | | | | Add the info on exceeding bytes also to the remaining log messages. Signed-off-by: Felix Kaechele <felix@kaechele.ca> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47864 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Bitmain Antminer S1 & S3 cleanupJohn Crispin2015-10-191-2/+7
| | | | | | | | | | | | Sets the LEDs to boardname:color:led-name Sets the LAN to eth0 Other corrections such as the Machine Name and HWIDs v2 corrects the profile names in the Makefile and changes tabs to spaces in the Makefile 'define Device/' like the other devices. Signed-off-by: L. D. Pinney <ldpinney@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47221 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: firmware-utils: fix compiler warningsHauke Mehrtens2015-10-111-1/+1
| | | | | | | | | This just fixes a lot of compiler warnings. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47181 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/firmware-utils: add header version 2 support for mktplinkfwJohn Crispin2015-08-171-4/+21
| | | | | | | | | | | | | | | | Signed-off-by: Weijie Gao <hackpascal@gmail.com> This patch adds header version 2 option for mktplinkfw. The version 2 header is used for AR/QCA firmwares and is not the same as the header generated by mktplinkfw2. Instead, it is nearly the same as version 1 header except for the header version and the RSA signature. The header version 2 support is used for newer TP-Link routers which have only a 64kb bootloader part, e.g. TL-WDR6500 v2. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46661 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils mktplinkfw: print amount of exceeding bytesJohn Crispin2015-07-241-10/+11
| | | | | | | | This is very useful for trimming images towards 4 MiB flash size. Signed-off-by: Stephan Maka <stephan@spaceboyz.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46469 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for Onion OmegaJohn Crispin2015-07-241-0/+6
| | | | | | | | | | | | This patch adds support for the Onion Omega. https://onion.io/omega Signed-off-by: L. D. Pinney <ldpinney@gmail.com> Acked-by: Boken Lin <bl@onion.io> Tested-by: Jacky Huang <huangfangcheng@163.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46458 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Add Support for the Bitmain Antminer S3John Crispin2015-07-071-0/+1
| | | | | | | | | | This patch adds support for the Bitmain Antminer S3 Cryptocurrency Miner http://wiki.openwrt.org/toh/bitmain/s3 Signed-off-by: L. D. Pinney <ldpinney@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46236 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for TL-WR720N-v4.John Crispin2015-06-181-0/+6
| | | | | | | | | | The hardware should be almost the same as TL-WR720N-v3. WiFi and LAN networks were tested by "Lo Yuk Fai <loyukfai@gmail.com>". Failsafe and slider switch were tested by "Wong min <alpha080@gmail.com>". Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46046 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Add Support for the Bitmain Antminer S1John Crispin2015-06-181-0/+6
| | | | | | | | | | | This patch adds support for the Bitmain Antminer S1 Cryptocurrency Miner http://wiki.openwrt.org/toh/bitmain/s1 Signed-off-by: L. D. Pinney <ldpinney@gmail.com> Acked-by: James Hilliard <james.hilliard1@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46044 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mktplinkfw: add flag to ignore size limit (used for initramfs images)Felix Fietkau2015-05-081-3/+13
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45644 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: TL-WA7210n v2 supportJohn Crispin2015-02-241-0/+6
| | | | | | | | | | This patch adds support for TP-Link TL-WA7210n[0] [0] http://www.tplink.com/en/products/details/?model=TL-WA7210N Signed-off-by: Hendrik Frenzel <hfrenzel@scunc.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44526 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for TL-WA701ND v2John Crispin2015-01-201-0/+6
| | | | | | Signed-off-by: Luigi Tarenga <luigi.tarenga@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44063 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41620 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40037 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40035 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40034 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils/mktplinkfw: allow to reserve space in the generated imagesGabor Juhos2014-01-251-4/+17
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39396 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39066 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils/mkplinkfw: add TL-WR1043ND v2 supportGabor Juhos2013-11-291-0/+6
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38957 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38065 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils: remove v2 supportJohn Crispin2013-08-061-85/+3
| | | | | | | | we will use gabors patch instead Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37725 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils: fix segfault introduced by v2 changesJohn Crispin2013-08-061-2/+2
| | | | | | Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37724 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils: add support for TDW8970 to mktplinkfwJohn Crispin2013-08-061-0/+13
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37718 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37717 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37549 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36497 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36455 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35963 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35787 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils/mktplinkfw: add support for the TL-WDR4900 v1Gabor Juhos2013-02-131-0/+12
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35593 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35448 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34781 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34575 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34189 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils/mktplinkfw: allow to specify firmware versionGabor Juhos2012-07-051-2/+23
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32616 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils/mktplinkfw: add support for the TL-WR1041N v2Gabor Juhos2012-05-051-0/+6
| | | | | | Patch-by: Vince Huang <axishero@foxmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31609 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firware-utils/mktplinkfw: add TL-WR2543N/ND supportGabor Juhos2012-01-071-0/+12
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29681 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils/mktplinkfw: add support for TL-WA701N/NDGabor Juhos2012-01-041-0/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29655 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils/mktplinkfw: add support for TL-MR3020Gabor Juhos2012-01-041-0/+6
| | | | | | Signed-off-by: Christian Cier-Zniewski <c.cier@gmx.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29650 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils/mktplinkfw: add ability to put jffs2 eof marker into the imageGabor Juhos2011-12-151-1/+45
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29544 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/mktplinkfw: allow to specify hw_id, hw_rev and flash_layoutGabor Juhos2011-12-061-89/+125
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29466 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils/mktplinkfw: allow to align the rootfs on a specified boundaryGabor Juhos2011-12-051-14/+45
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29445 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils/mktplinkfw: fix combined image creationGabor Juhos2011-12-031-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29409 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils/mktplinfw: use htonl/ntohlGabor Juhos2011-11-241-44/+39
| | | | | | Based on a patch by Adrian Chadd <adrian@freebsd.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29327 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils/mktplinkfw: add TL-WR741ND v4Gabor Juhos2011-11-011-0/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28707 3c298f89-4303-0410-b956-a3cf2f4a3e73