Jonas Gorski
997ace7e5e
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 ago
Gabor Juhos
872e798473
tools/firmware-utils: add a new tool for TEW-712BR firmware generation
...
SVN-Revision: 33233
12 years ago
John Crispin
6c9d20d6e7
tools/firmware-utils/ptgen option to use MB rounding
...
SVN-Revision: 33218
12 years ago
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
12 years ago
Jo-Philipp Wich
cf1698c637
use HOST_STATIC_LINKING instead of hardcoding -static
...
SVN-Revision: 33140
12 years ago
Jo-Philipp Wich
e2e55d7acd
firmware-utils: link statically
...
SVN-Revision: 33117
12 years ago
John Crispin
fb81e7a802
adds mkdapimg
...
Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp>
SVN-Revision: 32822
13 years ago
Gabor Juhos
a45427bc79
firmware-utils/mktplinkfw: allow to specify firmware version
...
SVN-Revision: 32616
13 years ago
Jonas Gorski
b31108e0a8
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
13 years ago
Gabor Juhos
de7324674a
firmware-utils/mktplinkfw: add support for the TL-WR1041N v2
...
Patch-by: Vince Huang <axishero@foxmail.com>
SVN-Revision: 31609
13 years ago
Gabor Juhos
84267683bb
firmware-utils/mkfwimage: allow to override firmware magic
...
SVN-Revision: 30627
13 years ago
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
13 years ago
Gabor Juhos
1338af2640
firmware-utils/mkmylofw: add WPE72 support
...
Signed-off-by: Johnathan Boyce <jon.boyce@globalreach.eu.com>
SVN-Revision: 29913
13 years ago
John Crispin
ccb6b0a063
tools: clean up Makefiles / make ccache work
...
SVN-Revision: 29754
13 years ago
Gabor Juhos
8a8e5bde15
firware-utils/mktplinkfw: add TL-WR2543N/ND support
...
SVN-Revision: 29681
13 years ago
Gabor Juhos
923e5d3543
firmware-utils/mktplinkfw: add support for TL-WA701N/ND
...
SVN-Revision: 29655
13 years ago
Gabor Juhos
55e13f4e6a
firmware-utils/mktplinkfw: add support for TL-MR3020
...
Signed-off-by: Christian Cier-Zniewski <c.cier@gmx.de>
SVN-Revision: 29650
13 years ago
Gabor Juhos
29a2c2ea80
firmware-utils/mktplinkfw: add ability to put jffs2 eof marker into the image
...
SVN-Revision: 29544
13 years ago
Gabor Juhos
2592c0a283
tools/mktplinkfw: allow to specify hw_id, hw_rev and flash_layout
...
SVN-Revision: 29466
13 years ago
Gabor Juhos
54c8d61b03
firmware-utils/mktplinkfw: allow to align the rootfs on a specified boundary
...
SVN-Revision: 29445
13 years ago
Gabor Juhos
81cda3e2f1
firmware-utils/mktplinkfw: fix combined image creation
...
SVN-Revision: 29409
13 years ago
Gabor Juhos
6632e38d08
firmware-utils/mktplinfw: use htonl/ntohl
...
Based on a patch by Adrian Chadd <adrian@freebsd.org>
SVN-Revision: 29327
13 years ago
Gabor Juhos
13b0ec6cf7
firmware-utils/mktplinkfw: add TL-WR741ND v4
...
SVN-Revision: 28707
13 years ago
Vasilis Tsiligiannis
aadbbc4bac
Add firmware tool for generating factory images for Edimax devices
...
SVN-Revision: 28688
13 years ago
Gabor Juhos
500a8e2014
firmware-utils/mktplinkfw: fix hardware id of the TL-WR740 v3
...
SVN-Revision: 28602
13 years ago
Gabor Juhos
712521955b
firmware-utils/mktplinkfw: add support for TL-WR703N v1
...
Patch-by: dongyuqi <729650915@qq.com>
SVN-Revision: 28278
13 years ago
Gabor Juhos
ffbdaf8ec8
firmware-utils/mktplinkfw: add support for TL-WR743ND v1
...
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
SVN-Revision: 28270
13 years ago
Gabor Juhos
9faace4327
firmware-utils/mktplinkfw: add support for TL-WR740N v3
...
Signed-off-by: Martin Raykov <martin.raykov@gmail.com>
SVN-Revision: 28268
13 years ago
Felix Fietkau
bdb676b90d
firmware-utils: rename the devname variable in mkwrgimg to avoid a clash with a BSD stdlib function
...
SVN-Revision: 27553
14 years ago
Gabor Juhos
9d980dc121
tools/firmware-utils: add yet another buffalo tool
...
SVN-Revision: 27475
14 years ago
Gabor Juhos
533067b8f5
tools/firmware-utils: allow to create buffalo image from two files
...
SVN-Revision: 27473
14 years ago
Gabor Juhos
ea6bc8858a
tools/firmware-utils: allow to create buffalo tags w/o hw version
...
SVN-Revision: 27472
14 years ago
Gabor Juhos
1c5b7d0a32
tools/firmware-utils: add new firmware tool for the DIR-300-B1 board
...
SVN-Revision: 27438
14 years ago
Hauke Mehrtens
fbed51a8b5
firmware-utils: fix build on big endian systems
...
This closes #9446
SVN-Revision: 27255
14 years ago
Gabor Juhos
0d7a558f23
tools/firmware-utils: fix buffalo csum calculation
...
Also print an error message if decryption fails.
SVN-Revision: 27167
14 years ago
Gabor Juhos
145402e11b
tools/firmware-utils: add support for hd_id tag into mkdniimg
...
Signed-off-by: Mark Mentovai <mark@moxienet.com>
SVN-Revision: 27052
14 years ago
Gabor Juhos
fb9a672c78
tools/firmware-utils: add buffalo specific fw tools
...
SVN-Revision: 27050
14 years ago
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
14 years ago
Daniel Dickinson
f83c5938d2
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
14 years ago
Hauke Mehrtens
869fb691ec
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
14 years ago
Gabor Juhos
72b3c18da1
firmware-utils/mktplinkfw: add support for the TP-Link TL-WA901ND v2 board
...
Patch-by: Jonathan Benett <jbscience87@gmail.com>
SVN-Revision: 26118
14 years ago
Hauke Mehrtens
e08740c747
brcm47xx: fix error when build firmware on x86_64 host ( closes #7672 )
...
SVN-Revision: 25472
14 years ago
Gabor Juhos
78ffb50c8e
firmware-utils/mkdniimg: don't use NA region by default
...
SVN-Revision: 24981
14 years ago
Gabor Juhos
e116785f27
firmware-utils/wndr3700: allow to specify image magic via command line
...
SVN-Revision: 24980
14 years ago
Daniel Dickinson
fc3a1d0ba3
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
14 years ago
Gabor Juhos
0f659a13dd
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
14 years ago
Gabor Juhos
29379780a6
firmware-utils/mkzynfw: fix available flash space calculation
...
SVN-Revision: 24653
14 years ago
Gabor Juhos
912a140b19
firmware-utils/mktplinkfw: add support for the TL-MR3220 v1
...
SVN-Revision: 24438
14 years ago
Hauke Mehrtens
41b3383499
brcm47xx: Add edimax PS1208mfg support
...
Thank you clemvangelis for the patches. (closes #7672 )
SVN-Revision: 24217
14 years ago
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
14 years ago