Commit Graph

593 Commits (4ea1d476a1bff514dafcd8758bdcad0ee3a0d7c4)

Author SHA1 Message Date
Jonas Gorski 6111884b1c tools: imagetag: add parameter for padding images
Allow images to be padded to a certain size. This prevents CFE from
flashing them to the second image offset.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31875 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 13:22:19 +00:00
Jo-Philipp Wich 85905945f5 [tools] scons: probe "python" and "python2" first in pywrap.sh in order to use the users preferred version if possible
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31743 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-15 20:29:32 +00:00
Jo-Philipp Wich 58b75ad2b1 [tools] scons: wrap python invocations with helper script that attempts to find a non-3.x python
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31742 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-15 20:04:07 +00:00
Felix Fietkau f61eb18b66 tools/scons: remove the python 3 compat patch, it is incomplete and breaks with python 2.5.2. i guess scons with python 3 is a lost cause...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31741 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-15 13:42:36 +00:00
Gabor Juhos 349852ec5b tools/mtd-utils: remove empty patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31705 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-13 12:32:22 +00:00
Jo-Philipp Wich 0f425fe91e [tools] scons: fix compatibility with python 3, upstream still does not support it...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31624 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-06 17:04:37 +00:00
Felix Fietkau ff33988d74 scons: override the platform instead of using the host one - fixes build issues on non-linux systems
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31620 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 21:02:35 +00:00
Felix Fietkau 768f0c40f8 tools: add scons (patch by Dave Taht)
This makes it more possible to build scons based applications
for openwrt.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31618 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 17:37:34 +00:00
Gabor Juhos af72111e78 firmware-utils/mktplinkfw: add support for the TL-WR1041N v2
Patch-by: Vince Huang <axishero@foxmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31609 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 17:02:38 +00:00
Gabor Juhos 13f705bbc1 tools: add xz dependency to automake
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31413 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-21 16:09:04 +00:00
Jo-Philipp Wich c47c2671d4 [tools] mklibs: revert r31315
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31316 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-16 15:35:45 +00:00
Jo-Philipp Wich 1452c74daf tools/mklibs: add missing <unistd.h> in readelf/elf.cpp
Fixes compile on my Arch Linux system, as unistd.h is needed for ::close().

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31315 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-16 15:11:32 +00:00
Jonas Gorski 1434cbc4c1 tools: sdcc: fix order of linking with libm
Fixes a build failure caught by buildbot.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31284 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-14 09:05:02 +00:00
Mirko Vogt 4879e3f58a [tools/mklibs] add missing includes ('unistd.h') for mklibs
This is needed when compiling with GCC >= 4.7.0 since it doesn't implicitly include 'unistd.h' anymore (needed e.g. for file operations in this particular case)

 - Thanks to Luka Perkov

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31259 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-12 12:19:56 +00:00
Jo-Philipp Wich 32d864fd63 [tools] sdcc: compiling SDCCicode.c with -O2 sends gcc 4.6.x into an infinite loop, workaround it
See references:
  http://sourceforge.net/tracker/?func=detail&aid=3285611&group_id=599&atid=300599
  http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52653


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31236 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-10 13:18:45 +00:00
Jo-Philipp Wich 4a5dfbd949 [tools] sdcc: sdcc needs sdcpp to bootstrap itself, so enable it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31229 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-09 15:55:33 +00:00
Jo-Philipp Wich e685d45ebb tools: add sdcc subdir to Makefile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31228 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-09 15:24:47 +00:00
Jo-Philipp Wich 102fa9b718 [tools] add an sdcc host build which is enabled if firmwarehotplug is selected
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31226 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-09 15:23:34 +00:00
Florian Fainelli 69d74cf63c [orion] update wrt350nv2-builder to v2.4 and use new functionality for target orion_generic
Signed-off-by: Matthias Bücher <mail@maddes.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31199 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-04 16:06:25 +00:00
Florian Fainelli c2f94b6e55 [tools] mm-macros: update to 0.9.5
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31176 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-02 16:25:38 +00:00
Florian Fainelli b22358edbf [tools] qemu: update to 0.14.1
This patch has not been tested on freebsd. File block/sheepdog.c has
been changed and the patch does no longer apply. Anyone with freebsd who
could test this?

All my other patches regarding the tools upgrade were tested on linux
x64 and produce a working image. Once submitted patches get applied I
will upgrade the remaining tools...

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31175 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-02 16:25:35 +00:00
Florian Fainelli 072d752376 [tools] mpc: update to 0.9
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31174 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-02 16:25:31 +00:00
Florian Fainelli 89402917b2 [tools] automake: update to 1.11.3
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31173 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-02 16:25:28 +00:00
Florian Fainelli bb5b1e477d [tools] xz: update to 5.0.3
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31172 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-02 16:25:25 +00:00
Florian Fainelli 87ac8a823a [tools] mkimage: update to 2011.12
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31171 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-02 16:25:23 +00:00
Florian Fainelli 13f92935d1 [tools] cloog: update to 0.15.11
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31170 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-02 16:25:20 +00:00
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