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

515 Commits

Author SHA1 Message Date
cshore
d1c4c7d4d8 [tools] sstrip: Was missing include of <byteswap.h>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24510 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-12 04:57:07 +00:00
hauke
d66d0ec096 ppl: update to new version.
The old version is not compatible with gmp 5.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24501 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-11 23:55:39 +00:00
nbd
093eb904ef tools/xz: do not overwrite the lzma binary
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24499 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-11 21:29:53 +00:00
hauke
af028d51fa qemu: update qemu to version 0.13.0
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24487 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-11 16:08:10 +00:00
nbd
73a867ea58 add a host package for xz
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24481 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-11 13:20:19 +00:00
jow
864ccd894b [tools] remove obsolete stamp dep after r24474
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24475 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-11 03:18:31 +00:00
jow
3c83ea1835 [buildroot] rework aclocal handling, packages have issues writing through the symlink so keep the host aclocal as include path for now
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24474 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-11 03:15:10 +00:00
jow
90da104607 [tools] fix xorg-macros dependency
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24453 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-10 20:25:52 +00:00
jow
207ddae517 [tools] turn util-macros into tools/xorg-macros host build, provides global xorg m4 macros
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24452 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-10 20:23:48 +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
jow
ecde55c971 [tools] automake: rework patch; only skip when the directories does not exist, this preserves error cases like missing access permissions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24427 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-10 16:10:07 +00:00
jow
0f0e74bfb1 [tools] automake: use symlinks instead of hardlinks to link aclocal versions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24425 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-10 16:03:27 +00:00
jow
d7949ae19a [tools] automake: skip over not existing m4 macro directories, don't fail
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24424 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-10 16:01:33 +00:00
nbd
7b2c9d0ed3 make $(STAGING_DIR)/host/share/aclocal a symlink to $(STAGING_DIR_HOST)/share/aclocal
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24422 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-10 15:20:44 +00:00
jow
3099bf8c9e [tools] revert r24406
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24415 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-10 12:58:15 +00:00
jow
3dd0feb791 [tools] revert r24407, its already packaged in the xorg feed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24409 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-10 10:44:58 +00:00
jow
dc2c929f36 [tools] package xorg-macros
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24407 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-10 10:01:45 +00:00
jow
0d8df3baaf [tools] pkg-config: install pkg.m4 to aclocal/
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24406 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-10 09:35:16 +00:00
acoul
ea1d62b57c tools/mpfr: update to version 3.0.0
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24382 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-09 13:31:57 +00:00
acoul
f83fe8efbc tools/mpc: update to version 0.8.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24381 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-09 13:30:30 +00:00
acoul
980677d661 tools/gmp: update to version 5.0.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24380 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-09 13:28:57 +00:00
acoul
a747801bd2 tools/cloog: update to version 0.15.10
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24378 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-09 12:21:36 +00:00
acoul
2941561f48 tools/ccache: update to version 3.1.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24377 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-09 12:12:40 +00:00
acoul
1438309113 tools/automake: add symbolic links upto version 1.11.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24287 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-06 17:38:09 +00:00
acoul
2ad1d18700 tools/mklibs: revert r24282
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24283 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-06 13:21:09 +00:00
acoul
75a80d1ea4 tools/mklibs: update to version 0.1.30
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24282 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-06 12:32:04 +00:00
acoul
62568c17d4 tools/bison: update to version 2.4.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24281 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-06 12:21:08 +00:00
acoul
893e046ac8 tools/m4: update to version 1.4.15
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24280 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-06 12:16:40 +00:00
acoul
4b4c841683 tools/autoconf: update to version 2.68
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24279 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-06 12:14:50 +00:00
acoul
09c959541d tools/automake: update to version 1.11.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24278 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-06 12:11:47 +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
acoul
552f190346 tools/pkg-config: update to version 0.25
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24146 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-25 18:56:19 +00:00
acoul
d6a6672190 tools/e2fsprogs: fix freebsd compile issue
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24130 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-24 14:00:36 +00:00
acoul
eb658d688e tools/mtd-utils: update to mtd-utils-20101124
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24129 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-24 12:05:06 +00:00
acoul
12a7937500 tools/e2fsprogs: update to e2fsprogs-1.41.12
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24128 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-24 11:59:51 +00:00
nbd
d3f8066317 e2fsprogs: fix libuuid installation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24106 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-22 21:56:15 +00:00
nbd
9fad1d2e0e e2fsprogs: clean up the makefile and install libuuid
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24091 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-22 14:26:06 +00:00
kaloz
825f13453e remove 2.6.25 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24089 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-22 13:43:32 +00:00
kaloz
284a3cfc2b [tools]: add e2fsprogs to tools and use that instead of libuuid
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24078 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-22 11:26:45 +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
acoul
2923cd71cd target/linux/orion: create subtargets (closes #8154)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23883 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-04 22:10:11 +00:00
mb
46cb880b10 ensure an empty BUILD_DIR variable is passed down u-boot's makefile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23832 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-03 18:26:26 +00:00
nbd
0ca3c6b768 add a stripped down (and portable) version of flock to the host tools
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23707 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-29 13:39:18 +00:00
acoul
34a56d15af tools/mtd-utils: add two upstream patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23453 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-15 07:52:37 +00:00
jow
bbdd744bda [tools] quilt: pass PATH and FIND to configure (FreeBSD compatibility)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23288 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-07 11:33:54 +00:00
jow
66f94f3889 [tools] reenable squashfs4 for ar71xx, it needs both old and new
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23281 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-06 22:34:35 +00:00
jow
999a4c2891 [tools] ipkg-utils: don't fail if conffiles do not exist, resolve them instead and silently skip not existing files.
This prepares support for sysupgrade hints using to build the keepfile list.
Subsequent commits will rely on this feature - a rebuild of tools/ipkg-utils is necessary!


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23256 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-05 19:18:15 +00:00
kaloz
b280ad29c7 Toto, we don't support Linux 2.4 anymore..
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23245 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-05 14:15:46 +00:00
kaloz
4394096a92 [tools]: simplify old squashfs/lzma selection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23244 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-05 14:14:12 +00:00
acoul
3b4b5b7d83 tools/sed: update to sed-4.2.1 (also tested on FreeBSD/AMD64)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23241 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-05 13:51:54 +00:00
jow
880f27e729 [tools] mtd-utils: refresh patches again
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23194 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-03 12:15:04 +00:00
acoul
6852e20c77 tools/mtd-utils: fix build issue under freebsd. update to latest git tree. (thanks loswillios & larsc)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23193 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-03 12:03:21 +00:00
acoul
2f2004fca3 tools/mtd-utils: kill 132-revert-zlib-cleanup.patch. it's wrong.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23192 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-03 11:12:36 +00:00
lars
c224acb656 [tools] libuuid: Use libuuid from util-linux-ng instead of e2fsprogs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23189 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-02 23:18:46 +00:00
jow
0fdff487b9 [tools] mtd-utils: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23179 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-02 16:42:57 +00:00
jow
4abcb03951 tools/mtd-utils: fix compilation on OS X
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23176 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-02 10:18:34 +00:00
acoul
f55c08db99 tools/mtd-utils: update to mtd-utils-20101001, fix FreeBSD (and hopefully Darwin) build issues.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23169 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-01 16:39:08 +00:00
juhosg
1a77065e92 firmware-utils/mktplinkfw: add support for the TL-MR3420 v1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23137 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-27 14:54:02 +00:00
juhosg
bc82b04f3c firmware-utils/mktplinkfw: add support for the TL-WR841N v7
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23133 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-27 14:53:51 +00:00
jow
51aae6cda3 [tools] mtd-utils: revert r23075
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23076 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-15 23:50:31 +00:00
jow
c7af995072 [tools] mtd-utils: do not rely on host kernel headers, redefine the integer types instead (#7950)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23075 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-15 22:45:54 +00:00
jow
cd1651cc85 [package] revert r23048 for now until Darwin compile issues have been sorted out (#7934)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23057 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-13 18:50:41 +00:00
acoul
06af6d8061 tools/mtd-utils: update to version git-20100912
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23048 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-13 07:39:44 +00:00
nbd
a37b2b1bf9 fix build error in tools on darwin on newer macs (patch by dirtyfreebooter)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22934 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-05 16:16:59 +00:00
mb
5fd261fc89 Zcomax device firmware tool endianness fix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22885 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-04 05:40:56 +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
nbd
9dd40f163d add a command for printing a cleaned up make target database - will be used to analyze package dependencies at some point
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22871 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-01 17:51:36 +00:00
agb
1b1535d5f9 [tools] qemu: add dependency on libuuid
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22757 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-22 09:16:49 +00:00
agb
6bb84a0225 [tools] qemu: fix build failure on some systems. Closes #7767
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22751 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-21 17:02:09 +00:00
agb
63c1b925c4 [tools] quilt: needs autoconf
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-14 22:58:55 +00:00
florian
2513849ecb [tools] update wrt350nv2 builder to v2.3 (#7580)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22579 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-10 15:19:06 +00:00
agb
524f8407c5 [tools] qemu: build qemu-img for packaging vmdk and vdi images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22552 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-09 04:22:34 +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
jow
44615aa881 [tools] sed: fix compilation on FreeBSD/AMD64
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22499 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-06 00:19:34 +00:00
hauke
8eb932c7e1 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)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22418 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-30 21:19:49 +00:00
mb
1fa0de6285 firmware-utils/trx: Endianness fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22414 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-29 18:14:10 +00:00
hauke
9505c5deb3 firmware-utils: The option -F was not detected.
This was missing in r22396

This fixes build of brcm47xx


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22398 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-27 18:16:32 +00:00
acoul
f80d70ea21 tools/quilt: fix openSUSE/patch-2.6.1.81 issue (closes #7635)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22397 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-27 17:21:30 +00:00
markus
3c05ba2472 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.



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22396 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-27 15:37:37 +00:00
jow
e645dfd6f5 [tools] squashfs4: fix compilation on FreeBSD
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22347 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-22 03:09:10 +00:00
jow
674ab4a821 [tools] yaffs2: fix compilation on FreeBSD
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22345 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-22 02:59:14 +00:00
jow
ff696e3da9 [tools] mkimage: fix compilation on FreeBSD
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22344 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-22 02:43:44 +00:00
nbd
f2f28c86a2 squashfs4: backport an upstream change to fix the file mode check to allow setuid/setgid binaries (thx, ermo) - fixes #7653
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22334 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-21 17:31:16 +00:00
juhosg
c43902582a 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22169 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-13 16:51:59 +00:00
juhosg
e5e2a4f7fb firmware-utils/mktplinkfw: add support for the TL-WA901ND
Patch-by: Pieter "Fate" Hollants <pieter@hollants.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22015 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 14:49:04 +00:00
markus
0df7081ccd 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



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22012 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 10:40:22 +00:00
markus
ea4702f529 fixed trx version to handling
I forgot to write the right trx version to the actual header...


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21986 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-28 17:35:20 +00:00
florian
390543dc5a [tools] remove whitespaces in imagetag tool
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-20 11:58:40 +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
cb1d5f3bc9 [tools] fix mktitanimg segfault on 64-bits hosts (#7443)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21767 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-12 18:10:01 +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
nbd
b91699ff88 libelf: get rid of CRLF encoding in the makefile (thx, danimo)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21663 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-03 00:44:49 +00:00
nbd
388a290343 get rid of CRLF encoding in various files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21462 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-16 00:20:17 +00:00
juhosg
86154153a6 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21446 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-14 09:20:36 +00:00
juhosg
d757b8b0b4 firmware-utils/mkzynfw: don't use next_offset twice (closes #7273)
The test if a file can fit in an image considers the current offset
twice. So a image that would fit is too big.

Thanks-to: Michael Kurz <michi.kurz@googlemail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21445 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-14 09:20:34 +00:00
nbd
bae26fa121 mkimage fails to build on some systems if sed is not installed, add a dependency to fix parallel build issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21210 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-27 21:57:32 +00:00
juhosg
971c83a0ff tools/firmware-utils: add size check to the mkplanexfw tool
Also pad the image to a 64K boundary.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21174 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-26 18:28:07 +00:00
acoul
0ca0eee452 tools: update gmp to 4.3.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21147 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-24 20:11:08 +00:00
acoul
51ba54f403 tools: update quilt to 0.48
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21146 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-24 19:54:53 +00:00
acoul
cc3b43f054 tools: update cloog to 0.15.9
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21071 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-21 17:21:29 +00:00
florian
efd153827c [toolchain] fix graphite options with gcc-4.5, add libelf for LTO, fix mbsd_multi patch, patch from Bernhard Loos
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21046 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-20 16:18:08 +00:00
acoul
db425c226a add gcc-4.5.0 preliminary support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21033 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-19 15:43:08 +00:00
nbd
4a2059281b mtd-utils: remove bogus include statement to make it more portable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20853 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-14 10:50:33 +00:00
nico
abe312efd5 [cleanup] remove 'svn:executable' property
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20831 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-12 17:08:57 +00:00
acoul
7a35563612 add jffs2/lzma support (not activated by default yet)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20828 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-12 13:14:42 +00:00
florian
58dcac852c [brcm63xx] flashmap and image generation: reduced union bcm_tag to a single struct
combining the elements so that it is no longer necessary to create an openwrt-only
tagid and tagcrc, and elimate the tagid detection and switch statements which
made dealing with imagetags overly complicated, especially since the logic would
need analogs in all code that touched the imagetag. Patch from cshore.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-01 21:20:43 +00:00
florian
ec9c918aef [brcm63xx] move bcm_tag.h out of the flashmap patch so that user-land tools can re-use it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20548 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-28 18:11:06 +00:00
juhosg
c460c800ba firmware-utils/trx: add relative offset parameter
* will be used for the WRT160NL board
 * patch by Bernhard Loos
 * note: rejected parts has been fixed


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20522 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-27 17:38:26 +00:00
florian
338ed10277 [tools] revert r18760 since it prevents people from building working eva images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20437 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-26 10:12:30 +00:00
markus
f4fc288059 added support for wrt54g3gv2-vf and new trx header format
- hacked addpattern due to changes in header format
 - added "-5" to addpattern, some 0xFF are needed for trx2 header
   "-4" broke CRC checking in CFE
 - hacked trx.c due to new header format version
 - added target to create trx-V2 images

the flashmap driver possibly needs to be customized.



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20433 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-25 19:34:49 +00:00
florian
f87759a667 [tools] fix file creation mode, thanks rtz
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20293 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-18 23:35:12 +00:00
nbd
5ad9c27d39 sstrip: fix a section length corruption bug (patch from #6847)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20154 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-12 00:35:36 +00:00
juhosg
18274ae333 mktplinkfw: add option to strip padding from the end of the image
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20120 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-10 17:41:50 +00:00
juhosg
e1065cc197 mktplinkfw: fix help string, and remove duplicated option
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20067 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-08 17:35:07 +00:00
nbd
1099d43dc6 mkimage: fix spurious build errors caused by its braindead build system
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20065 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-08 17:17:46 +00:00
nbd
68e5672a7d mtd-utils: do not try to compile in support for ubifs ioctls and extended flags - some linux distros do not support this
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19846 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-24 23:02:38 +00:00
juhosg
d2617d12b7 firmware-utils/mktplinkfw: add board definitions for TL-WR941ND v4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19748 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-19 11:52:30 +00:00
thepeople
f3299d51f8 [tools/wrt350nv2-builder] Update to v2.2
fixed checksum byte calculation for other versions than 0x2019
fixed rare problem with padsize
updated info to stock firmware 2.00.20
fixed typos

Signed off by: Matthias Buecher <mail@maddes.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19683 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-17 02:18:13 +00:00
thepeople
d5df4c3d39 [tools/wrt350nv2-builder] Update to v2.1
Stays closer to the stock firmware by using wrt350n.bin for the
created image.
Adds the possibility to create the image in two separate steps (-b / -z).
Makefiles now support the possibility to include a u-boot image for a
100%-stock-like image.

Signed off by: Matthias Buecher <mail@maddes.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19596 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-12 01:40:57 +00:00
kaloz
cdce93c921 with no users left, remove support for 2.6.21
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19578 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-11 08:37:57 +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
nbd
2da653df89 mtd-utils: refresh the cygwin_fixes patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19159 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-16 00:11:47 +00:00
nbd
ac99782d22 mtd-utils: fix compile on mac os x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19158 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-16 00:11:43 +00:00
nbd
efe8a21694 libuuid: only build the static variant - fixes compile on mac os x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19157 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-16 00:11:38 +00:00
lars
90cf754566 mtd-utils depends on libuuid
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19117 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-13 13:14:35 +00:00
lars
546023e7ae Fix libuuid header location and reenable building of mkfs.ubifs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19113 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-13 05:21:50 +00:00
lars
d71781fcad mtd-utils: Don't include lzo headers aswell...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19107 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-11 16:15:52 +00:00
florian
1205338130 [tools] do not build nor install mkfs.ubifs until we have it fixed
(#6483)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19106 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-11 15:40:45 +00:00
lars
1de4e25758 Add libuuid Makefile. Oops...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19105 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-11 11:18:26 +00:00
lars
d5d38d7ac5 mtd-utils: Disable lzo for mkfs.ubifs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19104 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-11 11:04:30 +00:00
lars
41c02d4454 Add libuuid hosttool package. It's needed in order to build mkfs.ubifs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19103 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-11 11:02:54 +00:00
lars
acc6cdea01 [tools] mtd-utils: Build mkfs.ubifs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19096 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-11 01:04:15 +00:00
nbd
bb7d19a9e6 mkimage: fix compile errors on non-glibc systems
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19095 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-10 18:42:12 +00:00
kaloz
7a24648663 [tools/mkimage]: upgrade and build from the u-boot source
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19091 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-10 15:57:43 +00:00
nico
af7936637c [tools] mpfr: add missing MD5SUM
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19060 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-07 02:07:51 +00:00
florian
c8ce62bd58 [tools] make mtd-utils compile correctly on cygwin
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19039 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-05 11:06:16 +00:00
kaloz
6121023e90 remove handling of older unsupported kernels
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18955 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-27 21:54:09 +00:00
juhosg
db5288e38a ar71xx: add support for the TL-WR841N v1.5 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18893 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-22 19:31:28 +00:00
nbd
e8ab9e6d15 wrt350nv2-builder: increase path limit from 64 bytes to 256 bytes, as 64 bytes may not be enough. suggested by maddes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18794 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-16 13:47:47 +00:00
nbd
c6d72ac57a add a hacked up version of upslug2 which is able to flash a wrt350nv2 in recovery mode
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18765 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-12 02:00:50 +00:00
nbd
67c938ceba wrt350nv2-builder: fix a small off-by-one error (thx, mb)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18764 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-12 01:01:42 +00:00
nbd
286e6eda5e fix portability issues and other minor bugs in the wrt350nv2 image builder
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18762 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-12 00:44:15 +00:00
nbd
cb4115d860 add wrt350n v2 image building code from #5970 (thx, maddes)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18761 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-12 00:44:03 +00:00
mb
568c49ffd9 lzma2eva: Endianness fixes.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18760 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-11 23:50:51 +00:00
juhosg
2417cf6791 ar71xx: TL-WR1043ND support cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18697 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-08 12:46:30 +00:00
juhosg
bfbc6bd89d ar71xx: preliminary support for the TL-WR1043ND
Adds board support for the TP-Link TL-WR1043ND Based on the Atheros AP81 platform.
Presently the RTL8366RB switch support is missing due to no driver.
The ethernet works with 5 ports@1Gbit but is missing vlan support.

Hope Ive done this right, First time submiting a patch.

Signed-off-by: Andrew Tarabaras <andrew@advancedtechnologies.com.au>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18696 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-08 12:46:25 +00:00
juhosg
1ccd78cda7 tools: build old squashfs tools for ar71xx
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18596 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-29 09:33:50 +00:00