Commit Graph

544 Commits (5dec9dd3b200fd3721d98d77ee36c3b53ea65b4e)

Author SHA1 Message Date
Gabor Juhos 84267683bb firmware-utils/mkfwimage: allow to override firmware magic
SVN-Revision: 30627
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
Jo-Philipp Wich 478d9fc97e autoconf: another relocatability fix for autom4te, substitute hardcoded prefix with $STAGING_DIR when reading autom4te.cfg
SVN-Revision: 29931
12 years ago
Jo-Philipp Wich 537164cb6d automake: generate relative aclocal symlinks in staging_dir
SVN-Revision: 29929
12 years ago
Gabor Juhos 1338af2640 firmware-utils/mkmylofw: add WPE72 support
Signed-off-by: Johnathan Boyce <jon.boyce@globalreach.eu.com>

SVN-Revision: 29913
12 years ago
Jo-Philipp Wich ab2f3dc034 libtool: fix accidental sed invocation in libtoolize
SVN-Revision: 29839
13 years ago
Jo-Philipp Wich 42425cccfc quilt: some more relocatable fixes for quilt-internal scripts
SVN-Revision: 29834
13 years ago
Jo-Philipp Wich c7d19be230 bison: make yacc wrapper relocatable
SVN-Revision: 29831
13 years ago
Jo-Philipp Wich e2180091d9 autoconf: make bin/autoconf relocatable as well
SVN-Revision: 29830
13 years ago
Jo-Philipp Wich caa9e0e0f3 quilt: make relocatable, search resources relative to STAGING_DIR
SVN-Revision: 29829
13 years ago
Jo-Philipp Wich 122069caba automake: further relocation fixes
SVN-Revision: 29828
13 years ago
Jo-Philipp Wich fccdc995da autoconf: further relocation fixes
SVN-Revision: 29827
13 years ago
Jo-Philipp Wich b446876387 libtool: make relocatable, search resources relative to STAGING_DIR
SVN-Revision: 29826
13 years ago
Jo-Philipp Wich a5a790a68f autoconf: make relocatable by searching resources relative to STAGING_DIR
SVN-Revision: 29821
13 years ago
Jo-Philipp Wich 4174cdabde automake: make relocatable by searching resources relative to STAGING_DIR
SVN-Revision: 29820
13 years ago
John Crispin ccb6b0a063 tools: clean up Makefiles / make ccache work
SVN-Revision: 29754
13 years ago
Gabor Juhos 8a8e5bde15 firware-utils/mktplinkfw: add TL-WR2543N/ND support
SVN-Revision: 29681
13 years ago
Gabor Juhos 923e5d3543 firmware-utils/mktplinkfw: add support for TL-WA701N/ND
SVN-Revision: 29655
13 years ago
Gabor Juhos 55e13f4e6a firmware-utils/mktplinkfw: add support for TL-MR3020
Signed-off-by: Christian Cier-Zniewski <c.cier@gmx.de>

SVN-Revision: 29650
13 years ago
Gabor Juhos 29a2c2ea80 firmware-utils/mktplinkfw: add ability to put jffs2 eof marker into the image
SVN-Revision: 29544
13 years ago
Gabor Juhos 2592c0a283 tools/mktplinkfw: allow to specify hw_id, hw_rev and flash_layout
SVN-Revision: 29466
13 years ago
Gabor Juhos 54c8d61b03 firmware-utils/mktplinkfw: allow to align the rootfs on a specified boundary
SVN-Revision: 29445
13 years ago
Gabor Juhos f3d2056b81 tools/mkimage: allow to use different magic in uImages
SVN-Revision: 29442
13 years ago
Gabor Juhos 81cda3e2f1 firmware-utils/mktplinkfw: fix combined image creation
SVN-Revision: 29409
13 years ago
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
13 years ago
Gabor Juhos 6632e38d08 firmware-utils/mktplinfw: use htonl/ntohl
Based on a patch by Adrian Chadd <adrian@freebsd.org>

SVN-Revision: 29327
13 years ago
Nicolas Thill 0b5fef06ee tools: use host build_dir instead of target build_dir
SVN-Revision: 29293
13 years ago
Gabor Juhos 13b0ec6cf7 firmware-utils/mktplinkfw: add TL-WR741ND v4
SVN-Revision: 28707
13 years ago
Vasilis Tsiligiannis aadbbc4bac Add firmware tool for generating factory images for Edimax devices
SVN-Revision: 28688
13 years ago
Gabor Juhos 500a8e2014 firmware-utils/mktplinkfw: fix hardware id of the TL-WR740 v3
SVN-Revision: 28602
13 years ago
Felix Fietkau 0b893424ff tools/lzma-old fix compile issues (patch from #10253)
SVN-Revision: 28502
13 years ago
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
13 years ago
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
13 years ago
Imre Kaloz bda02cc60f add upx, but make it build only for ppc now
SVN-Revision: 28428
13 years ago
Gabor Juhos 712521955b firmware-utils/mktplinkfw: add support for TL-WR703N v1
Patch-by: dongyuqi <729650915@qq.com>

SVN-Revision: 28278
13 years ago
Gabor Juhos ffbdaf8ec8 firmware-utils/mktplinkfw: add support for TL-WR743ND v1
Signed-off-by: Paul Fertser <fercerpav@gmail.com>

SVN-Revision: 28270
13 years ago
Gabor Juhos 9faace4327 firmware-utils/mktplinkfw: add support for TL-WR740N v3
Signed-off-by: Martin Raykov <martin.raykov@gmail.com>

SVN-Revision: 28268
13 years ago
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
13 years ago
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
13 years ago
Felix Fietkau fbb4f37633 tools/quilt: fix spurious calls to the configure and Makefile targets (#8462)
SVN-Revision: 27869
13 years ago
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
13 years ago
Felix Fietkau 5ee5f0d314 quilt: make it possible to override the path to getopt (based on patch from #9842)
SVN-Revision: 27852
13 years ago
Felix Fietkau fa9521ad91 squashfs4: fix a compile error on big-endian systems (patch from #9842)
SVN-Revision: 27851
13 years ago
Felix Fietkau de23984834 squashfs4: add missing include for freebsd (patch from #9842)
SVN-Revision: 27850
13 years ago
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
13 years ago
Felix Fietkau bdb676b90d firmware-utils: rename the devname variable in mkwrgimg to avoid a clash with a BSD stdlib function
SVN-Revision: 27553
13 years ago
Gabor Juhos 9d980dc121 tools/firmware-utils: add yet another buffalo tool
SVN-Revision: 27475
13 years ago
Gabor Juhos 533067b8f5 tools/firmware-utils: allow to create buffalo image from two files
SVN-Revision: 27473
13 years ago