aboutsummaryrefslogtreecommitdiffstats
path: root/tools/firmware-utils
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> SVN-Revision: 38484
* tools: add tool to generate dcs93xl imagesJohn Crispin2013-10-072-0/+40
| | | | | | 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-062-0/+945
| | | | | | 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-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> 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-064-0/+513
| | | | | | 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-182-0/+355
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 33848
* tools/firmware-utils: add seama toolGabor Juhos2012-10-183-0/+638
| | | | | | 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-222-0/+406
| | | | 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-172-0/+411
| | | | | | Signed-off-by: Mikko Hissa <mikko.hissa@uta.fi> SVN-Revision: 33204
* use HOST_STATIC_LINKING instead of hardcoding -staticJo-Philipp Wich2012-08-121-1/+1
| | | | SVN-Revision: 33140
* firmware-utils: link staticallyJo-Philipp Wich2012-08-101-2/+2
| | | | SVN-Revision: 33117
* adds mkdapimgJohn Crispin2012-07-242-0/+192
| | | | | | Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp> SVN-Revision: 32822
* firmware-utils/mktplinkfw: allow to specify firmware versionGabor Juhos2012-07-051-2/+23
| | | | SVN-Revision: 32616
* 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. SVN-Revision: 31875
* firmware-utils/mktplinkfw: add support for the TL-WR1041N v2Gabor Juhos2012-05-051-0/+6
| | | | | | Patch-by: Vince Huang <axishero@foxmail.com> SVN-Revision: 31609
* firmware-utils/mkfwimage: allow to override firmware magicGabor Juhos2012-02-181-5/+12
| | | | SVN-Revision: 30627
* 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> SVN-Revision: 30532
* firmware-utils/mkmylofw: add WPE72 supportGabor Juhos2012-01-262-0/+4
| | | | | | Signed-off-by: Johnathan Boyce <jon.boyce@globalreach.eu.com> SVN-Revision: 29913
* tools: clean up Makefiles / make ccache workJohn Crispin2012-01-151-1/+1
| | | | SVN-Revision: 29754
* firware-utils/mktplinkfw: add TL-WR2543N/ND supportGabor Juhos2012-01-071-0/+12
| | | | SVN-Revision: 29681
* firmware-utils/mktplinkfw: add support for TL-WA701N/NDGabor Juhos2012-01-041-0/+6
| | | | SVN-Revision: 29655
* firmware-utils/mktplinkfw: add support for TL-MR3020Gabor Juhos2012-01-041-0/+6
| | | | | | Signed-off-by: Christian Cier-Zniewski <c.cier@gmx.de> SVN-Revision: 29650
* firmware-utils/mktplinkfw: add ability to put jffs2 eof marker into the imageGabor Juhos2011-12-151-1/+45
| | | | SVN-Revision: 29544
* tools/mktplinkfw: allow to specify hw_id, hw_rev and flash_layoutGabor Juhos2011-12-061-89/+125
| | | | SVN-Revision: 29466
* firmware-utils/mktplinkfw: allow to align the rootfs on a specified boundaryGabor Juhos2011-12-051-14/+45
| | | | SVN-Revision: 29445
* firmware-utils/mktplinkfw: fix combined image creationGabor Juhos2011-12-031-1/+1
| | | | SVN-Revision: 29409
* firmware-utils/mktplinfw: use htonl/ntohlGabor Juhos2011-11-241-44/+39
| | | | | | Based on a patch by Adrian Chadd <adrian@freebsd.org> SVN-Revision: 29327
* firmware-utils/mktplinkfw: add TL-WR741ND v4Gabor Juhos2011-11-011-0/+9
| | | | SVN-Revision: 28707
* Add firmware tool for generating factory images for Edimax devicesVasilis Tsiligiannis2011-10-302-1/+261
| | | | SVN-Revision: 28688