Commit Graph

611 Commits (5d37f15006763148f5075a0ee83d626305d05015)

Author SHA1 Message Date
Florian Fainelli 093b12cba9 automake: update to 1.11.3
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

SVN-Revision: 31173
2012-04-02 16:25:28 +00:00
Florian Fainelli 9c6d6caf0e xz: update to 5.0.3
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

SVN-Revision: 31172
2012-04-02 16:25:25 +00:00
Florian Fainelli 6d4358aed0 mkimage: update to 2011.12
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

SVN-Revision: 31171
2012-04-02 16:25:23 +00:00
Florian Fainelli fe44af36ae cloog: update to 0.15.11
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

SVN-Revision: 31170
2012-04-02 16:25:20 +00:00
Florian Fainelli ce7726405c gmp: update to 5.0.4
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

SVN-Revision: 31169
2012-04-02 16:25:17 +00:00
Florian Fainelli 7d91de232d cmake: update to 2.8.7
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

SVN-Revision: 31168
2012-04-02 16:25:14 +00:00
Florian Fainelli dde7e0d6c5 bison: update to 2.5
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

SVN-Revision: 31167
2012-04-02 16:25:11 +00:00
Florian Fainelli db75102223 ccache: update to 3.1.7
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

SVN-Revision: 31166
2012-04-02 16:25:08 +00:00
Felix Fietkau d5234a74b6 tools: fix stat symlink if destination already exists
SVN-Revision: 31072
2012-03-26 10:07:50 +00:00
Felix Fietkau c49f66675e tools: fix GNU stat detection to prevent it from picking up other things named "gstat" (see #4571)
SVN-Revision: 31059
2012-03-23 14:10:28 +00:00
Felix Fietkau ffa4a3c4f5 tools: add dependency on the seq symlink
SVN-Revision: 30861
2012-03-10 12:59:17 +00:00
Gabor Juhos 7a7d39cef3 tools/mtd-utils: fix build error
SVN-Revision: 30797
2012-03-03 11:12:06 +00:00
Gabor Juhos 087747cd43 tools/mtd-utils: update mkfs.ubifs XZ support
SVN-Revision: 30796
2012-03-03 10:08:31 +00:00
Gabor Juhos c503f44f9c tools/mtd-utils: add XZ compression support to mkfs.ubifs
SVN-Revision: 30795
2012-03-02 23:09:01 +00:00
Gabor Juhos 8e0af8361d tools/mtd-utils: cleanup mkubifs lzo patch
SVN-Revision: 30770
2012-03-01 19:55:49 +00:00
Gabor Juhos 3698c6a391 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>

SVN-Revision: 30769
2012-03-01 19:55:48 +00:00
Felix Fietkau bb5bccef7c tools: symlink seq to the host staging dir (gseq on mac os x)
SVN-Revision: 30755
2012-02-29 18:20:34 +00:00
Gabor Juhos 84267683bb firmware-utils/mkfwimage: allow to override firmware magic
SVN-Revision: 30627
2012-02-18 14:45:54 +00:00
John Crispin cd1a204365 Support booting the Speedport W502V using BRN-BOOT.
While the disadvantage is less available flash space, it's easy and
safe to flash without opening the device.
Going back to the original firmware is also possible.

This patch add two firmware utilities, mkbrncmdline and mkbrnboot.

mkbrncmdline patches the uncompressed kernel so the registeres a0 to
a3 are initialized and the memory size is passed in.

mkbrnboot takes the lzma compressed kernel and squashfs images and
creates a firmware image that can be flashed using the BRN-BOOT
recovery kernel, which is booted by holding both buttons when
powering up the device and will listen on http://192.168.2.1.

The firmware file from bin/lantiq/ to use is
openwrt-lantiq-danube-ARV4525PW-BRNDTW502-brnImage

The BRN-BOOT recovery kernel does size-check the image, so if it's
too big to fit into flash it will complain accordingly.

A second patch is needed to make the wired network interface work
since there is no u-boot to pre-initialise it.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>

SVN-Revision: 30532
2012-02-14 17:48:04 +00:00
Felix Fietkau c2e411fa8d tools/genext2fs: do not include the host getline.h, it breaks the tool in subtle ways, and the source already has a getline replacement
SVN-Revision: 30479
2012-02-12 16:12:08 +00:00
Jo-Philipp Wich 1ef07eee4a 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.
SVN-Revision: 29979
2012-02-01 15:06:36 +00:00
Jo-Philipp Wich 478d9fc97e autoconf: another relocatability fix for autom4te, substitute hardcoded prefix with $STAGING_DIR when reading autom4te.cfg
SVN-Revision: 29931
2012-01-28 04:42:15 +00:00
Jo-Philipp Wich 537164cb6d automake: generate relative aclocal symlinks in staging_dir
SVN-Revision: 29929
2012-01-28 03:51:22 +00:00
Gabor Juhos 1338af2640 firmware-utils/mkmylofw: add WPE72 support
Signed-off-by: Johnathan Boyce <jon.boyce@globalreach.eu.com>

SVN-Revision: 29913
2012-01-26 17:01:43 +00:00
Jo-Philipp Wich ab2f3dc034 libtool: fix accidental sed invocation in libtoolize
SVN-Revision: 29839
2012-01-21 09:49:53 +00:00
Jo-Philipp Wich 42425cccfc quilt: some more relocatable fixes for quilt-internal scripts
SVN-Revision: 29834
2012-01-20 17:54:43 +00:00
Jo-Philipp Wich c7d19be230 bison: make yacc wrapper relocatable
SVN-Revision: 29831
2012-01-20 17:30:38 +00:00
Jo-Philipp Wich e2180091d9 autoconf: make bin/autoconf relocatable as well
SVN-Revision: 29830
2012-01-20 17:17:04 +00:00
Jo-Philipp Wich caa9e0e0f3 quilt: make relocatable, search resources relative to STAGING_DIR
SVN-Revision: 29829
2012-01-20 17:11:37 +00:00
Jo-Philipp Wich 122069caba automake: further relocation fixes
SVN-Revision: 29828
2012-01-20 15:19:22 +00:00
Jo-Philipp Wich fccdc995da autoconf: further relocation fixes
SVN-Revision: 29827
2012-01-20 15:19:06 +00:00
Jo-Philipp Wich b446876387 libtool: make relocatable, search resources relative to STAGING_DIR
SVN-Revision: 29826
2012-01-20 14:51:44 +00:00
Jo-Philipp Wich a5a790a68f autoconf: make relocatable by searching resources relative to STAGING_DIR
SVN-Revision: 29821
2012-01-20 02:56:08 +00:00
Jo-Philipp Wich 4174cdabde automake: make relocatable by searching resources relative to STAGING_DIR
SVN-Revision: 29820
2012-01-20 02:55:55 +00:00
John Crispin ccb6b0a063 tools: clean up Makefiles / make ccache work
SVN-Revision: 29754
2012-01-15 11:43:13 +00:00
Gabor Juhos 8a8e5bde15 firware-utils/mktplinkfw: add TL-WR2543N/ND support
SVN-Revision: 29681
2012-01-07 19:36:40 +00:00
Gabor Juhos 923e5d3543 firmware-utils/mktplinkfw: add support for TL-WA701N/ND
SVN-Revision: 29655
2012-01-04 17:30:53 +00:00
Gabor Juhos 55e13f4e6a firmware-utils/mktplinkfw: add support for TL-MR3020
Signed-off-by: Christian Cier-Zniewski <c.cier@gmx.de>

SVN-Revision: 29650
2012-01-04 17:30:44 +00:00
Gabor Juhos 29a2c2ea80 firmware-utils/mktplinkfw: add ability to put jffs2 eof marker into the image
SVN-Revision: 29544
2011-12-15 22:03:42 +00:00
Gabor Juhos 2592c0a283 tools/mktplinkfw: allow to specify hw_id, hw_rev and flash_layout
SVN-Revision: 29466
2011-12-06 16:26:41 +00:00
Gabor Juhos 54c8d61b03 firmware-utils/mktplinkfw: allow to align the rootfs on a specified boundary
SVN-Revision: 29445
2011-12-05 14:52:31 +00:00
Gabor Juhos f3d2056b81 tools/mkimage: allow to use different magic in uImages
SVN-Revision: 29442
2011-12-05 14:52:22 +00:00
Gabor Juhos 81cda3e2f1 firmware-utils/mktplinkfw: fix combined image creation
SVN-Revision: 29409
2011-12-03 16:57:21 +00:00
Felix Fietkau 830282cc89 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
SVN-Revision: 29352
2011-11-28 19:19:33 +00:00
Gabor Juhos 6632e38d08 firmware-utils/mktplinfw: use htonl/ntohl
Based on a patch by Adrian Chadd <adrian@freebsd.org>

SVN-Revision: 29327
2011-11-24 20:09:40 +00:00
Nicolas Thill 0b5fef06ee tools: use host build_dir instead of target build_dir
SVN-Revision: 29293
2011-11-23 04:06:57 +00:00
Gabor Juhos 13b0ec6cf7 firmware-utils/mktplinkfw: add TL-WR741ND v4
SVN-Revision: 28707
2011-11-01 11:20:54 +00:00
Vasilis Tsiligiannis aadbbc4bac Add firmware tool for generating factory images for Edimax devices
SVN-Revision: 28688
2011-10-30 22:57:41 +00:00
Gabor Juhos 500a8e2014 firmware-utils/mktplinkfw: fix hardware id of the TL-WR740 v3
SVN-Revision: 28602
2011-10-26 13:34:48 +00:00
Felix Fietkau 0b893424ff tools/lzma-old fix compile issues (patch from #10253)
SVN-Revision: 28502
2011-10-21 12:52:49 +00:00
Nicolas Thill 0eab6e2a7d 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'
...

SVN-Revision: 28500
2011-10-21 11:31:25 +00:00
Jonas Gorski 90673a048c 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.

SVN-Revision: 28489
2011-10-19 10:17:28 +00:00
Imre Kaloz bda02cc60f add upx, but make it build only for ppc now
SVN-Revision: 28428
2011-10-12 10:42:38 +00:00
Gabor Juhos 712521955b firmware-utils/mktplinkfw: add support for TL-WR703N v1
Patch-by: dongyuqi <729650915@qq.com>

SVN-Revision: 28278
2011-09-21 11:47:55 +00:00
Gabor Juhos ffbdaf8ec8 firmware-utils/mktplinkfw: add support for TL-WR743ND v1
Signed-off-by: Paul Fertser <fercerpav@gmail.com>

SVN-Revision: 28270
2011-09-21 11:47:42 +00:00
Gabor Juhos 9faace4327 firmware-utils/mktplinkfw: add support for TL-WR740N v3
Signed-off-by: Martin Raykov <martin.raykov@gmail.com>

SVN-Revision: 28268
2011-09-21 11:47:39 +00:00
Lars-Peter Clausen b043b26b54 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>

SVN-Revision: 27917
2011-08-05 16:53:43 +00:00
Lars-Peter Clausen bf64b1ccb6 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>

SVN-Revision: 27916
2011-08-05 16:52:46 +00:00
Felix Fietkau fbb4f37633 tools/quilt: fix spurious calls to the configure and Makefile targets (#8462)
SVN-Revision: 27869
2011-08-01 19:22:45 +00:00
Jo-Philipp Wich bd982fb72c 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.
SVN-Revision: 27855
2011-08-01 00:22:53 +00:00
Felix Fietkau 5ee5f0d314 quilt: make it possible to override the path to getopt (based on patch from #9842)
SVN-Revision: 27852
2011-07-31 17:59:35 +00:00
Felix Fietkau fa9521ad91 squashfs4: fix a compile error on big-endian systems (patch from #9842)
SVN-Revision: 27851
2011-07-31 17:59:31 +00:00
Felix Fietkau de23984834 squashfs4: add missing include for freebsd (patch from #9842)
SVN-Revision: 27850
2011-07-31 17:59:25 +00:00
Felix Fietkau 48bf10fba2 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 >

SVN-Revision: 27744
2011-07-24 09:02:49 +00:00
Felix Fietkau bdb676b90d firmware-utils: rename the devname variable in mkwrgimg to avoid a clash with a BSD stdlib function
SVN-Revision: 27553
2011-07-08 05:20:24 +00:00
Gabor Juhos 9d980dc121 tools/firmware-utils: add yet another buffalo tool
SVN-Revision: 27475
2011-07-06 08:04:53 +00:00
Gabor Juhos 533067b8f5 tools/firmware-utils: allow to create buffalo image from two files
SVN-Revision: 27473
2011-07-06 08:04:50 +00:00
Gabor Juhos ea6bc8858a tools/firmware-utils: allow to create buffalo tags w/o hw version
SVN-Revision: 27472
2011-07-06 08:04:49 +00:00
Gabor Juhos 1c5b7d0a32 tools/firmware-utils: add new firmware tool for the DIR-300-B1 board
SVN-Revision: 27438
2011-07-04 06:48:42 +00:00
Felix Fietkau 3a983b98c9 tools: always build mpc, now that older gcc versions have been eliminated, fixes #9642
SVN-Revision: 27363
2011-07-02 10:49:15 +00:00
Felix Fietkau e194acb471 padjffs2: fix a compiler warning that makes the build fail because of -Werror
SVN-Revision: 27361
2011-07-02 09:47:19 +00:00
Gabor Juhos 7ce98c6001 tools: create a new tool for more efficient jffs2 padding
SVN-Revision: 27355
2011-07-02 08:37:56 +00:00
Felix Fietkau fc0863785a 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
SVN-Revision: 27346
2011-07-02 06:49:56 +00:00
Felix Fietkau ce6b3da880 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
SVN-Revision: 27345
2011-07-02 06:49:36 +00:00
Imre Kaloz 3d95ace099 use u-boot 2011.06 as source
SVN-Revision: 27336
2011-07-01 13:36:23 +00:00
Hauke Mehrtens fbed51a8b5 firmware-utils: fix build on big endian systems
This closes #9446

SVN-Revision: 27255
2011-06-21 21:13:58 +00:00
Gabor Juhos 0d7a558f23 tools/firmware-utils: fix buffalo csum calculation
Also print an error message if decryption fails.

SVN-Revision: 27167
2011-06-13 08:12:41 +00:00
Gabor Juhos 145402e11b tools/firmware-utils: add support for hd_id tag into mkdniimg
Signed-off-by: Mark Mentovai <mark@moxienet.com>

SVN-Revision: 27052
2011-05-31 22:53:24 +00:00
Gabor Juhos fb9a672c78 tools/firmware-utils: add buffalo specific fw tools
SVN-Revision: 27050
2011-05-31 22:53:21 +00:00
John Crispin 9abcc01305 * adds mkelfimage
SVN-Revision: 26918
2011-05-17 10:33:46 +00:00
Florian Fainelli dce13b8c4d bcm63xx: Add firmware helpers for T-Home Speedport W 303V
Add two helpers for generating correctly tagged images for the T-Home
Speedport W 303V Typ B as well as xor'd ones as required by CFE.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 26877
2011-05-11 13:34:05 +00:00
Jo-Philipp Wich 8324bf036c 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
SVN-Revision: 26804
2011-05-02 12:53:32 +00:00
Daniel Dickinson f83c5938d2 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>

SVN-Revision: 26680
2011-04-15 12:18:25 +00:00
Jo-Philipp Wich 2702ba56f0 ipkg-utils: use (g)stat instead of "du -b" to find package size, fixes Darwin compat (#9214)
SVN-Revision: 26642
2011-04-13 13:26:26 +00:00
Jo-Philipp Wich b32797cc55 missing-macros: add GTKDOC_REBASE macro needed by some newer packages Signed-off-by: Jochen Friedrich <jochen@scram.de>
SVN-Revision: 26620
2011-04-12 20:19:52 +00:00
Hauke Mehrtens 869fb691ec 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.

SVN-Revision: 26543
2011-04-09 15:06:01 +00:00
Felix Fietkau d637ae2fc8 make the build system a bit more silent without V=99
SVN-Revision: 26460
2011-04-04 00:54:37 +00:00
Hauke Mehrtens 6b654266bb m4: update to version 1.4.16
SVN-Revision: 26439
2011-04-03 13:19:54 +00:00
Hauke Mehrtens ce6942268c xz: update to version 5.0.2
SVN-Revision: 26438
2011-04-03 13:19:16 +00:00
Felix Fietkau fb64684435 lzma-old: do not install $(STAGING_DIR_HOST)/bin/lzma
SVN-Revision: 26423
2011-04-03 01:02:03 +00:00
Felix Fietkau e6aa1cab00 tools/squashfs4: update to version 4.2 (adds support for xz compression)
Based on a patch by Jonas Gorski

SVN-Revision: 26422
2011-04-03 01:02:00 +00:00
Alexandros C. Couloumbis 59b085ff1b tools/cmake: update to version 2.8.4
SVN-Revision: 26283
2011-03-24 11:27:07 +00:00
Jo-Philipp Wich b8aef60e35 ipkg-utils: utilize the tar -p flag to preserve permissions (#7667)
SVN-Revision: 26258
2011-03-21 17:36:50 +00:00
Gabor Juhos 72b3c18da1 firmware-utils/mktplinkfw: add support for the TP-Link TL-WA901ND v2 board
Patch-by: Jonathan Benett <jbscience87@gmail.com>

SVN-Revision: 26118
2011-03-13 15:08:29 +00:00
Alexandros C. Couloumbis 58a5102338 tools/xz: add some upstream patches
SVN-Revision: 26018
2011-03-10 18:41:33 +00:00
Jo-Philipp Wich b5a0fd2961 package xfce-macros, required for autoreconf in xfce4 packages
SVN-Revision: 25974
2011-03-09 14:44:23 +00:00
Jo-Philipp Wich 200460fb54 bison: fix compilation with stub intl header
SVN-Revision: 25869
2011-03-04 20:37:15 +00:00
Alexandros C. Couloumbis 8d9c6a8f06 tools/xz: update to version 5.0.1
SVN-Revision: 25847
2011-03-03 10:26:11 +00:00
Felix Fietkau ad45e24bd0 mklibs: fix some long standing libpthread symbol link issues, mostly related to weak function overrides between libgcc, libc and libpthread
SVN-Revision: 25795
2011-02-28 18:17:02 +00:00
Felix Fietkau 04e3dae4ad 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
SVN-Revision: 25793
2011-02-28 16:17:04 +00:00