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
13 years ago
Gabor Juhos
9d980dc121
tools/firmware-utils: add yet another buffalo tool
...
SVN-Revision: 27475
13 years ago
Gabor Juhos
533067b8f5
tools/firmware-utils: allow to create buffalo image from two files
...
SVN-Revision: 27473
13 years ago
Gabor Juhos
ea6bc8858a
tools/firmware-utils: allow to create buffalo tags w/o hw version
...
SVN-Revision: 27472
13 years ago
Gabor Juhos
1c5b7d0a32
tools/firmware-utils: add new firmware tool for the DIR-300-B1 board
...
SVN-Revision: 27438
13 years ago
Hauke Mehrtens
fbed51a8b5
firmware-utils: fix build on big endian systems
...
This closes #9446
SVN-Revision: 27255
13 years ago
Gabor Juhos
0d7a558f23
tools/firmware-utils: fix buffalo csum calculation
...
Also print an error message if decryption fails.
SVN-Revision: 27167
13 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
13 years ago
Gabor Juhos
fb9a672c78
tools/firmware-utils: add buffalo specific fw tools
...
SVN-Revision: 27050
13 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
13 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
Daniel Dickinson
6cd4575153
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 ago
Gabor Juhos
1d855c0890
firmware-utils/mktplinkfw: add support for the TL-MR3420 v1
...
SVN-Revision: 23137
14 years ago
Gabor Juhos
142fb3e229
firmware-utils/mktplinkfw: add support for the TL-WR841N v7
...
SVN-Revision: 23133
14 years ago
Michael Büsch
f40f0c001e
Zcomax device firmware tool endianness fix
...
SVN-Revision: 22885
14 years ago
Gabor Juhos
7bf8159991
tools/firmware-utils: new tool for the Zcomax devices
...
SVN-Revision: 22883
14 years ago
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
14 years ago
Hauke Mehrtens
da7493d8f9
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 ago
Michael Büsch
02549b0448
firmware-utils/trx: Endianness fixes
...
SVN-Revision: 22414
14 years ago
Hauke Mehrtens
233294722c
firmware-utils: The option -F was not detected. This was missing in r22396
...
This fixes build of brcm47xx
SVN-Revision: 22398
14 years ago
Markus Wigge
7a052dc799
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 ago
Gabor Juhos
a06400d432
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 ago
Gabor Juhos
48e579a536
firmware-utils/mktplinkfw: add support for the TL-WA901ND
...
Patch-by: Pieter "Fate" Hollants <pieter@hollants.com>
SVN-Revision: 22015
14 years ago
Markus Wigge
642a6e1a51
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 ago
Markus Wigge
67416b62d7
fixed trx version to handling
...
I forgot to write the right trx version to the actual header...
SVN-Revision: 21986
14 years ago
Florian Fainelli
e79f259abf
remove whitespaces in imagetag tool
...
SVN-Revision: 21848
14 years ago
Florian Fainelli
39fa664f99
Revert r21806 there are no users of it yet
...
SVN-Revision: 21808
14 years ago
Florian Fainelli
3a332f39de
add hcsmakeimage, for cable modems/routers based on bcm33xx
...
SVN-Revision: 21806
14 years ago
Florian Fainelli
5ec4eabfcb
fix mktitanimg segfault on 64-bits hosts ( #7443 )
...
SVN-Revision: 21767
14 years ago
Florian Fainelli
04a4638910
add mktitanimg to create Titan (AR7-based) images ( #6632 )
...
SVN-Revision: 21689
14 years ago
Gabor Juhos
01d8285e47
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 ago