summaryrefslogtreecommitdiff
path: root/tools/firmware-utils
AgeCommit message (Collapse)Author
2010-07-27firmware-utils: The option -F was not detected.hauke
This was missing in r22396 This fixes build of brcm47xx git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22398 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-27fix CRC32 calculation for sysupgrademarkus
* 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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22396 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-13tools/firmware-utils: enhance mktplinkfw utilityjuhosg
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22169 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01firmware-utils/mktplinkfw: add support for the TL-WA901NDjuhosg
Patch-by: Pieter "Fate" Hollants <pieter@hollants.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22015 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01preset stable and try* flags for TRX2 headersmarkus
* 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22012 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-28fixed trx version to handlingmarkus
I forgot to write the right trx version to the actual header... git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21986 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-20[tools] remove whitespaces in imagetag toolflorian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-14Revert r21806 there are no users of it yetflorian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21808 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-14[tools] add hcsmakeimage, for cable modems/routers based on bcm33xxflorian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21806 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-12[tools] fix mktitanimg segfault on 64-bits hosts (#7443)florian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21767 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-06[tools] add mktitanimg to create Titan (AR7-based) images (#6632)florian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21689 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-16get rid of CRLF encoding in various filesnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21462 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-14firmware-utils/mkzynfw: add support for the NBG460N boardjuhosg
Adding NBG460N/550N/550NH boards to mkzynfw. Signed-off-by: Michael Kurz <michi.kurz@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21446 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-14firmware-utils/mkzynfw: don't use next_offset twice (closes #7273)juhosg
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21445 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-26tools/firmware-utils: add size check to the mkplanexfw tooljuhosg
Also pad the image to a 64K boundary. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21174 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-12[cleanup] remove 'svn:executable' propertynico
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20831 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-01[brcm63xx] flashmap and image generation: reduced union bcm_tag to a single ↵florian
struct 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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-28[brcm63xx] move bcm_tag.h out of the flashmap patch so that user-land tools ↵florian
can re-use it git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20548 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-27firmware-utils/trx: add relative offset parameterjuhosg
* will be used for the WRT160NL board * patch by Bernhard Loos * note: rejected parts has been fixed git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20522 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-26[tools] revert r18760 since it prevents people from building working eva imagesflorian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20437 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-25added support for wrt54g3gv2-vf and new trx header formatmarkus
- 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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20433 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-18[tools] fix file creation mode, thanks rtzflorian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20293 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-10mktplinkfw: add option to strip padding from the end of the imagejuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20120 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-08mktplinkfw: fix help string, and remove duplicated optionjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20067 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-19firmware-utils/mktplinkfw: add board definitions for TL-WR941ND v4juhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19748 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-01[tools] firmware-utils: unify cc and cc2 macros, simplifies Makefilejow
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19487 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-01[tools] firmware-utils: copy bcm_tag.h to src/ and get rid of cc3 macro, ↵jow
fixes imagetag compilation git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19485 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-22ar71xx: add support for the TL-WR841N v1.5 boardjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18893 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-11lzma2eva: Endianness fixes.mb
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18760 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-08ar71xx: TL-WR1043ND support cleanupjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18697 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-08ar71xx: preliminary support for the TL-WR1043NDjuhosg
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18696 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-28ar71xx: create images for the WNDR3700, which can be flashed via the factory ↵juhosg
web interface git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18571 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-28firmware-utils: add WNDR3700 image fixing tool (thanks to Anael Orlinski)juhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18569 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-18mkfwimage: add support for the XM layout (bullet/rocket/nano M)nbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18448 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-13ar71xx: increase max size of RouterStation and RouterStation Pro firmware imagesjuhosg
Thanks to riskable! (closes #5860) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18410 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-30ar71xx: add preliminary support for the TL-WR841ND v5 boardjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18226 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-07firmware-utils: raise the default trx image size limit for something more ↵nbd
appropriate for devices with 8M flash git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17537 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-09[brcm63xx] add support for the Pirelli AG226G board (#5337)florian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17190 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-06[tools] firmware-utils/addpattern: add support for the WRT160NLjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17140 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-12[tools] firmware-utils: add new tool for the wrt400n (based on a patch by ↵juhosg
Sandeep Mistry <sandeep.mistry at gmail.com>) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16792 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-11[ar71xx] increase size of the kernel partition on the TL-WR[789]41N boardsjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16785 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-08[tools] firmware-utils/mktplinkfw: add option for combined imagesjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16742 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-07[tools] firmware-utils/mktplinkfw: add board definitions for TL-WR741ND v1 juhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16740 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-01[tools] fix segfault when using the maxlen argument (#4359)florian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16641 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-25[tools] firmware-utils: add a tool to compute crc value for the 5gxi firmwarejuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16557 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-25[tools] firmware-utils/mkcsysimg: minor bugfixjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16556 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-24[tools] firmware-utils/mkcsysimg: add signature for the 5GXi boardjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16551 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-24[tools] firmware-utils: add a file {en,de}cryption tool, based on the PC1 ↵juhosg
encryption algrithm git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16550 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-18[brcm63xx] add imagetag support for BT Voyager 2500V, patch from Daniel ↵florian
Dickinson (#5364) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16506 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-14firmware-utils: add a small utility for generating nand flash images with ↵nbd
ecc info git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16458 3c298f89-4303-0410-b956-a3cf2f4a3e73