aboutsummaryrefslogtreecommitdiffstats
path: root/tools/firmware-utils
Commit message (Collapse)AuthorAgeFilesLines
* 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
* firmware-utils/mktplinkfw: fix hardware id of the TL-WR740 v3Gabor Juhos2011-10-261-1/+1
| | | | SVN-Revision: 28602
* firmware-utils/mktplinkfw: add support for TL-WR703N v1Gabor Juhos2011-09-211-0/+9
| | | | | | Patch-by: dongyuqi <729650915@qq.com> SVN-Revision: 28278
* firmware-utils/mktplinkfw: add support for TL-WR743ND v1Gabor Juhos2011-09-211-0/+9
| | | | | | Signed-off-by: Paul Fertser <fercerpav@gmail.com> SVN-Revision: 28270
* firmware-utils/mktplinkfw: add support for TL-WR740N v3Gabor Juhos2011-09-211-0/+9
| | | | | | Signed-off-by: Martin Raykov <martin.raykov@gmail.com> SVN-Revision: 28268
* firmware-utils: rename the devname variable in mkwrgimg to avoid a clash ↵Felix Fietkau2011-07-081-4/+4
| | | | | | with a BSD stdlib function SVN-Revision: 27553
* tools/firmware-utils: add yet another buffalo toolGabor Juhos2011-07-062-0/+180
| | | | SVN-Revision: 27475
* tools/firmware-utils: allow to create buffalo image from two filesGabor Juhos2011-07-062-17/+111
| | | | SVN-Revision: 27473
* tools/firmware-utils: allow to create buffalo tags w/o hw versionGabor Juhos2011-07-061-1/+3
| | | | SVN-Revision: 27472
* tools/firmware-utils: add new firmware tool for the DIR-300-B1 boardGabor Juhos2011-07-042-0/+241
| | | | SVN-Revision: 27438
* firmware-utils: fix build on big endian systemsHauke Mehrtens2011-06-211-1/+1
| | | | | | This closes #9446 SVN-Revision: 27255
* tools/firmware-utils: fix buffalo csum calculationGabor Juhos2011-06-132-2/+4
| | | | | | Also print an error message if decryption fails. SVN-Revision: 27167
* tools/firmware-utils: add support for hd_id tag into mkdniimgGabor Juhos2011-05-311-4/+13
| | | | | | Signed-off-by: Mark Mentovai <mark@moxienet.com> SVN-Revision: 27052
* tools/firmware-utils: add buffalo specific fw toolsGabor Juhos2011-05-315-0/+1177
| | | | SVN-Revision: 27050
* bcm63xx: Add firmware helpers for T-Home Speedport W 303VFlorian Fainelli2011-05-113-0/+379
| | | | | | | | | 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> SVN-Revision: 26877
* bcm63xx: Move the OpenWrt rootfs length fieldDaniel Dickinson2011-04-154-35/+2
| | | | | | | | | | | | | | | | Dual image capable CFEs store an image sequence at the same place as currently OpenWrt stores the actual rootfs length, so it will get overwritten when flashing through such a CFE. To prevent this from happening, move the rootfs length field to the next four bytes, thus completely using the reserved1 field. Since the reserved1 field is now completely in use, it does not make sense to allow it to be set from the imagetag utility, so remove the option. Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> SVN-Revision: 26680
* firmware-utils: fix endianness bugs in firmware generation program.Hauke Mehrtens2011-04-091-12/+29
| | | | | | | | Should make it work on big endian systems again, I do not have such a system. This closes #9093. SVN-Revision: 26543
* firmware-utils/mktplinkfw: add support for the TP-Link TL-WA901ND v2 boardGabor Juhos2011-03-131-0/+9
| | | | | | Patch-by: Jonathan Benett <jbscience87@gmail.com> SVN-Revision: 26118
* brcm47xx: fix error when build firmware on x86_64 host (closes #7672)Hauke Mehrtens2011-02-121-11/+14
| | | | SVN-Revision: 25472
* firmware-utils/mkdniimg: don't use NA region by defaultGabor Juhos2011-01-141-1/+1
| | | | SVN-Revision: 24981
* firmware-utils/wndr3700: allow to specify image magic via command lineGabor Juhos2011-01-141-4/+15
| | | | SVN-Revision: 24980
* Added OpenWRT-specific field to imagetag so that we can record the real root ↵Daniel Dickinson2010-12-261-2/+3
| | | | | | | | length, so that when the CRC fixup is applied and the root length is recorded as zero we can still calculate the rootfs mtd partition size. Signed-off-by: Daniel Dickinson <daniel@cshore.neomailbox.net> SVN-Revision: 24838
* ar71xx: add support for TL-WR740N v1Gabor Juhos2010-12-231-0/+9
| | | | | | | | | Same as TL-WR741ND but with different hardware ID and without detachable antenna. Signed-off-by: Paul Fertser <fercerpav@gmail.com> SVN-Revision: 24811
* firmware-utils/mkzynfw: fix available flash space calculationGabor Juhos2010-12-171-2/+3
| | | | SVN-Revision: 24653
* firmware-utils/mktplinkfw: add support for the TL-MR3220 v1Gabor Juhos2010-12-101-0/+9
| | | | SVN-Revision: 24438
* brcm47xx: Add edimax PS1208mfg supportHauke Mehrtens2010-12-022-0/+152
| | | | | | Thank you clemvangelis for the patches. (closes #7672) SVN-Revision: 24217
* imagetag: Significantly updated brcm63xx imagetag writing tool. * Rewrote ↵Daniel Dickinson2010-11-165-219/+1781
| | | | | | 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). SVN-Revision: 24011