openwrt/tools/firmware-utils/src
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
..
add_header.c 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) 2008-09-23 16:12:40 +00:00
addpattern.c tools: adapt addpattern for WD's Range Extender 2013-11-07 22:31:48 +00:00
airlink.c fix file creation mode, thanks rtz 2010-03-18 23:35:12 +00:00
bcm_tag.h firmware-utils: move bcm_tag.h here 2012-10-08 09:59:50 +00:00
bcmalgo.c tools: add Broadcom cable modem firmware image creator 2013-06-06 22:21:52 +00:00
bcmalgo.h tools: add Broadcom cable modem firmware image creator 2013-06-06 22:21:52 +00:00
buffalo-enc.c tools/firmware-utils: fix buffalo csum calculation 2011-06-13 08:12:41 +00:00
buffalo-lib.c firmware-utils: check_magic() in buffalo-lib.c always return 0 2013-12-27 21:15:31 +00:00
buffalo-lib.h tools/firmware-utils: allow to create buffalo image from two files 2011-07-06 08:04:50 +00:00
buffalo-tag.c tools/firmware-utils: allow to create buffalo image from two files 2011-07-06 08:04:50 +00:00
buffalo-tftp.c tools/firmware-utils: add yet another buffalo tool 2011-07-06 08:04:53 +00:00
csysimg.h adds support for Edimax BR-6524N 2013-01-06 11:11:30 +00:00
cyg_crc16.c firmware-utils: add new tool for the wrt400n (based on a patch by Sandeep Mistry <sandeep.mistry at gmail.com>) 2009-07-12 08:59:18 +00:00
cyg_crc32.c firmware-utils: add new tool for the wrt400n (based on a patch by Sandeep Mistry <sandeep.mistry at gmail.com>) 2009-07-12 08:59:18 +00:00
cyg_crc.h firmware-utils: add new tool for the wrt400n (based on a patch by Sandeep Mistry <sandeep.mistry at gmail.com>) 2009-07-12 08:59:18 +00:00
dgfirmware.c move target/utils to tools/firmware-utils 2006-12-06 23:41:38 +00:00
dgn3500sum.c lantiq: DGN3500 (all known variants) factory and sysupgrade image building support 2014-06-17 15:38:54 +00:00
encode_crc.c remove 'svn:executable' property 2010-04-12 17:08:57 +00:00
fix-u-media-header.c firmware-utils: new tool for fixing U-Media firmware headers 2012-10-18 07:23:09 +00:00
fw.h buld images for the Ubiquiti LiteStation and NanoStation ported from http://atheros.openwrt.net. Tested on a Nanostation 2 with airos 3 2008-05-07 23:47:17 +00:00
hcsmakeimage.c tools: add Broadcom cable modem firmware image creator 2013-06-06 22:21:52 +00:00
imagetag_cmdline.c tools: imagetag: add parameter for padding images 2012-05-27 13:22:19 +00:00
imagetag_cmdline.h tools: imagetag: add parameter for padding images 2012-05-27 13:22:19 +00:00
imagetag.c tools: imagetag: add parameter for padding images 2012-05-27 13:22:19 +00:00
imagetag.ggo tools: imagetag: add parameter for padding images 2012-05-27 13:22:19 +00:00
lzma2eva.c revert r18760 since it prevents people from building working eva images 2010-03-26 10:12:30 +00:00
makeamitbin.c Add makeamitbin to generate images for other RDC-based devices, thanks sn9 ! 2008-10-28 16:26:42 +00:00
md5.c firmware-utils: add new firmware generation tool for the TP-LINK TL-WR941ND device 2009-02-26 16:59:15 +00:00
md5.h firmware-utils: add new firmware generation tool for the TP-LINK TL-WR941ND device 2009-02-26 16:59:15 +00:00
mkbrncmdline.c Support booting the Speedport W502V using BRN-BOOT. 2012-02-14 17:48:04 +00:00
mkbrnimg.c Support booting the Speedport W502V using BRN-BOOT. 2012-02-14 17:48:04 +00:00
mkcameofw.c firmware-utils/mkcameofw: allow to use combined kernel image 2013-05-08 17:11:08 +00:00
mkcasfw.c get rid of $Id$ - it has never helped us and it has broken too many patches ;) 2009-04-17 14:09:46 +00:00
mkchkimg.c brcm47xx: Add new image generation and fix leds/reset button on WNR834B V2 2010-08-06 20:21:32 +00:00
mkcsysimg.c adds support for Edimax BR-6524N 2013-01-06 11:11:30 +00:00
mkdapimg.c Add Netgear WNCE2001 (OF version) 2013-04-09 14:19:33 +00:00
mkdcs932.c tools: add tool to generate dcs93xl images 2013-10-07 15:01:05 +00:00
mkdir615h1.c tools/firmware-utils: add tool for DIR-651-H1 firmware generation 2012-08-17 17:56:02 +00:00
mkdniimg.c tools/firmware-utils: add support for hd_id tag into mkdniimg 2011-05-31 22:53:24 +00:00
mkedimaximg.c Add firmware tool for generating factory images for Edimax devices 2011-10-30 22:57:41 +00:00
mkfwimage2.c firmware-utils/mkfwimage2: allow to use numbers in partition names 2012-12-17 12:28:15 +00:00
mkfwimage.c mkfwimage: Increase RSPRO maximum size to 0xF00000 (15 MiB) 2013-10-20 15:59:08 +00:00
mkheader_gemtek.c firmware-utils: add Gemtek header tool 2014-04-22 08:08:39 +00:00
mkhilinkfw.c firmware-utils: mkhilinkfw breaks the build bots 2014-01-12 14:03:05 +00:00
mkmylofw.c firmware-utils/mkmylofw: add WPE72 support 2012-01-26 17:01:43 +00:00
mkplanexfw.c tools/firmware-utils: add size check to the mkplanexfw tool 2010-04-26 18:28:07 +00:00
mkporayfw.c ramips: add basics for Poray devices 2013-08-01 14:30:46 +00:00
mkrtn56uimg.c ramips: RT-N56U support fixes and factory image creation 2014-06-16 18:57:20 +00:00
mktitanimg.c fix mktitanimg segfault on 64-bits hosts (#7443) 2010-06-12 18:10:01 +00:00
mktitanimg.h add mktitanimg to create Titan (AR7-based) images (#6632) 2010-06-06 19:16:43 +00:00
mktplinkfw2.c firmware-utils: add a tool TP-Link v2 image generation 2013-08-06 16:25:35 +00:00
mktplinkfw.c firmware-utils/mktplinkfw: add support for TL-WDR4300v1 (IL) 2014-03-27 06:36:58 +00:00
mkwrgimg.c firmware-utils: rename the devname variable in mkwrgimg to avoid a clash with a BSD stdlib function 2011-07-08 05:20:24 +00:00
mkzcfw.c Zcomax device firmware tool endianness fix 2010-09-04 05:40:56 +00:00
mkzynfw.c firmware-utils/mkzynfw: fix available flash space calculation 2010-12-17 20:34:31 +00:00
motorola-bin.c get rid of $Id$ - it has never helped us and it has broken too many patches ;) 2009-04-17 14:09:46 +00:00
myloader.h firmware-utils/mkmylofw: add WPE72 support 2012-01-26 17:01:43 +00:00
nand_ecc.c firmware-utils: add a small utility for generating nand flash images with ecc info 2009-06-14 20:42:28 +00:00
osbridge-crc.c firmware-utils: add a tool to compute crc value for the 5gxi firmware 2009-06-25 09:41:06 +00:00
pc1crypt.c firmware-utils: add a file {en,de}cryption tool, based on the PC1 encryption algrithm 2009-06-24 16:35:38 +00:00
ptgen.c tools/firmware-utils/ptgen option to use MB rounding 2012-08-22 09:22:38 +00:00
seama.c tools/firmware-utils: add seama tool 2012-10-18 07:22:57 +00:00
seama.h tools/firmware-utils: add seama tool 2012-10-18 07:22:57 +00:00
sha1.c firmware-utils/mkplanexfw: new firmware generation tool for the Planex MZK-W04NU device 2009-02-04 21:09:06 +00:00
sha1.h firmware-utils/mkplanexfw: new firmware generation tool for the Planex MZK-W04NU device 2009-02-04 21:09:06 +00:00
spw303v.c bcm63xx: Add firmware helpers for T-Home Speedport W 303V 2011-05-11 13:34:05 +00:00
srec2bin.c Fix a warning 2007-03-18 13:06:33 +00:00
trx2edips.c firmware-utils: fix build on big endian systems 2011-06-21 21:13:58 +00:00
trx2usr.c move target/utils to tools/firmware-utils 2006-12-06 23:41:38 +00:00
trx.c firmware-utils/trx: remove trailing whitespaces 2013-11-30 18:30:57 +00:00
wrt400n.c firmware-utils: add new tool for the wrt400n (based on a patch by Sandeep Mistry <sandeep.mistry at gmail.com>) 2009-07-12 08:59:18 +00:00
xorimage.c bcm63xx: Add firmware helpers for T-Home Speedport W 303V 2011-05-11 13:34:05 +00:00
zynos.h firmware-utils/mkzynfw: add support for the NBG460N board 2010-05-14 09:20:36 +00:00