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

46 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
juhosg
af9f7edb75 tools/firmware-utils: new tool for the Zcomax devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22883 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-03 18:14:40 +00:00
hauke
8681f22fad 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22516 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-06 20:21:32 +00:00
florian
26fce8a1fe Revert r21806 there are no users of it yet
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21808 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-14 21:49:03 +00:00
florian
8838bdcc69 [tools] add hcsmakeimage, for cable modems/routers based on bcm33xx
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21806 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-14 21:47:21 +00:00
florian
fdb5a4eb0b [tools] add mktitanimg to create Titan (AR7-based) images (#6632)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21689 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-06 19:16:43 +00:00
jow
868654d8f5 [tools] firmware-utils: unify cc and cc2 macros, simplifies Makefile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19487 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-01 01:56:02 +00:00
jow
581beaa501 [tools] firmware-utils: copy bcm_tag.h to src/ and get rid of cc3 macro, fixes imagetag compilation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19485 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-01 01:17:46 +00:00
juhosg
4bcc767170 ar71xx: create images for the WNDR3700, which can be flashed via the factory web interface
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18571 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-28 09:28:25 +00:00
juhosg
ebd0fd5ff9 firmware-utils: add WNDR3700 image fixing tool (thanks to Anael Orlinski)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18569 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-28 08:25:53 +00:00
juhosg
f3e58ee3f3 [tools] firmware-utils: add new tool for the wrt400n (based on a patch by Sandeep Mistry <sandeep.mistry at gmail.com>)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16792 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-12 08:59:18 +00:00
juhosg
980e10ce15 [tools] firmware-utils: add a tool to compute crc value for the 5gxi firmware
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16557 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-25 09:41:06 +00:00
juhosg
21a96eeb47 [tools] firmware-utils: add a file {en,de}cryption tool, based on the PC1 encryption algrithm
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16550 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-24 16:35:38 +00:00
nbd
8378beaa85 firmware-utils: add a small utility for generating nand flash images with ecc info
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16458 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-14 20:42:28 +00:00
florian
b1dfb3f7eb [brcm63xx] 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).


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16393 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-09 08:04:52 +00:00
rwhitby
ae88c158f1 tools/firmware-utils: Added encode_crc, for Freecom devices.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14961 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-22 11:39:32 +00:00
juhosg
9c14f28bbc [tools] firmware-utils: add new firmware generation tool for the TP-LINK TL-WR941ND device
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14672 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-26 16:59:15 +00:00
nbd
800e84cc0f build system refactoring in preparation for allowing packages to do host-build steps
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14610 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-22 04:37:20 +00:00
juhosg
15bb597645 [tools] firmware-utils/mkplanexfw: new firmware generation tool for the Planex MZK-W04NU device
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14410 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-04 21:09:06 +00:00
florian
fa4bc36651 Add makeamitbin to generate images for other RDC-based devices, thanks sn9 !
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13056 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-28 16:26:42 +00:00
juhosg
1a2eac4b9f [tools] firmware-utils: new firmware generation tool for the WILIGEAR WBD-111
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12975 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-13 17:17:19 +00:00
kaloz
ff8987a16b replacement of the add_header utility used by various vendors
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11588 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-27 12:18:31 +00:00
nbd
72ac579241 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11170 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-18 17:29:51 +00:00
thepeople
4f5fd629a3 buld images for the Ubiquiti LiteStation and NanoStation ported from http://atheros.openwrt.net. Tested on a Nanostation 2 with airos 3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11061 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-07 23:47:17 +00:00
juhosg
5c7b26807e [tools] firmware-utils: new firmware generation tool for the Cellvision CAS-6xx/NFS-xxx devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10306 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-29 08:31:54 +00:00
nbd
c3cd9cb9ab Use $(CP) instead of $(INSTALL_BIN) for binaries.
Signed-off-by: Andy Boyett <agb-openwrt@padded-cell.net>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9694 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-09 18:53:06 +00:00
ejka
ccbffd6c6e ar7: add eva image generation (thanks Axel Gembe)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9401 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-22 14:20:02 +00:00
nbd
12c49b6a6a build system cleanup/restructuring as described in http://lists.openwrt.org/pipermail/openwrt-devel/2007-August/001159.html
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8362 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-07 00:04:25 +00:00
juhosg
42b664a30a add firmware generation tool for ZyXEL boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8318 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-02 19:05:28 +00:00
mbm
d4451582d7 host-build.mk used incorrectly
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7156 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-10 07:02:04 +00:00
florian
6e7905d2a3 Remove useless mksyshdr utility, replaced by mkcsysimg, Edimax images are no longer broken, and have been tested
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6847 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-03 09:50:17 +00:00
florian
68a04af57e Add ADM5120 based edimax image generation utilities
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6840 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-02 17:10:48 +00:00
florian
dfa4027af6 Add firmware generation for other Compex boards based on myloader, thanks to Juhos Gabor !
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6640 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-22 21:36:15 +00:00
florian
7e5c0b4599 Add image generation for edimax routers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6627 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-21 15:04:07 +00:00
ejka
865cfde1ef Add srec2bin to firmware-utils
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6599 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-18 09:33:39 +00:00
florian
68ef048494 Add airlink firmware generation tool, thanks to Vassily Galinsky for that !
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5760 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-11 17:49:05 +00:00
nbd
19021c16ff remove custom partition table hack, add ptgen utility for generating partition tables
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5704 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-07 00:26:26 +00:00
nbd
c41fbbc115 move target/utils to tools/firmware-utils
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5702 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-06 23:41:38 +00:00