Commit Graph

846 Commits (c16f7bc8f517033e94fa6d0f9012c6b286a074ac)

Author SHA1 Message Date
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
Felix Fietkau 34627f6bf6 tools: add missing ldconfig make dependency on the staging area
Signed-off-by: John Szakmeister <john@szakmeister.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42576 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-16 16:46:20 +00:00
Felix Fietkau 8f4435db92 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42480 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-11 23:13:29 +00:00
Felix Fietkau 2f90d9028c tools: fix mtools/dosfstools related build system warnings
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42442 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-08 16:09:57 +00:00
Zoltan HERPAI df58a78b7b tools: build dosfstools and mtools for sunxi
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42435 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-07 23:38:03 +00:00
Felix Fietkau 179174571a tools/libtool: add missing dependency on m4
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42322 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-29 11:37:28 +00:00
Felix Fietkau 6e912a1e62 tools/bc: add missing dependency on bison
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42309 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-27 09:20:28 +00:00
Felix Fietkau 6735c8b91f tools/flex: disable building shared libfl.so
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42308 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-27 09:20:18 +00:00
Luka Perkov 0b32978658 [tools] mkimage: update to 2014.07
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42082 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-08 21:03:14 +00:00
John Crispin 9c07fe9383 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41962 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-03 11:13:58 +00:00
Jonas Gorski 8f633d96c3 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41849 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-27 17:44:51 +00:00
Gabor Juhos 7bda650018 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41620 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-13 18:21:08 +00:00
Hauke Mehrtens c2dda37454 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41595 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-12 15:41:50 +00:00
Hauke Mehrtens 21c1ff957d 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41592 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-12 14:56:21 +00:00
Hauke Mehrtens fbd1aa64c4 b43-tools: update to version 019
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41484 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-02 20:52:50 +00:00
John Crispin a0b76f9456 firmware-utils/mkdir615h1: fix magic XOR calculation
Signed-off-by: Forest Crossman <cyrozap@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41314 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-24 18:13:00 +00:00
John Crispin 7911faae00 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41236 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-17 15:38:54 +00:00
John Crispin bbb8942009 ramips: RT-N56U support fixes and factory image creation
Signed-off-by: Mikko Hissa <mikko.hissa@werzek.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41224 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-16 18:57:20 +00:00
John Crispin d4d63a3d24 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40921 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:43:46 +00:00
Luka Perkov 9288835a40 [tools] mkimage: update to 2014.04
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40807 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-21 09:42:33 +00:00
Luka Perkov d14d875acb [tools] quilt: update to 0.63
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40744 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-09 11:55:52 +00:00
John Crispin 923e54f730 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40551 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-22 08:08:39 +00:00
Luka Perkov 2202f3d331 [tools] scons: upgrade to 2.3.1
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40535 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-19 21:39:12 +00:00
Luka Perkov 5c9d71b363 [tools] mpc: upgrade to 1.0.2
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40534 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-19 21:39:11 +00:00
Luka Perkov 5eb9167785 [tools] flex: upgrade to version 2.5.39
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40533 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-19 21:39:10 +00:00
John Crispin 12bb716ac3 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40490 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-12 21:21:49 +00:00
Gabor Juhos 791d517b8c 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40037 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-27 06:36:58 +00:00
Gabor Juhos 7e2cf324e2 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40035 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-27 06:36:49 +00:00
Gabor Juhos 19e070803b 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40034 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-27 06:36:48 +00:00
Felix Fietkau 2a6e868a2a flex: fix build error due to undefined library symbols
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39888 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-12 10:47:31 +00:00
Luka Perkov d4f95e0a34 [tools] flex: upgrade to version 2.5.38
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39856 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-10 01:26:14 +00:00
Felix Fietkau fdd463c591 tools: fix stampfile dependency handling when the list of build dirs changes (#15186)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39845 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-08 17:15:45 +00:00
Luka Perkov 13b5408461 [tools] cmake: upgrade to 2.8.12.2
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39598 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-16 21:51:10 +00:00
Luka Perkov 55ad121dc3 [tools] quilt: update to 0.61
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39452 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-02 23:41:32 +00:00
Gabor Juhos 0fda965a84 firmware-utils/mktplinkfw: allow to reserve space in the generated images
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39396 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-25 18:12:03 +00:00
John Crispin efd0e137a7 ralink: don't build mkhilinkfw untilt he ssl header dependency is resolved
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39248 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-12 17:26:24 +00:00
John Crispin 14cb4c91c5 firmware-utils: mkhilinkfw breaks the build bots
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39243 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-12 14:03:05 +00:00
John Crispin 21aac5ae98 firmware-utils: add HLK-RM04 tool
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39238 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-12 12:07:46 +00:00
John Crispin 7a9cdb4a1f firmware-utils: check_magic() in buffalo-lib.c always return 0
spotted with cppcheck

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39171 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-27 21:15:31 +00:00