Commit Graph

1003 Commits (f89a20a89aebe4767c606b4e04a6a3906e1ee26c)

Author SHA1 Message Date
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
9 years ago
John Crispin bc906ca59e added board support for compex wpj558
Signed-off-by: Christian Mehlis <christian@m3hlis.de>

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

SVN-Revision: 44063
9 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
10 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
10 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