Commit Graph

228 Commits (496d3e1149eaa05b4d29cdb5203be08332ca76fc)

Author SHA1 Message Date
Florian Fainelli dad85cddac move bcm_tag.h out of the flashmap patch so that user-land tools can re-use it
SVN-Revision: 20548
2010-03-28 18:11:06 +00:00
Gabor Juhos 585198518e 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
2010-03-27 17:38:26 +00:00
Florian Fainelli 5d2105af23 revert r18760 since it prevents people from building working eva images
SVN-Revision: 20437
2010-03-26 10:12:30 +00:00
Markus Wigge d9a698e77c 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
2010-03-25 19:34:49 +00:00
Florian Fainelli 66dc3ee0c9 fix file creation mode, thanks rtz
SVN-Revision: 20293
2010-03-18 23:35:12 +00:00
Gabor Juhos c07fdecea8 mktplinkfw: add option to strip padding from the end of the image
SVN-Revision: 20120
2010-03-10 17:41:50 +00:00
Gabor Juhos 4ccab48a6b mktplinkfw: fix help string, and remove duplicated option
SVN-Revision: 20067
2010-03-08 17:35:07 +00:00
Gabor Juhos 7fd1228672 firmware-utils/mktplinkfw: add board definitions for TL-WR941ND v4
SVN-Revision: 19748
2010-02-19 11:52:30 +00:00
Jo-Philipp Wich 14f6a53b6d firmware-utils: unify cc and cc2 macros, simplifies Makefile
SVN-Revision: 19487
2010-02-01 01:56:02 +00:00
Jo-Philipp Wich e0933ce6e6 firmware-utils: copy bcm_tag.h to src/ and get rid of cc3 macro, fixes imagetag compilation
SVN-Revision: 19485
2010-02-01 01:17:46 +00:00
Gabor Juhos cace9f4566 ar71xx: add support for the TL-WR841N v1.5 board
SVN-Revision: 18893
2009-12-22 19:31:28 +00:00
Michael Büsch d0ca6b9080 lzma2eva: Endianness fixes.
SVN-Revision: 18760
2009-12-11 23:50:51 +00:00
Gabor Juhos 7d8a1bf239 ar71xx: TL-WR1043ND support cleanup
SVN-Revision: 18697
2009-12-08 12:46:30 +00:00
Gabor Juhos b12d752a63 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
2009-12-08 12:46:25 +00:00
Gabor Juhos 6d2fa1c896 ar71xx: create images for the WNDR3700, which can be flashed via the factory web interface
SVN-Revision: 18571
2009-11-28 09:28:25 +00:00
Gabor Juhos 09b5ed9641 firmware-utils: add WNDR3700 image fixing tool (thanks to Anael Orlinski)
SVN-Revision: 18569
2009-11-28 08:25:53 +00:00
Felix Fietkau e999c93128 mkfwimage: add support for the XM layout (bullet/rocket/nano M)
SVN-Revision: 18448
2009-11-18 18:10:24 +00:00
Gabor Juhos e6a40cac9a ar71xx: increase max size of RouterStation and RouterStation Pro firmware images
Thanks to riskable! (closes #5860)

SVN-Revision: 18410
2009-11-13 17:11:23 +00:00
Gabor Juhos 7849923473 ar71xx: add preliminary support for the TL-WR841ND v5 board
SVN-Revision: 18226
2009-10-30 12:26:25 +00:00
Felix Fietkau f32f0814b1 firmware-utils: raise the default trx image size limit for something more appropriate for devices with 8M flash
SVN-Revision: 17537
2009-09-07 13:55:02 +00:00
Florian Fainelli 85698765da add support for the Pirelli AG226G board (#5337)
SVN-Revision: 17190
2009-08-09 10:19:47 +00:00
Gabor Juhos 59c1e90fd7 firmware-utils/addpattern: add support for the WRT160NL
SVN-Revision: 17140
2009-08-06 09:15:05 +00:00
Gabor Juhos 86d7900724 firmware-utils: add new tool for the wrt400n (based on a patch by Sandeep Mistry <sandeep.mistry at gmail.com>)
SVN-Revision: 16792
2009-07-12 08:59:18 +00:00
Gabor Juhos a21bf40453 increase size of the kernel partition on the TL-WR[789]41N boards
SVN-Revision: 16785
2009-07-11 17:20:46 +00:00
Gabor Juhos db71f38ed6 firmware-utils/mktplinkfw: add option for combined images
SVN-Revision: 16742
2009-07-08 08:17:26 +00:00
Gabor Juhos 4be401d44b firmware-utils/mktplinkfw: add board definitions for TL-WR741ND v1
SVN-Revision: 16740
2009-07-07 19:45:33 +00:00
Florian Fainelli 9e94806990 fix segfault when using the maxlen argument (#4359)
SVN-Revision: 16641
2009-07-01 14:58:15 +00:00
Gabor Juhos c79ee4222e firmware-utils: add a tool to compute crc value for the 5gxi firmware
SVN-Revision: 16557
2009-06-25 09:41:06 +00:00
Gabor Juhos d14e512f00 firmware-utils/mkcsysimg: minor bugfix
SVN-Revision: 16556
2009-06-25 09:39:30 +00:00
Gabor Juhos 19afadf0b2 firmware-utils/mkcsysimg: add signature for the 5GXi board
SVN-Revision: 16551
2009-06-24 16:44:30 +00:00
Gabor Juhos c1a4eef483 firmware-utils: add a file {en,de}cryption tool, based on the PC1 encryption algrithm
SVN-Revision: 16550
2009-06-24 16:35:38 +00:00
Florian Fainelli 1795111337 add imagetag support for BT Voyager 2500V, patch from Daniel Dickinson (#5364)
SVN-Revision: 16506
2009-06-18 15:00:32 +00:00
Felix Fietkau a6d8f8be9e firmware-utils: add a small utility for generating nand flash images with ecc info
SVN-Revision: 16458
2009-06-14 20:42:28 +00:00
Florian Fainelli ca16accfbb 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
2009-06-10 08:24:13 +00:00
Florian Fainelli 01118457e8 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
2009-06-09 08:04:52 +00:00
Gabor Juhos c8bf295481 build firmware image for the MZK-W300NH board
SVN-Revision: 16342
2009-06-04 19:14:46 +00:00
Gabor Juhos 9221732114 firmware-utils/mkfwimage: add support for RouterStation Pro (patch from Ubiquiti Networks)
SVN-Revision: 16064
2009-05-25 17:18:21 +00:00
Florian Fainelli ac7e89329b fix crc calculation with the new padding (#5143)
SVN-Revision: 15977
2009-05-22 07:49:23 +00:00
Florian Fainelli e5a836693e fix padding between end of the kernel and beginning of the rootfs in imagetag (#5108)
SVN-Revision: 15801
2009-05-12 13:20:36 +00:00
Gabor Juhos 35d1918758 firmware-utils/mkfwimage2: fix a typo
SVN-Revision: 15770
2009-05-11 14:51:56 +00:00
Jo-Philipp Wich 70bf92d03c Generate suitable images for the UBNT PicoStation2
SVN-Revision: 15314
2009-04-21 01:16:34 +00:00
Florian Fainelli 1f334e3caa make images that can be flashed using the stock firmware web interface, thanks to Anselmo Luginbuhl and Daniel Dickinson (#4909, #4943)
SVN-Revision: 15253
2009-04-19 13:18:48 +00:00
Felix Fietkau 34939cad39 get rid of $Id$ - it has never helped us and it has broken too many patches ;)
SVN-Revision: 15242
2009-04-17 14:09:46 +00:00
Florian Fainelli 47387c945a revert changeset 15081 seems to break Alice box devices
SVN-Revision: 15140
2009-04-07 15:14:40 +00:00
Florian Fainelli 11a791a318 compute rootfs crc32 required for brcm63xx web upgrades
SVN-Revision: 15081
2009-04-02 09:57:00 +00:00
Gabor Juhos 406ce1ae5d firmware-utils/mktplinkfw: add support for the TL-WR841ND v3 board
SVN-Revision: 15023
2009-03-24 16:08:07 +00:00
Rod Whitby 34ad500e2c tools/firmware-utils: Added encode_crc, for Freecom devices.
SVN-Revision: 14961
2009-03-22 11:39:32 +00:00
Florian Fainelli ddfb6e1637 cleanup imagetag
SVN-Revision: 14941
2009-03-18 17:18:25 +00:00
Florian Fainelli 1c9c725184 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
2009-03-17 19:05:09 +00:00
Gabor Juhos b4644aedce create firmware image for the Ubiquiti LS-SR71 board
SVN-Revision: 14874
2009-03-14 13:25:49 +00:00
Florian Fainelli 6495fa36ea add support for AGPF-S0 (Pirelli Alice Gate VoIP 2 Plus Wi-Fi) #4366
SVN-Revision: 14850
2009-03-12 08:54:04 +00:00
Florian Fainelli 0e3c23cdb2 allow flash start address and firmware offset to be set on the command line (#4666)
SVN-Revision: 14832
2009-03-10 09:18:47 +00:00
Gabor Juhos 4a518ddf1c firmware-utils: add new firmware generation tool for the TP-LINK TL-WR941ND device
SVN-Revision: 14672
2009-02-26 16:59:15 +00:00
Felix Fietkau 7eb1589875 build system refactoring in preparation for allowing packages to do host-build steps
SVN-Revision: 14610
2009-02-22 04:37:20 +00:00
Gabor Juhos 03f3002a17 firmware-utils/mkplanexfw: new firmware generation tool for the Planex MZK-W04NU device
SVN-Revision: 14410
2009-02-04 21:09:06 +00:00
Gabor Juhos 7fcc18ee99 firmware-utils/mkfwimage: update RouterStation specific values, adn remove some unused code
SVN-Revision: 14404
2009-02-04 08:13:58 +00:00
Gabor Juhos 955c501e9a firmware-utils/mkcasfw: fix magic value of the TN-U200 board
SVN-Revision: 14022
2009-01-13 10:18:13 +00:00
Gabor Juhos 50c19eee3f firmware-utils/mkfwimage: fix root_start values
SVN-Revision: 13874
2009-01-05 12:35:51 +00:00
Gabor Juhos 54b85f55d9 firmware-utils/mkfwimage: fix Ubiquiti firmware generation (closes #4414)
SVN-Revision: 13859
2009-01-04 18:42:46 +00:00
Gabor Juhos 124f0b003a firmware-utils/mkfwimage: add RouterStation support (based on a patch by Jonas <jonas at ubnt.com>)
SVN-Revision: 13682
2008-12-18 13:31:59 +00:00
Gabor Juhos 0b699a76d8 firmware_utils/mkmylofw: add support of named partitions
SVN-Revision: 13253
2008-11-17 07:45:01 +00:00
Gabor Juhos fcd2fe58ea firmware_utils/mkmylofw: add definitions for the NP25G and WPE53G boards
SVN-Revision: 13226
2008-11-16 07:49:27 +00:00
Florian Fainelli bccf525528 Fix small typo #4148
SVN-Revision: 13142
2008-11-08 18:03:09 +00:00
Florian Fainelli 15c130c762 Add makeamitbin to generate images for other RDC-based devices, thanks sn9 !
SVN-Revision: 13056
2008-10-28 16:26:42 +00:00
Gabor Juhos a1f36eaa94 firmware-utils: new firmware generation tool for the WILIGEAR WBD-111
SVN-Revision: 12975
2008-10-13 17:17:19 +00:00
Felix Fietkau 216c6cd8a9 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
2008-09-23 16:12:40 +00:00
Gabor Juhos 90904e3704 firmware-utils/mkmylofw: WP543 support
SVN-Revision: 12552
2008-09-08 12:39:33 +00:00
Travis Kemen 1de0fb9f02 fix mkfwimage to recognize the -s option
SVN-Revision: 11978
2008-07-28 20:48:06 +00:00
Felix Fietkau c385ca9c81 fix mkfwimage build on mac os x
SVN-Revision: 11947
2008-07-26 20:27:03 +00:00
Travis Kemen 14622d5a08 Use mkfwimage from athero.openwrt.net with modification for XS2 devices. Add back in ubiquiti image generation.
SVN-Revision: 11920
2008-07-25 03:55:21 +00:00
Imre Kaloz 7e159bbc61 replacement of the add_header utility used by various vendors
SVN-Revision: 11588
2008-06-27 12:18:31 +00:00
Gabor Juhos 6e1a9a2134 firmware-utils/mkzynfs: even more improvements
SVN-Revision: 11559
2008-06-22 19:02:42 +00:00
Gabor Juhos cd1be4c352 firmware-utils: ZyXEL firmware tool improvements
SVN-Revision: 11550
2008-06-22 05:41:37 +00:00
Gabor Juhos 47dd530414 firmware-utils/mkcasfw: add model id for Ovislink WL-5420/5460 IP cameras
SVN-Revision: 11527
2008-06-17 15:05:53 +00:00
Felix Fietkau 301ee97229 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
2008-05-18 17:29:51 +00:00
Gabor Juhos 9b3eedabdb mkzynfw: add definitions for the P-2602HW-D1A
SVN-Revision: 11096
2008-05-09 08:19:30 +00:00
Gabor Juhos f8b94cdc30 mkzynfw: fix NBG-318S definitions
SVN-Revision: 11095
2008-05-09 07:53:24 +00:00
Travis Kemen 3612b1e7c0 buld images for the Ubiquiti LiteStation and NanoStation ported from http://atheros.openwrt.net. Tested on a Nanostation 2 with airos 3
SVN-Revision: 11061
2008-05-07 23:47:17 +00:00
Florian Fainelli e9c19c7de9 Create a dummy sit package for 2.4 kernelsq
SVN-Revision: 10668
2008-03-27 15:44:14 +00:00
Florian Fainelli b2387fc537 Add definitions for the Zyxel NBG-318S
SVN-Revision: 10662
2008-03-26 13:34:29 +00:00
Matteo Croce 001f82bf2c Add AG241 code pattern (fixes #1089)
SVN-Revision: 10584
2008-03-11 00:45:22 +00:00
Gabor Juhos 4ee4c6f3f5 firmware-utils: new firmware generation tool for the Cellvision CAS-6xx/NFS-xxx devices
SVN-Revision: 10306
2008-01-29 08:31:54 +00:00
Gabor Juhos 76eef0ab42 firmware-utils/mkzynfw: remove 'svn:executable' property (closes #3082)
SVN-Revision: 10258
2008-01-25 19:05:51 +00:00
Gabor Juhos b63a7d1242 firmware-utils/mkzynfw: add preliminary support for OEM boards
SVN-Revision: 10243
2008-01-25 08:19:31 +00:00
Gabor Juhos 1ceb95ed59 firmware-utils:fix a bug in mkzynfw, thanks to <theosch at gmx.de> (closes #3003)
SVN-Revision: 10218
2008-01-17 14:46:10 +00:00
Florian Fainelli 80475bb573 Add support for Conceptronic C54BSR4
SVN-Revision: 10002
2007-12-28 17:48:39 +00:00
Felix Fietkau 93575b53a7 Use $(CP) instead of $(INSTALL_BIN) for binaries.
Signed-off-by: Andy Boyett <agb-openwrt@padded-cell.net>

SVN-Revision: 9694
2007-12-09 18:53:06 +00:00
Gabor Juhos 9cb4694eb9 fix some definitions in the ZyXEL tool
SVN-Revision: 9493
2007-11-03 17:00:57 +00:00
Gabor Juhos 7beed53403 image generation fixes (closes: #2643, #2644) * rewrite mkcsysimg to use an align parameter instead of a fixed size * Edimax images contains the jffs2 end-of-filesystem marker at the right position from now on
SVN-Revision: 9490
2007-11-03 14:53:24 +00:00
Felix Fietkau 2df957c7a6 add updated motorola-bin.c file from #2483 (by D. Hugh Redelmeier)
SVN-Revision: 9434
2007-10-24 18:06:24 +00:00
Eugene Konev 6bf1f9a467 ar7: add eva image generation (thanks Axel Gembe)
SVN-Revision: 9401
2007-10-22 14:20:02 +00:00
Gabor Juhos 36a1feebdd add ids for Edimax BR-6104Wg boards
SVN-Revision: 9342
2007-10-18 07:40:01 +00:00
Florian Fainelli 1585d61338 Add the ralink signature, will use it later
SVN-Revision: 8702
2007-09-09 10:34:53 +00:00
Gabor Juhos 4f4a3e5e40 I have new e-mail address. Thanks to Kaloz ;)
SVN-Revision: 8538
2007-08-29 17:27:11 +00:00
Felix Fietkau c6bc77ea36 build system cleanup/restructuring as described in http://lists.openwrt.org/pipermail/openwrt-devel/2007-August/001159.html
SVN-Revision: 8362
2007-08-07 00:04:25 +00:00
Gabor Juhos 570cecff14 remove case sensitivity from the board name checking
SVN-Revision: 8352
2007-08-06 17:38:40 +00:00
Florian Fainelli 6dcd8081a3 Fix the jffs2 images with rdc devices (thanks to Daniel Gimpelevich)
SVN-Revision: 8329
2007-08-03 08:06:06 +00:00
Gabor Juhos d1f4e5ba7f add firmware generation tool for ZyXEL boards
SVN-Revision: 8318
2007-08-02 19:05:28 +00:00
Hamish Guthrie e970f61273 Remove a debug statement from trx.c, add config changes for at91
SVN-Revision: 7491
2007-06-04 17:39:38 +00:00
Hamish Guthrie fe57573343 Fixed trx - variable append used uninitialised. If -A option was not used, the first offset was not written to the .trx file.
SVN-Revision: 7400
2007-05-30 10:49:46 +00:00
Florian Fainelli fdd36119e9 mkcsysimg cleanups
SVN-Revision: 7392
2007-05-30 10:05:27 +00:00
Felix Fietkau b71b54bb25 fix x86 boot filesystem allocation (#1736)
SVN-Revision: 7312
2007-05-23 18:15:11 +00:00
Felix Fietkau 63300d3d91 Fix broadcom squashfs images:
We switched over to appending the jffs2 eof mark to the squashfs images,
but since the squashfs is not always aligned to eraseblocksize, the eof
mark landed in the wrong place. This commit adds an extra flag to the
trx utility that can append extra data to a partition with alignment.
This is used to place the jffs2 eof mark at the right offset.

SVN-Revision: 7253
2007-05-15 18:41:48 +00:00
Florian Fainelli edeee75f53 Fix 32/64bits issues with airlink image generator
SVN-Revision: 7189
2007-05-11 18:22:22 +00:00
Mike Baker 324c12d220 host-build.mk used incorrectly
SVN-Revision: 7156
2007-05-10 07:02:04 +00:00
Florian Fainelli d7960b2e50 Fix airlink image generation tool
SVN-Revision: 6913
2007-04-09 08:30:06 +00:00
Florian Fainelli 46161bff7d mkcsysimg typos
SVN-Revision: 6853
2007-04-03 19:55:10 +00:00
Florian Fainelli c2d893e891 Remove useless mksyshdr utility, replaced by mkcsysimg, Edimax images are no longer broken, and have been tested
SVN-Revision: 6847
2007-04-03 09:50:17 +00:00
Florian Fainelli 305d012ea6 Add ADM5120 based edimax image generation utilities
SVN-Revision: 6840
2007-04-02 17:10:48 +00:00
Florian Fainelli bf04aa9f69 Make airlink.c more endianness robus (sn9)
SVN-Revision: 6834
2007-04-02 16:05:40 +00:00
Florian Fainelli aef8f80a3a Fix image generation (sn9)
SVN-Revision: 6781
2007-04-01 11:08:26 +00:00
Florian Fainelli ce510473d5 Fix a typo
SVN-Revision: 6771
2007-03-31 09:09:02 +00:00
Florian Fainelli 5720195886 fix crc32 and endianness, thanks sn9
SVN-Revision: 6769
2007-03-31 08:59:51 +00:00
Florian Fainelli 263d62cf19 airlink generation fix, thanks st9_
SVN-Revision: 6764
2007-03-30 21:51:48 +00:00
Florian Fainelli 56d10f7c3c Fix mkmylofw write_out_padding routine
SVN-Revision: 6758
2007-03-29 22:20:21 +00:00
Florian Fainelli 6c9b120593 Add definitions to myloader thanks Gabor Juhos
SVN-Revision: 6710
2007-03-26 07:31:28 +00:00
Florian Fainelli 7b564bfdcb Fix potential unligned access with MyLoader based devices, thanks Juhos
SVN-Revision: 6659
2007-03-24 10:22:53 +00:00
Florian Fainelli eaf0c708f2 Make mksyshdr safe for 64bits platforms (#1504)
SVN-Revision: 6646
2007-03-23 12:50:43 +00:00
Florian Fainelli 4bb721a186 Add firmware generation for other Compex boards based on myloader, thanks to Juhos Gabor !
SVN-Revision: 6640
2007-03-22 21:36:15 +00:00
Florian Fainelli 5e7833d044 Add image generation for edimax routers
SVN-Revision: 6627
2007-03-21 15:04:07 +00:00
Florian Fainelli 2b9f949403 Fix a warning
SVN-Revision: 6602
2007-03-18 13:06:33 +00:00
Eugene Konev 3dbd8ff32f Add srec2bin to firmware-utils
SVN-Revision: 6599
2007-03-18 09:33:39 +00:00
Felix Fietkau 41ac34a2a2 make ptgen print the end offset of the last partition as well
SVN-Revision: 6358
2007-02-25 17:58:54 +00:00
Felix Fietkau aa22253602 fix cylinder rounding in ptgen
SVN-Revision: 6352
2007-02-24 20:20:57 +00:00
Felix Fietkau f9f5874de3 fix compile error (pointed out by nonsequitor)
SVN-Revision: 5772
2006-12-12 16:57:16 +00:00
Florian Fainelli 71b50f88fa Add airlink firmware generation tool, thanks to Vassily Galinsky for that !
SVN-Revision: 5760
2006-12-11 17:49:05 +00:00
Felix Fietkau cf52f51b85 remove custom partition table hack, add ptgen utility for generating partition tables
SVN-Revision: 5704
2006-12-07 00:26:26 +00:00
Felix Fietkau ebdcc6d40c move target/utils to tools/firmware-utils
SVN-Revision: 5702
2006-12-06 23:41:38 +00:00