Commit Graph

1137 Commits (cd0f9900a4cdda5b91728b089379899b761e8c8b)

Author SHA1 Message Date
Felix Fietkau 772e2c0a77 firmware-utils/buffalo-enc: add support for decrypting data with an offset
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47185
9 years ago
Hauke Mehrtens 3d1a65adb4 tools: firmware-utils: fix compiler warnings
This just fixes a lot of compiler warnings.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 47181
9 years ago
John Crispin 19a491b047 mtools: build and install mmd
useful for making MS-DOS subdirectories

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 47170
9 years ago
John Crispin 161179f40b lantiq: Add target TP-Link TD-W8980
The device is similar to the TD-W8970, beside a different Atheros 2.4 GHz
wireless chip and the additional, PCI connected, WAVE300 5 GHz wireless.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>

SVN-Revision: 47130
9 years ago
Jo-Philipp Wich cb9723f09c quilt: add further relocatability fixes
Prevent quilt's build system from generating useless compat wrappers and
hardcoded absolute utility paths to binaries in staging_dir/host/.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47070
9 years ago
Felix Fietkau 877f2972d4 bison: replace the yacc script with one that does not hardcode the path (fixes #20605)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47050
9 years ago
Felix Fietkau a883639e92 tools/patch: enable parallel build
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47049
9 years ago
Zoltan Herpai ac65377bf7 tools: add sdimage for mxs
This tool is used for SD card generation on Freescale i.MX23/i.MX28
platforms. These CPU's ROM need a tiny header of front of a boot stream.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>

SVN-Revision: 47020
9 years ago
Felix Fietkau 17ae95bb20 tools/mtd-utils: fix PKG_MIRROR_MD5SUM
The checksum doesn't match the file on mirror2.openwrt.org.

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

SVN-Revision: 47010
9 years ago
Jo-Philipp Wich 1ca571b6c2 tools/mtd-utils: avoid linking libm statically
Rework static linker flags to not link libm statically, this should fix the
build on CentOS where libm.a is not provided by the libc devel package.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 46989
9 years ago
Jo-Philipp Wich 01fb448d56 tools/make-ext4fs: prefer static linking
Link zlib statically on Linux systems.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 46909
9 years ago
Jo-Philipp Wich cf77766e64 tools/mtd-utils: prefer static linking
- Add patch for optional static linking preference
 - Prefer static linking on Linux systems
 - Enable verbose compiler messages when building with V=c

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 46908
9 years ago
Jo-Philipp Wich b4e49ad8f0 tools/xz: disable shared library
Force a static build of the xz utilities in order to avoid the dependency on a
shared liblzma.so which might collide with the distro version.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 46907
9 years ago
Felix Fietkau caddbf5431 tools: add tar host build, required for --sort=name which was only added in the latest version
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46876
9 years ago
John Crispin cc3747e9e2 tools/firmware-utils: add header version 2 support for mktplinkfw
Signed-off-by: Weijie Gao <hackpascal@gmail.com>

This patch adds header version 2 option for mktplinkfw.

The version 2 header is used for AR/QCA firmwares and is not the same as
the header generated by mktplinkfw2.
Instead, it is nearly the same as version 1 header except for the header
version and the RSA signature.

The header version 2 support is used for newer TP-Link routers which have
only a 64kb bootloader part, e.g. TL-WDR6500 v2.

SVN-Revision: 46661
9 years ago
Hauke Mehrtens 7aa7a4b06b tools: xz: update to version 5.2.1
This adds support for symbol versioning which is needed on
CentOs/RedHat 7 to fix #20134.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 46603
9 years ago
John Crispin a77a9f520c firmware-utils mktplinkfw: print amount of exceeding bytes
This is very useful for trimming images towards 4 MiB flash size.

Signed-off-by: Stephan Maka <stephan@spaceboyz.net>

SVN-Revision: 46469
9 years ago
John Crispin 5cd49bb067 ar71xx: add support for Onion Omega
This patch adds support for the Onion Omega.

https://onion.io/omega

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>
Acked-by: Boken Lin <bl@onion.io>
Tested-by: Jacky Huang <huangfangcheng@163.com>

SVN-Revision: 46458
9 years ago
Felix Fietkau 9402cb747e tools: drop circular dependency between patch and ccache, build patch without ccache (fixes #20132)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46434
9 years ago
Felix Fietkau 0fc6755f66 mkimage: cross compile fix: pass HOST_*FLAGS in to uboot's makefile
The HOST_*FLAGS are for compiling programs which will run on the machine that is
running the build.  Setting these flags is frequently required for unusual
cross-compiles.

Signed-off-by: Lawrence D'Anna <larry@elder-gods.org>

SVN-Revision: 46424
9 years ago
Felix Fietkau 52ea491bdf tools/e2fsprogs: add a darwin-compat patch
On darwin we need to import stdint to get these integer typedefs.

Patch by: Lawrence D'Anna <larry@elder-gods.org>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46378
9 years ago
Felix Fietkau 388647b580 ccache: Make ccache aware of OpenWRT provided GCC patch.
The OpenWRT GCC patch, 910-mbsd_multi.patch adds an extra option
to gcc that depends on an environment variable. Standard ccache
is unaware of this option and therefor can produce stdout from gcc
that doesn't correspond to what you would get if you actually
do a direct compilation with gcc.

This commit adds a patch to ccache to make it aware of the new
option and removes the feature from the ccache package to use the
host system's installed ccache binary.

Signed-off-by: Karl Vogel <karl.vogel@gmail.com>

SVN-Revision: 46364
9 years ago
Felix Fietkau ae706ea6b6 tools: add expat library (to be used by gdb)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46297
9 years ago
John Crispin 055663201b ar71xx: Add Support for the Bitmain Antminer S3
This patch adds support for the Bitmain Antminer S3 Cryptocurrency Miner

http://wiki.openwrt.org/toh/bitmain/s3

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>

SVN-Revision: 46236
9 years ago
Hauke Mehrtens 97db107703 scons: change md5sum to new release
The developers of scons found a bug in the packaging of their release
and just replaced the already released version with a new one without
changing the version number. This breaks the download script because it
also has a new md5sum.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 46175
9 years ago
Hauke Mehrtens 2b1964181c tools: scons: update to version 2.3.5
This brings scons to the most recent version.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 46132
9 years ago
Luka Perkov 2e07e23a60 ccache: upgrade to version 3.1.11
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 46114
9 years ago
John Crispin e85f3471ba ar71xx: add support for TL-WR720N-v4.
The hardware should be almost the same as TL-WR720N-v3.  WiFi and LAN networks
were tested by "Lo Yuk Fai <loyukfai@gmail.com>".  Failsafe and slider switch
were tested by "Wong min <alpha080@gmail.com>".

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 46046
9 years ago
John Crispin 694dd581eb ar71xx: Add Support for the Bitmain Antminer S1
This patch adds support for the Bitmain Antminer S1 Cryptocurrency Miner

http://wiki.openwrt.org/toh/bitmain/s1

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>
Acked-by: James Hilliard <james.hilliard1@gmail.com>

SVN-Revision: 46044
9 years ago
Steven Barth 1e08c08e48 libtool: passthrough -fstack-protector* to linker
on some platforms this is needed for gcc to link libssp

Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 46030
9 years ago
Felix Fietkau 39b8f7c0f7 firmware-tools/ptgen: use stdint types for struct pte
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45957
9 years ago
Felix Fietkau 6263567444 firmware-tools/ptgen: fix endianness conversion for PTE .start, .length field.
They are of 32-bit little endian integers.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 45956
9 years ago
Hauke Mehrtens 145656995f bc: add download mirrors
Add three download mirrors for 'bc', as the Makefile currently defines only
one download location.

@GNU can not be used, as the most recent version of 'bc' is not available at
the general GNU mirrors, and can only be found at the "gnu-alpha" mirrors.

Signed-off-by: Hannu Nyman <hannu.nyman at iki.fi>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 45908
9 years ago
Felix Fietkau 2c74406aa2 gmp: disable assembly to fix build on systems that use PIE binaries
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45887
9 years ago
John Crispin 5d3f0eea1c tools/firmware-utils: Allow changing the CRC32 poly value in mkbrnimg
VGV7519 is currently the only device with brnboot support. It seems to
be happy with 0x2083b8ed as CRC32 poly. However, VGV7510KW22 fails to
validate the checksum - it requires 0x04c11db7 instead.

I have built an brnboot image manually on the command line, once with
the old code and then with the new code but passing the old CRC32
poly value. Both resulted in a brnboot image with the same sha1sum.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>

SVN-Revision: 45881
9 years ago
Rafał Miłecki 63cac50d24 firmware-utils: asustrx: support setting firmware version
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45791
9 years ago
Rafał Miłecki 6feb68603a firmware-utils: asustrx: new tool for TRX format with Asus tail
Asus devices use TRX format with some extra data at the end.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45773
9 years ago
Imre Kaloz df23709f16 tools/mtd-utils: upgrade to latest git
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 45760
9 years ago
Florian Fainelli 8f1fa7bd7d tools: gengetopt: Disable doc and tests builds
Simply disable the build of the "doc" and "tests" directories to speed up the
build and avoid the potential for errors coming from external tools being used
(e.g: source-highlight installed on a non-standard location).

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 45713
9 years ago
Hauke Mehrtens 2ef739d258 tools/mkimage: backport gcc5 compatibility, patch
Fedora 22 includes gcc5 by default
build leads to error:
include/linux/compiler-gcc.h:114:30: fatal error: linux/compiler-gcc5.h: No such file or directory

backport upstream patch: "Add linux/compiler-gcc5.h to fix builds with gcc5"
id: 478b02f1a7043b673565075ea5016376f3293b23

Issue was reported at
https://forum.openwrt.org/viewtopic.php?id=56853
& replicated in a VM

created, flashed and tested ar71xx image successfully
as test

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 45703
9 years ago
Felix Fietkau a13e2d0e5c mktplinkfw: add flag to ignore size limit (used for initramfs images)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45644
9 years ago
Imre Kaloz c1a8ff39fc tools: host/include/getline.h: fix FreeBSD 8.0+ support
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 45628
9 years ago
Imre Kaloz 9bcd551962 tools/pkg-config: fix compile on musl hosts
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 45605
9 years ago
Imre Kaloz a2bec91b3b tools/autoconf: fix compile on musl hosts
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 45604
9 years ago
Imre Kaloz d0e8830c31 tools/sed: fix compile on musl hosts
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 45603
9 years ago
Jo-Philipp Wich 1170a3de76 make-ext4fs: avoid using libc internal declarations
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 45591
9 years ago
Jo-Philipp Wich 8c68c104ea tools: drop unused genext2fs
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 45518
9 years ago
Jo-Philipp Wich 0ee9504911 all: replace genext2fs with make_ext4fs
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 45517
9 years ago
Felix Fietkau 62231a8404 tools: build ccache when building the sdk (fixes #13949)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45266
9 years ago
Felix Fietkau 55c5d10ca9 tools: replace ipkg-utils with a reduced ipkg-build variant in scripts/
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45129
9 years ago
Zoltan Herpai c60d0f7d40 tools: build mtools and dosfstools for mxs
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 45055
9 years ago
Jo-Philipp Wich f6c581cc3e automake: portability fixes
The rework of the host tools discovery caused automake to embed
absolute paths to staging_dir/host/bin/perl into the shebang
of the generated automake executables.

Switch to the portable "/usr/bin/env perl" and enable global
warnings through "$^W" instead of the "-w" interpreter argument.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44972
9 years ago
Jo-Philipp Wich e0c8e20f8c autoconf: portability fixes
The rework of the host tools discovery caused autoconf to embed
absolute paths to staging_dir/host/bin/perl into the shebang
of the generated autoconfig executables.

Switch to the portable "/usr/bin/env perl" and enable global
warnings through "$^W" instead of the "-w" interpreter argument.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44971
9 years ago
Felix Fietkau 223468546d dosfstools: switch back to release tarballs, update patches to the latest sent upstream
This fixes non applying patches on buildbots.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 44936
9 years ago
Felix Fietkau ccaaab1c04 tools: add back and update mm-macros, it is required for libsigc++
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44905
9 years ago
Felix Fietkau 7502d65294 tools: remove leftover dependency line
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44870
9 years ago
Felix Fietkau e9dd838d86 tools: remove a bunch of unused automake macros
The feeds that use them have been unmaintained for a long time, and
something similar can easily be added as a regular host build package.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44869
9 years ago
Felix Fietkau 808c460250 toolchain: remove leftovers from old llvm-gcc experiments
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44783
9 years ago
Felix Fietkau 7dd1baac99 dosfstools: fix build on OS X
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 44763
9 years ago
Felix Fietkau d85627a6e4 dosfstools: update to v3.0.27
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 44762
9 years ago
Felix Fietkau d9ddc95ce5 patch: bump GNU patch to 2.7.5
Bump GNU patch in tools from 2.7.1 to 2.7.5.
Change download URL to use @GNU alias.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>

SVN-Revision: 44760
9 years ago
Mirko Vogt bc67ebc585 disable silent-rules by default
OpenWrt hides verbose output by default,
regardless of automake silent-rules being en-/disabled.

If we enable verbose output for package builds (V=s)
however, we'd like to see as most as possible.

Signed-off-by: Mirko Vogt <mirko@openwrt.org>

SVN-Revision: 44685
9 years ago
Mirko Vogt 43365ca662 Do not use $(V) - force AM_V=1
Projects using silent-rules might otherwise fail to compile.

This is due to the following resulting Makefile code:

AM_V_P = $(am__v_P_$(V))
am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY))
am__v_P_0 = false
am__v_P_1 = :

Automake directly uses $(V) for variable name expansion
which fails if $(V) is set to sth. else other than '0' or '1'.

This patch forces automake to not take $(V) into account
but to always use the default config for verbosity.

A better approach would be to actually take $(V) into account,
however not just pass it through (AM_V='$(V)') but
set AM_V to 0 if $V=0 / unset and to 1 otherwise.

This plan however is foiled due to my frustration about
automake as well as my lack of m4 skills.

automake bug report: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20077

Signed-off-by: Mirko Vogt <mirko@openwrt.org>

SVN-Revision: 44684
9 years ago
Jonas Gorski bb54859543 brcm63xx: do not align squashfs rootfs start
We do not need to align the start of read only rootfs's to erase blocks.
This allows us to write the squashfs rootfs directly behind the kernel,
potentially freeing up one erase block.

We still need to align for jffs2, so add a flag for imagetag to
optionally align the rootfs start.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 44556
9 years ago
Jonas Gorski 56fd5df368 firmware-utils: imagetag: use cyg_crc32 instead of duplicating code
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 44554
9 years ago
John Crispin 9358a8a798 ar71xx: TL-WA7210n v2 support
This patch adds support for TP-Link TL-WA7210n[0]

[0] http://www.tplink.com/en/products/details/?model=TL-WA7210N

Signed-off-by: Hendrik Frenzel <hfrenzel@scunc.net>

SVN-Revision: 44526
9 years ago
Felix Fietkau a56b1e4638 mtools: fix build errors on mac os x (#19064)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44512
9 years ago
Felix Fietkau 5dbd3e65a6 tools/patchelf: fix portability issue breaking mac os x builds (#18998)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44493
9 years ago
Jo-Philipp Wich 572b943080 tools: add patchelf host build
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44376
9 years ago
Jo-Philipp Wich f7e56763e1 tools: remove static linking support
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44285
9 years ago
Jo-Philipp Wich e1c95ffb93 tools: Fix cmake build on FreeBSD 10.1
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44281
9 years ago
Jo-Philipp Wich d91e0a4df6 tools: Fix mkimage build on FreeBSD 10.1
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44280
9 years ago
Jo-Philipp Wich a854d5c4c9 tools: Fix mpfr build on FreeBSD 10.1
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44279
9 years ago
Jo-Philipp Wich d49242aae2 tools: Fix xz build on FreeBSD 10.1
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44278
9 years ago
Jo-Philipp Wich a546f511f2 tools: remove PrepareCommand macros
They're part of prereq-build.mk now.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44274
9 years ago
John Crispin baaef42952 ar71xx: Revert "added board support for compex wpj558"
This reverts commit f7873071561d82e75ba2dc46433a2982fef8ac6f.

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44245
10 years ago
John Crispin bc906ca59e added board support for compex wpj558
Signed-off-by: Christian Mehlis <christian@m3hlis.de>

SVN-Revision: 44237
10 years ago
John Crispin 4961c7d0f5 ar71xx: add support for TL-WA701ND v2
Signed-off-by: Luigi Tarenga <luigi.tarenga@gmail.com>

SVN-Revision: 44063
10 years ago
Jo-Philipp Wich 2b366700b0 tools: libtool relocatable fixes
Make sure that libtool and libtoolize call grep relative to
$STAGING_DIR as well.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 43960
10 years ago
Jo-Philipp Wich 90283e410b tools: bootstrap libtool to pickup the correct in-tree automake
Also fix 000-relocatable.patch to avoid accidential sed invocations in bootstrap.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 43959
10 years ago
Jo-Philipp Wich 73a1f3597b tools: bootstrap automake to pickup the correct in-tree autoconf
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 43958
10 years ago
Jo-Philipp Wich 6dec519be7 tools: add dummy scripts for help2man and makeinfo
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 43957
10 years ago
Jo-Philipp Wich 1070fec51f tools: change automake depends to libtool depends
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 43956
10 years ago
Jo-Philipp Wich eca61e8c44 tools: make libtool depend on automake, not vice versa
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 43955
10 years ago
Nicolas Thill a0191c9b64 dosfstools: update to 3.0.26
Signed-off-by: Nicolas Thill <nico@openwrt.org>

SVN-Revision: 43942
10 years ago
Florian Fainelli 0c5feac573 tools: edimax_fw_header: fix suspicious memset usage
memset() was called with a size argument against a pointer size, not the
structure size itself.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 43913
10 years ago
Felix Fietkau 265174ef48 tools/firmware-utils: add version 3 header support for mktplinkfw2
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43897
10 years ago
Jo-Philipp Wich cdaf75b641 tools: automake: update to v1.15
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 43895
10 years ago
Felix Fietkau 1403ce960c tools: build libtool after autoconf, not before (fixes #18659)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43793
10 years ago
Felix Fietkau a6d9d70aa0 tools/mtd-utils: add mirror md5sum
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43760
10 years ago
Felix Fietkau c12ac30870 buffalo-enc: pass the longstate option to decryption
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43756
10 years ago
Felix Fietkau 8e8437103c buffalo-enc: accept the longstate command line option
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43755
10 years ago
Imre Kaloz 211cac98d5 Belkin AC 1750 DB (F9K1115v2) support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 43734
10 years ago
John Crispin 8a123f6f66 ramips: generate factory images for Nexx devices
Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>

SVN-Revision: 43541
10 years ago
Felix Fietkau c3a7057e43 mkimage: remove check for miscompiled __weak
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43458
10 years ago
Felix Fietkau eb41cee9e8 tools/mkimage: fix build errors (#18445)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43441
10 years ago
Felix Fietkau 2311cfeed4 gengetopt: fix parallel build issues (#18442)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43440
10 years ago
Imre Kaloz 5ec23daa26 add gengetopt
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 43437
10 years ago
Luka Perkov 25d8cb275e mkimage: update to 2014.10
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 43428
10 years ago
Felix Fietkau 40e8649947 firmware-utils: remove dependency on error.h in tplink-safeloader
Fixes build on Mac OS X

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43402
10 years ago
John Crispin f318ae995a firmware-utils: add new tool tplink-safeloader for the new TP-LINK Pharos devices (CPE210/220/510/520)
The new TP-LINK Pharos series uses a new bootloader, the "TP-LINK Safeloader".
It uses an advanced firmware image format, containing an image partition table
and a flash partition table (and image partitions are mapped to the
corresponding flash partitions). The exact image format is documented in the
source code.

Furthermore, the bootloader expects the kernel image as an ELF executable.

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

SVN-Revision: 43384
10 years ago
John Crispin d0bf15f235 ramips: add support for A5-V11 board (resubmit)
(Reposted due to an issue with the patchwork server during original submission)

Unbranded. Silkscreen on PCB is “A5-V11”, believed to be made by Bococom (or at least uses Bococom image encryption - as used on poray devices - but different key)

Signed-off-by: Gareth Bryan <gareth@mx9.org>

SVN-Revision: 43102
10 years ago
Felix Fietkau 4aa8c512b0 findutils: add dependency on bison
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43064
10 years ago
Felix Fietkau dd86bc73fb tools: Fix compilation on x32 host
Compiling the host tools on the new x32 architecture (which is
an ILP32 ELF32 system on an amd64 CPU) fails for various reasons.

 gmp: pull same fix I applied to OpenADK, which was inspired
  by the fix in the Debian source package

 mtd-utils: write a workaround myself; only affects x32, but
  the use of llseek is dangerous according to the manpage, so
  the guard ifdef should probably go away

 findutils: pull fix straight from the Debian source packae

Signed-off-by: Thorsten Glaser <tg@mirbsd.org>

SVN-Revision: 43060
10 years ago
Felix Fietkau a1b6a7e572 firmware-utils: rename encrypt()/decrypt() in mkhilinkfw to avoid collisions
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42998
10 years ago
Felix Fietkau d225f614bd tools: revert faulty dependency on package stuff
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42996
10 years ago
John Crispin 6e1637f8fa firmware-utils: restore compilation of mkhilinkfw.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 42989
10 years ago
John Crispin 7322fe161a firmware-utils: fix compilation warnings.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 42986
10 years ago
Jo-Philipp Wich 6358368500 firmware-utils: allow passing a specific MBR signature to ptgen
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 42934
10 years ago
Felix Fietkau b6be477299 tools/mtd-utils: fix a segfault in parsing the device table
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42875
10 years ago
Steven Barth 8a4c2890c8 autoconf: bump version to 2.69
Signed-off-by: Russell Senior <russell@personaltelco.net>

SVN-Revision: 42855
10 years ago
John Crispin b0a1c7dc0d include/download.mk: Add download mirrors for tools from GNU Savannah (bug #15184)
I defined a new download method @SAVANNAH in include/download.mk and scripts/download.pl,
and converted quilt and qemu to use that method.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>

SVN-Revision: 42840
10 years ago
John Crispin 7ab5357280 firmware-utils: add NEXX factory image support
This patch adds support to encode and decode images for certain types of
NEXX routers.

SVN-Revision: 42784
10 years ago
Felix Fietkau 03586d23a3 tools: add missing ldconfig make dependency on the staging area
Signed-off-by: John Szakmeister <john@szakmeister.net>

SVN-Revision: 42576
10 years ago
Felix Fietkau e2864e9990 tools: install a fake empty ldconfig script to prevent the system ldconfig from messing around with the toolchain (fixes disappearing musl symlink issue)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42480
10 years ago
Felix Fietkau 76ca87a060 tools: fix mtools/dosfstools related build system warnings
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42442
10 years ago
Zoltan Herpai d932a2bd62 tools: build dosfstools and mtools for sunxi
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 42435
10 years ago
Felix Fietkau 607f00d273 tools/libtool: add missing dependency on m4
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42322
10 years ago
Felix Fietkau b3d10005c1 tools/bc: add missing dependency on bison
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42309
10 years ago
Felix Fietkau 4305bcf16a tools/flex: disable building shared libfl.so
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42308
10 years ago
Luka Perkov f170eacc88 mkimage: update to 2014.07
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 42082
10 years ago
John Crispin 058a5c85ef firmware-utils: made mkdir615h1 work for all Senao-produced devices as mksenaofw and cleaned up some of its formatting
Signed-off-by: Forest Crossman <cyrozap@gmail.com>

SVN-Revision: 41962
10 years ago
Jonas Gorski b8f5c43748 firmware-utils: add new tool for fixing headers on ZyXEL devices (brcm63xx)
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 41849
10 years ago
Gabor Juhos def30210f8 firmware-utils/mktplinkfw: add support for GL.iNet v1
Patch is based on http://patchwork.openwrt.org/patch/5273/.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Michel Stempin <michel.stempin@wanadoo.fr>
Signed-off-by: Mark Janssen <mark@sig-io.nl>
Signed-off-by: alzhao <alzhao@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/5653/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 41620
10 years ago
Hauke Mehrtens d5397be2cc b43-tools: b43-fwsquash.py: manually remove LP-PHY 16 support
I have never seen a LP-PHY with core rev 16 or higher, but the ucode
will be included, because we need LP-PHY 13 and 15 and N-PHY core rev
16. Comment out the code for now.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41595
10 years ago
Hauke Mehrtens 5f41e561ca b43-tools: b43-fwsquash.py: add new firmware files
This adds support for new firmware files from b43 and selects the ucode
based on the PHY type now.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41592
10 years ago
Hauke Mehrtens 9e0f732b35 b43-tools: update to version 019
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41484
10 years ago
John Crispin ea137d3735 firmware-utils/mkdir615h1: fix magic XOR calculation
Signed-off-by: Forest Crossman <cyrozap@gmail.com>

SVN-Revision: 41314
10 years ago
John Crispin 575127fe1c lantiq: DGN3500 (all known variants) factory and sysupgrade image building support
This patch adds factory image building for the DGN3500, all variants,
and fixes sysupgrade images to make them play nice with the sercomm
secondary boot loader.

The factory images can be used directly in the update dialog in the
interface of the stock firmware and via the special Sercomm bootmode
and a special windows flashing utility (allegedly present in the CD
that came with the device -- but it's also compatible with the NSLU2
Upgrade_207_XP utility.) The special bootmode can be activated by
turning the device on while holding the reset button pressed, then
releasing it when the power led starts blinking red and green. Please
notice that if using the 207 utility, it will always report that the
flashing failed even though it completed successfully. Just power
cycle the router manually after the utility reports the failure and
OpenWRT will boot. This same utility (despite reporting failure in
this case too) can revert a DGN3500 (any variant) to the appropriate
stock Netgear firmware.

This patch is a heavily modified version of a package I found on the
OpenWRT forum with a couple fixes and features added -- mainly the
generation of all the different image variants to support all known
models directly, atm known variants are AnnexA-WW, AnnexA-NA and
AnnexB-DE/GR.

I tested the patch successfully on my device.

Signed-off-by: Marco Antonio Mauro <marcus90@gmail.com>

SVN-Revision: 41236
10 years ago
John Crispin dc5fe5f73f ramips: RT-N56U support fixes and factory image creation
Signed-off-by: Mikko Hissa <mikko.hissa@werzek.com>

SVN-Revision: 41224
10 years ago
John Crispin b6fbe7bd5d tools: genext2fs: add support for blocksize != 1024
This patch series is extracted from
http://ftp.de.debian.org/debian/pool/main/g/genext2fs/genext2fs_1.4.1-4.debian.tar.gz

The patches are used in Debian for quite a long time, so I assume that
this is solid material. At least, my Ubuntu host fsck.ext4 does not bark :-)

The goal is to allow building filesystems with larger blocksizes instead of the
current default of 1k. This should improve performance and lifetime when the
filesystem is stored e.g. on a SD card (on Raspberry Pi/I2SE Duckbill for example)
which uses internal flash memory. Writing to flash memory is slow because writing
the data of one block results in erasing a whole erase block of the flash memory.
Thus it is preferable to align the filesystem block size on a flash device with
the erase blocksize, or at least bring it closer to the later one, to avoid
unnecessary write amplification.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>

SVN-Revision: 40921
10 years ago
Luka Perkov 5342a1a2ea mkimage: update to 2014.04
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 40807
10 years ago
Luka Perkov 108c0f5319 quilt: update to 0.63
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>

SVN-Revision: 40744
10 years ago
John Crispin 3208d0d7b7 firmware-utils: add Gemtek header tool
Generates webflash-compatible images for a few RT2880 routers based
on Gemtek OEM boards.

Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 40551
10 years ago
Luka Perkov 377a420174 scons: upgrade to 2.3.1
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 40535
10 years ago
Luka Perkov 460c7c1bde mpc: upgrade to 1.0.2
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 40534
10 years ago
Luka Perkov 7ddc0380bd flex: upgrade to version 2.5.39
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 40533
10 years ago
John Crispin 76133009c9 sparse: add as a new package selectable from the config
This change does multiple things, all related to enable sparse usage as
a static analysis tool selectable from the OpenWrt configuration:
*add a KERNEL_SPARSE option in the config to add sparse to the kernel
 build (through the C=1 option usage)
*add sparse as a new host tools. It will get selected automatically when
 the above option will be enabled

Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com>

SVN-Revision: 40490
10 years ago
Gabor Juhos 1a53806b86 firmware-utils/mktplinkfw: add support for TL-WDR4300v1 (IL)
The version of TL-WDR4300 sold in Israel comes with a different
hardware id.

Patch-by: Daniel <daniel@makrotopia.org>
Patchwork: http://patchwork.openwrt.org/patch/5001/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 40037
10 years ago
Gabor Juhos d9341f97ed firmware-utils/mktplinkfw: add support for the Oolite v1 board
Patch-by: Lars Bøgild Thomsen <lth@cow.dk>
Patchwork: http://patchwork.openwrt.org/patch/4922/
[juhosg: fix whitespaces]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 40035
10 years ago
Gabor Juhos 6aae3694c9 firmware-utils/mktplinkfw: add an option to generate 16MiB images
Signed-off-by: Andrew 'Necromant' Andrianov <andrew@ncrmnt.org>
Patchwork: http://patchwork.openwrt.org/patch/2449/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 40034
10 years ago
Felix Fietkau 8087fa9e04 flex: fix build error due to undefined library symbols
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39888
10 years ago
Luka Perkov 3ed094e85a flex: upgrade to version 2.5.38
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 39856
10 years ago
Felix Fietkau b544fd922a tools: fix stampfile dependency handling when the list of build dirs changes (#15186)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39845
10 years ago
Luka Perkov 0f2ff3ba97 cmake: upgrade to 2.8.12.2
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 39598
10 years ago
Luka Perkov cac9ed3ffd quilt: update to 0.61
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 39452
11 years ago
Gabor Juhos fe99a2d67d firmware-utils/mktplinkfw: allow to reserve space in the generated images
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39396
11 years ago
John Crispin 9821ce8ed6 ralink: don't build mkhilinkfw untilt he ssl header dependency is resolved
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39248
11 years ago
John Crispin 4bf844e834 firmware-utils: mkhilinkfw breaks the build bots
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39243
11 years ago
John Crispin 2b4a04089f firmware-utils: add HLK-RM04 tool
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39238
11 years ago
John Crispin 3b4152bfda firmware-utils: check_magic() in buffalo-lib.c always return 0
spotted with cppcheck

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>

SVN-Revision: 39171
11 years ago
Luka Perkov 0b4e8c4c36 automake: update to 1.11.6
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 39108
11 years ago
Luka Perkov 5efbcf2f92 ppl: update to 1.1
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 39068
11 years ago
Luka Perkov 152f0b7017 cloog: update to 0.18.1
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 39067
11 years ago
Gabor Juhos 2b6ca18e82 firmware-utils/mkplinkfw: add TL-WA801ND v2 support
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Patchwork: http://patchwork.openwrt.org/patch/4503/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39066
11 years ago
Luka Perkov 94f3a19a21 bison: update to 3.0.2
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 39056
11 years ago
Gabor Juhos fd8e5b04b4 firmware-utils/trx: remove trailing whitespaces
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38963
11 years ago
Gabor Juhos b61b447472 firmware-utils/trx: fix two bugs
- fix crc32 calculation if -F was enabled.

 - don't convert the crc32 to little endian twice.

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>

SVN-Revision: 38962
11 years ago
Gabor Juhos 4069a50de6 firmware-utils/mkplinkfw: add TL-WR1043ND v2 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38957
11 years ago
John Crispin 8a35c5936f tools/mpfr: add GNU source
fixes https://dev.openwrt.org/ticket/14519

mpfr is available from GNU too
see: https://gforge.inria.fr/forum/forum.php?forum_id=11263

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>

SVN-Revision: 38912
11 years ago
Luka Perkov e8f2d46bdb cmake: upgrade to 2.8.12.1
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38899
11 years ago
Luka Perkov d8b7d99478 pkg-config: fix occasional install problem
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38886
11 years ago
Felix Fietkau cc8350c5ec padjffs2: add a different kind of padding (using standard jffs2 elements) to work around broken boot loaders for kernel partitions
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38804
11 years ago
Gabor Juhos 5a85a21e06 tools: adapt addpattern for WD's Range Extender
A few things had to be changed to add support for these devices:
 - support code patterns with 8 characters
 - new board definition for the range extender device

Patchwork: http://patchwork.openwrt.org/patch/4280/
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38685
11 years ago
Gabor Juhos ca4c33abb9 tools/mtd-utils: add EOF marker support to libubigen/ubinize
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38682
11 years ago
Gabor Juhos d9c9633d19 firmware-utils: remove the wndr3700 utility
It is not used anymore.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38663
11 years ago
Felix Fietkau 5825d9b40d mtd-utils: get rid of extern inline to fix build errors
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38565
11 years ago
Felix Fietkau 414fc2e320 e2fsprogs: update to 1.42.8, fixes a build error
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38564
11 years ago
Felix Fietkau 7dc9d8f618 squashfs: make inline functions static to fix build errors
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38563
11 years ago
Felix Fietkau 7a59e5b368 squashfs4: make inline functions static to fix build errors
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38562
11 years ago
Felix Fietkau 8fb4f34859 pkg-config: update to latest version, fix build on Mac OS X 10.9
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38561
11 years ago
Luka Perkov 2215ccf184 gmp: update to 5.1.3
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38487
11 years ago
Gabor Juhos 50458fb24c mkfwimage: Increase RSPRO maximum size to 0xF00000 (15 MiB)
RSPRO has 16MiB of Flash, using the following layout:

[    2.930000] 0x000000000000-0x000000030000 : "RedBoot"
[    2.940000] 0x000000030000-0x000000130000 : "kernel"
[    2.950000] 0x000000130000-0x000000ff0000 : "rootfs"
[    2.960000] 0x000000ff0000-0x000000fff000 : "FIS directory"
[    2.970000] 0x000000fff000-0x000001000000 : "RedBoot config"

Firmware images contain kernel and rootfs, so they can use up to 0xFF0000 -
0x30000 = 0xFC0000 (15,75MiB) of space. We don't include the RedBoot and FIS
partitions and leave an extra 0xC0000 (768KiB) of space.

This is based on revision 18410 which sets the limit to 0xB00000 (11 MiB).

Signed-off-by: Bruno Randolf <br1@einfach.org>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38484
11 years ago
Luka Perkov 11c7e45e8d cmake: upgrade to 2.8.12
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38457
11 years ago
Zoltan Herpai 4da854bcd0 elftosb: support static linking
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 38400
11 years ago
Zoltan Herpai 07043a853a imx23: rename imx23 to mxs for upcoming imx23/28 support
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 38394
11 years ago
Hauke Mehrtens ce3d7d02a6 yaffs2: the yaffs2 git moved
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38377
11 years ago
John Crispin fa4ca9d7eb tools: add tool to generate dcs93xl images
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38317
11 years ago
Luka Perkov a6f15f7321 patch: other tools might depend on this one
Signed-off-by: Markus Stenberg <markus.stenberg@iki.fi>

SVN-Revision: 38236
11 years ago
Luka Perkov dc3d2f715b quilt: add findutils as dependency
Signed-off-by: Markus Stenberg <markus.stenberg@iki.fi>

SVN-Revision: 38235
11 years ago
Gabor Juhos 2bcab84045 tools/padjffs2: allow to specify extra offset
This will be useful for firmware images which are
using a custom header.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38195
11 years ago
Luka Perkov 5166bb0b1b quilt: update to 0.60
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38170
11 years ago
Luka Perkov 948f060014 bison: update to 3.0
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38169
11 years ago
Luka Perkov 76974babaf m4: update to 1.4.17
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38168
11 years ago
Luka Perkov 473b747b1a sdcc: drop tool, it is not used since r31227
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38167
11 years ago
Gabor Juhos da3700b2a6 firmware-utils/mktplinkfw: add support for the TL-MR13U board
Signed-off-by: Oleg Titov <oleg.titov@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/4063/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38065
11 years ago
Felix Fietkau f39f07cd09 tools/cmake: disable qt related checks to fix build issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37917
11 years ago
Luka Perkov c0908affad upx: upgrade to 3.09
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37813
11 years ago
Luka Perkov 567fe51e88 mpc: upgrade to 1.0.1
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37812
11 years ago
Luka Perkov b0943b6ea6 scons: upgrade to 2.3.0
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37806
11 years ago
Luka Perkov e83cacd2c1 xz: upgrade to 5.0.5
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37797
11 years ago
Luka Perkov 06dc9fcf83 mtools: upgrade to 4.0.18
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37796
11 years ago
Luka Perkov a98cf00fff mm-macros: upgrade to 0.9.6
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37795
11 years ago
Luka Perkov ef876c20db cmake: upgrade to 2.8.11.2
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37794
11 years ago
Luka Perkov c67640bbd4 cloog: upgrade to 0.18.0
Signed-off-by: Luka Perkov <lperkov@cisco.com>

SVN-Revision: 37787
11 years ago
Luka Perkov 884ae69189 ppl: upgrade to 1.0
Signed-off-by: Luka Perkov <lperkov@cisco.com>

SVN-Revision: 37786
11 years ago
John Crispin 15721d535b firmware-utils: add a tool TP-Link v2 image generation
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37726
11 years ago
John Crispin 1af56d7c46 firmware-utils: remove v2 support
we will use gabors patch instead

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37725
11 years ago
John Crispin 815d9334e2 firmware-utils: fix segfault introduced by v2 changes
Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>

SVN-Revision: 37724
11 years ago
John Crispin eb844ad321 firmware-utils: add support for TDW8970 to mktplinkfw
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37718
11 years ago
John Crispin 85cb2c4f9e firmware-utils: add v2 header support to firmware-utils
only image build works. inspect and md5 checksum support are not implemented yet

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37717
11 years ago
John Crispin aaedf6c8c6 ramips: add basics for Poray devices
This commit adds the basic elements to support Poray brand routers.
It contains a tool to do the encryption/obfuscation that is used in
Poray routers.

Support for Poray devices was worked on by:

Felix Kaechele <heffer@fedoraproject.org>
Luis Soltero <lsoltero@globalmarinenet.com>
Michel Stempin <michel.stempin@wanadoo.fr>

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 37635
11 years ago
Felix Fietkau 80dd55228e tools: make padjffs2 depend on findutils
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37599
11 years ago
Gabor Juhos 2fb993fdbf firmware-utils/mktplinkfw: add support for the TL-MR10U board
Based on andelf's patch:
http://andelf.diandian.com/post/2013-05-22/40050677370

Signed-off-by: Oleg Titov <oleg.titov@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3840/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37549
11 years ago
Felix Fietkau ccdd6e8215 tools/mkimage: avoid a linux specific return code
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37368
11 years ago
Luka Perkov 9823099718 mkimage: fix md5sum after r37361
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37366
11 years ago
Luka Perkov 620739e0be mkimage: update to 2013.07-rc1
also remove 100-dtc-binary.patch which was not accepted upstream

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37361
11 years ago
Felix Fietkau 8cfd4d8350 tools: remove stale reference to the find PrepareCommand Target
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37215
11 years ago
Felix Fietkau 44b17b9ef2 tools: add a package for findutils, Linux 3.10 need GNU xargs
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37212
11 years ago
Florian Fainelli d0d268ba6e tools: do not build bc documentation (#13841)
Building the "bc" documentation requires the "makeinfo" program to be
installed on the host.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 37209
11 years ago
Zoltan Herpai f18bb17fad add bc as required by kernels 3.9+
- bc is required by the kernel to compute timeconsts files
 - fixes #13767.

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 37197
11 years ago
Felix Fietkau 0c10f3911d tools: include endian.h from byteswap.h to ensure that bswap_* is available
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37183
11 years ago
Zoltan Herpai 82ae24602a tools: add tools for i.MX23 boards
SVN-Revision: 37035
11 years ago
Felix Fietkau bfab82392a tools/mkimage: add back a fixed version of 040-include_order.patch to fix build errors on some systems (#12232)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36967
11 years ago
Florian Fainelli b5b3e94132 tools: add Broadcom cable modem firmware image creator
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36873
11 years ago
Felix Fietkau 6f0f50b532 Revert "[tools] mklibs: upgrade to 0.1.37"
It breaks on trying to find ldso

SVN-Revision: 36849
11 years ago
Luka Perkov d25a02b3e9 mpfr: upgrade to 3.1.2
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 36822
11 years ago
Luka Perkov cc74eabd38 gmp: upgrade to version 5.1.2
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 36821
11 years ago
Luka Perkov bb11c68b1e mklibs: upgrade to 0.1.37
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 36820
11 years ago
Gabor Juhos 3a407a0986 firmware-utils/mkcameofw: allow to use combined kernel image
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36583
11 years ago
Felix Fietkau 4053e50591 tools/mkimage: unbreak non-linux build again
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36556
11 years ago
Luka Perkov b693bfc710 mkimage: update to 2013.04
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 36550
11 years ago
Felix Fietkau 0ed3a7b9d0 tools/mtools: disable iconv support, it breaks on some systems
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36516
11 years ago
Gabor Juhos 9658206abc firmware-utils/mktplinkfw: add description for -W option into usage output
Add description for -W <hwrev> option into usage output of mktplinkfw.

Signed-off-by: yousong <yszhou4tech@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36497
11 years ago
Gabor Juhos 85db8b7a21 firmware-utils/mktplinkfw: add support for the TL-WR720N v3 board
Signed-off-by: yousong <yszhou4tech@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36455
11 years ago
John Crispin 48feea4861 Add Netgear WNCE2001 (OF version)
Add Netgear WNCE2001.

This is a small RT3052 device with 4MB spi flash and 32MB ram.
2 built-in antennas, 1x fastE, no USB, reset & wps switch.
On my model the AP/RT switch is unpopulated, but I verified the gpio
mapping for it.
The stock firmware is running an unprotected tftpd which allows you
to read any file from the filesystem.
Serial port is present on testpads (See image on the wiki page).
There are more testpads below the shield near the SoC, which
may have JTAG.

Slight annoyance: The bootloader is checksumming kernel&rootfs, but
can be tricked by zeroing checksum and length fields in the checksum
partition, see
target/linux/ramips/base-files/lib/preinit/04_disable_wnce2001_flash_checksumming

The manufacturer image is very similar to the DAP one, so I slightly
modified mkdapimg to support generating it.

The resulting
openwrt-ramips-rt305x-wnce2001-squashfs-factory-(worldwide|northamerica).bin
can be used to flash from stock to OpenWRT using the stock firmware
upgrade function, without using the serial port.

http://www.netgear.com/landing/wnce2001.aspx
http://wiki.openwrt.org/toh/netgear/wnce2001

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

SVN-Revision: 36289
11 years ago
Felix Fietkau a982c1c697 tools/upx: use HOSTCXX to fix build errors on mac os x
SVN-Revision: 36110
11 years ago
Gabor Juhos 55e2ae7452 firmware-utils/mktplinkfw: Add support for MR3420v2
Patch-by: Dmytro <dioptimizer@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3441/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35963
11 years ago
Felix Fietkau a23b6acbf5 mkimage: unbreak build on non-linux systems
SVN-Revision: 35909
11 years ago
Luka Perkov 9c8ee9c264 mkimage: upgrade to version 2013.01.01
SVN-Revision: 35905
11 years ago
Felix Fietkau 1f77bfff96 build: BSD compile fixes
following patch allows to build images for Qemu ARM on
OpenBSD 5.2 amd64 and FreeBSD 9.1 amd64.

Mostly small pieces of code changes to get things right on the
specific platform.

Updated the README to describe better, which tools on the host
are required. Added some kind of prepare scripts to install needed
tools on BSD via packages.

Signed-off-by: Waldemar Brodkorb <mail@waldemar-brodkorb.de>

SVN-Revision: 35900
11 years ago
Hauke Mehrtens f3bfc60e1c b43-tools: fix compile error: undefined reference to `yydebug'
With bison 2.7 YYDEBUG will be set to 0 if it was not set, then #ifdef
YYDEBUG returns true, but bison 2.7 treets YYDEBUG 0 as not set.

This fixes the following error:
obj/main.o: In function `main':
main.c:(.text.startup+0xaf): undefined reference to `yydebug'
collect2: error: ld returned 1 exit status

This closes #13093.

SVN-Revision: 35830
11 years ago
Luka Perkov d8f57c4e6c mpfr: upgrade to 3.1.1
SVN-Revision: 35828
11 years ago
Luka Perkov 71978cf105 bison: upgrade to version 2.7
SVN-Revision: 35827
11 years ago
Luka Perkov 829e0bc8b3 cmake: upgrade to version 2.8.10.2
SVN-Revision: 35826
11 years ago
Luka Perkov 2dde4db723 e2fsprogs: upgrade to version 1.42.7
SVN-Revision: 35825
11 years ago
Luka Perkov 552e5a0b00 flex: upgrade to version 2.5.37
SVN-Revision: 35824
11 years ago
Luka Perkov 7071a06e8f gmp: upgrade to version 5.1.1
SVN-Revision: 35823
11 years ago
Luka Perkov a0e2d2a6d1 sed: upgrade to version 4.2.2
SVN-Revision: 35822
11 years ago
Luka Perkov ba80e0a4da ccache: upgrade to version 3.1.9
SVN-Revision: 35821
11 years ago
Luka Perkov dbe806ec61 mklibs: upgrade to 0.1.35
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 35818
11 years ago
Gabor Juhos ddb29bebf5 firmware-utils/mktplinkfw: add support for the TL-WA830RE v1/v2 boards
Signed-off-by: Ronald Hecht <ronald.hecht@gmx.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35787
11 years ago
Gabor Juhos c75c1e03a3 firmware-utils/mktplinkfw: add support for the TL-WDR4900 v1
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35593
11 years ago
Gabor Juhos cbeb862b95 firmware-utils/mktplinkfw: add TP-LINK TL-WR743ND v2 support
AR9331 based, these same as 741v4

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35448
12 years ago
John Crispin 2739a19992 adds support for Edimax BR-6524N
fixes #12754

Signed-off-by: <rq@akl.lt>

SVN-Revision: 35019
12 years ago
Felix Fietkau 2b0a5e47dc tools/ipkg-utils: remove some unnecessary field checks
SVN-Revision: 34870
12 years ago
Gabor Juhos cbc3aebcc7 firmware-utils/mktplinkfw: add support for the TL-MR3220 v2
Based on the following patch:
http://patchwork.openwrt.org/patch/3043/

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34781
12 years ago
Felix Fietkau f403e2dcca tools: add a symlink for gnu awk to fix kernel build errors on some platforms
SVN-Revision: 34736
12 years ago
Gabor Juhos 113b6b96c1 firmware-utils/mkfwimage2: allow to use numbers in partition names
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34729
12 years ago
Gabor Juhos dfab9cb4e7 firmware-utils/mktplinkfw: add support for TP-LINK WA801NDv1
Patch-by: Amir Sagie <openwrt-devel@taproot.org.il>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34575
12 years ago