project/firmware-utils.git
11 years agofirmware-utils/mktplinkfw: add support for the TL-WR720N v3 board
Gabor Juhos [Fri, 26 Apr 2013 17:00:47 +0000 (17:00 +0000)]
firmware-utils/mktplinkfw: add support for the TL-WR720N v3 board

Signed-off-by: yousong <yszhou4tech@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36455

11 years agoAdd Netgear WNCE2001 (OF version)
John Crispin [Tue, 9 Apr 2013 14:19:33 +0000 (14:19 +0000)]
Add Netgear WNCE2001 (OF version)

Add Netgear WNCE2001.

This is a small RT3052 device with 4MB spi flash and 32MB ram.
2 built-in antennas, 1x fastE, no USB, reset & wps switch.
On my model the AP/RT switch is unpopulated, but I verified the gpio
mapping for it.
The stock firmware is running an unprotected tftpd which allows you
to read any file from the filesystem.
Serial port is present on testpads (See image on the wiki page).
There are more testpads below the shield near the SoC, which
may have JTAG.

Slight annoyance: The bootloader is checksumming kernel&rootfs, but
can be tricked by zeroing checksum and length fields in the checksum
partition, see
target/linux/ramips/base-files/lib/preinit/04_disable_wnce2001_flash_checksumming

The manufacturer image is very similar to the DAP one, so I slightly
modified mkdapimg to support generating it.

The resulting
openwrt-ramips-rt305x-wnce2001-squashfs-factory-(worldwide|northamerica).bin
can be used to flash from stock to OpenWRT using the stock firmware
upgrade function, without using the serial port.

http://www.netgear.com/landing/wnce2001.aspx
http://wiki.openwrt.org/toh/netgear/wnce2001

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
SVN-Revision: 36289

11 years agofirmware-utils/mktplinkfw: Add support for MR3420v2
Gabor Juhos [Mon, 11 Mar 2013 15:55:23 +0000 (15:55 +0000)]
firmware-utils/mktplinkfw: Add support for MR3420v2

Patch-by: Dmytro <dioptimizer@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3441/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35963

11 years agofirmware-utils/mktplinkfw: add support for the TL-WA830RE v1/v2 boards
Gabor Juhos [Mon, 25 Feb 2013 20:37:32 +0000 (20:37 +0000)]
firmware-utils/mktplinkfw: add support for the TL-WA830RE v1/v2 boards

Signed-off-by: Ronald Hecht <ronald.hecht@gmx.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35787

11 years agofirmware-utils/mktplinkfw: add support for the TL-WDR4900 v1
Gabor Juhos [Wed, 13 Feb 2013 16:51:24 +0000 (16:51 +0000)]
firmware-utils/mktplinkfw: add support for the TL-WDR4900 v1

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

11 years agofirmware-utils/mktplinkfw: add TP-LINK TL-WR743ND v2 support
Gabor Juhos [Sat, 2 Feb 2013 10:01:11 +0000 (10:01 +0000)]
firmware-utils/mktplinkfw: add TP-LINK TL-WR743ND v2 support

AR9331 based, these same as 741v4

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35448

11 years agoadds support for Edimax BR-6524N
John Crispin [Sun, 6 Jan 2013 11:11:30 +0000 (11:11 +0000)]
adds support for Edimax BR-6524N

fixes #12754

Signed-off-by: <rq@akl.lt>
SVN-Revision: 35019

11 years agofirmware-utils/mktplinkfw: add support for the TL-MR3220 v2
Gabor Juhos [Wed, 19 Dec 2012 08:50:43 +0000 (08:50 +0000)]
firmware-utils/mktplinkfw: add support for the TL-MR3220 v2

Based on the following patch:
http://patchwork.openwrt.org/patch/3043/

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34781

11 years agofirmware-utils/mkfwimage2: allow to use numbers in partition names
Gabor Juhos [Mon, 17 Dec 2012 12:28:15 +0000 (12:28 +0000)]
firmware-utils/mkfwimage2: allow to use numbers in partition names

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

11 years agofirmware-utils/mktplinkfw: add support for TP-LINK WA801NDv1
Gabor Juhos [Fri, 7 Dec 2012 19:10:54 +0000 (19:10 +0000)]
firmware-utils/mktplinkfw: add support for TP-LINK WA801NDv1

Patch-by: Amir Sagie <openwrt-devel@taproot.org.il>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34575

12 years agofirmware-utils/mktplinkfw: add support for TL-WA7510N
Gabor Juhos [Tue, 13 Nov 2012 14:48:02 +0000 (14:48 +0000)]
firmware-utils/mktplinkfw: add support for TL-WA7510N

[juhosg: separated from the http://patchwork.openwrt.org/patch/2820/ patch]

Signed-off-by: Stefan Helmert <helst_listen@aol.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34189

12 years agofirmware-utils: new tool for fixing U-Media firmware headers
Gabor Juhos [Thu, 18 Oct 2012 07:23:09 +0000 (07:23 +0000)]
firmware-utils: new tool for fixing U-Media firmware headers

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

12 years agotools/firmware-utils: add seama tool
Gabor Juhos [Thu, 18 Oct 2012 07:22:57 +0000 (07:22 +0000)]
tools/firmware-utils: add seama tool

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

12 years agofirmware-utils: move bcm_tag.h here
Jonas Gorski [Mon, 8 Oct 2012 09:59:50 +0000 (09:59 +0000)]
firmware-utils: move bcm_tag.h here

Since there is only one user of bcm_tag.h left, we can safely move it
into the firmware-utils directory, replacing the symlink.

SVN-Revision: 33655

12 years agotools/firmware-utils: add a new tool for TEW-712BR firmware generation
Gabor Juhos [Wed, 22 Aug 2012 20:15:34 +0000 (20:15 +0000)]
tools/firmware-utils: add a new tool for TEW-712BR firmware generation

SVN-Revision: 33233

12 years agotools/firmware-utils/ptgen option to use MB rounding
John Crispin [Wed, 22 Aug 2012 09:22:38 +0000 (09:22 +0000)]
tools/firmware-utils/ptgen option to use MB rounding

SVN-Revision: 33218

12 years agotools/firmware-utils: add tool for DIR-651-H1 firmware generation
Gabor Juhos [Fri, 17 Aug 2012 17:56:02 +0000 (17:56 +0000)]
tools/firmware-utils: add tool for DIR-651-H1 firmware generation

Signed-off-by: Mikko Hissa <mikko.hissa@uta.fi>
SVN-Revision: 33204

12 years agouse HOST_STATIC_LINKING instead of hardcoding -static
Jo-Philipp Wich [Sun, 12 Aug 2012 12:34:30 +0000 (12:34 +0000)]
use HOST_STATIC_LINKING instead of hardcoding -static

SVN-Revision: 33140

12 years agofirmware-utils: link statically
Jo-Philipp Wich [Fri, 10 Aug 2012 19:27:08 +0000 (19:27 +0000)]
firmware-utils: link statically

SVN-Revision: 33117

12 years agoadds mkdapimg
John Crispin [Tue, 24 Jul 2012 20:38:49 +0000 (20:38 +0000)]
adds mkdapimg

Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp>
SVN-Revision: 32822

12 years agofirmware-utils/mktplinkfw: allow to specify firmware version
Gabor Juhos [Thu, 5 Jul 2012 16:25:29 +0000 (16:25 +0000)]
firmware-utils/mktplinkfw: allow to specify firmware version

SVN-Revision: 32616

12 years agotools: imagetag: add parameter for padding images
Jonas Gorski [Sun, 27 May 2012 13:22:19 +0000 (13:22 +0000)]
tools: imagetag: add parameter for padding images

Allow images to be padded to a certain size. This prevents CFE from
flashing them to the second image offset.

SVN-Revision: 31875

12 years agofirmware-utils/mktplinkfw: add support for the TL-WR1041N v2
Gabor Juhos [Sat, 5 May 2012 17:02:38 +0000 (17:02 +0000)]
firmware-utils/mktplinkfw: add support for the TL-WR1041N v2

Patch-by: Vince Huang <axishero@foxmail.com>
SVN-Revision: 31609

12 years agofirmware-utils/mkfwimage: allow to override firmware magic
Gabor Juhos [Sat, 18 Feb 2012 14:45:54 +0000 (14:45 +0000)]
firmware-utils/mkfwimage: allow to override firmware magic

SVN-Revision: 30627

12 years agoSupport booting the Speedport W502V using BRN-BOOT.
John Crispin [Tue, 14 Feb 2012 17:48:04 +0000 (17:48 +0000)]
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

12 years agofirmware-utils/mkmylofw: add WPE72 support
Gabor Juhos [Thu, 26 Jan 2012 17:01:43 +0000 (17:01 +0000)]
firmware-utils/mkmylofw: add WPE72 support

Signed-off-by: Johnathan Boyce <jon.boyce@globalreach.eu.com>
SVN-Revision: 29913

12 years agotools: clean up Makefiles / make ccache work
John Crispin [Sun, 15 Jan 2012 11:43:13 +0000 (11:43 +0000)]
tools: clean up Makefiles / make ccache work

SVN-Revision: 29754

12 years agofirware-utils/mktplinkfw: add TL-WR2543N/ND support
Gabor Juhos [Sat, 7 Jan 2012 19:36:40 +0000 (19:36 +0000)]
firware-utils/mktplinkfw: add TL-WR2543N/ND support

SVN-Revision: 29681

12 years agofirmware-utils/mktplinkfw: add support for TL-WA701N/ND
Gabor Juhos [Wed, 4 Jan 2012 17:30:53 +0000 (17:30 +0000)]
firmware-utils/mktplinkfw: add support for TL-WA701N/ND

SVN-Revision: 29655

12 years agofirmware-utils/mktplinkfw: add support for TL-MR3020
Gabor Juhos [Wed, 4 Jan 2012 17:30:44 +0000 (17:30 +0000)]
firmware-utils/mktplinkfw: add support for TL-MR3020

Signed-off-by: Christian Cier-Zniewski <c.cier@gmx.de>
SVN-Revision: 29650

12 years agofirmware-utils/mktplinkfw: add ability to put jffs2 eof marker into the image
Gabor Juhos [Thu, 15 Dec 2011 22:03:42 +0000 (22:03 +0000)]
firmware-utils/mktplinkfw: add ability to put jffs2 eof marker into the image

SVN-Revision: 29544

12 years agotools/mktplinkfw: allow to specify hw_id, hw_rev and flash_layout
Gabor Juhos [Tue, 6 Dec 2011 16:26:41 +0000 (16:26 +0000)]
tools/mktplinkfw: allow to specify hw_id, hw_rev and flash_layout

SVN-Revision: 29466

12 years agofirmware-utils/mktplinkfw: allow to align the rootfs on a specified boundary
Gabor Juhos [Mon, 5 Dec 2011 14:52:31 +0000 (14:52 +0000)]
firmware-utils/mktplinkfw: allow to align the rootfs on a specified boundary

SVN-Revision: 29445

12 years agofirmware-utils/mktplinkfw: fix combined image creation
Gabor Juhos [Sat, 3 Dec 2011 16:57:21 +0000 (16:57 +0000)]
firmware-utils/mktplinkfw: fix combined image creation

SVN-Revision: 29409

13 years agofirmware-utils/mktplinfw: use htonl/ntohl
Gabor Juhos [Thu, 24 Nov 2011 20:09:40 +0000 (20:09 +0000)]
firmware-utils/mktplinfw: use htonl/ntohl

Based on a patch by Adrian Chadd <adrian@freebsd.org>

SVN-Revision: 29327

13 years agofirmware-utils/mktplinkfw: add TL-WR741ND v4
Gabor Juhos [Tue, 1 Nov 2011 11:20:54 +0000 (11:20 +0000)]
firmware-utils/mktplinkfw: add TL-WR741ND v4

SVN-Revision: 28707

13 years agoAdd firmware tool for generating factory images for Edimax devices
Vasilis Tsiligiannis [Sun, 30 Oct 2011 22:57:41 +0000 (22:57 +0000)]
Add firmware tool for generating factory images for Edimax devices

SVN-Revision: 28688

13 years agofirmware-utils/mktplinkfw: fix hardware id of the TL-WR740 v3
Gabor Juhos [Wed, 26 Oct 2011 13:34:48 +0000 (13:34 +0000)]
firmware-utils/mktplinkfw: fix hardware id of the TL-WR740 v3

SVN-Revision: 28602

13 years agofirmware-utils/mktplinkfw: add support for TL-WR703N v1
Gabor Juhos [Wed, 21 Sep 2011 11:47:55 +0000 (11:47 +0000)]
firmware-utils/mktplinkfw: add support for TL-WR703N v1

Patch-by: dongyuqi <729650915@qq.com>
SVN-Revision: 28278

13 years agofirmware-utils/mktplinkfw: add support for TL-WR743ND v1
Gabor Juhos [Wed, 21 Sep 2011 11:47:42 +0000 (11:47 +0000)]
firmware-utils/mktplinkfw: add support for TL-WR743ND v1

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
SVN-Revision: 28270

13 years agofirmware-utils/mktplinkfw: add support for TL-WR740N v3
Gabor Juhos [Wed, 21 Sep 2011 11:47:39 +0000 (11:47 +0000)]
firmware-utils/mktplinkfw: add support for TL-WR740N v3

Signed-off-by: Martin Raykov <martin.raykov@gmail.com>
SVN-Revision: 28268

13 years agofirmware-utils: rename the devname variable in mkwrgimg to avoid a clash with a BSD...
Felix Fietkau [Fri, 8 Jul 2011 05:20:24 +0000 (05:20 +0000)]
firmware-utils: rename the devname variable in mkwrgimg to avoid a clash with a BSD stdlib function

SVN-Revision: 27553

13 years agotools/firmware-utils: add yet another buffalo tool
Gabor Juhos [Wed, 6 Jul 2011 08:04:53 +0000 (08:04 +0000)]
tools/firmware-utils: add yet another buffalo tool

SVN-Revision: 27475

13 years agotools/firmware-utils: allow to create buffalo image from two files
Gabor Juhos [Wed, 6 Jul 2011 08:04:50 +0000 (08:04 +0000)]
tools/firmware-utils: allow to create buffalo image from two files

SVN-Revision: 27473

13 years agotools/firmware-utils: allow to create buffalo tags w/o hw version
Gabor Juhos [Wed, 6 Jul 2011 08:04:49 +0000 (08:04 +0000)]
tools/firmware-utils: allow to create buffalo tags w/o hw version

SVN-Revision: 27472

13 years agotools/firmware-utils: add new firmware tool for the DIR-300-B1 board
Gabor Juhos [Mon, 4 Jul 2011 06:48:42 +0000 (06:48 +0000)]
tools/firmware-utils: add new firmware tool for the DIR-300-B1 board

SVN-Revision: 27438

13 years agofirmware-utils: fix build on big endian systems
Hauke Mehrtens [Tue, 21 Jun 2011 21:13:58 +0000 (21:13 +0000)]
firmware-utils: fix build on big endian systems

This closes #9446

SVN-Revision: 27255

13 years agotools/firmware-utils: fix buffalo csum calculation
Gabor Juhos [Mon, 13 Jun 2011 08:12:41 +0000 (08:12 +0000)]
tools/firmware-utils: fix buffalo csum calculation

Also print an error message if decryption fails.

SVN-Revision: 27167

13 years agotools/firmware-utils: add support for hd_id tag into mkdniimg
Gabor Juhos [Tue, 31 May 2011 22:53:24 +0000 (22:53 +0000)]
tools/firmware-utils: add support for hd_id tag into mkdniimg

Signed-off-by: Mark Mentovai <mark@moxienet.com>
SVN-Revision: 27052

13 years agotools/firmware-utils: add buffalo specific fw tools
Gabor Juhos [Tue, 31 May 2011 22:53:21 +0000 (22:53 +0000)]
tools/firmware-utils: add buffalo specific fw tools

SVN-Revision: 27050

13 years agobcm63xx: Add firmware helpers for T-Home Speedport W 303V
Florian Fainelli [Wed, 11 May 2011 13:34:05 +0000 (13:34 +0000)]
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

13 years agobcm63xx: Move the OpenWrt rootfs length field
Daniel Dickinson [Fri, 15 Apr 2011 12:18:25 +0000 (12:18 +0000)]
bcm63xx: Move the OpenWrt rootfs length field

Dual image capable CFEs store an image sequence at the same place as
currently OpenWrt stores the actual rootfs length, so it will get
overwritten when flashing through such a CFE.

To prevent this from happening, move the rootfs length field to the next
four bytes, thus completely using the reserved1 field.

Since the reserved1 field is now completely in use, it does not make sense
to allow it to be set from the imagetag utility, so remove the option.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
SVN-Revision: 26680

13 years agofirmware-utils: fix endianness bugs in firmware generation program.
Hauke Mehrtens [Sat, 9 Apr 2011 15:06:01 +0000 (15:06 +0000)]
firmware-utils: fix endianness bugs in firmware generation program.

Should make it work on big endian systems again, I do not have such a system.

This closes #9093.

SVN-Revision: 26543

13 years agofirmware-utils/mktplinkfw: add support for the TP-Link TL-WA901ND v2 board
Gabor Juhos [Sun, 13 Mar 2011 15:08:29 +0000 (15:08 +0000)]
firmware-utils/mktplinkfw: add support for the TP-Link TL-WA901ND v2 board

Patch-by: Jonathan Benett <jbscience87@gmail.com>
SVN-Revision: 26118

13 years agobrcm47xx: fix error when build firmware on x86_64 host (closes #7672)
Hauke Mehrtens [Sat, 12 Feb 2011 13:17:47 +0000 (13:17 +0000)]
brcm47xx: fix error when build firmware on x86_64 host (closes #7672)

SVN-Revision: 25472

13 years agofirmware-utils/mkdniimg: don't use NA region by default
Gabor Juhos [Fri, 14 Jan 2011 10:37:09 +0000 (10:37 +0000)]
firmware-utils/mkdniimg: don't use NA region by default

SVN-Revision: 24981

13 years agofirmware-utils/wndr3700: allow to specify image magic via command line
Gabor Juhos [Fri, 14 Jan 2011 10:37:04 +0000 (10:37 +0000)]
firmware-utils/wndr3700: allow to specify image magic via command line

SVN-Revision: 24980

13 years agoAdded OpenWRT-specific field to imagetag so that we can record the real root length...
Daniel Dickinson [Sun, 26 Dec 2010 04:18:13 +0000 (04:18 +0000)]
Added OpenWRT-specific field to imagetag so that we can record the real root length, so that when the CRC fixup is applied and the root length is recorded as zero we can still calculate the rootfs mtd partition size.

Signed-off-by: Daniel Dickinson <daniel@cshore.neomailbox.net>
SVN-Revision: 24838

13 years agoar71xx: add support for TL-WR740N v1
Gabor Juhos [Thu, 23 Dec 2010 12:42:16 +0000 (12:42 +0000)]
ar71xx: add support for TL-WR740N v1

Same as TL-WR741ND but with different hardware ID and without
detachable antenna.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
SVN-Revision: 24811

13 years agofirmware-utils/mkzynfw: fix available flash space calculation
Gabor Juhos [Fri, 17 Dec 2010 20:34:31 +0000 (20:34 +0000)]
firmware-utils/mkzynfw: fix available flash space calculation

SVN-Revision: 24653

13 years agofirmware-utils/mktplinkfw: add support for the TL-MR3220 v1
Gabor Juhos [Fri, 10 Dec 2010 17:57:43 +0000 (17:57 +0000)]
firmware-utils/mktplinkfw: add support for the TL-MR3220 v1

SVN-Revision: 24438

13 years agobrcm47xx: Add edimax PS1208mfg support
Hauke Mehrtens [Thu, 2 Dec 2010 21:27:54 +0000 (21:27 +0000)]
brcm47xx: Add edimax PS1208mfg support

Thank you clemvangelis for the patches. (closes #7672)

SVN-Revision: 24217

14 years agoimagetag: Significantly updated brcm63xx imagetag writing tool. * Rewrote commandline...
Daniel Dickinson [Tue, 16 Nov 2010 06:46:53 +0000 (06:46 +0000)]
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

14 years agobrcm63xx: imagetag: Fixed occaisonal wrong CRC in image due to using strncpy to copy...
Daniel Dickinson [Mon, 15 Nov 2010 04:08:09 +0000 (04:08 +0000)]
brcm63xx: imagetag: Fixed occaisonal wrong CRC in image due to using strncpy to copy the CRC into the imagetag. strncpy stops copying after a 00 byte, memcpy doesn't.

SVN-Revision: 24000

14 years agofirmware-utils/mktplinkfw: add support for the TL-MR3420 v1
Gabor Juhos [Mon, 27 Sep 2010 14:54:02 +0000 (14:54 +0000)]
firmware-utils/mktplinkfw: add support for the TL-MR3420 v1

SVN-Revision: 23137

14 years agofirmware-utils/mktplinkfw: add support for the TL-WR841N v7
Gabor Juhos [Mon, 27 Sep 2010 14:53:51 +0000 (14:53 +0000)]
firmware-utils/mktplinkfw: add support for the TL-WR841N v7

SVN-Revision: 23133

14 years agoZcomax device firmware tool endianness fix
Michael Büsch [Sat, 4 Sep 2010 05:40:56 +0000 (05:40 +0000)]
Zcomax device firmware tool endianness fix

SVN-Revision: 22885

14 years agotools/firmware-utils: new tool for the Zcomax devices
Gabor Juhos [Fri, 3 Sep 2010 18:14:40 +0000 (18:14 +0000)]
tools/firmware-utils: new tool for the Zcomax devices

SVN-Revision: 22883

14 years agobrcm47xx: Add new image generation and fix leds/reset button on WNR834B V2
Hauke Mehrtens [Fri, 6 Aug 2010 20:21:32 +0000 (20:21 +0000)]
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

14 years agomostly revert commit r22396
Hauke Mehrtens [Fri, 30 Jul 2010 21:19:49 +0000 (21:19 +0000)]
mostly revert commit r22396

CFE does not boot images generated with these checksums because of
wrong checksum.

After flashing then with tftp to my Asus wl500-GPv1 the following messages
are show:
Null Rescue Flag.
Boot program checksum is invalid
Hello!! Enter Rescue Mode: (Check error)

SVN-Revision: 22418

14 years agofirmware-utils/trx: Endianness fixes
Michael Büsch [Thu, 29 Jul 2010 18:14:10 +0000 (18:14 +0000)]
firmware-utils/trx: Endianness fixes

SVN-Revision: 22414

14 years agofirmware-utils: The option -F was not detected. This was missing in r22396
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

14 years agofix CRC32 calculation for sysupgrade
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

14 years agotools/firmware-utils: enhance mktplinkfw utility
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

14 years agofirmware-utils/mktplinkfw: add support for the TL-WA901ND
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

14 years agopreset stable and try* flags for TRX2 headers
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

14 years agofixed trx version to handling
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

14 years agoremove whitespaces in imagetag tool
Florian Fainelli [Sun, 20 Jun 2010 11:58:40 +0000 (11:58 +0000)]
remove whitespaces in imagetag tool

SVN-Revision: 21848

14 years agoRevert r21806 there are no users of it yet
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

14 years agoadd hcsmakeimage, for cable modems/routers based on bcm33xx
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

14 years agofix mktitanimg segfault on 64-bits hosts (#7443)
Florian Fainelli [Sat, 12 Jun 2010 18:10:01 +0000 (18:10 +0000)]
fix mktitanimg segfault on 64-bits hosts (#7443)

SVN-Revision: 21767

14 years agoadd mktitanimg to create Titan (AR7-based) images (#6632)
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

14 years agofirmware-utils/mkzynfw: add support for the NBG460N board
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

14 years agofirmware-utils/mkzynfw: don't use next_offset twice (closes #7273)
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

14 years agotools/firmware-utils: add size check to the mkplanexfw tool
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

14 years agoremove 'svn:executable' property
Nicolas Thill [Mon, 12 Apr 2010 17:08:57 +0000 (17:08 +0000)]
remove 'svn:executable' property

SVN-Revision: 20831

14 years agoflashmap and image generation: reduced union bcm_tag to a single struct combining...
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

14 years agomove bcm_tag.h out of the flashmap patch so that user-land tools can re-use it
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

14 years agofirmware-utils/trx: add relative offset parameter
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

14 years agorevert r18760 since it prevents people from building working eva images
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

14 years agoadded support for wrt54g3gv2-vf and new trx header format
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

14 years agofix file creation mode, thanks rtz
Florian Fainelli [Thu, 18 Mar 2010 23:35:12 +0000 (23:35 +0000)]
fix file creation mode, thanks rtz

SVN-Revision: 20293

14 years agomktplinkfw: add option to strip padding from the end of the image
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

14 years agomktplinkfw: fix help string, and remove duplicated option
Gabor Juhos [Mon, 8 Mar 2010 17:35:07 +0000 (17:35 +0000)]
mktplinkfw: fix help string, and remove duplicated option

SVN-Revision: 20067

14 years agofirmware-utils/mktplinkfw: add board definitions for TL-WR941ND v4
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

14 years agofirmware-utils: unify cc and cc2 macros, simplifies Makefile
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

14 years agofirmware-utils: copy bcm_tag.h to src/ and get rid of cc3 macro, fixes imagetag compi...
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

14 years agoar71xx: add support for the TL-WR841N v1.5 board
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

14 years agolzma2eva: Endianness fixes.
Michael Büsch [Fri, 11 Dec 2009 23:50:51 +0000 (23:50 +0000)]
lzma2eva: Endianness fixes.

SVN-Revision: 18760

14 years agoar71xx: TL-WR1043ND support cleanup
Gabor Juhos [Tue, 8 Dec 2009 12:46:30 +0000 (12:46 +0000)]
ar71xx: TL-WR1043ND support cleanup

SVN-Revision: 18697