Commit graph

46 commits

Author SHA1 Message Date
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
2012-02-14 17:48:04 +00:00
John Crispin
ccb6b0a063 tools: clean up Makefiles / make ccache work
SVN-Revision: 29754
2012-01-15 11:43:13 +00:00
Vasilis Tsiligiannis
aadbbc4bac Add firmware tool for generating factory images for Edimax devices
SVN-Revision: 28688
2011-10-30 22:57:41 +00:00
Gabor Juhos
9d980dc121 tools/firmware-utils: add yet another buffalo tool
SVN-Revision: 27475
2011-07-06 08:04:53 +00:00
Gabor Juhos
1c5b7d0a32 tools/firmware-utils: add new firmware tool for the DIR-300-B1 board
SVN-Revision: 27438
2011-07-04 06:48:42 +00:00
Gabor Juhos
fb9a672c78 tools/firmware-utils: add buffalo specific fw tools
SVN-Revision: 27050
2011-05-31 22:53:21 +00:00
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
2011-05-11 13:34:05 +00:00
Hauke Mehrtens
41b3383499 brcm47xx: Add edimax PS1208mfg support
Thank you clemvangelis for the patches. (closes #7672)

SVN-Revision: 24217
2010-12-02 21:27:54 +00:00
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
2010-11-16 06:46:53 +00:00
Gabor Juhos
7bf8159991 tools/firmware-utils: new tool for the Zcomax devices
SVN-Revision: 22883
2010-09-03 18:14:40 +00:00
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
2010-08-06 20:21:32 +00:00
Florian Fainelli
39fa664f99 Revert r21806 there are no users of it yet
SVN-Revision: 21808
2010-06-14 21:49:03 +00:00
Florian Fainelli
3a332f39de add hcsmakeimage, for cable modems/routers based on bcm33xx
SVN-Revision: 21806
2010-06-14 21:47:21 +00:00
Florian Fainelli
04a4638910 add mktitanimg to create Titan (AR7-based) images (#6632)
SVN-Revision: 21689
2010-06-06 19:16:43 +00:00
Jo-Philipp Wich
14f6a53b6d firmware-utils: unify cc and cc2 macros, simplifies Makefile
SVN-Revision: 19487
2010-02-01 01:56:02 +00:00
Jo-Philipp Wich
e0933ce6e6 firmware-utils: copy bcm_tag.h to src/ and get rid of cc3 macro, fixes imagetag compilation
SVN-Revision: 19485
2010-02-01 01:17:46 +00:00
Gabor Juhos
6d2fa1c896 ar71xx: create images for the WNDR3700, which can be flashed via the factory web interface
SVN-Revision: 18571
2009-11-28 09:28:25 +00:00
Gabor Juhos
09b5ed9641 firmware-utils: add WNDR3700 image fixing tool (thanks to Anael Orlinski)
SVN-Revision: 18569
2009-11-28 08:25:53 +00:00
Gabor Juhos
86d7900724 firmware-utils: add new tool for the wrt400n (based on a patch by Sandeep Mistry <sandeep.mistry at gmail.com>)
SVN-Revision: 16792
2009-07-12 08:59:18 +00:00
Gabor Juhos
c79ee4222e firmware-utils: add a tool to compute crc value for the 5gxi firmware
SVN-Revision: 16557
2009-06-25 09:41:06 +00:00
Gabor Juhos
c1a4eef483 firmware-utils: add a file {en,de}cryption tool, based on the PC1 encryption algrithm
SVN-Revision: 16550
2009-06-24 16:35:38 +00:00
Felix Fietkau
a6d8f8be9e firmware-utils: add a small utility for generating nand flash images with ecc info
SVN-Revision: 16458
2009-06-14 20:42:28 +00:00
Florian Fainelli
01118457e8 rework imagetag firmware generator and MTD partition parser to accomodate with all known imagetag versions from Broadcom and vendors, patch from Daniel Dickinson (fixes #4987).
SVN-Revision: 16393
2009-06-09 08:04:52 +00:00
Rod Whitby
34ad500e2c tools/firmware-utils: Added encode_crc, for Freecom devices.
SVN-Revision: 14961
2009-03-22 11:39:32 +00:00
Gabor Juhos
4a518ddf1c firmware-utils: add new firmware generation tool for the TP-LINK TL-WR941ND device
SVN-Revision: 14672
2009-02-26 16:59:15 +00:00
Felix Fietkau
7eb1589875 build system refactoring in preparation for allowing packages to do host-build steps
SVN-Revision: 14610
2009-02-22 04:37:20 +00:00
Gabor Juhos
03f3002a17 firmware-utils/mkplanexfw: new firmware generation tool for the Planex MZK-W04NU device
SVN-Revision: 14410
2009-02-04 21:09:06 +00:00
Florian Fainelli
15c130c762 Add makeamitbin to generate images for other RDC-based devices, thanks sn9 !
SVN-Revision: 13056
2008-10-28 16:26:42 +00:00
Gabor Juhos
a1f36eaa94 firmware-utils: new firmware generation tool for the WILIGEAR WBD-111
SVN-Revision: 12975
2008-10-13 17:17:19 +00:00
Imre Kaloz
7e159bbc61 replacement of the add_header utility used by various vendors
SVN-Revision: 11588
2008-06-27 12:18:31 +00:00
Felix Fietkau
301ee97229 bcm963xx: add cfe image tagging utility
This replaces the proprietary bcmImageBuilder program from the Broadcom source
drops. It basically adds a 256 bytes header in front of the kernel + rootfs
which contains a few text signatures, the locations of the data as well as the
checksums of the data and the tag. It also adds a 12 bytes header in front of
the LZMA kernel which contains the load address, kernel entry and the size of
the compressed LZMA data.

Signed-off-by: Axel Gembe <ago@bastart.eu.org>

SVN-Revision: 11170
2008-05-18 17:29:51 +00:00
Travis Kemen
3612b1e7c0 buld images for the Ubiquiti LiteStation and NanoStation ported from http://atheros.openwrt.net. Tested on a Nanostation 2 with airos 3
SVN-Revision: 11061
2008-05-07 23:47:17 +00:00
Gabor Juhos
4ee4c6f3f5 firmware-utils: new firmware generation tool for the Cellvision CAS-6xx/NFS-xxx devices
SVN-Revision: 10306
2008-01-29 08:31:54 +00:00
Felix Fietkau
93575b53a7 Use $(CP) instead of $(INSTALL_BIN) for binaries.
Signed-off-by: Andy Boyett <agb-openwrt@padded-cell.net>

SVN-Revision: 9694
2007-12-09 18:53:06 +00:00
Eugene Konev
6bf1f9a467 ar7: add eva image generation (thanks Axel Gembe)
SVN-Revision: 9401
2007-10-22 14:20:02 +00:00
Felix Fietkau
c6bc77ea36 build system cleanup/restructuring as described in http://lists.openwrt.org/pipermail/openwrt-devel/2007-August/001159.html
SVN-Revision: 8362
2007-08-07 00:04:25 +00:00
Gabor Juhos
d1f4e5ba7f add firmware generation tool for ZyXEL boards
SVN-Revision: 8318
2007-08-02 19:05:28 +00:00
Mike Baker
324c12d220 host-build.mk used incorrectly
SVN-Revision: 7156
2007-05-10 07:02:04 +00:00
Florian Fainelli
c2d893e891 Remove useless mksyshdr utility, replaced by mkcsysimg, Edimax images are no longer broken, and have been tested
SVN-Revision: 6847
2007-04-03 09:50:17 +00:00
Florian Fainelli
305d012ea6 Add ADM5120 based edimax image generation utilities
SVN-Revision: 6840
2007-04-02 17:10:48 +00:00
Florian Fainelli
4bb721a186 Add firmware generation for other Compex boards based on myloader, thanks to Juhos Gabor !
SVN-Revision: 6640
2007-03-22 21:36:15 +00:00
Florian Fainelli
5e7833d044 Add image generation for edimax routers
SVN-Revision: 6627
2007-03-21 15:04:07 +00:00
Eugene Konev
3dbd8ff32f Add srec2bin to firmware-utils
SVN-Revision: 6599
2007-03-18 09:33:39 +00:00
Florian Fainelli
71b50f88fa Add airlink firmware generation tool, thanks to Vassily Galinsky for that !
SVN-Revision: 5760
2006-12-11 17:49:05 +00:00
Felix Fietkau
cf52f51b85 remove custom partition table hack, add ptgen utility for generating partition tables
SVN-Revision: 5704
2006-12-07 00:26:26 +00:00
Felix Fietkau
ebdcc6d40c move target/utils to tools/firmware-utils
SVN-Revision: 5702
2006-12-06 23:41:38 +00:00