Commit Graph

65 Commits

Author SHA1 Message Date
John Crispin
058a5c85ef firmware-utils: made mkdir615h1 work for all Senao-produced devices as mksenaofw and cleaned up some of its formatting
Signed-off-by: Forest Crossman <cyrozap@gmail.com>

SVN-Revision: 41962
2014-08-03 11:13:58 +00:00
Jonas Gorski
b8f5c43748 firmware-utils: add new tool for fixing headers on ZyXEL devices (brcm63xx)
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 41849
2014-07-27 17:44:51 +00:00
John Crispin
575127fe1c lantiq: DGN3500 (all known variants) factory and sysupgrade image building support
This patch adds factory image building for the DGN3500, all variants,
and fixes sysupgrade images to make them play nice with the sercomm
secondary boot loader.

The factory images can be used directly in the update dialog in the
interface of the stock firmware and via the special Sercomm bootmode
and a special windows flashing utility (allegedly present in the CD
that came with the device -- but it's also compatible with the NSLU2
Upgrade_207_XP utility.) The special bootmode can be activated by
turning the device on while holding the reset button pressed, then
releasing it when the power led starts blinking red and green. Please
notice that if using the 207 utility, it will always report that the
flashing failed even though it completed successfully. Just power
cycle the router manually after the utility reports the failure and
OpenWRT will boot. This same utility (despite reporting failure in
this case too) can revert a DGN3500 (any variant) to the appropriate
stock Netgear firmware.

This patch is a heavily modified version of a package I found on the
OpenWRT forum with a couple fixes and features added -- mainly the
generation of all the different image variants to support all known
models directly, atm known variants are AnnexA-WW, AnnexA-NA and
AnnexB-DE/GR.

I tested the patch successfully on my device.

Signed-off-by: Marco Antonio Mauro <marcus90@gmail.com>

SVN-Revision: 41236
2014-06-17 15:38:54 +00:00
John Crispin
dc5fe5f73f ramips: RT-N56U support fixes and factory image creation
Signed-off-by: Mikko Hissa <mikko.hissa@werzek.com>

SVN-Revision: 41224
2014-06-16 18:57:20 +00:00
John Crispin
3208d0d7b7 firmware-utils: add Gemtek header tool
Generates webflash-compatible images for a few RT2880 routers based
on Gemtek OEM boards.

Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 40551
2014-04-22 08:08:39 +00:00
John Crispin
9821ce8ed6 ralink: don't build mkhilinkfw untilt he ssl header dependency is resolved
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39248
2014-01-12 17:26:24 +00:00
John Crispin
2b4a04089f firmware-utils: add HLK-RM04 tool
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39238
2014-01-12 12:07:46 +00:00
Gabor Juhos
d9c9633d19 firmware-utils: remove the wndr3700 utility
It is not used anymore.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38663
2013-11-06 10:16:40 +00:00
John Crispin
fa4ca9d7eb tools: add tool to generate dcs93xl images
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38317
2013-10-07 15:01:05 +00:00
John Crispin
15721d535b firmware-utils: add a tool TP-Link v2 image generation
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37726
2013-08-06 16:25:35 +00:00
John Crispin
aaedf6c8c6 ramips: add basics for Poray devices
This commit adds the basic elements to support Poray brand routers.
It contains a tool to do the encryption/obfuscation that is used in
Poray routers.

Support for Poray devices was worked on by:

Felix Kaechele <heffer@fedoraproject.org>
Luis Soltero <lsoltero@globalmarinenet.com>
Michel Stempin <michel.stempin@wanadoo.fr>

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 37635
2013-08-01 14:30:46 +00:00
Florian Fainelli
b5b3e94132 tools: add Broadcom cable modem firmware image creator
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36873
2013-06-06 22:21:52 +00:00
Gabor Juhos
86b788b1b4 firmware-utils: new tool for fixing U-Media firmware headers
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33848
2012-10-18 07:23:09 +00:00
Gabor Juhos
25250a22ef tools/firmware-utils: add seama tool
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33840
2012-10-18 07:22:57 +00:00
Gabor Juhos
872e798473 tools/firmware-utils: add a new tool for TEW-712BR firmware generation
SVN-Revision: 33233
2012-08-22 20:15:34 +00:00
Gabor Juhos
25ac1447ed tools/firmware-utils: add tool for DIR-651-H1 firmware generation
Signed-off-by: Mikko Hissa <mikko.hissa@uta.fi>

SVN-Revision: 33204
2012-08-17 17:56:02 +00:00
Jo-Philipp Wich
cf1698c637 use HOST_STATIC_LINKING instead of hardcoding -static
SVN-Revision: 33140
2012-08-12 12:34:30 +00:00
Jo-Philipp Wich
e2e55d7acd firmware-utils: link statically
SVN-Revision: 33117
2012-08-10 19:27:08 +00:00
John Crispin
fb81e7a802 adds mkdapimg
Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp>

SVN-Revision: 32822
2012-07-24 20:38:49 +00:00
John Crispin
cd1a204365 Support booting the Speedport W502V using BRN-BOOT.
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
2012-02-14 17:48:04 +00:00
John Crispin
ccb6b0a063 tools: clean up Makefiles / make ccache work
SVN-Revision: 29754
2012-01-15 11:43:13 +00:00
Vasilis Tsiligiannis
aadbbc4bac Add firmware tool for generating factory images for Edimax devices
SVN-Revision: 28688
2011-10-30 22:57:41 +00:00
Gabor Juhos
9d980dc121 tools/firmware-utils: add yet another buffalo tool
SVN-Revision: 27475
2011-07-06 08:04:53 +00:00
Gabor Juhos
1c5b7d0a32 tools/firmware-utils: add new firmware tool for the DIR-300-B1 board
SVN-Revision: 27438
2011-07-04 06:48:42 +00:00
Gabor Juhos
fb9a672c78 tools/firmware-utils: add buffalo specific fw tools
SVN-Revision: 27050
2011-05-31 22:53:21 +00:00
Florian Fainelli
dce13b8c4d bcm63xx: Add firmware helpers for T-Home Speedport W 303V
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
2011-05-11 13:34:05 +00:00
Hauke Mehrtens
41b3383499 brcm47xx: Add edimax PS1208mfg support
Thank you clemvangelis for the patches. (closes #7672)

SVN-Revision: 24217
2010-12-02 21:27:54 +00:00
Daniel Dickinson
eadb5c84fa imagetag: Significantly updated brcm63xx imagetag writing tool. * Rewrote 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
2010-11-16 06:46:53 +00:00
Gabor Juhos
7bf8159991 tools/firmware-utils: new tool for the Zcomax devices
SVN-Revision: 22883
2010-09-03 18:14:40 +00:00
Hauke Mehrtens
7640f89045 brcm47xx: Add new image generation and fix leds/reset button on WNR834B V2
Thank you realopty for the patch.
tools/firmware-utils/src/mkchkimg.c is from http://www.myopenrouter.com/download/10611/mkchkimg/

This closes #7702.

SVN-Revision: 22516
2010-08-06 20:21:32 +00:00
Florian Fainelli
39fa664f99 Revert r21806 there are no users of it yet
SVN-Revision: 21808
2010-06-14 21:49:03 +00:00
Florian Fainelli
3a332f39de add hcsmakeimage, for cable modems/routers based on bcm33xx
SVN-Revision: 21806
2010-06-14 21:47:21 +00:00
Florian Fainelli
04a4638910 add mktitanimg to create Titan (AR7-based) images (#6632)
SVN-Revision: 21689
2010-06-06 19:16:43 +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
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
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
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
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
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
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
Rod Whitby
34ad500e2c tools/firmware-utils: Added encode_crc, for Freecom devices.
SVN-Revision: 14961
2009-03-22 11:39:32 +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
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
Imre Kaloz
7e159bbc61 replacement of the add_header utility used by various vendors
SVN-Revision: 11588
2008-06-27 12:18:31 +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