Commit graph

774 commits

Author SHA1 Message Date
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
2013-06-18 21:53:46 +00:00
Florian Fainelli
b5b3e94132 tools: add Broadcom cable modem firmware image creator
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36873
2013-06-06 22:21:52 +00:00
Felix Fietkau
6f0f50b532 Revert "[tools] mklibs: upgrade to 0.1.37"
It breaks on trying to find ldso

SVN-Revision: 36849
2013-06-05 00:21:23 +00:00
Luka Perkov
d25a02b3e9 mpfr: upgrade to 3.1.2
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 36822
2013-06-03 01:18:48 +00:00
Luka Perkov
cc74eabd38 gmp: upgrade to version 5.1.2
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 36821
2013-06-03 01:18:47 +00:00
Luka Perkov
bb11c68b1e mklibs: upgrade to 0.1.37
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 36820
2013-06-03 01:18:45 +00:00
Gabor Juhos
3a407a0986 firmware-utils/mkcameofw: allow to use combined kernel image
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36583
2013-05-08 17:11:08 +00:00
Felix Fietkau
4053e50591 tools/mkimage: unbreak non-linux build again
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36556
2013-05-06 10:30:29 +00:00
Luka Perkov
b693bfc710 mkimage: update to 2013.04
Signed-off-by: Luka Perkov <luka@openwrt.org>

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

SVN-Revision: 36516
2013-05-02 12:39:31 +00:00
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
2013-04-30 10:44:10 +00:00
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
2013-04-26 17:00:47 +00:00
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
2013-04-09 14:19:33 +00:00
Felix Fietkau
a982c1c697 tools/upx: use HOSTCXX to fix build errors on mac os x
SVN-Revision: 36110
2013-03-22 12:52:21 +00:00
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
2013-03-11 15:55:23 +00:00
Felix Fietkau
a23b6acbf5 mkimage: unbreak build on non-linux systems
SVN-Revision: 35909
2013-03-09 19:00:39 +00:00
Luka Perkov
9c8ee9c264 mkimage: upgrade to version 2013.01.01
SVN-Revision: 35905
2013-03-08 20:16:11 +00:00
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
2013-03-07 17:32:29 +00:00
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
2013-02-28 10:43:02 +00:00
Luka Perkov
d8f57c4e6c mpfr: upgrade to 3.1.1
SVN-Revision: 35828
2013-02-28 00:52:36 +00:00
Luka Perkov
71978cf105 bison: upgrade to version 2.7
SVN-Revision: 35827
2013-02-28 00:52:34 +00:00
Luka Perkov
829e0bc8b3 cmake: upgrade to version 2.8.10.2
SVN-Revision: 35826
2013-02-28 00:52:33 +00:00
Luka Perkov
2dde4db723 e2fsprogs: upgrade to version 1.42.7
SVN-Revision: 35825
2013-02-28 00:52:32 +00:00
Luka Perkov
552e5a0b00 flex: upgrade to version 2.5.37
SVN-Revision: 35824
2013-02-28 00:52:31 +00:00
Luka Perkov
7071a06e8f gmp: upgrade to version 5.1.1
SVN-Revision: 35823
2013-02-28 00:52:30 +00:00
Luka Perkov
a0e2d2a6d1 sed: upgrade to version 4.2.2
SVN-Revision: 35822
2013-02-28 00:52:28 +00:00
Luka Perkov
ba80e0a4da ccache: upgrade to version 3.1.9
SVN-Revision: 35821
2013-02-27 23:08:02 +00:00
Luka Perkov
dbe806ec61 mklibs: upgrade to 0.1.35
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 35818
2013-02-26 21:49:11 +00:00
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
2013-02-25 20:37:32 +00:00
Gabor Juhos
c75c1e03a3 firmware-utils/mktplinkfw: add support for the TL-WDR4900 v1
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35593
2013-02-13 16:51:24 +00:00
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
2013-02-02 10:01:11 +00:00
John Crispin
2739a19992 adds support for Edimax BR-6524N
fixes #12754

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

SVN-Revision: 35019
2013-01-06 11:11:30 +00:00
Felix Fietkau
2b0a5e47dc tools/ipkg-utils: remove some unnecessary field checks
SVN-Revision: 34870
2012-12-22 19:56:17 +00:00
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
2012-12-19 08:50:43 +00:00
Felix Fietkau
f403e2dcca tools: add a symlink for gnu awk to fix kernel build errors on some platforms
SVN-Revision: 34736
2012-12-17 15:11:34 +00:00
Gabor Juhos
113b6b96c1 firmware-utils/mkfwimage2: allow to use numbers in partition names
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34729
2012-12-17 12:28:15 +00:00
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
2012-12-07 19:10:54 +00:00
Hauke Mehrtens
619f46df05 b43-tools: update to version 017, which contains the patch.
SVN-Revision: 34574
2012-12-07 18:30:19 +00:00
Jo-Philipp Wich
740daabdfd tools: e2fsprogs: delete doc/ directory after unpacking to ensure that makeinfo is not invoked
SVN-Revision: 34459
2012-12-02 18:35:39 +00:00
Felix Fietkau
697cbb6d2f tools/sstrip: remove redundant -I flag that breaks build on some x86_64 linux hosts
SVN-Revision: 34455
2012-12-02 16:17:33 +00:00
Hauke Mehrtens
9362c121c8 b43-tools: pack the lcn firmware into the brcmsmac firmware package.
SVN-Revision: 34453
2012-12-02 16:09:23 +00:00
Felix Fietkau
974a50ca4a sstrip: remove a redundant copy of elf.h
SVN-Revision: 34448
2012-12-02 15:26:15 +00:00
Vasilis Tsiligiannis
41b6662001 ipkg-utils: Force gnu format for tar (#12496)
SVN-Revision: 34261
2012-11-19 19:29:01 +00:00
Gabor Juhos
588c81d1e0 firmware-utils/mktplinkfw: add support for TL-WA7510N
[juhosg: separated from the http://patchwork.openwrt.org/patch/2820/ patch]

Signed-off-by: Stefan Helmert <helst_listen@aol.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34189
2012-11-13 14:48:02 +00:00
John Crispin
1a7334a874 rename patch-cmdline and add code for patching DTB files into kernel images
SVN-Revision: 34058
2012-11-02 20:06:45 +00:00
Felix Fietkau
b69b9c5328 b43-tools: get rid of the libfl dependency to fix build errors on mac os x
SVN-Revision: 33934
2012-10-25 16:39:38 +00:00
Hauke Mehrtens
2c161449ac b43-tools: fix md5sum
SVN-Revision: 33931
2012-10-25 16:24:50 +00:00
Gabor Juhos
86b788b1b4 firmware-utils: new tool for fixing U-Media firmware headers
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33848
2012-10-18 07:23:09 +00:00
Gabor Juhos
25250a22ef tools/firmware-utils: add seama tool
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33840
2012-10-18 07:22:57 +00:00
Hauke Mehrtens
8086b7a750 mac80211: brcmsmac: use firmware extracted from proprietary driver
The firmware from linux-firmware does not support the rev 17 core found
in a bcm4716. The firmware extracted from the proprietary driver
supports this core. Use this firmware instead by default.

SVN-Revision: 33669
2012-10-08 20:18:27 +00:00
Hauke Mehrtens
d14c6b29eb tools: add b43-tools
Move the b43-tools build from the mac80211 Makefile into an own package in tools and use the newest version of b43-tools.

SVN-Revision: 33668
2012-10-08 20:15:42 +00:00
Jonas Gorski
997ace7e5e firmware-utils: move bcm_tag.h here
Since there is only one user of bcm_tag.h left, we can safely move it
into the firmware-utils directory, replacing the symlink.

SVN-Revision: 33655
2012-10-08 09:59:50 +00:00
Felix Fietkau
15911e5a84 cmake: update to version 2.8.9
SVN-Revision: 33576
2012-09-28 00:07:28 +00:00
Felix Fietkau
ed2bf29be5 build: add the + token to any commands that can pass through the jobserver, fixes parallel build on some systems
SVN-Revision: 33523
2012-09-23 09:50:01 +00:00
Felix Fietkau
3f88c1b95f tools: flex depends on m4
SVN-Revision: 33520
2012-09-23 09:03:53 +00:00
Felix Fietkau
dcd3a74da0 tools/mkimage: avoid picking up unrelated /usr/include headers with the same name as internal header files (e.g. image.h), fixes #12232
SVN-Revision: 33519
2012-09-23 08:49:34 +00:00
Felix Fietkau
a2cf331ba6 tools/cmake: enable parallel builds
SVN-Revision: 33441
2012-09-15 14:18:10 +00:00
Felix Fietkau
54bd532d15 tools/e2fsprogs: enable parallel builds
SVN-Revision: 33440
2012-09-15 14:18:07 +00:00
Felix Fietkau
0250047a79 tools/bison: enable parallel builds
SVN-Revision: 33439
2012-09-15 14:18:04 +00:00
Felix Fietkau
a3649900b3 tools/flex: enable parallel builds
SVN-Revision: 33438
2012-09-15 14:18:01 +00:00
Felix Fietkau
2f24019b6c tools/libelf: enable parallel builds
SVN-Revision: 33437
2012-09-15 14:17:58 +00:00
Felix Fietkau
56c7b771fe tools/mpc: enable parallel builds
SVN-Revision: 33436
2012-09-15 14:17:55 +00:00
Felix Fietkau
4620e713a4 tools/mpc: remove bogus configure override
SVN-Revision: 33435
2012-09-15 14:17:52 +00:00
Felix Fietkau
3207472445 tools/mpfr enable parallel builds
SVN-Revision: 33434
2012-09-15 14:17:49 +00:00
Felix Fietkau
d7775ab256 tools/mpfr: remove bogus configure override
SVN-Revision: 33433
2012-09-15 14:17:46 +00:00
Felix Fietkau
fd1529921d tools/gmp enable parallel builds
SVN-Revision: 33432
2012-09-15 14:17:43 +00:00
Felix Fietkau
b0065ecb72 tools/xz enable parallel builds
SVN-Revision: 33431
2012-09-15 14:17:40 +00:00
Felix Fietkau
6a137d1df8 tools/pkg-config: enable parallel builds
SVN-Revision: 33430
2012-09-15 14:17:37 +00:00
Felix Fietkau
d010ec2a91 tools/libtool: enable parallel builds
SVN-Revision: 33429
2012-09-15 14:17:34 +00:00
Felix Fietkau
8b47037101 tools/sed: enable parallel builds
SVN-Revision: 33428
2012-09-15 14:17:31 +00:00
Felix Fietkau
643f51cf90 tools/m4: bypass a time consuming configure test
SVN-Revision: 33427
2012-09-15 14:17:28 +00:00
Felix Fietkau
17f9811814 tools/m4: enable parallel builds
SVN-Revision: 33426
2012-09-15 14:17:24 +00:00
Gabor Juhos
872e798473 tools/firmware-utils: add a new tool for TEW-712BR firmware generation
SVN-Revision: 33233
2012-08-22 20:15:34 +00:00
John Crispin
6c9d20d6e7 tools/firmware-utils/ptgen option to use MB rounding
SVN-Revision: 33218
2012-08-22 09:22:38 +00:00
Gabor Juhos
25ac1447ed tools/firmware-utils: add tool for DIR-651-H1 firmware generation
Signed-off-by: Mikko Hissa <mikko.hissa@uta.fi>

SVN-Revision: 33204
2012-08-17 17:56:02 +00:00
Jo-Philipp Wich
1af7a2c522 wrt350nv2-builder: don't use internal zlib macro OF() in ioapi.h, it breaks with new zlib releases
SVN-Revision: 33181
2012-08-14 10:33:43 +00:00
Jo-Philipp Wich
7304953292 convert remaining tools to $(HOST_STATIC_LINKING) (#12012)
SVN-Revision: 33148
2012-08-12 13:27:49 +00:00
Jo-Philipp Wich
958a9c96cd xz: update to 5.0.4
Signed-off-by: Jonh Wendell <jonh.wendell@gmail.com>

SVN-Revision: 33146
2012-08-12 12:48:49 +00:00
Jo-Philipp Wich
9a049babb7 tools/ppl: fix automake error due to use of obsolete directory name
I recently experienced this:

configure.ac:1101: the top level
interfaces/Prolog/Ciao/Makefile.am:168: `pkglibdir' is not a legitimate directory for `DATA'
interfaces/Prolog/GNU/Makefile.am:167: `pkglibdir' is not a legitimate directory for `DATA'
interfaces/Prolog/SICStus/Makefile.am:71: `pkglibdir' is not a legitimate directory for `DATA'
interfaces/Prolog/SWI/Makefile.am:187: `pkglibdir' is not a legitimate directory for `DATA'
interfaces/Prolog/XSB/Makefile.am:186: `pkglibdir' is not a legitimate directory for `DATA'
interfaces/Prolog/YAP/Makefile.am:176: `pkglibdir' is not a legitimate directory for `DATA'
make[4]: *** [Makefile.in] Error 1

Found this on google:
http://bugs.mysql.com/bug.php?id=63898

And used this to fix it:
fgrep -rlZ pkglib_DATA --include Makefile.am . | xargs -0 sed -i 's/pkglib_DATA/pkgdata_DATA/g'

Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33141
2012-08-12 12:46:47 +00:00
Jo-Philipp Wich
cf1698c637 use HOST_STATIC_LINKING instead of hardcoding -static
SVN-Revision: 33140
2012-08-12 12:34:30 +00:00
Jo-Philipp Wich
df261c26ba sed: disable further SELinux features
SVN-Revision: 33120
2012-08-10 22:38:09 +00:00
Jo-Philipp Wich
638a3eb4fd sed: unconditionally disable SELinux, NLS and ACL support (#12007)
SVN-Revision: 33119
2012-08-10 21:41:44 +00:00
Jo-Philipp Wich
65d6a44baa Revert "[tools] cmake: link statically"
Static linking of cmake is broken on x86_64, until we can sort it out, revert the static linking.

SVN-Revision: 33118
2012-08-10 21:25:45 +00:00
Jo-Philipp Wich
e2e55d7acd firmware-utils: link statically
SVN-Revision: 33117
2012-08-10 19:27:08 +00:00
Jo-Philipp Wich
a7568eb875 e2fsprogs: link statically
SVN-Revision: 33116
2012-08-10 19:27:07 +00:00
Jo-Philipp Wich
f79666f20c dosfstools: link statically
SVN-Revision: 33115
2012-08-10 19:27:06 +00:00
Jo-Philipp Wich
ecc3d83717 cmake: link statically
SVN-Revision: 33114
2012-08-10 19:27:04 +00:00
Jo-Philipp Wich
7d79e3a84a ccache: fix compilation, link statically
SVN-Revision: 33113
2012-08-10 19:27:03 +00:00
Jo-Philipp Wich
ec726c48a9 yaffs2: link statically
SVN-Revision: 33112
2012-08-10 19:27:01 +00:00
Jo-Philipp Wich
da6f82a16e xz: link statically
SVN-Revision: 33111
2012-08-10 19:27:00 +00:00
Jo-Philipp Wich
5ac14bbd49 wrt350nv2-builder: link statically
SVN-Revision: 33110
2012-08-10 19:26:58 +00:00
Jo-Philipp Wich
54e588c1d4 upx: link statically
SVN-Revision: 33109
2012-08-10 19:26:57 +00:00
Jo-Philipp Wich
709d0b0ddb upslug2: link statically
SVN-Revision: 33108
2012-08-10 19:26:55 +00:00
Jo-Philipp Wich
04e6e15857 sstrip: link statically
SVN-Revision: 33107
2012-08-10 19:26:54 +00:00
Jo-Philipp Wich
a361365858 squashfs4: link statically
SVN-Revision: 33106
2012-08-10 19:26:52 +00:00
Jo-Philipp Wich
14c2ec4e20 squashfs: link statically
SVN-Revision: 33105
2012-08-10 19:26:50 +00:00
Jo-Philipp Wich
d6605d85c9 sdcc: link statically
SVN-Revision: 33104
2012-08-10 19:26:49 +00:00
Jo-Philipp Wich
7c5b0f63a1 qemu: link statically
SVN-Revision: 33103
2012-08-10 19:26:48 +00:00
Jo-Philipp Wich
0096c48024 pkg-config: link statically
SVN-Revision: 33102
2012-08-10 19:26:46 +00:00
Jo-Philipp Wich
66c9e4f143 patch-cmdline: link statically
SVN-Revision: 33101
2012-08-10 19:26:45 +00:00