Jonas Gorski
646c36ca82
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44556 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-27 17:38:14 +00:00
Jonas Gorski
f8368c6dbb
firmware-utils: imagetag: use cyg_crc32 instead of duplicating code
...
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44554 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-27 17:38:05 +00:00
John Crispin
48fe4e99f2
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44526 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-24 12:00:50 +00:00
Felix Fietkau
76954ec725
mtools: fix build errors on mac os x ( #19064 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44512 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-24 06:06:12 +00:00
Felix Fietkau
19e42920c5
tools/patchelf: fix portability issue breaking mac os x builds ( #18998 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44493 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-19 10:30:39 +00:00
Jo-Philipp Wich
fc7067b6ae
tools: add patchelf host build
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44376 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-10 15:48:32 +00:00
Jo-Philipp Wich
57364b8623
tools: remove static linking support
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44285 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-06 00:00:43 +00:00
Jo-Philipp Wich
7954f31e2f
tools: Fix cmake build on FreeBSD 10.1
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44281 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-05 16:58:24 +00:00
Jo-Philipp Wich
3e095d851a
tools: Fix mkimage build on FreeBSD 10.1
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44280 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-05 16:58:16 +00:00
Jo-Philipp Wich
b59c2b7ff4
tools: Fix mpfr build on FreeBSD 10.1
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44279 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-05 16:58:10 +00:00
Jo-Philipp Wich
75ea8c12e9
tools: Fix xz build on FreeBSD 10.1
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44278 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-05 16:57:57 +00:00
Jo-Philipp Wich
9d1b6bb8f9
tools: remove PrepareCommand macros
...
They're part of prereq-build.mk now.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44274 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-05 16:57:35 +00:00
John Crispin
1c45ec1021
ar71xx: Revert "added board support for compex wpj558"
...
This reverts commit f7873071561d82e75ba2dc46433a2982fef8ac6f.
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44245 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-02 10:32:04 +00:00
John Crispin
560f9d5637
added board support for compex wpj558
...
Signed-off-by: Christian Mehlis <christian@m3hlis.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44237 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-02 09:00:21 +00:00
John Crispin
a8facdd1fb
ar71xx: add support for TL-WA701ND v2
...
Signed-off-by: Luigi Tarenga <luigi.tarenga@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44063 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-20 15:48:07 +00:00
Jo-Philipp Wich
f3b1db996d
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43960 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-13 10:23:44 +00:00
Jo-Philipp Wich
7228b245ff
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43959 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-13 07:49:10 +00:00
Jo-Philipp Wich
5aa01e2480
tools: bootstrap automake to pickup the correct in-tree autoconf
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43958 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-13 07:49:01 +00:00
Jo-Philipp Wich
ebc223a217
tools: add dummy scripts for help2man and makeinfo
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43957 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-13 07:48:52 +00:00
Jo-Philipp Wich
450e2156cd
tools: change automake depends to libtool depends
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43956 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-13 07:48:37 +00:00
Jo-Philipp Wich
171f504510
tools: make libtool depend on automake, not vice versa
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43955 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-13 07:48:24 +00:00
Nicolas Thill
757bec7be2
dosfstools: update to 3.0.26
...
Signed-off-by: Nicolas Thill <nico@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43942 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-11 22:15:11 +00:00
Florian Fainelli
5abdc7904b
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43913 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-10 18:08:16 +00:00
Felix Fietkau
75e7bc809e
tools/firmware-utils: add version 3 header support for mktplinkfw2
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43897 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-09 15:40:39 +00:00
Jo-Philipp Wich
30fc9fdf0c
tools: automake: update to v1.15
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43895 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-09 14:51:23 +00:00
Felix Fietkau
cdac573640
tools: build libtool after autoconf, not before ( fixes #18659 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43793 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-28 21:55:21 +00:00
Felix Fietkau
3ed6cf9428
tools/mtd-utils: add mirror md5sum
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43760 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-22 13:52:58 +00:00
Felix Fietkau
ee8e2b723e
buffalo-enc: pass the longstate option to decryption
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43756 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-20 15:26:31 +00:00
Felix Fietkau
bfb4eff41b
buffalo-enc: accept the longstate command line option
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43755 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-20 15:26:25 +00:00
Imre Kaloz
740a5b9678
[ar71xx]: Belkin AC 1750 DB (F9K1115v2) support
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43734 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-17 08:27:38 +00:00
John Crispin
f374eae83c
ramips: generate factory images for Nexx devices
...
Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43541 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-07 16:53:22 +00:00
Felix Fietkau
b759373524
mkimage: remove check for miscompiled __weak
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43458 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-01 11:07:30 +00:00
Felix Fietkau
6210a50873
tools/mkimage: fix build errors ( #18445 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43441 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-30 20:29:10 +00:00
Felix Fietkau
4b48effa89
gengetopt: fix parallel build issues ( #18442 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43440 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-30 20:12:07 +00:00
Imre Kaloz
1069e426d5
[tools]: add gengetopt
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43437 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-30 09:51:48 +00:00
Luka Perkov
aa032d78d7
[tools] mkimage: update to 2014.10
...
Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43428 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-29 22:43:59 +00:00
Felix Fietkau
0bf9461561
firmware-utils: remove dependency on error.h in tplink-safeloader
...
Fixes build on Mac OS X
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43402 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-27 15:01:56 +00:00
John Crispin
fe9456a922
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43384 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-26 08:59:22 +00:00
John Crispin
1968a036e6
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43102 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-29 11:01:17 +00:00
Felix Fietkau
23700aa665
findutils: add dependency on bison
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43064 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-26 11:26:54 +00:00
Felix Fietkau
02bd4afb8c
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43060 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-25 16:57:16 +00:00
Felix Fietkau
6c36b1d9d0
firmware-utils: rename encrypt()/decrypt() in mkhilinkfw to avoid collisions
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42998 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-20 09:18:36 +00:00
Felix Fietkau
2b7618dbe6
tools: revert faulty dependency on package stuff
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42996 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-20 09:18:02 +00:00
John Crispin
4cd9d06c9c
firmware-utils: restore compilation of mkhilinkfw.
...
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42989 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-20 06:29:38 +00:00
John Crispin
a5fc2d42b8
firmware-utils: fix compilation warnings.
...
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42986 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-20 06:29:13 +00:00
Jo-Philipp Wich
872c274a3a
firmware-utils: allow passing a specific MBR signature to ptgen
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42934 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-16 16:16:47 +00:00
Felix Fietkau
3727dbef8b
tools/mtd-utils: fix a segfault in parsing the device table
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42875 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-12 15:00:15 +00:00
Steven Barth
a1dde5fcb6
autoconf: bump version to 2.69
...
Signed-off-by: Russell Senior <russell@personaltelco.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42855 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-09 07:16:22 +00:00
John Crispin
978b39ca1f
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42840 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-08 08:01:39 +00:00
John Crispin
9584e3b28b
firmware-utils: add NEXX factory image support
...
This patch adds support to encode and decode images for certain types of
NEXX routers.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42784 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 04:52:01 +00:00