aboutsummaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* tools: fix stat symlink if destination already existsFelix Fietkau2012-03-261-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31072 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: fix GNU stat detection to prevent it from picking up other things ↵Felix Fietkau2012-03-231-1/+10
| | | | | | named "gstat" (see #4571) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31059 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: add dependency on the seq symlinkFelix Fietkau2012-03-101-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30861 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/mtd-utils: fix build errorGabor Juhos2012-03-031-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30797 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/mtd-utils: update mkfs.ubifs XZ supportGabor Juhos2012-03-031-30/+148
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30796 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/mtd-utils: add XZ compression support to mkfs.ubifsGabor Juhos2012-03-023-1/+288
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30795 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/mtd-utils: cleanup mkubifs lzo patchGabor Juhos2012-03-011-61/+55
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30770 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/mtd-utils: update to 1.4.5Gabor Juhos2012-03-0110-143/+162
| | | | | | | | | | | | | | 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
* tools: symlink seq to the host staging dir (gseq on mac os x)Felix Fietkau2012-02-291-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30755 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils/mkfwimage: allow to override firmware magicGabor Juhos2012-02-181-5/+12
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30627 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [lantiq] Support booting the Speedport W502V using BRN-BOOT.John Crispin2012-02-143-0/+353
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* tools/genext2fs: do not include the host getline.h, it breaks the tool in ↵Felix Fietkau2012-02-121-1/+1
| | | | | | 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
* [tools] automake: forcibly disable perl ithreads supportJo-Philipp Wich2012-02-011-1/+2
| | | | | | | | 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
* [tools] autoconf: another relocatability fix for autom4te, substitute ↵Jo-Philipp Wich2012-01-281-0/+13
| | | | | | hardcoded prefix with $STAGING_DIR when reading autom4te.cfg git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29931 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] automake: generate relative aclocal symlinks in staging_dirJo-Philipp Wich2012-01-281-4/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29929 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils/mkmylofw: add WPE72 supportGabor Juhos2012-01-262-0/+4
| | | | | | 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
* [tools] libtool: fix accidental sed invocation in libtoolizeJo-Philipp Wich2012-01-212-5/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29839 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] quilt: some more relocatable fixes for quilt-internal scriptsJo-Philipp Wich2012-01-201-0/+63
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29834 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] bison: make yacc wrapper relocatableJo-Philipp Wich2012-01-201-0/+20
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29831 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolsÂ] autoconf: make bin/autoconf relocatable as wellJo-Philipp Wich2012-01-201-0/+15
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29830 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] quilt: make relocatable, search resources relative to STAGING_DIRJo-Philipp Wich2012-01-202-0/+20
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29829 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] automake: further relocation fixesJo-Philipp Wich2012-01-202-1/+12
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29828 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] autoconf: further relocation fixesJo-Philipp Wich2012-01-201-4/+43
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29827 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] libtool: make relocatable, search resources relative to STAGING_DIRJo-Philipp Wich2012-01-201-0/+92
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29826 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] autoconf: make relocatable by searching resources relative to ↵Jo-Philipp Wich2012-01-202-1/+101
| | | | | | STAGING_DIR git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29821 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] automake: make relocatable by searching resources relative to ↵Jo-Philipp Wich2012-01-201-0/+35
| | | | | | STAGING_DIR git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29820 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: clean up Makefiles / make ccache workJohn Crispin2012-01-1513-83/+28
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29754 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firware-utils/mktplinkfw: add TL-WR2543N/ND supportGabor Juhos2012-01-071-0/+12
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29681 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils/mktplinkfw: add support for TL-WA701N/NDGabor Juhos2012-01-041-0/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29655 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils/mktplinkfw: add support for TL-MR3020Gabor Juhos2012-01-041-0/+6
| | | | | | 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
* firmware-utils/mktplinkfw: add ability to put jffs2 eof marker into the imageGabor Juhos2011-12-151-1/+45
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29544 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/mktplinkfw: allow to specify hw_id, hw_rev and flash_layoutGabor Juhos2011-12-061-89/+125
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29466 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils/mktplinkfw: allow to align the rootfs on a specified boundaryGabor Juhos2011-12-051-14/+45
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29445 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/mkimage: allow to use different magic in uImagesGabor Juhos2011-12-051-0/+63
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29442 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils/mktplinkfw: fix combined image creationGabor Juhos2011-12-031-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29409 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: add a lib64 symlink in staging_dir/host and staging_dir/toolchain* ↵Felix Fietkau2011-11-281-0/+1
| | | | | | 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
* firmware-utils/mktplinfw: use htonl/ntohlGabor Juhos2011-11-241-44/+39
| | | | | | 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
* tools: use host build_dir instead of target build_dirNicolas Thill2011-11-233-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29293 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils/mktplinkfw: add TL-WR741ND v4Gabor Juhos2011-11-011-0/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28707 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] Add firmware tool for generating factory images for Edimax devicesVasilis Tsiligiannis2011-10-302-1/+261
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28688 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils/mktplinkfw: fix hardware id of the TL-WR740 v3Gabor Juhos2011-10-261-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28602 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/lzma-old fix compile issues (patch from #10253)Felix Fietkau2011-10-211-4/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28502 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] upx: fix build errorNicolas Thill2011-10-211-1/+2
| | | | | | | | | | | 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
* squashfs4: Add support for LZMA Magic to unsquashfsJonas Gorski2011-10-191-0/+72
| | | | | | | | 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
* [tools]: add upx, but make it build only for ppc nowImre Kaloz2011-10-123-1/+192
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28428 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils/mktplinkfw: add support for TL-WR703N v1Gabor Juhos2011-09-211-0/+9
| | | | | | Patch-by: dongyuqi <729650915@qq.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28278 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils/mktplinkfw: add support for TL-WR743ND v1Gabor Juhos2011-09-211-0/+9
| | | | | | Signed-off-by: Paul Fertser <fercerpav@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28270 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils/mktplinkfw: add support for TL-WR740N v3Gabor Juhos2011-09-211-0/+9
| | | | | | Signed-off-by: Martin Raykov <martin.raykov@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28268 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] mkimage/getline.h - Mac OS X 10.7 (Lion) fixLars-Peter Clausen2011-08-051-0/+22
| | | | | | | | | | 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
* [tools] host/include/getline.h - Mac OS X 10.7 (Lion) fixLars-Peter Clausen2011-08-051-1/+1
| | | | | | | | | | | | | | | | | | 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