aboutsummaryrefslogtreecommitdiffstats
path: root/tools/firmware-utils
Commit message (Collapse)AuthorAgeFilesLines
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38685 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils: remove the wndr3700 utilityGabor Juhos2013-11-062-151/+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
* 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
* tools: add tool to generate dcs93xl imagesJohn Crispin2013-10-072-0/+40
| | | | | | 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/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: add a tool TP-Link v2 image generationJohn Crispin2013-08-062-0/+945
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37726 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
* ramips: add basics for Poray devicesJohn Crispin2013-08-012-0/+754
| | | | | | | | | | | | | | | | 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
* 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
* tools: add Broadcom cable modem firmware image creatorFlorian Fainelli2013-06-064-0/+513
| | | | | | 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/mkcameofw: allow to use combined kernel imageGabor Juhos2013-05-081-28/+56
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36583 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
* [ramips] 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36289 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
* [tools/firmware-utils] adds support for Edimax BR-6524NJohn Crispin2013-01-062-0/+2
| | | | | | | | fixes #12754 Signed-off-by: <rq@akl.lt> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35019 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/mkfwimage2: allow to use numbers in partition namesGabor Juhos2012-12-171-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34729 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: new tool for fixing U-Media firmware headersGabor Juhos2012-10-182-0/+355
| | | | | | 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-183-0/+638
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33840 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33655 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/firmware-utils: add a new tool for TEW-712BR firmware generationGabor Juhos2012-08-222-0/+406
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33233 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] tools/firmware-utils/ptgen option to use MB roundingJohn Crispin2012-08-221-4/+18
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33218 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/firmware-utils: add tool for DIR-651-H1 firmware generationGabor Juhos2012-08-172-0/+411
| | | | | | 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-242-0/+192
| | | | | | Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32822 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
* tools: imagetag: add parameter for padding imagesJonas Gorski2012-05-274-2/+64
| | | | | | | Allow images to be padded to a certain size. This prevents CFE from flashing them to the second image offset. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31875 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
* 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
* [lantiq] Support booting the Speedport W502V using BRN-BOOT.John Crispin2012-02-143-0/+353
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* firmware-utils/mkmylofw: add WPE72 supportGabor Juhos2012-01-262-0/+4
| | | | | | Signed-off-by: Johnathan Boyce <jon.boyce@globalreach.eu.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29913 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
* 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