1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-15 01:41:53 +02:00
Commit Graph

203 Commits

Author SHA1 Message Date
juhosg
dc9e2eadc2 tools/firmware-utils: add a new tool for TEW-712BR firmware generation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33233 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-22 20:15:34 +00:00
blogic
deae75dd41 [tools] tools/firmware-utils/ptgen option to use MB rounding
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33218 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-22 09:22:38 +00:00
juhosg
dc20bb23a2 tools/firmware-utils: add tool for DIR-651-H1 firmware generation
Signed-off-by: Mikko Hissa <mikko.hissa@uta.fi>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33204 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-17 17:56:02 +00:00
jow
ba750f4141 [tools] use HOST_STATIC_LINKING instead of hardcoding -static
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33140 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-12 12:34:30 +00:00
jow
0e00f24862 [tools] firmware-utils: link statically
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33117 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-10 19:27:08 +00:00
blogic
68af6257eb [tools] adds mkdapimg
Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32822 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-24 20:38:49 +00:00
juhosg
72923143d4 firmware-utils/mktplinkfw: allow to specify firmware version
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32616 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-05 16:25:29 +00:00
jogo
df4c6091e6 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31875 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 13:22:19 +00:00
juhosg
07e4260b63 firmware-utils/mktplinkfw: add support for the TL-WR1041N v2
Patch-by: Vince Huang <axishero@foxmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31609 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 17:02:38 +00:00
juhosg
b0afa701c8 firmware-utils/mkfwimage: allow to override firmware magic
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30627 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-18 14:45:54 +00:00
blogic
61b8a7cdc6 [lantiq] 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30532 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-14 17:48:04 +00:00
juhosg
894d10e1e2 firmware-utils/mkmylofw: add WPE72 support
Signed-off-by: Johnathan Boyce <jon.boyce@globalreach.eu.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29913 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-26 17:01:43 +00:00
blogic
9943867fae tools: clean up Makefiles / make ccache work
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29754 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-15 11:43:13 +00:00
juhosg
33b476daa3 firware-utils/mktplinkfw: add TL-WR2543N/ND support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29681 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-07 19:36:40 +00:00
juhosg
8eede392b8 firmware-utils/mktplinkfw: add support for TL-WA701N/ND
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29655 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:53 +00:00
juhosg
5ecee7ec9f firmware-utils/mktplinkfw: add support for TL-MR3020
Signed-off-by: Christian Cier-Zniewski <c.cier@gmx.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29650 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:44 +00:00
juhosg
a7f91afe84 firmware-utils/mktplinkfw: add ability to put jffs2 eof marker into the image
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29544 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:03:42 +00:00
juhosg
9f5f35abda tools/mktplinkfw: allow to specify hw_id, hw_rev and flash_layout
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29466 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-06 16:26:41 +00:00
juhosg
c07b709343 firmware-utils/mktplinkfw: allow to align the rootfs on a specified boundary
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29445 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 14:52:31 +00:00
juhosg
f2bac60361 firmware-utils/mktplinkfw: fix combined image creation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29409 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-03 16:57:21 +00:00
juhosg
c6f1dc90c0 firmware-utils/mktplinfw: use htonl/ntohl
Based on a patch by Adrian Chadd <adrian@freebsd.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29327 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-24 20:09:40 +00:00
juhosg
b1c9efe5ed firmware-utils/mktplinkfw: add TL-WR741ND v4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28707 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-01 11:20:54 +00:00
acinonyx
771b5bebc2 [tools] Add firmware tool for generating factory images for Edimax devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28688 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-30 22:57:41 +00:00
juhosg
b15521ea0b firmware-utils/mktplinkfw: fix hardware id of the TL-WR740 v3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28602 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-26 13:34:48 +00:00
juhosg
ea5272bc7b firmware-utils/mktplinkfw: add support for TL-WR703N v1
Patch-by: dongyuqi <729650915@qq.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28278 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-21 11:47:55 +00:00
juhosg
bee264713c firmware-utils/mktplinkfw: add support for TL-WR743ND v1
Signed-off-by: Paul Fertser <fercerpav@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28270 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-21 11:47:42 +00:00
juhosg
d002caff96 firmware-utils/mktplinkfw: add support for TL-WR740N v3
Signed-off-by: Martin Raykov <martin.raykov@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28268 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-21 11:47:39 +00:00
nbd
75b703b407 firmware-utils: rename the devname variable in mkwrgimg to avoid a clash with a BSD stdlib function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27553 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-08 05:20:24 +00:00
juhosg
d460a0671d tools/firmware-utils: add yet another buffalo tool
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27475 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-06 08:04:53 +00:00
juhosg
e784d6c102 tools/firmware-utils: allow to create buffalo image from two files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27473 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-06 08:04:50 +00:00
juhosg
d08b885a8a tools/firmware-utils: allow to create buffalo tags w/o hw version
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27472 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-06 08:04:49 +00:00
juhosg
4a74184e81 tools/firmware-utils: add new firmware tool for the DIR-300-B1 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27438 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-04 06:48:42 +00:00
hauke
bf48bee1d4 firmware-utils: fix build on big endian systems
This closes #9446


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27255 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-21 21:13:58 +00:00
juhosg
02388a2e16 tools/firmware-utils: fix buffalo csum calculation
Also print an error message if decryption fails.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27167 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-13 08:12:41 +00:00
juhosg
1d6170ac72 tools/firmware-utils: add support for hd_id tag into mkdniimg
Signed-off-by: Mark Mentovai <mark@moxienet.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27052 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 22:53:24 +00:00
juhosg
41082590e3 tools/firmware-utils: add buffalo specific fw tools
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27050 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 22:53:21 +00:00
florian
c2fec0edf0 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26877 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-11 13:34:05 +00:00
cshore
f5c866b902 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26680 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-15 12:18:25 +00:00
hauke
f1f16aa807 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26543 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-09 15:06:01 +00:00
juhosg
a58162b254 firmware-utils/mktplinkfw: add support for the TP-Link TL-WA901ND v2 board
Patch-by: Jonathan Benett <jbscience87@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26118 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-13 15:08:29 +00:00
hauke
66628eee00 brcm47xx: fix error when build firmware on x86_64 host (closes #7672)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25472 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-12 13:17:47 +00:00
juhosg
c25ef5931a firmware-utils/mkdniimg: don't use NA region by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24981 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-14 10:37:09 +00:00
juhosg
e5a17c7e39 firmware-utils/wndr3700: allow to specify image magic via command line
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24980 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-14 10:37:04 +00:00
cshore
612cc293e1 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24838 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-26 04:18:13 +00:00
juhosg
8daecfbcff 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24811 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-23 12:42:16 +00:00
juhosg
934c0029fd firmware-utils/mkzynfw: fix available flash space calculation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24653 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-17 20:34:31 +00:00
juhosg
fb9f9cdc81 firmware-utils/mktplinkfw: add support for the TL-MR3220 v1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24438 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-10 17:57:43 +00:00
hauke
08e8737994 brcm47xx: Add edimax PS1208mfg support
Thank you clemvangelis for the patches. (closes #7672)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24217 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-02 21:27:54 +00:00
cshore
33d20e9dce [tools/firmware-utils] 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).



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24011 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-16 06:46:53 +00:00
cshore
59e644e826 [tools] 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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24000 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-15 04:08:09 +00:00