Michael Büsch [Thu, 29 Jul 2010 18:14:10 +0000 (18:14 +0000)]
firmware-utils/trx: Endianness fixes
SVN-Revision: 22414
Hauke Mehrtens [Tue, 27 Jul 2010 18:16:32 +0000 (18:16 +0000)]
firmware-utils: The option -F was not detected. This was missing in r22396
This fixes build of brcm47xx
SVN-Revision: 22398
Markus Wigge [Tue, 27 Jul 2010 15:37:37 +0000 (15:37 +0000)]
fix CRC32 calculation for sysupgrade
* 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
Gabor Juhos [Tue, 13 Jul 2010 16:51:59 +0000 (16:51 +0000)]
tools/firmware-utils: enhance mktplinkfw utility
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
Gabor Juhos [Thu, 1 Jul 2010 14:49:04 +0000 (14:49 +0000)]
firmware-utils/mktplinkfw: add support for the TL-WA901ND
Patch-by: Pieter "Fate" Hollants <pieter@hollants.com>
SVN-Revision: 22015
Markus Wigge [Thu, 1 Jul 2010 10:40:22 +0000 (10:40 +0000)]
preset stable and try* flags for TRX2 headers
* 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
Markus Wigge [Mon, 28 Jun 2010 17:35:20 +0000 (17:35 +0000)]
fixed trx version to handling
I forgot to write the right trx version to the actual header...
SVN-Revision: 21986
Florian Fainelli [Sun, 20 Jun 2010 11:58:40 +0000 (11:58 +0000)]
remove whitespaces in imagetag tool
SVN-Revision: 21848
Florian Fainelli [Mon, 14 Jun 2010 21:49:03 +0000 (21:49 +0000)]
Revert r21806 there are no users of it yet
SVN-Revision: 21808
Florian Fainelli [Mon, 14 Jun 2010 21:47:21 +0000 (21:47 +0000)]
add hcsmakeimage, for cable modems/routers based on bcm33xx
SVN-Revision: 21806
Florian Fainelli [Sat, 12 Jun 2010 18:10:01 +0000 (18:10 +0000)]
fix mktitanimg segfault on 64-bits hosts (#7443)
SVN-Revision: 21767
Florian Fainelli [Sun, 6 Jun 2010 19:16:43 +0000 (19:16 +0000)]
add mktitanimg to create Titan (AR7-based) images (#6632)
SVN-Revision: 21689
Gabor Juhos [Fri, 14 May 2010 09:20:36 +0000 (09:20 +0000)]
firmware-utils/mkzynfw: add support for the NBG460N board
Adding NBG460N/550N/550NH boards to mkzynfw.
Signed-off-by: Michael Kurz <michi.kurz@googlemail.com>
SVN-Revision: 21446
Gabor Juhos [Fri, 14 May 2010 09:20:34 +0000 (09:20 +0000)]
firmware-utils/mkzynfw: don't use next_offset twice (closes #7273)
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
Gabor Juhos [Mon, 26 Apr 2010 18:28:07 +0000 (18:28 +0000)]
tools/firmware-utils: add size check to the mkplanexfw tool
Also pad the image to a 64K boundary.
SVN-Revision: 21174
Nicolas Thill [Mon, 12 Apr 2010 17:08:57 +0000 (17:08 +0000)]
remove 'svn:executable' property
SVN-Revision: 20831
Florian Fainelli [Thu, 1 Apr 2010 21:20:43 +0000 (21:20 +0000)]
flashmap and image generation: reduced union bcm_tag to a single 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.
SVN-Revision: 20652
Florian Fainelli [Sun, 28 Mar 2010 18:11:06 +0000 (18:11 +0000)]
move bcm_tag.h out of the flashmap patch so that user-land tools can re-use it
SVN-Revision: 20548
Gabor Juhos [Sat, 27 Mar 2010 17:38:26 +0000 (17:38 +0000)]
firmware-utils/trx: add relative offset parameter
* will be used for the WRT160NL board
* patch by Bernhard Loos
* note: rejected parts has been fixed
SVN-Revision: 20522
Florian Fainelli [Fri, 26 Mar 2010 10:12:30 +0000 (10:12 +0000)]
revert r18760 since it prevents people from building working eva images
SVN-Revision: 20437
Markus Wigge [Thu, 25 Mar 2010 19:34:49 +0000 (19:34 +0000)]
added support for wrt54g3gv2-vf and new trx header format
- 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
Florian Fainelli [Thu, 18 Mar 2010 23:35:12 +0000 (23:35 +0000)]
fix file creation mode, thanks rtz
SVN-Revision: 20293
Gabor Juhos [Wed, 10 Mar 2010 17:41:50 +0000 (17:41 +0000)]
mktplinkfw: add option to strip padding from the end of the image
SVN-Revision: 20120
Gabor Juhos [Mon, 8 Mar 2010 17:35:07 +0000 (17:35 +0000)]
mktplinkfw: fix help string, and remove duplicated option
SVN-Revision: 20067
Gabor Juhos [Fri, 19 Feb 2010 11:52:30 +0000 (11:52 +0000)]
firmware-utils/mktplinkfw: add board definitions for TL-WR941ND v4
SVN-Revision: 19748
Jo-Philipp Wich [Mon, 1 Feb 2010 01:56:02 +0000 (01:56 +0000)]
firmware-utils: unify cc and cc2 macros, simplifies Makefile
SVN-Revision: 19487
Jo-Philipp Wich [Mon, 1 Feb 2010 01:17:46 +0000 (01:17 +0000)]
firmware-utils: copy bcm_tag.h to src/ and get rid of cc3 macro, fixes imagetag compilation
SVN-Revision: 19485
Gabor Juhos [Tue, 22 Dec 2009 19:31:28 +0000 (19:31 +0000)]
ar71xx: add support for the TL-WR841N v1.5 board
SVN-Revision: 18893
Michael Büsch [Fri, 11 Dec 2009 23:50:51 +0000 (23:50 +0000)]
lzma2eva: Endianness fixes.
SVN-Revision: 18760
Gabor Juhos [Tue, 8 Dec 2009 12:46:30 +0000 (12:46 +0000)]
ar71xx: TL-WR1043ND support cleanup
SVN-Revision: 18697
Gabor Juhos [Tue, 8 Dec 2009 12:46:25 +0000 (12:46 +0000)]
ar71xx: preliminary support for the TL-WR1043ND
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
Gabor Juhos [Sat, 28 Nov 2009 09:28:25 +0000 (09:28 +0000)]
ar71xx: create images for the WNDR3700, which can be flashed via the factory web interface
SVN-Revision: 18571
Gabor Juhos [Sat, 28 Nov 2009 08:25:53 +0000 (08:25 +0000)]
firmware-utils: add WNDR3700 image fixing tool (thanks to Anael Orlinski)
SVN-Revision: 18569
Felix Fietkau [Wed, 18 Nov 2009 18:10:24 +0000 (18:10 +0000)]
mkfwimage: add support for the XM layout (bullet/rocket/nano M)
SVN-Revision: 18448
Gabor Juhos [Fri, 13 Nov 2009 17:11:23 +0000 (17:11 +0000)]
ar71xx: increase max size of RouterStation and RouterStation Pro firmware images
Thanks to riskable! (closes #5860)
SVN-Revision: 18410
Gabor Juhos [Fri, 30 Oct 2009 12:26:25 +0000 (12:26 +0000)]
ar71xx: add preliminary support for the TL-WR841ND v5 board
SVN-Revision: 18226
Felix Fietkau [Mon, 7 Sep 2009 13:55:02 +0000 (13:55 +0000)]
firmware-utils: raise the default trx image size limit for something more appropriate for devices with 8M flash
SVN-Revision: 17537
Florian Fainelli [Sun, 9 Aug 2009 10:19:47 +0000 (10:19 +0000)]
add support for the Pirelli AG226G board (#5337)
SVN-Revision: 17190
Gabor Juhos [Thu, 6 Aug 2009 09:15:05 +0000 (09:15 +0000)]
firmware-utils/addpattern: add support for the WRT160NL
SVN-Revision: 17140
Gabor Juhos [Sun, 12 Jul 2009 08:59:18 +0000 (08:59 +0000)]
firmware-utils: add new tool for the wrt400n (based on a patch by Sandeep Mistry <sandeep.mistry at gmail.com>)
SVN-Revision: 16792
Gabor Juhos [Sat, 11 Jul 2009 17:20:46 +0000 (17:20 +0000)]
increase size of the kernel partition on the TL-WR[789]41N boards
SVN-Revision: 16785
Gabor Juhos [Wed, 8 Jul 2009 08:17:26 +0000 (08:17 +0000)]
firmware-utils/mktplinkfw: add option for combined images
SVN-Revision: 16742
Gabor Juhos [Tue, 7 Jul 2009 19:45:33 +0000 (19:45 +0000)]
firmware-utils/mktplinkfw: add board definitions for TL-WR741ND v1
SVN-Revision: 16740
Florian Fainelli [Wed, 1 Jul 2009 14:58:15 +0000 (14:58 +0000)]
fix segfault when using the maxlen argument (#4359)
SVN-Revision: 16641
Gabor Juhos [Thu, 25 Jun 2009 09:41:06 +0000 (09:41 +0000)]
firmware-utils: add a tool to compute crc value for the 5gxi firmware
SVN-Revision: 16557
Gabor Juhos [Thu, 25 Jun 2009 09:39:30 +0000 (09:39 +0000)]
firmware-utils/mkcsysimg: minor bugfix
SVN-Revision: 16556
Gabor Juhos [Wed, 24 Jun 2009 16:44:30 +0000 (16:44 +0000)]
firmware-utils/mkcsysimg: add signature for the 5GXi board
SVN-Revision: 16551
Gabor Juhos [Wed, 24 Jun 2009 16:35:38 +0000 (16:35 +0000)]
firmware-utils: add a file {en,de}cryption tool, based on the PC1 encryption algrithm
SVN-Revision: 16550
Florian Fainelli [Thu, 18 Jun 2009 15:00:32 +0000 (15:00 +0000)]
add imagetag support for BT Voyager 2500V, patch from Daniel Dickinson (#5364)
SVN-Revision: 16506
Felix Fietkau [Sun, 14 Jun 2009 20:42:28 +0000 (20:42 +0000)]
firmware-utils: add a small utility for generating nand flash images with ecc info
SVN-Revision: 16458
Florian Fainelli [Wed, 10 Jun 2009 08:24:13 +0000 (08:24 +0000)]
The attached patch adds building of firmware images for more routers based on the brcm63xx chipset.
Signed-Off By: Daniel Dickinson <crazycshore@gmail.com>
SVN-Revision: 16396
Florian Fainelli [Tue, 9 Jun 2009 08:04:52 +0000 (08:04 +0000)]
rework imagetag firmware generator and MTD partition parser to accomodate with all known imagetag versions from Broadcom and vendors, patch from Daniel Dickinson (fixes #4987).
SVN-Revision: 16393
Gabor Juhos [Thu, 4 Jun 2009 19:14:46 +0000 (19:14 +0000)]
build firmware image for the MZK-W300NH board
SVN-Revision: 16342
Gabor Juhos [Mon, 25 May 2009 17:18:21 +0000 (17:18 +0000)]
firmware-utils/mkfwimage: add support for RouterStation Pro (patch from Ubiquiti Networks)
SVN-Revision: 16064
Florian Fainelli [Fri, 22 May 2009 07:49:23 +0000 (07:49 +0000)]
fix crc calculation with the new padding (#5143)
SVN-Revision: 15977
Florian Fainelli [Tue, 12 May 2009 13:20:36 +0000 (13:20 +0000)]
fix padding between end of the kernel and beginning of the rootfs in imagetag (#5108)
SVN-Revision: 15801
Gabor Juhos [Mon, 11 May 2009 14:51:56 +0000 (14:51 +0000)]
firmware-utils/mkfwimage2: fix a typo
SVN-Revision: 15770
Jo-Philipp Wich [Tue, 21 Apr 2009 01:16:34 +0000 (01:16 +0000)]
Generate suitable images for the UBNT PicoStation2
SVN-Revision: 15314
Florian Fainelli [Sun, 19 Apr 2009 13:18:48 +0000 (13:18 +0000)]
make images that can be flashed using the stock firmware web interface, thanks to Anselmo Luginbuhl and Daniel Dickinson (#4909, #4943)
SVN-Revision: 15253
Felix Fietkau [Fri, 17 Apr 2009 14:09:46 +0000 (14:09 +0000)]
get rid of $Id$ - it has never helped us and it has broken too many patches ;)
SVN-Revision: 15242
Florian Fainelli [Tue, 7 Apr 2009 15:14:40 +0000 (15:14 +0000)]
revert changeset 15081 seems to break Alice box devices
SVN-Revision: 15140
Florian Fainelli [Thu, 2 Apr 2009 09:57:00 +0000 (09:57 +0000)]
compute rootfs crc32 required for brcm63xx web upgrades
SVN-Revision: 15081
Gabor Juhos [Tue, 24 Mar 2009 16:08:07 +0000 (16:08 +0000)]
firmware-utils/mktplinkfw: add support for the TL-WR841ND v3 board
SVN-Revision: 15023
Rod Whitby [Sun, 22 Mar 2009 11:39:32 +0000 (11:39 +0000)]
tools/firmware-utils: Added encode_crc, for Freecom devices.
SVN-Revision: 14961
Florian Fainelli [Wed, 18 Mar 2009 17:18:25 +0000 (17:18 +0000)]
cleanup imagetag
SVN-Revision: 14941
Florian Fainelli [Tue, 17 Mar 2009 19:05:09 +0000 (19:05 +0000)]
fix a bug which prevented imagetag from correctly initializing the version and magic2, use the broadcom default magics, which allows uploading through web interfaces
SVN-Revision: 14925
Gabor Juhos [Sat, 14 Mar 2009 13:25:49 +0000 (13:25 +0000)]
create firmware image for the Ubiquiti LS-SR71 board
SVN-Revision: 14874
Florian Fainelli [Thu, 12 Mar 2009 08:54:04 +0000 (08:54 +0000)]
add support for AGPF-S0 (Pirelli Alice Gate VoIP 2 Plus Wi-Fi) #4366
SVN-Revision: 14850
Florian Fainelli [Tue, 10 Mar 2009 09:18:47 +0000 (09:18 +0000)]
allow flash start address and firmware offset to be set on the command line (#4666)
SVN-Revision: 14832
Gabor Juhos [Thu, 26 Feb 2009 16:59:15 +0000 (16:59 +0000)]
firmware-utils: add new firmware generation tool for the TP-LINK TL-WR941ND device
SVN-Revision: 14672
Felix Fietkau [Sun, 22 Feb 2009 04:37:20 +0000 (04:37 +0000)]
build system refactoring in preparation for allowing packages to do host-build steps
SVN-Revision: 14610
Gabor Juhos [Wed, 4 Feb 2009 21:09:06 +0000 (21:09 +0000)]
firmware-utils/mkplanexfw: new firmware generation tool for the Planex MZK-W04NU device
SVN-Revision: 14410
Gabor Juhos [Wed, 4 Feb 2009 08:13:58 +0000 (08:13 +0000)]
firmware-utils/mkfwimage: update RouterStation specific values, adn remove some unused code
SVN-Revision: 14404
Gabor Juhos [Tue, 13 Jan 2009 10:18:13 +0000 (10:18 +0000)]
firmware-utils/mkcasfw: fix magic value of the TN-U200 board
SVN-Revision: 14022
Gabor Juhos [Mon, 5 Jan 2009 12:35:51 +0000 (12:35 +0000)]
firmware-utils/mkfwimage: fix root_start values
SVN-Revision: 13874
Gabor Juhos [Sun, 4 Jan 2009 18:42:46 +0000 (18:42 +0000)]
firmware-utils/mkfwimage: fix Ubiquiti firmware generation (closes #4414)
SVN-Revision: 13859
Gabor Juhos [Thu, 18 Dec 2008 13:31:59 +0000 (13:31 +0000)]
firmware-utils/mkfwimage: add RouterStation support (based on a patch by Jonas <jonas at ubnt.com>)
SVN-Revision: 13682
Gabor Juhos [Mon, 17 Nov 2008 07:45:01 +0000 (07:45 +0000)]
firmware_utils/mkmylofw: add support of named partitions
SVN-Revision: 13253
Gabor Juhos [Sun, 16 Nov 2008 07:49:27 +0000 (07:49 +0000)]
firmware_utils/mkmylofw: add definitions for the NP25G and WPE53G boards
SVN-Revision: 13226
Florian Fainelli [Sat, 8 Nov 2008 18:03:09 +0000 (18:03 +0000)]
Fix small typo #4148
SVN-Revision: 13142
Florian Fainelli [Tue, 28 Oct 2008 16:26:42 +0000 (16:26 +0000)]
Add makeamitbin to generate images for other RDC-based devices, thanks sn9 !
SVN-Revision: 13056
Gabor Juhos [Mon, 13 Oct 2008 17:17:19 +0000 (17:17 +0000)]
firmware-utils: new firmware generation tool for the WILIGEAR WBD-111
SVN-Revision: 12975
Felix Fietkau [Tue, 23 Sep 2008 16:12:40 +0000 (16:12 +0000)]
firmware-utils: when using open with O_CREAT and O_WRONLY, also use O_TRUNC to ensure that overwritten files have the right size (fixes #3505)
SVN-Revision: 12667
Gabor Juhos [Mon, 8 Sep 2008 12:39:33 +0000 (12:39 +0000)]
firmware-utils/mkmylofw: WP543 support
SVN-Revision: 12552
Travis Kemen [Mon, 28 Jul 2008 20:48:06 +0000 (20:48 +0000)]
fix mkfwimage to recognize the -s option
SVN-Revision: 11978
Felix Fietkau [Sat, 26 Jul 2008 20:27:03 +0000 (20:27 +0000)]
fix mkfwimage build on mac os x
SVN-Revision: 11947
Travis Kemen [Fri, 25 Jul 2008 03:55:21 +0000 (03:55 +0000)]
Use mkfwimage from athero.openwrt.net with modification for XS2 devices. Add back in ubiquiti image generation.
SVN-Revision: 11920
Imre Kaloz [Fri, 27 Jun 2008 12:18:31 +0000 (12:18 +0000)]
replacement of the add_header utility used by various vendors
SVN-Revision: 11588
Gabor Juhos [Sun, 22 Jun 2008 19:02:42 +0000 (19:02 +0000)]
firmware-utils/mkzynfs: even more improvements
SVN-Revision: 11559
Gabor Juhos [Sun, 22 Jun 2008 05:41:37 +0000 (05:41 +0000)]
firmware-utils: ZyXEL firmware tool improvements
SVN-Revision: 11550
Gabor Juhos [Tue, 17 Jun 2008 15:05:53 +0000 (15:05 +0000)]
firmware-utils/mkcasfw: add model id for Ovislink WL-5420/5460 IP cameras
SVN-Revision: 11527
Felix Fietkau [Sun, 18 May 2008 17:29:51 +0000 (17:29 +0000)]
bcm963xx: add cfe image tagging utility
This replaces the proprietary bcmImageBuilder program from the Broadcom source
drops. It basically adds a 256 bytes header in front of the kernel + rootfs
which contains a few text signatures, the locations of the data as well as the
checksums of the data and the tag. It also adds a 12 bytes header in front of
the LZMA kernel which contains the load address, kernel entry and the size of
the compressed LZMA data.
Signed-off-by: Axel Gembe <ago@bastart.eu.org>
SVN-Revision: 11170
Gabor Juhos [Fri, 9 May 2008 08:19:30 +0000 (08:19 +0000)]
mkzynfw: add definitions for the P-2602HW-D1A
SVN-Revision: 11096
Gabor Juhos [Fri, 9 May 2008 07:53:24 +0000 (07:53 +0000)]
mkzynfw: fix NBG-318S definitions
SVN-Revision: 11095
Travis Kemen [Wed, 7 May 2008 23:47:17 +0000 (23:47 +0000)]
buld images for the Ubiquiti LiteStation and NanoStation ported from atheros.openwrt.net. Tested on a Nanostation 2 with airos 3
SVN-Revision: 11061
Florian Fainelli [Thu, 27 Mar 2008 15:44:14 +0000 (15:44 +0000)]
Create a dummy sit package for 2.4 kernelsq
SVN-Revision: 10668
Florian Fainelli [Wed, 26 Mar 2008 13:34:29 +0000 (13:34 +0000)]
Add definitions for the Zyxel NBG-318S
SVN-Revision: 10662
Matteo Croce [Tue, 11 Mar 2008 00:45:22 +0000 (00:45 +0000)]
Add AG241 code pattern (fixes #1089)
SVN-Revision: 10584
Gabor Juhos [Tue, 29 Jan 2008 08:31:54 +0000 (08:31 +0000)]
firmware-utils: new firmware generation tool for the Cellvision CAS-6xx/NFS-xxx devices
SVN-Revision: 10306
Gabor Juhos [Fri, 25 Jan 2008 19:05:51 +0000 (19:05 +0000)]
firmware-utils/mkzynfw: remove 'svn:executable' property (closes #3082)
SVN-Revision: 10258