Commit Graph

767 Commits (cc6e4d9b9d722746dfe806c35a51030a58c080a6)

Author SHA1 Message Date
Florian Fainelli d519297f52 [tools] gmp: update to 5.0.4
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31169 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-02 16:25:17 +00:00
Florian Fainelli 1b64c96d51 [tools] cmake: update to 2.8.7
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31168 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-02 16:25:14 +00:00
Florian Fainelli 5ce1043cec [tools] bison: update to 2.5
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31167 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-02 16:25:11 +00:00
Florian Fainelli 9da7cbf7d7 [tools] ccache: update to 3.1.7
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31166 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-02 16:25:08 +00:00
Felix Fietkau 48d8f7b0a4 tools: fix stat symlink if destination already exists
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31072 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-26 10:07:50 +00:00
Felix Fietkau 617f57c20a tools: fix GNU stat detection to prevent it from picking up other things named "gstat" (see #4571)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31059 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-23 14:10:28 +00:00
Felix Fietkau a9706d52f2 tools: add dependency on the seq symlink
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30861 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-10 12:59:17 +00:00
Gabor Juhos 521ebf1075 tools/mtd-utils: fix build error
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30797 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-03 11:12:06 +00:00
Gabor Juhos a1458e8400 tools/mtd-utils: update mkfs.ubifs XZ support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30796 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-03 10:08:31 +00:00
Gabor Juhos 6226ca17cf tools/mtd-utils: add XZ compression support to mkfs.ubifs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30795 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-02 23:09:01 +00:00
Gabor Juhos ab871f9a82 tools/mtd-utils: cleanup mkubifs lzo patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30770 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-01 19:55:49 +00:00
Gabor Juhos d9be75a3fc tools/mtd-utils: update to 1.4.5
This updates mtd-utils in tools:
100-optional_lzo.patch and 101-ubifs-optional_lzo.patch
are now uneeded as a WITHOUT_LZO flag is provided by the
upstream sources. All remaining patches are refreshed
for the new version.
135-mkubifs_optional_lzo.patch was created to respect
WITHOUT_LZO also in mkubifs.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30769 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-01 19:55:48 +00:00
Felix Fietkau 90d1112ed3 tools: symlink seq to the host staging dir (gseq on mac os x)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30755 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-29 18:20:34 +00:00
Gabor Juhos b19b305356 firmware-utils/mkfwimage: allow to override firmware magic
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30627 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-18 14:45:54 +00:00
John Crispin f7b9691687 [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
Felix Fietkau eac4c19121 tools/genext2fs: do not include the host getline.h, it breaks the tool in subtle ways, and the source already has a getline replacement
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30479 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 16:12:08 +00:00
Jo-Philipp Wich df061331d2 [tools] automake: forcibly disable perl ithreads support
The SDK when build on a machine with perl ithreads enabled will fail to run on many Gentoo systems because perl is usually built without thread capability there.
In order to circumvent this issue forcibly disable the ithreads support, tested on CentOS 5.6, Ubuntu 10.04 LTS and Gentoo.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29979 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-01 15:06:36 +00:00
Jo-Philipp Wich 388166a051 [tools] autoconf: another relocatability fix for autom4te, substitute hardcoded prefix with $STAGING_DIR when reading autom4te.cfg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29931 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-28 04:42:15 +00:00
Jo-Philipp Wich 42b6794ef8 [tools] automake: generate relative aclocal symlinks in staging_dir
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29929 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-28 03:51:22 +00:00
Gabor Juhos a32fd3f98a firmware-utils/mkmylofw: add WPE72 support
Signed-off-by: Johnathan Boyce <jon.boyce@globalreach.eu.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29913 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-26 17:01:43 +00:00
Jo-Philipp Wich 936dac171f [tools] libtool: fix accidental sed invocation in libtoolize
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29839 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-21 09:49:53 +00:00
Jo-Philipp Wich 4056309bad [tools] quilt: some more relocatable fixes for quilt-internal scripts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29834 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-20 17:54:43 +00:00
Jo-Philipp Wich d84658c30f [tools] bison: make yacc wrapper relocatable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29831 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-20 17:30:38 +00:00
Jo-Philipp Wich 49e9bc3169 [toolsÂ] autoconf: make bin/autoconf relocatable as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29830 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-20 17:17:04 +00:00
Jo-Philipp Wich 48a0e02788 [tools] quilt: make relocatable, search resources relative to STAGING_DIR
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29829 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-20 17:11:37 +00:00
Jo-Philipp Wich 078481e37a [tools] automake: further relocation fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29828 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-20 15:19:22 +00:00
Jo-Philipp Wich 30afe193cf [tools] autoconf: further relocation fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29827 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-20 15:19:06 +00:00
Jo-Philipp Wich 3842e64d18 [tools] libtool: make relocatable, search resources relative to STAGING_DIR
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29826 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-20 14:51:44 +00:00
Jo-Philipp Wich acd7d11180 [tools] autoconf: make relocatable by searching resources relative to STAGING_DIR
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29821 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-20 02:56:08 +00:00
Jo-Philipp Wich dd7ae3135e [tools] automake: make relocatable by searching resources relative to STAGING_DIR
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29820 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-20 02:55:55 +00:00
John Crispin 1e0b48fafb 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
Gabor Juhos 17bcf5783d firware-utils/mktplinkfw: add TL-WR2543N/ND support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29681 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-07 19:36:40 +00:00
Gabor Juhos dde2004075 firmware-utils/mktplinkfw: add support for TL-WA701N/ND
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29655 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:53 +00:00
Gabor Juhos b81818bf2f firmware-utils/mktplinkfw: add support for TL-MR3020
Signed-off-by: Christian Cier-Zniewski <c.cier@gmx.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29650 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:44 +00:00
Gabor Juhos 2e0cc81c4e firmware-utils/mktplinkfw: add ability to put jffs2 eof marker into the image
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29544 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:03:42 +00:00
Gabor Juhos 95795c7644 tools/mktplinkfw: allow to specify hw_id, hw_rev and flash_layout
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29466 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-06 16:26:41 +00:00
Gabor Juhos ccf2049b10 firmware-utils/mktplinkfw: allow to align the rootfs on a specified boundary
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29445 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 14:52:31 +00:00
Gabor Juhos 051fa16811 tools/mkimage: allow to use different magic in uImages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29442 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 14:52:22 +00:00
Gabor Juhos 2af6a7d4c4 firmware-utils/mktplinkfw: fix combined image creation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29409 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-03 16:57:21 +00:00
Felix Fietkau b93d34ddef build: add a lib64 symlink in staging_dir/host and staging_dir/toolchain* for systems that prefer this as library path (e.g. current SuSE), fixes mpfr and gcc build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29352 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-28 19:19:33 +00:00
Gabor Juhos 5198e7e2ba firmware-utils/mktplinfw: use htonl/ntohl
Based on a patch by Adrian Chadd <adrian@freebsd.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29327 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-24 20:09:40 +00:00
Nicolas Thill b22b30b774 tools: use host build_dir instead of target build_dir
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29293 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-23 04:06:57 +00:00
Gabor Juhos f8cfea80ae firmware-utils/mktplinkfw: add TL-WR741ND v4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28707 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-01 11:20:54 +00:00
Vasilis Tsiligiannis b95ee030ad [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
Gabor Juhos 84a6ce7180 firmware-utils/mktplinkfw: fix hardware id of the TL-WR740 v3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28602 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-26 13:34:48 +00:00
Felix Fietkau 9f07a903e8 tools/lzma-old fix compile issues (patch from #10253)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28502 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-21 12:52:49 +00:00
Nicolas Thill a266c4f43b [tools] upx: fix build error
g++ -O2 -Wall -W -Wcast-align -Wcast-qual -Wpointer-arith -Wshadow -Wwrite-strings -Werror -o compress.o -c compress.cpp
cc1plus: warnings being treated as errors
compress.cpp:75: error: unused parameter 'src'
...



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28500 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-21 11:31:25 +00:00
Jonas Gorski fa36a25a54 squashfs4: Add support for LZMA Magic to unsquashfs
Some vendor firmwares use a different super block magic to indicate LZMA
compression. This patches adds support for detecting this and enable
extraction for those firmware's root filesystems.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28489 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-19 10:17:28 +00:00
Imre Kaloz 3c5ef16f04 [tools]: add upx, but make it build only for ppc now
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28428 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-12 10:42:38 +00:00
Gabor Juhos a2037eae5d firmware-utils/mktplinkfw: add support for TL-WR703N v1
Patch-by: dongyuqi <729650915@qq.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28278 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-21 11:47:55 +00:00
Gabor Juhos 821f14fb0a firmware-utils/mktplinkfw: add support for TL-WR743ND v1
Signed-off-by: Paul Fertser <fercerpav@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28270 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-21 11:47:42 +00:00
Gabor Juhos d7b385e0a8 firmware-utils/mktplinkfw: add support for TL-WR740N v3
Signed-off-by: Martin Raykov <martin.raykov@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28268 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-21 11:47:39 +00:00
Lars-Peter Clausen 652b0357c9 [tools] mkimage/getline.h - Mac OS X 10.7 (Lion) fix
This mends mkimage for getline() in Mac OS X 10.7.

Signed-off-by: Joe Roback <openwrt-devel at roback.cc>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27917 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-05 16:53:43 +00:00
Lars-Peter Clausen 24d7d4bd24 [tools] host/include/getline.h - Mac OS X 10.7 (Lion) fix
Apple has finally updated their version of Libc, and it now includes getline(). \o/

The following patch fixes OpenWRT getline.h to not redefine it for 10.7. The one
caveat is, the includes (at least stdio.h) are needed before the #ifdef so that
__DARWIN_C_LEVEL could be properly defined (it is not a compiler built-in define
like __linux__ or __APPLE__).

This one fixes the host/include/getline.h. The next patch will mend the mkimage
package.

Signed-off-by: Joe Roback <openwrt-devel at roback.cc>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27916 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-05 16:52:46 +00:00
Felix Fietkau 0bdbd33dcb tools/quilt: fix spurious calls to the configure and Makefile targets (#8462)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27869 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-01 19:22:45 +00:00
Jo-Philipp Wich 2b36cc83f3 [include] autotools.mk: implement PKG_FIXUP:=patch-libtool
This change allows to apply OpenWrt, Buildroot and OE libtool fixes to packages which fail badly at autoreconf.
The fixup covers the common libtool versions 1.5, 2.2 and 2.4 and automatically determines the correct
version to use.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27855 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-01 00:22:53 +00:00
Felix Fietkau 5611c2142c quilt: make it possible to override the path to getopt (based on patch from #9842)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27852 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-31 17:59:35 +00:00
Felix Fietkau 99477de202 squashfs4: fix a compile error on big-endian systems (patch from #9842)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27851 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-31 17:59:31 +00:00
Felix Fietkau 81a40cb8b3 squashfs4: add missing include for freebsd (patch from #9842)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27850 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-31 17:59:25 +00:00
Felix Fietkau 090a5384df pkg-config: fix prefix
Now:

% PATH=./staging_dir/host/bin:$PATH STAGING_PREFIX=/test PKG_CONFIG_PATH=$(echo staging_dir/target-*/usr/lib/pkgconfig) ./staging_dir/host/bin/pkg-config --cflags lua -I/test//include

After applying the patch:

% PATH=./staging_dir/host/bin:$PATH STAGING_PREFIX=/test PKG_CONFIG_PATH=$(echo staging_dir/target-*/usr/lib/pkgconfig) ./staging_dir/host/bin/pkg-config --cflags lua -I/test/include

I guess that there sould not be '//' but only one '/'.

Signed-off-by: Luka Perkov < openwrt ->-to->- lukaperkov.net >

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27744 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-24 09:02:49 +00:00
Felix Fietkau 4903cab0d4 firmware-utils: rename the devname variable in mkwrgimg to avoid a clash with a BSD stdlib function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27553 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-08 05:20:24 +00:00
Gabor Juhos 6780ee387d 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
Gabor Juhos 47453efcd4 tools/firmware-utils: allow to create buffalo image from two files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27473 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-06 08:04:50 +00:00
Gabor Juhos 236c920aca tools/firmware-utils: allow to create buffalo tags w/o hw version
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27472 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-06 08:04:49 +00:00
Gabor Juhos bcac11b460 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
Felix Fietkau c01e8cfc4f tools: always build mpc, now that older gcc versions have been eliminated, fixes #9642
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27363 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-02 10:49:15 +00:00
Felix Fietkau 41d51f6782 padjffs2: fix a compiler warning that makes the build fail because of -Werror
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27361 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-02 09:47:19 +00:00
Gabor Juhos 726a70f17e tools: create a new tool for more efficient jffs2 padding
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27355 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-02 08:37:56 +00:00
Felix Fietkau 2bff76170f add a portable version of sys/sysmacros.h and and let the kernel use the host include dir, fixes x86 builds on non-gnu systems
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27346 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-02 06:49:56 +00:00
Felix Fietkau 4c72559742 move mkelfimage from tools/ to package/ as it needs a proper i386 toolchain - make the package hidden so that it is automatically built without having to be selected
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27345 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-02 06:49:36 +00:00
Imre Kaloz 15db4fcf8d [tools/mkimage]: use u-boot 2011.06 as source
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27336 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-01 13:36:23 +00:00
Hauke Mehrtens 1f71cdebe0 firmware-utils: fix build on big endian systems
This closes #9446


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27255 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-21 21:13:58 +00:00
Gabor Juhos 591e4c3352 tools/firmware-utils: fix buffalo csum calculation
Also print an error message if decryption fails.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27167 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-13 08:12:41 +00:00
Gabor Juhos d472510430 tools/firmware-utils: add support for hd_id tag into mkdniimg
Signed-off-by: Mark Mentovai <mark@moxienet.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27052 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 22:53:24 +00:00
Gabor Juhos 37ae50ee24 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
John Crispin d5449e1acc [tools]
* adds mkelfimage



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26918 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-17 10:33:46 +00:00
Florian Fainelli 8615c287a1 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
Jo-Philipp Wich 5506e60734 [PATCH] quilt: fix building with dash
`test x == x` gives a syntax error with dash (standard in Debian).
The modified patch reflects the current upstream:
http://git.savannah.gnu.org/cgit/quilt.git/commit/?id=38df0b210c3df67f3e784af92232ae1946b98ecd


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26804 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-02 12:53:32 +00:00
Daniel Dickinson b2ae50ed27 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26680 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-15 12:18:25 +00:00
Jo-Philipp Wich 94920b0e8a [tools] ipkg-utils: use (g)stat instead of "du -b" to find package size, fixes Darwin compat (#9214)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26642 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-13 13:26:26 +00:00
Jo-Philipp Wich 5cf0e4f471 missing-macros: add GTKDOC_REBASE macro needed by some newer packages
Signed-off-by: Jochen Friedrich <jochen@scram.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26620 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 20:19:52 +00:00
Hauke Mehrtens 51633f949d 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26543 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-09 15:06:01 +00:00
Felix Fietkau ffaa47c172 make the build system a bit more silent without V=99
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26460 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-04 00:54:37 +00:00
Hauke Mehrtens 6fe32943b3 m4: update to version 1.4.16
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26439 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-03 13:19:54 +00:00
Hauke Mehrtens 04fbc89331 xz: update to version 5.0.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26438 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-03 13:19:16 +00:00
Felix Fietkau 5895d8fd56 lzma-old: do not install $(STAGING_DIR_HOST)/bin/lzma
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26423 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-03 01:02:03 +00:00
Felix Fietkau 4613220875 tools/squashfs4: update to version 4.2 (adds support for xz compression)
Based on a patch by Jonas Gorski

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26422 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-03 01:02:00 +00:00
Alexandros C. Couloumbis 1693ec0bb2 tools/cmake: update to version 2.8.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26283 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-24 11:27:07 +00:00
Jo-Philipp Wich dd11dfcc3f [tools] ipkg-utils: utilize the tar -p flag to preserve permissions (#7667)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26258 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-21 17:36:50 +00:00
Gabor Juhos f3d20a6c69 firmware-utils/mktplinkfw: add support for the TP-Link TL-WA901ND v2 board
Patch-by: Jonathan Benett <jbscience87@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26118 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-13 15:08:29 +00:00
Alexandros C. Couloumbis 53519e5503 tools/xz: add some upstream patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26018 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-10 18:41:33 +00:00
Jo-Philipp Wich daee4aa5f2 [tools] package xfce-macros, required for autoreconf in xfce4 packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25974 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-09 14:44:23 +00:00
Jo-Philipp Wich 020319a7cc [tools] bison: fix compilation with stub intl header
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25869 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-04 20:37:15 +00:00
Alexandros C. Couloumbis 51ae2b31e5 tools/xz: update to version 5.0.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25847 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-03 10:26:11 +00:00
Felix Fietkau 84b78edf81 mklibs: fix some long standing libpthread symbol link issues, mostly related to weak function overrides between libgcc, libc and libpthread
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25795 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-28 18:17:02 +00:00
Felix Fietkau 57b134349f mklibs: properly fix library linking - the relinking in some instances used static libraries instead of shared ones with the same name, that led to some nasty symbol conflicts and pic issues. fix this by always using the full path to the libraries and also fix the libc vs libpthread linking order
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25793 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-28 16:17:04 +00:00
Felix Fietkau 2ab935a3a0 tools/e2fsprogs: move uuid/uuid.h into a subdirectory, it conflicts with a system header file with the same name on darwin
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25598 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-20 03:25:56 +00:00
Felix Fietkau 228dd030c0 squashfs4: make the lzma parameters configurable, and change the defaults for slightly improved compression on mips (mostly unchanged on other architectures)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25530 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-13 19:59:02 +00:00
Hauke Mehrtens a11783f9d6 brcm47xx: fix error when build firmware on x86_64 host (closes #7672)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25472 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-12 13:17:47 +00:00
Imre Kaloz 599f1671cc [tools/wrt350nv2-builder]: the url isn't valid for some time
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25463 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-11 14:03:04 +00:00
Jo-Philipp Wich 768a905d0c [tools] libtool: fix misspelled procedure name...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25351 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-03 20:34:34 +00:00
Felix Fietkau b0ee5554e3 tools/mpc: add dependency on mpfr
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25279 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-01 16:21:46 +00:00
Felix Fietkau 42f0435331 add tools/cmake
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25264 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-31 20:15:57 +00:00
Michael Büsch 390ce6b4b6 Add missing XAW macros
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25159 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-27 19:52:36 +00:00
Imre Kaloz c82aa42db6 cleanup toolchain version handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25148 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-27 13:55:00 +00:00
Jo-Philipp Wich c07b1ff9d2 [tools] remove bogus qemu dependency
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25032 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-17 05:58:40 +00:00
Jo-Philipp Wich 5a89b069c8 tools/ipkg-utils: calculate installed size from embedded data.tar.gz, makes opkg space checking more precise
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25021 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-16 22:16:49 +00:00
Jo-Philipp Wich 2703d41901 [tools] mklibs: import missing symbol workaround from Freetz project (#7590)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24984 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-14 10:49:41 +00:00
Gabor Juhos 619a487ff3 firmware-utils/mkdniimg: don't use NA region by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24981 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-14 10:37:09 +00:00
Gabor Juhos 1222152a82 firmware-utils/wndr3700: allow to specify image magic via command line
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24980 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-14 10:37:04 +00:00
Alexandros C. Couloumbis 9c1e174ded tools/mkimage: fix r24887
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24890 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-03 14:27:53 +00:00
Alexandros C. Couloumbis ba26e4c4db tools/qemu: fix FreeBSD compile issue
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24888 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-03 12:59:43 +00:00
Alexandros C. Couloumbis 0f02b1885e tools/mkimage: fix compilation on FreeBSD
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24887 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-03 12:30:19 +00:00
Jo-Philipp Wich c97b524b65 [tools] missing-macros: add as-unaligned-access.m4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24878 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-02 01:23:44 +00:00
Jo-Philipp Wich aec2bdb65a [tools] missing-macros: add as-compiler-flag.m4 and as-version.m4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24877 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-02 01:14:45 +00:00
Jo-Philipp Wich b9a0138f59 [tools] revert r24851, it breaks compilation on many hosts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24866 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-01 15:51:12 +00:00
Hauke Mehrtens 91c00969b4 tools: add some missing dependencies
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24865 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-01 15:18:57 +00:00
Felix Fietkau 167332ea2e tools/mkimage: remove the broken portability patch, it is no longer necessary with the new version
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24857 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-30 15:48:32 +00:00
Alexandros C. Couloumbis 9ac43f0eb1 tools/e2fsprogs: update to version 1.41.14
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24851 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-29 17:38:48 +00:00
Jo-Philipp Wich 58361fdf99 [tools] missing-macros: add as-ac-expand.m4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24846 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-29 09:39:09 +00:00
Daniel Dickinson ec103967cb 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24838 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-26 04:18:13 +00:00
Gabor Juhos 605dc51087 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24811 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-23 12:42:16 +00:00
Imre Kaloz 93ecf94d98 [tools/mkimage]: use u-boot v2010.12
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24809 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-23 00:07:58 +00:00
Jo-Philipp Wich bc23e272b6 [tools] missing-macros: extend fake-gtk-doc-check.m4 (fixes autoreconf in orbit2), provide fake-intltool.m4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24787 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-22 09:33:06 +00:00
Jo-Philipp Wich ffa78426d4 [tools] missing-macros: add xmms.m4, from libflac
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24784 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-22 08:04:33 +00:00
Jo-Philipp Wich 8d2db5e858 [tools] missing-macros: add missing serial numbers, split acc.m4 into mfx_acc.m4, mfx_cppflags.m4 and mfx_limits.m4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24763 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-22 01:21:06 +00:00
Jo-Philipp Wich fe6e7150c3 [tools] missing-macros: fix a bunch of underquoted definition warnings in various 3rd party macros
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24761 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-22 01:03:17 +00:00
Jo-Philipp Wich 33b2fbc6d8 [tools] missing-macros: add more m4 macros from gettext, ossp-js, libmikmod, libdnet
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24757 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-22 00:38:21 +00:00
Jo-Philipp Wich c5ad6f017e [tools] missing-macros: add acc.m4, used by ucl and lzo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24756 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-22 00:11:47 +00:00
Jo-Philipp Wich 7ec016fe57 [tools] add missing makefile in previous commit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24755 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-22 00:03:15 +00:00
Jo-Philipp Wich 1d0bd7a31d [tools] package mm-common, this provides missing m4 macros for glibmm, gtkmm, cairomm and other Gnome C++ bindings
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24754 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-22 00:02:36 +00:00
Jo-Philipp Wich 0a60d4f2af [tools] introduce missing-macros meta package, this will supply needed m4 macros which are used but not shipped by various packages in feeds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24753 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-21 23:50:41 +00:00
Jo-Philipp Wich 8a05d522c6 [tools] libtool: extend all ltmain.m4sh patches to cover ltmain.sh as well, prevent configure from embedding host library paths
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24752 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-21 22:37:54 +00:00
Jo-Philipp Wich 77e6133954 [tools] libtool: strip unsave directories from relink command, nuke every -L that looks like /usr/lib or /lib
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24741 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-20 19:43:57 +00:00
Hauke Mehrtens a22fbebb05 e2fsprogs: add two compile fixes.
Thank you Joe Roback for reporting and fixing compiling on Darwin.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24720 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-19 11:43:45 +00:00
Hauke Mehrtens b1ea33a4f8 tools: fix dependencies
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24693 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-19 00:05:17 +00:00
Jo-Philipp Wich 24fdafc304 [tools] the mpfr dependencies accidentally got broken up, fix it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24684 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-18 19:59:04 +00:00
Hauke Mehrtens 8f28f4bf39 e2fsprogs: update to version 1.41.13
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24683 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-18 19:47:11 +00:00
Hauke Mehrtens 18a4a92b1c tools: add missing dependencies
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24682 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-18 19:46:39 +00:00
Hauke Mehrtens 53561f6994 cloog: libtools has to be run
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24681 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-18 19:34:55 +00:00
Hauke Mehrtens 7aa038b3c1 ppl: go back to version 0.10.2
GCC 4.5 needs ppl in version 0.10.2. The patch makes it compile with gmp 5.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24680 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-18 19:34:04 +00:00
Jo-Philipp Wich 39140aae07 [tools] make libtool a tool build and let autoconf depend on it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24673 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-18 18:07:53 +00:00
Gabor Juhos 82e2bf1f16 firmware-utils/mkzynfw: fix available flash space calculation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24653 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-17 20:34:31 +00:00
Jo-Philipp Wich d4fe3146b7 [tools] build flex on the host, some pakcages need it in the newest version
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24631 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-17 02:41:16 +00:00
Jo-Philipp Wich 03000283da [tools] mpfr: reenable HOST_FIXUP, it *should* work okay now after r24570
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24571 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-15 00:39:14 +00:00
Jo-Philipp Wich 7a8254a581 [tools] mpfr: disable host fixup for now
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24557 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-13 23:07:30 +00:00
Jo-Philipp Wich d9df1e57f5 [tools] reorder dependencies
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24556 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-13 21:02:31 +00:00
Jo-Philipp Wich c9b8a4cad3 [tools] mpfr: use autoreconf host fixup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24555 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-13 21:01:34 +00:00
Florian Fainelli 30ce14b5fc Revert "[tools] sstrip: Correct include path to really get endian.h" (#8447)
This reverts commit ac0f793ae985db73caf99916336569c211a759f8.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24516 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-12 14:53:24 +00:00
Daniel Dickinson 92e7214121 [tools] Makefile: Put lzma before squashfs so compile of squashfs4 succeeds (depends on lzma)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24513 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-12 05:50:47 +00:00
Daniel Dickinson b30b5da762 [tools] sstrip: Correct include path to really get endian.h
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24512 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-12 05:02:41 +00:00
Daniel Dickinson 4755039901 Revert "[tools] sstrip: Was missing include of <byteswap.h>"
This reverts commit bcb48716d097c16834f222c267c73e847f4a8dd0.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24511 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-12 04:59:51 +00:00
Daniel Dickinson 7a97921bce [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 Mehrtens 96a66fe17b 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
Felix Fietkau a19ac0ab21 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 Mehrtens d67ccddfcf 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
Felix Fietkau 9c8f1a4da5 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
Jo-Philipp Wich 7ffb9a20d6 [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
Jo-Philipp Wich 1e0decbb96 [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
Jo-Philipp Wich aefe068d06 [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
Jo-Philipp Wich a887f2be57 [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
Gabor Juhos ec84d57d10 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
Jo-Philipp Wich 2356a41233 [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
Jo-Philipp Wich 1998779bd6 [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
Jo-Philipp Wich d47f844c99 [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
Felix Fietkau b7cd143d1c 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
Jo-Philipp Wich dde3336f0d [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
Jo-Philipp Wich 9ea2482194 [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
Jo-Philipp Wich ea9e5d72aa [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
Jo-Philipp Wich b69485d99f [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
Alexandros C. Couloumbis 3596666f1a 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
Alexandros C. Couloumbis 0120169471 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
Alexandros C. Couloumbis 1290953f06 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
Alexandros C. Couloumbis 1a4f1b6584 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
Alexandros C. Couloumbis be65dbc90a 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
Alexandros C. Couloumbis 9bd6dcb9ba 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
Alexandros C. Couloumbis abf928b1d8 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
Alexandros C. Couloumbis 97954f6e48 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
Alexandros C. Couloumbis 5620baa9b4 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
Alexandros C. Couloumbis 785469737d 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
Alexandros C. Couloumbis 166a469b0b 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
Alexandros C. Couloumbis 23c1a14e56 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 Mehrtens d0757421a7 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
Alexandros C. Couloumbis d5634c554b 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
Alexandros C. Couloumbis 62c721aac1 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
Alexandros C. Couloumbis 0dd88d0a3b 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
Alexandros C. Couloumbis 28ab38511e 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
Felix Fietkau 8fdb4f5787 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
Felix Fietkau a5256107f1 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
Imre Kaloz 00da58c6ae 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
Imre Kaloz 276290e86b [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
Daniel Dickinson caefcca898 [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
Daniel Dickinson 2d31577125 [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
Alexandros C. Couloumbis 5d1ac2fb37 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
Michael Büsch 73753aef90 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
Felix Fietkau d582572b08 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
Alexandros C. Couloumbis 5a604e9538 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
Jo-Philipp Wich fe82ccb835 [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
Jo-Philipp Wich 568fd53c83 [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
Jo-Philipp Wich 4b56e28bbb [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
Imre Kaloz 961a7ea9c6 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
Imre Kaloz 9cf7ac1199 [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
Alexandros C. Couloumbis 5923e0e180 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
Jo-Philipp Wich 8affb49069 [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
Alexandros C. Couloumbis 8d6ec9e470 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
Alexandros C. Couloumbis 1ac30b66a6 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-Peter Clausen 59c8c4fac7 [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
Jo-Philipp Wich 500055a6ad [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
Jo-Philipp Wich ec5439f204 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
Alexandros C. Couloumbis 5dab71a402 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
Gabor Juhos 4cda300019 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
Gabor Juhos 64a74c52e0 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
Jo-Philipp Wich b6bac9b907 [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
Jo-Philipp Wich 7b30153bd9 [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
Jo-Philipp Wich 940f4bb307 [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
Alexandros C. Couloumbis a1044e4906 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
Felix Fietkau 607146b4f2 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
Michael Büsch ef67285052 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
Gabor Juhos 42a913f817 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
Felix Fietkau e3b691c96c 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
Andy Boyett e78e58e4de [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
Andy Boyett 9d6ca18739 [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
Andy Boyett 461fc7d3a9 [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 Fainelli 0a46a65d59 [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
Andy Boyett df7283d7f0 [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 Mehrtens c9d8571734 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
Jo-Philipp Wich 02d0ada4d2 [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 Mehrtens 43aabdf185 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
Michael Büsch ff71f10390 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 Mehrtens 4dbe40188f 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
Alexandros C. Couloumbis 369fae1a4c 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 Wigge 520b6d0ce0 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
Jo-Philipp Wich 5cc9f1ca06 [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
Jo-Philipp Wich 1f704a6e49 [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
Jo-Philipp Wich ed24f5548a [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
Felix Fietkau 3031cf083a 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
Gabor Juhos 61c81bfbe9 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
Gabor Juhos b76444287b 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 Wigge 785ebf7bf3 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 Wigge 54ffe62ded 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 Fainelli e2ca235a69 [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 Fainelli fa8999e464 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 Fainelli b39b1b61a9 [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 Fainelli 0be9ece4bc [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 Fainelli efe0f8bd76 [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
Felix Fietkau b7fae73a93 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
Felix Fietkau 55de6aeeb9 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
Gabor Juhos 2923f9f5a6 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
Gabor Juhos 3574cdbc0a 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
Felix Fietkau 262cd87b5b 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