Commit Graph

807 Commits

Author SHA1 Message Date
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
Felix Fietkau
11c08a39bc tools/e2fsprogs: move uuid/uuid.h into a subdirectory, it conflicts with a system header file with the same name on darwin
SVN-Revision: 25598
2011-02-20 03:25:56 +00:00
Felix Fietkau
23ef9fcc6a squashfs4: make the lzma parameters configurable, and change the defaults for slightly improved compression on mips (mostly unchanged on other architectures)
SVN-Revision: 25530
2011-02-13 19:59:02 +00:00
Hauke Mehrtens
e08740c747 brcm47xx: fix error when build firmware on x86_64 host (closes #7672)
SVN-Revision: 25472
2011-02-12 13:17:47 +00:00
Imre Kaloz
776dff339e the url isn't valid for some time
SVN-Revision: 25463
2011-02-11 14:03:04 +00:00
Jo-Philipp Wich
1fd1ed7373 libtool: fix misspelled procedure name...
SVN-Revision: 25351
2011-02-03 20:34:34 +00:00
Felix Fietkau
083e9fddff tools/mpc: add dependency on mpfr
SVN-Revision: 25279
2011-02-01 16:21:46 +00:00
Felix Fietkau
0756895047 add tools/cmake
SVN-Revision: 25264
2011-01-31 20:15:57 +00:00
Michael Büsch
e99a1560cd Add missing XAW macros
SVN-Revision: 25159
2011-01-27 19:52:36 +00:00
Imre Kaloz
50be0201f1 cleanup toolchain version handling
SVN-Revision: 25148
2011-01-27 13:55:00 +00:00
Jo-Philipp Wich
c3dfcb25c0 remove bogus qemu dependency
SVN-Revision: 25032
2011-01-17 05:58:40 +00:00
Jo-Philipp Wich
b89c083161 tools/ipkg-utils: calculate installed size from embedded data.tar.gz, makes opkg space checking more precise
SVN-Revision: 25021
2011-01-16 22:16:49 +00:00
Jo-Philipp Wich
531e5e5386 mklibs: import missing symbol workaround from Freetz project (#7590)
SVN-Revision: 24984
2011-01-14 10:49:41 +00:00
Gabor Juhos
78ffb50c8e firmware-utils/mkdniimg: don't use NA region by default
SVN-Revision: 24981
2011-01-14 10:37:09 +00:00
Gabor Juhos
e116785f27 firmware-utils/wndr3700: allow to specify image magic via command line
SVN-Revision: 24980
2011-01-14 10:37:04 +00:00
Alexandros C. Couloumbis
d6b2ce5df5 tools/mkimage: fix r24887
SVN-Revision: 24890
2011-01-03 14:27:53 +00:00
Alexandros C. Couloumbis
e303b6e46a tools/qemu: fix FreeBSD compile issue
SVN-Revision: 24888
2011-01-03 12:59:43 +00:00
Alexandros C. Couloumbis
4e83015c51 tools/mkimage: fix compilation on FreeBSD
SVN-Revision: 24887
2011-01-03 12:30:19 +00:00
Jo-Philipp Wich
4b8799280f missing-macros: add as-unaligned-access.m4
SVN-Revision: 24878
2011-01-02 01:23:44 +00:00
Jo-Philipp Wich
c208b4a102 missing-macros: add as-compiler-flag.m4 and as-version.m4
SVN-Revision: 24877
2011-01-02 01:14:45 +00:00
Jo-Philipp Wich
442433ca2b revert r24851, it breaks compilation on many hosts
SVN-Revision: 24866
2011-01-01 15:51:12 +00:00
Hauke Mehrtens
07c8da7253 tools: add some missing dependencies
SVN-Revision: 24865
2011-01-01 15:18:57 +00:00
Felix Fietkau
32510b4494 tools/mkimage: remove the broken portability patch, it is no longer necessary with the new version
SVN-Revision: 24857
2010-12-30 15:48:32 +00:00
Alexandros C. Couloumbis
55d7031b9d tools/e2fsprogs: update to version 1.41.14
SVN-Revision: 24851
2010-12-29 17:38:48 +00:00
Jo-Philipp Wich
1fa3f197f6 missing-macros: add as-ac-expand.m4
SVN-Revision: 24846
2010-12-29 09:39:09 +00:00
Daniel Dickinson
fc3a1d0ba3 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>

SVN-Revision: 24838
2010-12-26 04:18:13 +00:00
Gabor Juhos
0f659a13dd 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>

SVN-Revision: 24811
2010-12-23 12:42:16 +00:00
Imre Kaloz
3d501f9403 use u-boot v2010.12
SVN-Revision: 24809
2010-12-23 00:07:58 +00:00
Jo-Philipp Wich
aac7b92284 missing-macros: extend fake-gtk-doc-check.m4 (fixes autoreconf in orbit2), provide fake-intltool.m4
SVN-Revision: 24787
2010-12-22 09:33:06 +00:00
Jo-Philipp Wich
879e5891c1 missing-macros: add xmms.m4, from libflac
SVN-Revision: 24784
2010-12-22 08:04:33 +00:00
Jo-Philipp Wich
2c125b87a7 missing-macros: add missing serial numbers, split acc.m4 into mfx_acc.m4, mfx_cppflags.m4 and mfx_limits.m4
SVN-Revision: 24763
2010-12-22 01:21:06 +00:00
Jo-Philipp Wich
fcc8d6c33f missing-macros: fix a bunch of underquoted definition warnings in various 3rd party macros
SVN-Revision: 24761
2010-12-22 01:03:17 +00:00
Jo-Philipp Wich
93cb309a05 missing-macros: add more m4 macros from gettext, ossp-js, libmikmod, libdnet
SVN-Revision: 24757
2010-12-22 00:38:21 +00:00
Jo-Philipp Wich
9ecd833007 missing-macros: add acc.m4, used by ucl and lzo
SVN-Revision: 24756
2010-12-22 00:11:47 +00:00
Jo-Philipp Wich
6ed509a8a7 add missing makefile in previous commit
SVN-Revision: 24755
2010-12-22 00:03:15 +00:00
Jo-Philipp Wich
214d1e7aeb package mm-common, this provides missing m4 macros for glibmm, gtkmm, cairomm and other Gnome C++ bindings
SVN-Revision: 24754
2010-12-22 00:02:36 +00:00
Jo-Philipp Wich
e3269cc34e introduce missing-macros meta package, this will supply needed m4 macros which are used but not shipped by various packages in feeds
SVN-Revision: 24753
2010-12-21 23:50:41 +00:00
Jo-Philipp Wich
c4ab5ca143 libtool: extend all ltmain.m4sh patches to cover ltmain.sh as well, prevent configure from embedding host library paths
SVN-Revision: 24752
2010-12-21 22:37:54 +00:00
Jo-Philipp Wich
22da5f54e9 libtool: strip unsave directories from relink command, nuke every -L that looks like /usr/lib or /lib
SVN-Revision: 24741
2010-12-20 19:43:57 +00:00
Hauke Mehrtens
ba45b5a907 e2fsprogs: add two compile fixes.
Thank you Joe Roback for reporting and fixing compiling on Darwin.

SVN-Revision: 24720
2010-12-19 11:43:45 +00:00
Hauke Mehrtens
e8892241f6 tools: fix dependencies
SVN-Revision: 24693
2010-12-19 00:05:17 +00:00
Jo-Philipp Wich
5884b43b51 the mpfr dependencies accidentally got broken up, fix it
SVN-Revision: 24684
2010-12-18 19:59:04 +00:00
Hauke Mehrtens
2653c7b0d9 e2fsprogs: update to version 1.41.13
SVN-Revision: 24683
2010-12-18 19:47:11 +00:00
Hauke Mehrtens
95d15bfdb8 tools: add missing dependencies
SVN-Revision: 24682
2010-12-18 19:46:39 +00:00
Hauke Mehrtens
5291e389ca cloog: libtools has to be run
SVN-Revision: 24681
2010-12-18 19:34:55 +00:00
Hauke Mehrtens
22a7f8afb1 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.

SVN-Revision: 24680
2010-12-18 19:34:04 +00:00
Jo-Philipp Wich
51538948fe make libtool a tool build and let autoconf depend on it
SVN-Revision: 24673
2010-12-18 18:07:53 +00:00
Gabor Juhos
29379780a6 firmware-utils/mkzynfw: fix available flash space calculation
SVN-Revision: 24653
2010-12-17 20:34:31 +00:00
Jo-Philipp Wich
c0b0acee08 build flex on the host, some pakcages need it in the newest version
SVN-Revision: 24631
2010-12-17 02:41:16 +00:00
Jo-Philipp Wich
6c176fe0a7 mpfr: reenable HOST_FIXUP, it *should* work okay now after r24570
SVN-Revision: 24571
2010-12-15 00:39:14 +00:00
Jo-Philipp Wich
77dd090ffb mpfr: disable host fixup for now
SVN-Revision: 24557
2010-12-13 23:07:30 +00:00
Jo-Philipp Wich
4cdaea52c4 reorder dependencies
SVN-Revision: 24556
2010-12-13 21:02:31 +00:00
Jo-Philipp Wich
5787c6743e mpfr: use autoreconf host fixup
SVN-Revision: 24555
2010-12-13 21:01:34 +00:00
Florian Fainelli
f590b304ef Revert "[tools] sstrip: Correct include path to really get endian.h" (#8447)
This reverts commit ac0f793ae985db73caf99916336569c211a759f8.

SVN-Revision: 24516
2010-12-12 14:53:24 +00:00
Daniel Dickinson
2fb0b04bdd Makefile: Put lzma before squashfs so compile of squashfs4 succeeds (depends on lzma)
SVN-Revision: 24513
2010-12-12 05:50:47 +00:00
Daniel Dickinson
9c244fdd12 sstrip: Correct include path to really get endian.h
SVN-Revision: 24512
2010-12-12 05:02:41 +00:00
Daniel Dickinson
062a1617db Revert "[tools] sstrip: Was missing include of <byteswap.h>"
This reverts commit bcb48716d097c16834f222c267c73e847f4a8dd0.

SVN-Revision: 24511
2010-12-12 04:59:51 +00:00
Daniel Dickinson
20ad1b1cc3 sstrip: Was missing include of <byteswap.h>
SVN-Revision: 24510
2010-12-12 04:57:07 +00:00
Hauke Mehrtens
0ea5f613de ppl: update to new version.
The old version is not compatible with gmp 5.

SVN-Revision: 24501
2010-12-11 23:55:39 +00:00
Felix Fietkau
4dbb7f8cb5 tools/xz: do not overwrite the lzma binary
SVN-Revision: 24499
2010-12-11 21:29:53 +00:00
Hauke Mehrtens
8f27618e1f qemu: update qemu to version 0.13.0
SVN-Revision: 24487
2010-12-11 16:08:10 +00:00
Felix Fietkau
82ac7bb00a add a host package for xz
SVN-Revision: 24481
2010-12-11 13:20:19 +00:00
Jo-Philipp Wich
e006253f11 remove obsolete stamp dep after r24474
SVN-Revision: 24475
2010-12-11 03:18:31 +00:00
Jo-Philipp Wich
bf9e9b6a91 rework aclocal handling, packages have issues writing through the symlink so keep the host aclocal as include path for now
SVN-Revision: 24474
2010-12-11 03:15:10 +00:00
Jo-Philipp Wich
c59cc1b75d fix xorg-macros dependency
SVN-Revision: 24453
2010-12-10 20:25:52 +00:00
Jo-Philipp Wich
8e4f381a66 turn util-macros into tools/xorg-macros host build, provides global xorg m4 macros
SVN-Revision: 24452
2010-12-10 20:23:48 +00:00
Gabor Juhos
912a140b19 firmware-utils/mktplinkfw: add support for the TL-MR3220 v1
SVN-Revision: 24438
2010-12-10 17:57:43 +00:00
Jo-Philipp Wich
8f591af937 automake: rework patch; only skip when the directories does not exist, this preserves error cases like missing access permissions
SVN-Revision: 24427
2010-12-10 16:10:07 +00:00
Jo-Philipp Wich
127c395a0e automake: use symlinks instead of hardlinks to link aclocal versions
SVN-Revision: 24425
2010-12-10 16:03:27 +00:00
Jo-Philipp Wich
94c3f4ab4d automake: skip over not existing m4 macro directories, don't fail
SVN-Revision: 24424
2010-12-10 16:01:33 +00:00
Felix Fietkau
48dcb640d8 make $(STAGING_DIR)/host/share/aclocal a symlink to $(STAGING_DIR_HOST)/share/aclocal
SVN-Revision: 24422
2010-12-10 15:20:44 +00:00
Jo-Philipp Wich
339295d309 revert r24406
SVN-Revision: 24415
2010-12-10 12:58:15 +00:00
Jo-Philipp Wich
7da7badd3e revert r24407, its already packaged in the xorg feed
SVN-Revision: 24409
2010-12-10 10:44:58 +00:00
Jo-Philipp Wich
96dff60461 package xorg-macros
SVN-Revision: 24407
2010-12-10 10:01:45 +00:00
Jo-Philipp Wich
2104af77e3 pkg-config: install pkg.m4 to aclocal/
SVN-Revision: 24406
2010-12-10 09:35:16 +00:00
Alexandros C. Couloumbis
72cf52b1d8 tools/mpfr: update to version 3.0.0
SVN-Revision: 24382
2010-12-09 13:31:57 +00:00
Alexandros C. Couloumbis
5c203f76d6 tools/mpc: update to version 0.8.2
SVN-Revision: 24381
2010-12-09 13:30:30 +00:00
Alexandros C. Couloumbis
2a3dde2cac tools/gmp: update to version 5.0.1
SVN-Revision: 24380
2010-12-09 13:28:57 +00:00
Alexandros C. Couloumbis
8f143af3ff tools/cloog: update to version 0.15.10
SVN-Revision: 24378
2010-12-09 12:21:36 +00:00
Alexandros C. Couloumbis
421e6d83ce tools/ccache: update to version 3.1.3
SVN-Revision: 24377
2010-12-09 12:12:40 +00:00
Alexandros C. Couloumbis
276ef23e4d tools/automake: add symbolic links upto version 1.11.1
SVN-Revision: 24287
2010-12-06 17:38:09 +00:00
Alexandros C. Couloumbis
163c424187 tools/mklibs: revert r24282
SVN-Revision: 24283
2010-12-06 13:21:09 +00:00
Alexandros C. Couloumbis
be47a78299 tools/mklibs: update to version 0.1.30
SVN-Revision: 24282
2010-12-06 12:32:04 +00:00
Alexandros C. Couloumbis
00c9674f71 tools/bison: update to version 2.4.3
SVN-Revision: 24281
2010-12-06 12:21:08 +00:00
Alexandros C. Couloumbis
d7b81def38 tools/m4: update to version 1.4.15
SVN-Revision: 24280
2010-12-06 12:16:40 +00:00
Alexandros C. Couloumbis
e3a95a6320 tools/autoconf: update to version 2.68
SVN-Revision: 24279
2010-12-06 12:14:50 +00:00
Alexandros C. Couloumbis
d5aecceacd tools/automake: update to version 1.11.1
SVN-Revision: 24278
2010-12-06 12:11:47 +00:00
Hauke Mehrtens
41b3383499 brcm47xx: Add edimax PS1208mfg support
Thank you clemvangelis for the patches. (closes #7672)

SVN-Revision: 24217
2010-12-02 21:27:54 +00:00
Alexandros C. Couloumbis
0d69a941a2 tools/pkg-config: update to version 0.25
SVN-Revision: 24146
2010-11-25 18:56:19 +00:00
Alexandros C. Couloumbis
721a005dc2 tools/e2fsprogs: fix freebsd compile issue
SVN-Revision: 24130
2010-11-24 14:00:36 +00:00
Alexandros C. Couloumbis
8a5b26afd1 tools/mtd-utils: update to mtd-utils-20101124
SVN-Revision: 24129
2010-11-24 12:05:06 +00:00
Alexandros C. Couloumbis
65a07aa7cf tools/e2fsprogs: update to e2fsprogs-1.41.12
SVN-Revision: 24128
2010-11-24 11:59:51 +00:00
Felix Fietkau
233c6672a9 e2fsprogs: fix libuuid installation
SVN-Revision: 24106
2010-11-22 21:56:15 +00:00
Felix Fietkau
5b2df455f0 e2fsprogs: clean up the makefile and install libuuid
SVN-Revision: 24091
2010-11-22 14:26:06 +00:00
Imre Kaloz
5ea6194ab0 remove 2.6.25 support
SVN-Revision: 24089
2010-11-22 13:43:32 +00:00
Imre Kaloz
49a0179e21 add e2fsprogs to tools and use that instead of libuuid
SVN-Revision: 24078
2010-11-22 11:26:45 +00:00
Daniel Dickinson
eadb5c84fa 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).
SVN-Revision: 24011
2010-11-16 06:46:53 +00:00
Daniel Dickinson
6cd4575153 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.
SVN-Revision: 24000
2010-11-15 04:08:09 +00:00
Alexandros C. Couloumbis
4ec905f3c9 target/linux/orion: create subtargets (closes #8154)
SVN-Revision: 23883
2010-11-04 22:10:11 +00:00
Michael Büsch
676520cf65 ensure an empty BUILD_DIR variable is passed down u-boot's makefile
SVN-Revision: 23832
2010-11-03 18:26:26 +00:00
Felix Fietkau
731877c5d9 add a stripped down (and portable) version of flock to the host tools
SVN-Revision: 23707
2010-10-29 13:39:18 +00:00
Alexandros C. Couloumbis
585850eafb tools/mtd-utils: add two upstream patches
SVN-Revision: 23453
2010-10-15 07:52:37 +00:00
Jo-Philipp Wich
002fde670f quilt: pass PATH and FIND to configure (FreeBSD compatibility)
SVN-Revision: 23288
2010-10-07 11:33:54 +00:00
Jo-Philipp Wich
b826e42476 reenable squashfs4 for ar71xx, it needs both old and new
SVN-Revision: 23281
2010-10-06 22:34:35 +00:00
Jo-Philipp Wich
3341e1ece7 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!
SVN-Revision: 23256
2010-10-05 19:18:15 +00:00
Imre Kaloz
7fa8ba095b Toto, we don't support Linux 2.4 anymore..
SVN-Revision: 23245
2010-10-05 14:15:46 +00:00
Imre Kaloz
968a0c1ddb simplify old squashfs/lzma selection
SVN-Revision: 23244
2010-10-05 14:14:12 +00:00
Alexandros C. Couloumbis
c74849709f tools/sed: update to sed-4.2.1 (also tested on FreeBSD/AMD64)
SVN-Revision: 23241
2010-10-05 13:51:54 +00:00
Jo-Philipp Wich
3d44120515 mtd-utils: refresh patches again
SVN-Revision: 23194
2010-10-03 12:15:04 +00:00
Alexandros C. Couloumbis
3c67143588 tools/mtd-utils: fix build issue under freebsd. update to latest git tree. (thanks loswillios & larsc)
SVN-Revision: 23193
2010-10-03 12:03:21 +00:00
Alexandros C. Couloumbis
e70493a812 tools/mtd-utils: kill 132-revert-zlib-cleanup.patch. it's wrong.
SVN-Revision: 23192
2010-10-03 11:12:36 +00:00
Lars-Peter Clausen
be8b1b4d03 libuuid: Use libuuid from util-linux-ng instead of e2fsprogs
SVN-Revision: 23189
2010-10-02 23:18:46 +00:00
Jo-Philipp Wich
4e8f4e1d39 mtd-utils: refresh patches
SVN-Revision: 23179
2010-10-02 16:42:57 +00:00
Jo-Philipp Wich
f70671c153 tools/mtd-utils: fix compilation on OS X
SVN-Revision: 23176
2010-10-02 10:18:34 +00:00
Alexandros C. Couloumbis
930031c5d1 tools/mtd-utils: update to mtd-utils-20101001, fix FreeBSD (and hopefully Darwin) build issues.
SVN-Revision: 23169
2010-10-01 16:39:08 +00:00
Gabor Juhos
1d855c0890 firmware-utils/mktplinkfw: add support for the TL-MR3420 v1
SVN-Revision: 23137
2010-09-27 14:54:02 +00:00
Gabor Juhos
142fb3e229 firmware-utils/mktplinkfw: add support for the TL-WR841N v7
SVN-Revision: 23133
2010-09-27 14:53:51 +00:00
Jo-Philipp Wich
78222ff9dc mtd-utils: revert r23075
SVN-Revision: 23076
2010-09-15 23:50:31 +00:00
Jo-Philipp Wich
297f110b2c mtd-utils: do not rely on host kernel headers, redefine the integer types instead (#7950)
SVN-Revision: 23075
2010-09-15 22:45:54 +00:00
Jo-Philipp Wich
97a286cb62 revert r23048 for now until Darwin compile issues have been sorted out (#7934)
SVN-Revision: 23057
2010-09-13 18:50:41 +00:00
Alexandros C. Couloumbis
432cb15bd1 tools/mtd-utils: update to version git-20100912
SVN-Revision: 23048
2010-09-13 07:39:44 +00:00
Felix Fietkau
392888845c fix build error in tools on darwin on newer macs (patch by dirtyfreebooter)
SVN-Revision: 22934
2010-09-05 16:16:59 +00:00
Michael Büsch
f40f0c001e Zcomax device firmware tool endianness fix
SVN-Revision: 22885
2010-09-04 05:40:56 +00:00
Gabor Juhos
7bf8159991 tools/firmware-utils: new tool for the Zcomax devices
SVN-Revision: 22883
2010-09-03 18:14:40 +00:00
Felix Fietkau
00d1e599d7 add a command for printing a cleaned up make target database - will be used to analyze package dependencies at some point
SVN-Revision: 22871
2010-09-01 17:51:36 +00:00
Andy Boyett
9638e84966 qemu: add dependency on libuuid
SVN-Revision: 22757
2010-08-22 09:16:49 +00:00
Andy Boyett
6e2f8d7eec qemu: fix build failure on some systems. Closes #7767
SVN-Revision: 22751
2010-08-21 17:02:09 +00:00
Andy Boyett
bb662f4f32 quilt: needs autoconf
SVN-Revision: 22652
2010-08-14 22:58:55 +00:00
Florian Fainelli
4bc034f07c update wrt350nv2 builder to v2.3 (#7580)
SVN-Revision: 22579
2010-08-10 15:19:06 +00:00
Andy Boyett
ff43518669 qemu: build qemu-img for packaging vmdk and vdi images
SVN-Revision: 22552
2010-08-09 04:22:34 +00:00
Hauke Mehrtens
7640f89045 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.

SVN-Revision: 22516
2010-08-06 20:21:32 +00:00
Jo-Philipp Wich
f45be33f17 sed: fix compilation on FreeBSD/AMD64
SVN-Revision: 22499
2010-08-06 00:19:34 +00:00
Hauke Mehrtens
da7493d8f9 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)

SVN-Revision: 22418
2010-07-30 21:19:49 +00:00
Michael Büsch
02549b0448 firmware-utils/trx: Endianness fixes
SVN-Revision: 22414
2010-07-29 18:14:10 +00:00
Hauke Mehrtens
233294722c firmware-utils: The option -F was not detected. This was missing in r22396
This fixes build of brcm47xx

SVN-Revision: 22398
2010-07-27 18:16:32 +00:00
Alexandros C. Couloumbis
d83a959719 tools/quilt: fix openSUSE/patch-2.6.1.81 issue (closes #7635)
SVN-Revision: 22397
2010-07-27 17:21:30 +00:00
Markus Wigge
7a052dc799 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.

SVN-Revision: 22396
2010-07-27 15:37:37 +00:00
Jo-Philipp Wich
f8c3ebc7c6 squashfs4: fix compilation on FreeBSD
SVN-Revision: 22347
2010-07-22 03:09:10 +00:00
Jo-Philipp Wich
26a6539a2e yaffs2: fix compilation on FreeBSD
SVN-Revision: 22345
2010-07-22 02:59:14 +00:00
Jo-Philipp Wich
4ad8aa543d mkimage: fix compilation on FreeBSD
SVN-Revision: 22344
2010-07-22 02:43:44 +00:00
Felix Fietkau
67b4181c8a squashfs4: backport an upstream change to fix the file mode check to allow setuid/setgid binaries (thx, ermo) - fixes #7653
SVN-Revision: 22334
2010-07-21 17:31:16 +00:00
Gabor Juhos
a06400d432 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>

SVN-Revision: 22169
2010-07-13 16:51:59 +00:00
Gabor Juhos
48e579a536 firmware-utils/mktplinkfw: add support for the TL-WA901ND
Patch-by: Pieter "Fate" Hollants <pieter@hollants.com>

SVN-Revision: 22015
2010-07-01 14:49:04 +00:00
Markus Wigge
642a6e1a51 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

SVN-Revision: 22012
2010-07-01 10:40:22 +00:00
Markus Wigge
67416b62d7 fixed trx version to handling
I forgot to write the right trx version to the actual header...

SVN-Revision: 21986
2010-06-28 17:35:20 +00:00
Florian Fainelli
e79f259abf remove whitespaces in imagetag tool
SVN-Revision: 21848
2010-06-20 11:58:40 +00:00
Florian Fainelli
39fa664f99 Revert r21806 there are no users of it yet
SVN-Revision: 21808
2010-06-14 21:49:03 +00:00
Florian Fainelli
3a332f39de add hcsmakeimage, for cable modems/routers based on bcm33xx
SVN-Revision: 21806
2010-06-14 21:47:21 +00:00
Florian Fainelli
5ec4eabfcb fix mktitanimg segfault on 64-bits hosts (#7443)
SVN-Revision: 21767
2010-06-12 18:10:01 +00:00
Florian Fainelli
04a4638910 add mktitanimg to create Titan (AR7-based) images (#6632)
SVN-Revision: 21689
2010-06-06 19:16:43 +00:00
Gabor Juhos
01d8285e47 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>

SVN-Revision: 21446
2010-05-14 09:20:36 +00:00
Gabor Juhos
8976d8f2ad 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>

SVN-Revision: 21445
2010-05-14 09:20:34 +00:00
Felix Fietkau
ea5b74da62 mkimage fails to build on some systems if sed is not installed, add a dependency to fix parallel build issues
SVN-Revision: 21210
2010-04-27 21:57:32 +00:00
Gabor Juhos
edac7e5a63 tools/firmware-utils: add size check to the mkplanexfw tool
Also pad the image to a 64K boundary.

SVN-Revision: 21174
2010-04-26 18:28:07 +00:00
Alexandros C. Couloumbis
5134195d40 tools: update gmp to 4.3.2
SVN-Revision: 21147
2010-04-24 20:11:08 +00:00
Alexandros C. Couloumbis
0d36c3fd37 tools: update quilt to 0.48
SVN-Revision: 21146
2010-04-24 19:54:53 +00:00
Alexandros C. Couloumbis
bfe71b159a tools: update cloog to 0.15.9
SVN-Revision: 21071
2010-04-21 17:21:29 +00:00
Florian Fainelli
8ca51dc6f1 fix graphite options with gcc-4.5, add libelf for LTO, fix mbsd_multi patch, patch from Bernhard Loos
SVN-Revision: 21046
2010-04-20 16:18:08 +00:00
Alexandros C. Couloumbis
6d59a298e8 add gcc-4.5.0 preliminary support
SVN-Revision: 21033
2010-04-19 15:43:08 +00:00
Felix Fietkau
01ca56639c mtd-utils: remove bogus include statement to make it more portable
SVN-Revision: 20853
2010-04-14 10:50:33 +00:00
Nicolas Thill
0946764732 remove 'svn:executable' property
SVN-Revision: 20831
2010-04-12 17:08:57 +00:00
Alexandros C. Couloumbis
c2c88d315f add jffs2/lzma support (not activated by default yet)
SVN-Revision: 20828
2010-04-12 13:14:42 +00:00
Florian Fainelli
2a4fb82289 flashmap and image generation: reduced union bcm_tag to a single struct combining the elements so that it is no longer necessary to create an openwrt-only tagid and tagcrc, and elimate the tagid detection and switch statements which made dealing with imagetags overly complicated, especially since the logic would need analogs in all code that touched the imagetag. Patch from cshore.
SVN-Revision: 20652
2010-04-01 21:20:43 +00:00
Florian Fainelli
dad85cddac move bcm_tag.h out of the flashmap patch so that user-land tools can re-use it
SVN-Revision: 20548
2010-03-28 18:11:06 +00:00
Gabor Juhos
585198518e firmware-utils/trx: add relative offset parameter
* will be used for the WRT160NL board
 * patch by Bernhard Loos
 * note: rejected parts has been fixed

SVN-Revision: 20522
2010-03-27 17:38:26 +00:00
Florian Fainelli
5d2105af23 revert r18760 since it prevents people from building working eva images
SVN-Revision: 20437
2010-03-26 10:12:30 +00:00
Markus Wigge
d9a698e77c added support for wrt54g3gv2-vf and new trx header format
- hacked addpattern due to changes in header format
 - added "-5" to addpattern, some 0xFF are needed for trx2 header
   "-4" broke CRC checking in CFE
 - hacked trx.c due to new header format version
 - added target to create trx-V2 images

the flashmap driver possibly needs to be customized.

SVN-Revision: 20433
2010-03-25 19:34:49 +00:00
Florian Fainelli
66dc3ee0c9 fix file creation mode, thanks rtz
SVN-Revision: 20293
2010-03-18 23:35:12 +00:00
Felix Fietkau
b321fe82d3 sstrip: fix a section length corruption bug (patch from #6847)
SVN-Revision: 20154
2010-03-12 00:35:36 +00:00
Gabor Juhos
c07fdecea8 mktplinkfw: add option to strip padding from the end of the image
SVN-Revision: 20120
2010-03-10 17:41:50 +00:00
Gabor Juhos
4ccab48a6b mktplinkfw: fix help string, and remove duplicated option
SVN-Revision: 20067
2010-03-08 17:35:07 +00:00
Felix Fietkau
fe05a0887b mkimage: fix spurious build errors caused by its braindead build system
SVN-Revision: 20065
2010-03-08 17:17:46 +00:00
Felix Fietkau
9156e19ac0 mtd-utils: do not try to compile in support for ubifs ioctls and extended flags - some linux distros do not support this
SVN-Revision: 19846
2010-02-24 23:02:38 +00:00
Gabor Juhos
7fd1228672 firmware-utils/mktplinkfw: add board definitions for TL-WR941ND v4
SVN-Revision: 19748
2010-02-19 11:52:30 +00:00
Travis Kemen
3c5ca326ec Update to v2.2 fixed checksum byte calculation for other versions than 0x2019 fixed rare problem with padsize updated info to stock firmware 2.00.20 fixed typos
Signed off by: Matthias Buecher <mail@maddes.net>

SVN-Revision: 19683
2010-02-17 02:18:13 +00:00
Travis Kemen
cb9c37af38 Update to v2.1 Stays closer to the stock firmware by using wrt350n.bin for the created image. Adds the possibility to create the image in two separate steps (-b / -z). Makefiles now support the possibility to include a u-boot image for a 100%-stock-like image.
Signed off by: Matthias Buecher <mail@maddes.net>

SVN-Revision: 19596
2010-02-12 01:40:57 +00:00
Imre Kaloz
7b367d0313 with no users left, remove support for 2.6.21
SVN-Revision: 19578
2010-02-11 08:37:57 +00:00
Jo-Philipp Wich
14f6a53b6d firmware-utils: unify cc and cc2 macros, simplifies Makefile
SVN-Revision: 19487
2010-02-01 01:56:02 +00:00
Jo-Philipp Wich
e0933ce6e6 firmware-utils: copy bcm_tag.h to src/ and get rid of cc3 macro, fixes imagetag compilation
SVN-Revision: 19485
2010-02-01 01:17:46 +00:00
Felix Fietkau
393835a5d9 mtd-utils: refresh the cygwin_fixes patch
SVN-Revision: 19159
2010-01-16 00:11:47 +00:00
Felix Fietkau
5c8bfc0c17 mtd-utils: fix compile on mac os x
SVN-Revision: 19158
2010-01-16 00:11:43 +00:00
Felix Fietkau
f7c4735a19 libuuid: only build the static variant - fixes compile on mac os x
SVN-Revision: 19157
2010-01-16 00:11:38 +00:00
Lars-Peter Clausen
5f84b8a838 mtd-utils depends on libuuid
SVN-Revision: 19117
2010-01-13 13:14:35 +00:00
Lars-Peter Clausen
5cc66964c1 Fix libuuid header location and reenable building of mkfs.ubifs
SVN-Revision: 19113
2010-01-13 05:21:50 +00:00
Lars-Peter Clausen
46efcd60eb mtd-utils: Don't include lzo headers aswell...
SVN-Revision: 19107
2010-01-11 16:15:52 +00:00
Florian Fainelli
bcdfe67a13 do not build nor install mkfs.ubifs until we have it fixed (#6483)
SVN-Revision: 19106
2010-01-11 15:40:45 +00:00
Lars-Peter Clausen
fb86cd6dcc Add libuuid Makefile. Oops...
SVN-Revision: 19105
2010-01-11 11:18:26 +00:00
Lars-Peter Clausen
f26aa5f82a mtd-utils: Disable lzo for mkfs.ubifs
SVN-Revision: 19104
2010-01-11 11:04:30 +00:00
Lars-Peter Clausen
2ee3073b70 Add libuuid hosttool package. It's needed in order to build mkfs.ubifs
SVN-Revision: 19103
2010-01-11 11:02:54 +00:00
Lars-Peter Clausen
5ec88a4a15 mtd-utils: Build mkfs.ubifs
SVN-Revision: 19096
2010-01-11 01:04:15 +00:00
Felix Fietkau
43d56d9b56 mkimage: fix compile errors on non-glibc systems
SVN-Revision: 19095
2010-01-10 18:42:12 +00:00
Imre Kaloz
f8a49928e5 upgrade and build from the u-boot source
SVN-Revision: 19091
2010-01-10 15:57:43 +00:00
Nicolas Thill
02b4c152e2 mpfr: add missing MD5SUM
SVN-Revision: 19060
2010-01-07 02:07:51 +00:00
Florian Fainelli
1c50561480 make mtd-utils compile correctly on cygwin
SVN-Revision: 19039
2010-01-05 11:06:16 +00:00
Imre Kaloz
29a020ffb3 remove handling of older unsupported kernels
SVN-Revision: 18955
2009-12-27 21:54:09 +00:00
Gabor Juhos
cace9f4566 ar71xx: add support for the TL-WR841N v1.5 board
SVN-Revision: 18893
2009-12-22 19:31:28 +00:00
Felix Fietkau
79cdfd5456 wrt350nv2-builder: increase path limit from 64 bytes to 256 bytes, as 64 bytes may not be enough. suggested by maddes
SVN-Revision: 18794
2009-12-16 13:47:47 +00:00
Felix Fietkau
3fcaccd9b3 add a hacked up version of upslug2 which is able to flash a wrt350nv2 in recovery mode
SVN-Revision: 18765
2009-12-12 02:00:50 +00:00
Felix Fietkau
2820f3cbd3 wrt350nv2-builder: fix a small off-by-one error (thx, mb)
SVN-Revision: 18764
2009-12-12 01:01:42 +00:00
Felix Fietkau
54f40f36f7 fix portability issues and other minor bugs in the wrt350nv2 image builder
SVN-Revision: 18762
2009-12-12 00:44:15 +00:00
Felix Fietkau
a5e97547c6 add wrt350n v2 image building code from #5970 (thx, maddes)
SVN-Revision: 18761
2009-12-12 00:44:03 +00:00
Michael Büsch
d0ca6b9080 lzma2eva: Endianness fixes.
SVN-Revision: 18760
2009-12-11 23:50:51 +00:00
Gabor Juhos
7d8a1bf239 ar71xx: TL-WR1043ND support cleanup
SVN-Revision: 18697
2009-12-08 12:46:30 +00:00
Gabor Juhos
b12d752a63 ar71xx: preliminary support for the TL-WR1043ND
Adds board support for the TP-Link TL-WR1043ND Based on the Atheros AP81 platform.
Presently the RTL8366RB switch support is missing due to no driver.
The ethernet works with 5 ports@1Gbit but is missing vlan support.

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

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

SVN-Revision: 18696
2009-12-08 12:46:25 +00:00
Gabor Juhos
32e3529836 tools: build old squashfs tools for ar71xx
SVN-Revision: 18596
2009-11-29 09:33:50 +00:00