aboutsummaryrefslogtreecommitdiffstats
path: root/tools/firmware-utils/src
Commit message (Collapse)AuthorAgeFilesLines
* firmware-utils: The option -F was not detected. This was missing in r22396Hauke Mehrtens2010-07-271-1/+1
| | | | | | This fixes build of brcm47xx SVN-Revision: 22398
* fix CRC32 calculation for sysupgradeMarkus Wigge2010-07-271-3/+5
| | | | | | | | | | | | | | * reduce image size for CRC calculation by fs_mark size sysupgrade sometimes failed for me and I noticed that it was due to incorrect CRC values in trx-header after performing it. It seems that the fs_mark was completely included in the calculation and that it was nevertheless modified by sysupgrade while appending the jffs data. This only occurs for the first boot after sysupgrade as the flashmap driver recalculates the CRC to an even smaller area when it boots. SVN-Revision: 22396
* tools/firmware-utils: enhance mktplinkfw utilityGabor Juhos2010-07-131-9/+278
| | | | | | | | | | | Attached patch enhances the mktplinkfw utility: 1. existing firmware files in TP-Link format can now be inspected, showing eg. the used offsets 2. optionally the kernel and rootfs parts can be extracted (saves calculations for dd) 3. when generating firmwares, kernel entry point, load address and rootfs offset can be overwritten (for experienced users) Patch-by: Pieter "Fate" Hollants <pieter@hollants.com> SVN-Revision: 22169
* firmware-utils/mktplinkfw: add support for the TL-WA901NDGabor Juhos2010-07-011-0/+9
| | | | | | Patch-by: Pieter "Fate" Hollants <pieter@hollants.com> SVN-Revision: 22015
* preset stable and try* flags for TRX2 headersMarkus Wigge2010-07-012-4/+22
| | | | | | | | | | * changed addpattern.c to preset the stable and try flags used in TRXv2 images to dupe CFE and pretend a stable image. * changed trx.c to calculate TRXv2 CRC with stable and try flags set to 0xFF like CFE does on startup * fixed compile warnings in trx.c by explicit casting SVN-Revision: 22012
* fixed trx version to handlingMarkus Wigge2010-06-281-1/+1
| | | | | | I forgot to write the right trx version to the actual header... SVN-Revision: 21986
* remove whitespaces in imagetag toolFlorian Fainelli2010-06-201-7/+7
| | | | SVN-Revision: 21848
* Revert r21806 there are no users of it yetFlorian Fainelli2010-06-143-512/+0
| | | | SVN-Revision: 21808
* add hcsmakeimage, for cable modems/routers based on bcm33xxFlorian Fainelli2010-06-143-0/+512
| | | | SVN-Revision: 21806
* fix mktitanimg segfault on 64-bits hosts (#7443)Florian Fainelli2010-06-121-1/+2
| | | | SVN-Revision: 21767
* add mktitanimg to create Titan (AR7-based) images (#6632)Florian Fainelli2010-06-062-0/+1210
| | | | SVN-Revision: 21689
* firmware-utils/mkzynfw: add support for the NBG460N boardGabor Juhos2010-05-142-0/+20
| | | | | | | | Adding NBG460N/550N/550NH boards to mkzynfw. Signed-off-by: Michael Kurz <michi.kurz@googlemail.com> SVN-Revision: 21446
* firmware-utils/mkzynfw: don't use next_offset twice (closes #7273)Gabor Juhos2010-05-141-1/+1
| | | | | | | | | The test if a file can fit in an image considers the current offset twice. So a image that would fit is too big. Thanks-to: Michael Kurz <michi.kurz@googlemail.com> SVN-Revision: 21445
* tools/firmware-utils: add size check to the mkplanexfw toolGabor Juhos2010-04-261-4/+11
| | | | | | Also pad the image to a 64K boundary. SVN-Revision: 21174
* remove 'svn:executable' propertyNicolas Thill2010-04-121-0/+0
| | | | SVN-Revision: 20831
* flashmap and image generation: reduced union bcm_tag to a single struct ↵Florian Fainelli2010-04-011-246/+80
| | | | | | combining the elements so that it is no longer necessary to create an openwrt-only tagid and tagcrc, and elimate the tagid detection and switch statements which made dealing with imagetags overly complicated, especially since the logic would need analogs in all code that touched the imagetag. Patch from cshore. SVN-Revision: 20652
* move bcm_tag.h out of the flashmap patch so that user-land tools can re-use itFlorian Fainelli2010-03-281-178/+1
| | | | SVN-Revision: 20548
* firmware-utils/trx: add relative offset parameterGabor Juhos2010-03-271-2/+22
| | | | | | | | * will be used for the WRT160NL board * patch by Bernhard Loos * note: rejected parts has been fixed SVN-Revision: 20522
* revert r18760 since it prevents people from building working eva imagesFlorian Fainelli2010-03-261-88/+26
| | | | SVN-Revision: 20437
* added support for wrt54g3gv2-vf and new trx header formatMarkus Wigge2010-03-252-14/+50
| | | | | | | | | | | | - hacked addpattern due to changes in header format - added "-5" to addpattern, some 0xFF are needed for trx2 header "-4" broke CRC checking in CFE - hacked trx.c due to new header format version - added target to create trx-V2 images the flashmap driver possibly needs to be customized. SVN-Revision: 20433
* fix file creation mode, thanks rtzFlorian Fainelli2010-03-181-1/+1
| | | | SVN-Revision: 20293
* mktplinkfw: add option to strip padding from the end of the imageGabor Juhos2010-03-101-3/+15
| | | | SVN-Revision: 20120
* mktplinkfw: fix help string, and remove duplicated optionGabor Juhos2010-03-081-5/+3
| | | | SVN-Revision: 20067
* firmware-utils/mktplinkfw: add board definitions for TL-WR941ND v4Gabor Juhos2010-02-191-0/+9
| | | | SVN-Revision: 19748
* firmware-utils: copy bcm_tag.h to src/ and get rid of cc3 macro, fixes ↵Jo-Philipp Wich2010-02-011-0/+178
| | | | | | imagetag compilation SVN-Revision: 19485
* ar71xx: add support for the TL-WR841N v1.5 boardGabor Juhos2009-12-221-0/+9
| | | | SVN-Revision: 18893
* lzma2eva: Endianness fixes.Michael Büsch2009-12-111-26/+88
| | | | SVN-Revision: 18760
* ar71xx: TL-WR1043ND support cleanupGabor Juhos2009-12-081-1/+1
| | | | SVN-Revision: 18697
* ar71xx: preliminary support for the TL-WR1043NDGabor Juhos2009-12-081-0/+9
| | | | | | | | | | | | Adds board support for the TP-Link TL-WR1043ND Based on the Atheros AP81 platform. Presently the RTL8366RB switch support is missing due to no driver. The ethernet works with 5 ports@1Gbit but is missing vlan support. Hope Ive done this right, First time submiting a patch. Signed-off-by: Andrew Tarabaras <andrew@advancedtechnologies.com.au> SVN-Revision: 18696
* ar71xx: create images for the WNDR3700, which can be flashed via the factory ↵Gabor Juhos2009-11-281-0/+199
| | | | | | web interface SVN-Revision: 18571
* firmware-utils: add WNDR3700 image fixing tool (thanks to Anael Orlinski)Gabor Juhos2009-11-281-0/+139
| | | | SVN-Revision: 18569
* mkfwimage: add support for the XM layout (bullet/rocket/nano M)Felix Fietkau2009-11-181-1/+7
| | | | SVN-Revision: 18448
* ar71xx: increase max size of RouterStation and RouterStation Pro firmware imagesGabor Juhos2009-11-131-2/+2
| | | | | | Thanks to riskable! (closes #5860) SVN-Revision: 18410
* ar71xx: add preliminary support for the TL-WR841ND v5 boardGabor Juhos2009-10-301-0/+9
| | | | SVN-Revision: 18226
* firmware-utils: raise the default trx image size limit for something more ↵Felix Fietkau2009-09-071-1/+1
| | | | | | appropriate for devices with 8M flash SVN-Revision: 17537
* add support for the Pirelli AG226G board (#5337)Florian Fainelli2009-08-091-0/+4
| | | | SVN-Revision: 17190
* firmware-utils/addpattern: add support for the WRT160NLGabor Juhos2009-08-061-5/+55
| | | | SVN-Revision: 17140
* firmware-utils: add new tool for the wrt400n (based on a patch by Sandeep ↵Gabor Juhos2009-07-124-0/+725
| | | | | | Mistry <sandeep.mistry at gmail.com>) SVN-Revision: 16792
* increase size of the kernel partition on the TL-WR[789]41N boardsGabor Juhos2009-07-111-3/+3
| | | | SVN-Revision: 16785
* firmware-utils/mktplinkfw: add option for combined imagesGabor Juhos2009-07-081-22/+40
| | | | SVN-Revision: 16742
* firmware-utils/mktplinkfw: add board definitions for TL-WR741ND v1Gabor Juhos2009-07-071-1/+10
| | | | SVN-Revision: 16740
* fix segfault when using the maxlen argument (#4359)Florian Fainelli2009-07-011-0/+1
| | | | SVN-Revision: 16641
* firmware-utils: add a tool to compute crc value for the 5gxi firmwareGabor Juhos2009-06-251-0/+309
| | | | SVN-Revision: 16557
* firmware-utils/mkcsysimg: minor bugfixGabor Juhos2009-06-251-1/+1
| | | | SVN-Revision: 16556
* firmware-utils/mkcsysimg: add signature for the 5GXi boardGabor Juhos2009-06-242-5/+6
| | | | SVN-Revision: 16551
* firmware-utils: add a file {en,de}cryption tool, based on the PC1 encryption ↵Gabor Juhos2009-06-241-0/+361
| | | | | | algrithm SVN-Revision: 16550
* add imagetag support for BT Voyager 2500V, patch from Daniel Dickinson (#5364)Florian Fainelli2009-06-181-3/+4
| | | | SVN-Revision: 16506
* firmware-utils: add a small utility for generating nand flash images with ↵Felix Fietkau2009-06-141-0/+204
| | | | | | ecc info SVN-Revision: 16458
* The attached patch adds building of firmware images for more routers based ↵Florian Fainelli2009-06-101-28/+34
| | | | | | | | on the brcm63xx chipset. Signed-Off By: Daniel Dickinson <crazycshore@gmail.com> SVN-Revision: 16396
* rework imagetag firmware generator and MTD partition parser to accomodate ↵Florian Fainelli2009-06-091-94/+257
| | | | | | with all known imagetag versions from Broadcom and vendors, patch from Daniel Dickinson (fixes #4987). SVN-Revision: 16393