aboutsummaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* flex: update to 2.6.4 (FS#809)Eric Luehrsen2017-05-261-3/+3
| | | | | | flex 2.6.3 has a bug which fails code generation and compile of some packages Signed-off-by: Eric Luehrsen <ericluehrsen@hotmail.com>
* tools/libressl: update to 2.5.4Hannu Nyman2017-05-251-3/+3
| | | | Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* tools/flex: update to 2.6.3Hannu Nyman2017-05-252-4/+4
| | | | | | | | * update flex to 2.6.3 * download .tar.gz (as upstream has dropped .xz) * refresh patches Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* tools/cmake: update to 3.8.1Hannu Nyman2017-05-255-11/+11
| | | | | | | | | | * update cmake to 3.8.1 * refresh patches Release notes: https://cmake.org/cmake/help/v3.8/release/3.8.html Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* tools/isl: update to 0.18Syrone Wong2017-05-251-2/+2
| | | | Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
* tools: host/include/getline.h: RemoveRosen Penev2017-04-262-73/+1
| | | | | | Seems to be useful only for old and unsupported operating systems. Removed and adjusted the mtd-utils Makefile. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* tools/upx: Remove from repoDaniel Engberg2017-03-203-193/+0
| | | | | | Remove upx from repo, it hasn't been used for a very long time and serves little to no purpose. Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* tools/coreutils: Update to 8.27Daniel Engberg2017-03-201-2/+2
| | | | | | Update coreutils to 8.27 Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* tools/libressl: Update to 2.5.1Daniel Engberg2017-03-201-2/+2
| | | | | | Update libressl to 2.5.1 Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* tools/dosfstools: Update to 4.1Daniel Engberg2017-03-203-38/+4
| | | | | | | | | Update to 4.1 Remove 0001-mkfs-Default-to-64-32-heads-sectors-for-targets-smal.patch as it's included in upstream repo. Refresh patch Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* tools/sed: Update to 4.4Daniel Engberg2017-03-202-28/+3
| | | | | | Update sed to 4.4 Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* ccache: update to 3.3.4Kevin Darbyshire-Bryant2017-03-123-37/+3
| | | | | | | | | Update from 3.3.2 to 3.3.4 & refresh patches. Remove 110-disable-assembler-support as ccache now understands the '.incbin' directive. Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
* firmware-utils: tplink-safeloader: add support for Archer C5 V2Rafał Miłecki2017-03-111-0/+34
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* tools/m4: update 1.4.18Etienne Haarsma2017-02-262-19/+2
| | | | | | Patch 100-fix-gets-removal.patch is removed because it's included in the new version. Signed-off-by: Etienne Haarsma <bladeoner112@gmail.com>
* tools: patch-image: fix file descriptor leak.Furong Xu2017-02-151-4/+0
| | | | | | Maybe this is committed by mistake, fix it. Signed-off-by: Furong Xu <xfr@outlook.com>
* ar71xx: add support for TP-Link TL-WA850RE v2Piotr Dymacz2017-02-141-0/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TP-Link TL-WA850RE v2 is a wall-plug N300 Wi-Fi range extender, based on Qualcomm/Atheros QCA9533 v2. Short specification: - 550/391/195 MHz (CPU/DDR/AHB) - 1x 10/100 Mbps Ethernet - 32 MB of RAM (DDR1) - 4 MB of FLASH - 2T2R 2.4 GHz - 2x internal antennas (embedded on PCB) - 9x LED (all can be turned off with GPIO15), 2x button - UART (J3) header on PCB Flash instruction: use "factory" image directly in vendor GUI. Warning: this device does not include any kind of recovery mechanism in the bootloader and disassembling process is not trivial. You can access vendor firmware over serial line using: - login: root - password: sohoadmin Image was tested only in US version of the device, but should work also with the same device version sold in other countries. Available FLASH space, with LEDE trunk, is only 240 KB. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* cmake: update to version 3.7.2Etienne Haarsma2017-02-091-2/+2
| | | | Signed-off-by: Etienne Haarsma <bladeoner112@gmail.com>
* tools/e2fsprogs: Update to 1.43.4Daniel Engberg2017-02-092-5/+5
| | | | | | | | | | | | | | * Update to 1.43.4 * Refresh patches * xz tarball which saves about 2M in size Changelog: http://e2fsprogs.sourceforge.net/e2fsprogs-release.html#1.43.4 Tested by Etienne Haarsma (ar71xx), Daniel Engberg (kirkwood) Signed-off-by: Etienne Haarsma <bladeoner112@gmail.com> Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net> Signed-off-by: Felix Fietkau <nbd@nbd.name> [use @KERNEL instead of harcoded URL]
* ccache, samba36: fix samba.org addresses to use httpsHannu Nyman2017-02-021-1/+2
| | | | | | | | | | | | samba.org has started to enforce https and currently plain http downloads with curl/wget fail, so convert samba.org download links to use https. Modernise links at the same time. Also convert samba.org URL fields to have https. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* firmware-utils: improve tools for Buffalo DHP seriesFUKAUMI Naoki2017-01-316-9/+182
| | | | | | | | | some of Buffalo DHP series use slightly different trx magic, buffalo-enc, buffalo-tag, and factory image begin with 'bgn'. this patch adds support for building those images. Signed-off-by: FUKAUMI Naoki <naobsd@gmail.com>
* qemu: rename internal crypto/aes symbolsStijn Tintel2017-01-301-1/+7
| | | | | | | | | | | Qemu's local AES code defines symbols that conflict with LibreSSL/OpenSSL's libcrypto. Rename them to avoid build problems. See upstream commit c8d70e59738e672021926c7747af8ef9dea15c82. Fixes FS#444. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* ar71xx: add support to TP-Link Archer C59v1 and C60v1Henryk Heisig2017-01-261-0/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TP-Link Archer C59v1 is a dual-band AC1350 router, based on Qualcomm/Atheros QCA9561+QCA9886. Specification: - 775/650/258 MHz (CPU/DDR/AHB) - 128 MB of RAM (DDR2) - 16 MB of FLASH (SPI NOR) - 3T3R 2.4 GHz - 2T2R 5 GHz - 5x 10/100 Mbps Ethernet - USB 2.0 port - 8x LED (controled by 74HC595), 3x button - UART header on PCB TP-Link Archer C60v1 is a dual-band AC1350 router, based on Qualcomm/Atheros QCA9561+QCA9886. Specification: - 775/650/258 MHz (CPU/DDR/AHB) - 64 MB of RAM (DDR2) - 8 MB of FLASH (SPI NOR) - 3T3R 2.4 GHz - 2T2R 5 GHz - 5x 10/100 Mbps Ethernet - 7x LED, 2x button - UART header on PCB Currently not working: - Port LAN1 on C59, LAN4 on C60 - WiFi 5GHz (missing ath10k firmware for QCA9886 chip) - Update from oficial web interface ( tplink-saveloader not support "product-info") Flash instruction: 1. Set PC to fixed ip address 192.168.0.66 2. Download lede-ar71xx-generic-archer-cXX-v1-squashfs-factory.bin and rename it to tp_recovery.bin 3. Start a tftp server with the file tp_recovery.bin in its root directory 4. Turn off the router 5. Press and hold Reset button 6. Turn on router with the reset button pressed and wait ~15 seconds 7. Release the reset button and after a short time the firmware should be transferred from the tftp server 8. Wait ~30 second to complete recovery. Flash instruction under U-Boot, using UART: 1. tftp 0x81000000 lede-ar71xx-...-sysupgrade.bin 2. erase 0x9f020000 +$filesize 3. cp.b $fileaddr 0x9f020000 $filesize 4. reset Signed-off-by: Henryk Heisig <hyniu@o2.pl> [Jo-Philipp Wich: remove duplicate ATH79_MACH_ARCHER_C59/C60_V1 entries] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* tools: update kernel2minor to 0.24 versionSergey Sergeev2017-01-254-61/+4
| | | | Signed-off-by: Sergey Sergeev <adron@yapic.net>
* Revert "tools: wrt400n: fix making factory images with kernel bigger than 1MB"John Crispin2017-01-201-197/+266
| | | | | | | | This reverts commit 5f9b20bc7d0bde6c100a3dec5f02b56f7ef7a61d. The builders were failing with a segfault when generating the image Signed-off-by: John Crispin <john@phrozen.org>
* tools: wrt400n: fix making factory images with kernel bigger than 1MBYousong Zhou2017-01-201-266/+197
| | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* build: extend CONFIG_AUTOREMOVE to tools/Felix Fietkau2017-01-181-0/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: remove separate /install step for host buildsFelix Fietkau2017-01-181-40/+41
| | | | | | Reduces the number of recursive make invocations Signed-off-by: Felix Fietkau <nbd@nbd.name>
* tools/qemu: use default host configure rule ; set appropriate vars & argsAlexandru Ardelean2017-01-181-9/+7
| | | | | | | | | | | Admittedly, this is my own OCD wanting to get rid of this. Because I tried (a while back to upgrade QEMU to a newer version), and (during that attempt) I tried to get rid of this. Tested on Linux & Mac. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* tools/cmake: remove HOST_CONFIGURE_CMD and re-distribute the args & varsAlexandru Ardelean2017-01-161-5/+2
| | | | | | | | | | The final semantic is the same, but this is a bit more correct. Build tested on Windows 10 (yes, there is some Ubuntu mode for Windows 10, and I've been also building LEDE on it for a few weeks). Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* cmake: properly pass host cflags/ldflags to the buildFelix Fietkau2017-01-131-1/+2
| | | | | | | | This should hopefully fix build issues where libraries that we ship in tools/ were accidentally picked up from other places on the system, e.g. /usr/local Signed-off-by: Felix Fietkau <nbd@nbd.name>
* cmake: support verbose build that shows compiler commandsFelix Fietkau2017-01-131-0/+4
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* cmake: restore parallel build support for bootstrapFelix Fietkau2017-01-132-1/+17
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* tools: cmake: link librt if needed (FS#381)Jo-Philipp Wich2017-01-112-3/+33
| | | | | | | | | | Patch cmakes cmcurl component to unconditionally link librt when we discover a clock_gettime() symbol in -lrt. This is required to sucessfully link LibreSSL's libcrypto which might or might not reqauire librt. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* tools: mkimage: pass crypto libraries through HOST_LOADLIBES (FS#381)Jo-Philipp Wich2017-01-111-2/+2
| | | | | | | | Since linker argument order is significant on modern host compilers, pass the required libcrypto libraries through the HOST_LOADLIBES variable in order to ensure proper order of the final linker command line. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* tools: libressl: always build as PICMatthias Schiffer2017-01-101-0/+1
| | | | | | | | | Fixes link errors for host packages like ruby like the following: /usr/bin/ld: .../staging_dir/host/lib/libcrypto.a(libcrypto_la-md5_dgst.o): relocation R_X86_64_PC32 against symbol `memcpy@@GLIBC_2.14' can not be used when making a shared object; recompile with -fPIC Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* tools: remove obsolete yaffs toolFelix Fietkau2017-01-094-176/+1
| | | | | | This was added a long time ago and was apparently never used Signed-off-by: Felix Fietkau <nbd@nbd.name>
* tools: reorganize dependencies, fix build after deleting staging dirFelix Fietkau2017-01-092-12/+18
| | | | | | | | | | | A lot of packages (especially those using libtool) depend on sed being available. xz fails on an incremental build pretty early if it's not there. Clean up handling if essential core tools (patch, tar, xz), build them in parallel and make them depend on sed Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: remove ubifs xz decompression supportFelix Fietkau2017-01-093-383/+5
| | | | | | | It has been unused, and less useful than squashfs for cases where flash space usage matters. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* tools/kernel2minor: fix permissions of created filesFelix Fietkau2017-01-061-0/+11
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* tools/kernel2minor: fix endian conversion issues, allow creating ↵Felix Fietkau2017-01-061-0/+33
| | | | | | little-endian images Signed-off-by: Felix Fietkau <nbd@nbd.name>
* tools/kernel2minor: fix portability issueFelix Fietkau2017-01-061-0/+13
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* firmware-utils: tplink-safeloader: add support for TP-Link WBS210/510 1.2Matthias Schiffer2017-01-051-0/+62
| | | | Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* tools: cmake: use different approach for passing LDFLAGSJo-Philipp Wich2017-01-051-3/+5
| | | | | | | Funnel the required LDFLAGS environment through HOST_CONFIGURE_CMD for now as the HOST_CONFIGURE_VARS semantics are completely broken. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* tools: cmake: use pkg-config to discover libcrypto linker flagsJo-Philipp Wich2017-01-051-1/+2
| | | | | | | | | LibreSSL's libcrypto.so has an indirect dependency to librt for clock_gettime() on Linux. Use pkg-config to portably discover the required linker flags. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* tools: mkimage: use pkg-config to discover libcrypto linker flagsJo-Philipp Wich2017-01-051-2/+2
| | | | | | | | | LibreSSL's libcrypto.so has an indirect dependency to librt for clock_gettime() on Linux. Use pkg-config to portably discover the required linker flags. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* tools: make libressl build depend on pkg-configJo-Philipp Wich2017-01-051-0/+1
| | | | | | | Ensure that pkg-config is available before building libressl as we're going to need it for setting proper link flags in utilities requiring libcrypto. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* cmake: update to version 3.7.1Felix Fietkau2017-01-054-571/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* tools: make cmake depend on libressl, one of its utilities uses itFelix Fietkau2017-01-051-0/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* tools: build libressl on all systemsFelix Fietkau2017-01-051-4/+2
| | | | | | | Useful for having a more consistent build environment and finding API issues faster Signed-off-by: Felix Fietkau <nbd@nbd.name>
* tools: gmp: Update to 6.1.2Daniel Engberg2017-01-031-2/+2
| | | | | | Updates GMP to 6.1.2 Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>