aboutsummaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
...
* tools: Fix compilation on x32 hostFelix Fietkau2014-10-253-1/+166
| | | | | | | | | | | | | | | | | | 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
* firmware-utils: rename encrypt()/decrypt() in mkhilinkfw to avoid collisionsFelix Fietkau2014-10-201-7/+7
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42998 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: revert faulty dependency on package stuffFelix Fietkau2014-10-201-1/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42996 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils: restore compilation of mkhilinkfw.John Crispin2014-10-202-2/+3
| | | | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42989 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils: fix compilation warnings.John Crispin2014-10-202-6/+4
| | | | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42986 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils: allow passing a specific MBR signature to ptgenJo-Philipp Wich2014-10-161-4/+15
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42934 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/mtd-utils: fix a segfault in parsing the device tableFelix Fietkau2014-10-121-0/+11
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42875 3c298f89-4303-0410-b956-a3cf2f4a3e73
* autoconf: bump version to 2.69Steven Barth2014-10-091-4/+4
| | | | | | Signed-off-by: Russell Senior <russell@personaltelco.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42855 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include/download.mk: Add download mirrors for tools from GNU Savannah (bug ↵John Crispin2014-10-082-2/+2
| | | | | | | | | | | #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
* firmware-utils: add NEXX factory image supportJohn Crispin2014-10-061-0/+16
| | | | | | | 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
* tools: add missing ldconfig make dependency on the staging areaFelix Fietkau2014-09-161-1/+1
| | | | | | Signed-off-by: John Szakmeister <john@szakmeister.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42576 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: install a fake empty ldconfig script to prevent the system ldconfig ↵Felix Fietkau2014-09-111-1/+5
| | | | | | | | 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
* tools: fix mtools/dosfstools related build system warningsFelix Fietkau2014-09-081-2/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42442 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: build dosfstools and mtools for sunxiZoltan HERPAI2014-09-071-0/+1
| | | | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42435 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/libtool: add missing dependency on m4Felix Fietkau2014-08-291-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42322 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/bc: add missing dependency on bisonFelix Fietkau2014-08-271-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42309 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/flex: disable building shared libfl.soFelix Fietkau2014-08-271-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42308 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] mkimage: update to 2014.07Luka Perkov2014-08-084-5/+5
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42082 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils: made mkdir615h1 work for all Senao-produced devices as ↵John Crispin2014-08-032-38/+45
| | | | | | | | 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
* firmware-utils: add new tool for fixing headers on ZyXEL devices (brcm63xx)Jonas Gorski2014-07-272-0/+260
| | | | | | | 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
* firmware-utils/mktplinkfw: add support for GL.iNet v1Gabor Juhos2014-07-131-0/+6
| | | | | | | | | | | | | 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
* b43-tools: b43-fwsquash.py: manually remove LP-PHY 16 supportHauke Mehrtens2014-07-121-3/+3
| | | | | | | | | | | 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
* b43-tools: b43-fwsquash.py: add new firmware filesHauke Mehrtens2014-07-121-15/+42
| | | | | | | | | | 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
* b43-tools: update to version 019Hauke Mehrtens2014-07-023-31/+4
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41484 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils/mkdir615h1: fix magic XOR calculationJohn Crispin2014-06-241-2/+2
| | | | | | Signed-off-by: Forest Crossman <cyrozap@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41314 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: DGN3500 (all known variants) factory and sysupgrade image building ↵John Crispin2014-06-172-0/+168
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* ramips: RT-N56U support fixes and factory image creationJohn Crispin2014-06-162-0/+295
| | | | | | Signed-off-by: Mikko Hissa <mikko.hissa@werzek.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41224 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: genext2fs: add support for blocksize != 1024John Crispin2014-06-024-0/+636
| | | | | | | | | | | | | | | | | | | | | 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
* [tools] mkimage: update to 2014.04Luka Perkov2014-05-218-46/+35
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40807 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] quilt: update to 0.63Luka Perkov2014-05-093-6/+6
| | | | | | Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40744 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils: add Gemtek header toolJohn Crispin2014-04-222-0/+212
| | | | | | | | | 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
* [tools] scons: upgrade to 2.3.1Luka Perkov2014-04-191-3/+3
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40535 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] mpc: upgrade to 1.0.2Luka Perkov2014-04-191-3/+3
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40534 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] flex: upgrade to version 2.5.39Luka Perkov2014-04-191-2/+2
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40533 3c298f89-4303-0410-b956-a3cf2f4a3e73
* sparse: add as a new package selectable from the configJohn Crispin2014-04-122-0/+23
| | | | | | | | | | | | | 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
* firmware-utils/mktplinkfw: add support for TL-WDR4300v1 (IL)Gabor Juhos2014-03-271-0/+6
| | | | | | | | | | | 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
* firmware-utils/mktplinkfw: add support for the Oolite v1 boardGabor Juhos2014-03-271-0/+6
| | | | | | | | | 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
* firmware-utils/mktplinkfw: add an option to generate 16MiB imagesGabor Juhos2014-03-271-0/+12
| | | | | | | | 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
* flex: fix build error due to undefined library symbolsFelix Fietkau2014-03-122-1/+19
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39888 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] flex: upgrade to version 2.5.38Luka Perkov2014-03-101-3/+3
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39856 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: fix stampfile dependency handling when the list of build dirs changes ↵Felix Fietkau2014-03-081-15/+18
| | | | | | | | (#15186) Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39845 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] cmake: upgrade to 2.8.12.2Luka Perkov2014-02-161-3/+3
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39598 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] quilt: update to 0.61Luka Perkov2014-02-021-3/+3
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39452 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils/mktplinkfw: allow to reserve space in the generated imagesGabor Juhos2014-01-251-4/+17
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39396 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: don't build mkhilinkfw untilt he ssl header dependency is resolvedJohn Crispin2014-01-121-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39248 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils: mkhilinkfw breaks the build botsJohn Crispin2014-01-121-0/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39243 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils: add HLK-RM04 toolJohn Crispin2014-01-122-0/+321
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39238 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils: check_magic() in buffalo-lib.c always return 0John Crispin2013-12-271-2/+2
| | | | | | | | 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
* [tools] automake: update to 1.11.6Luka Perkov2013-12-174-24/+10
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39108 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] ppl: update to 1.1Luka Perkov2013-12-153-44/+47
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39068 3c298f89-4303-0410-b956-a3cf2f4a3e73