aboutsummaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: Added missing support for Linksys E2100LGad Krumholz2016-11-301-0/+7
| | | | | | | | It's based on the WRT160NL according to https://wiki.openwrt.org/toh/linksys/e2100l Based on research done here: https://forum.openwrt.org/viewtopic.php?id=24244 and here: https://forum.openwrt.org/viewtopic.php?pid=120791#p120791 this patch was conceived. Signed-off-by: Gad Krumholz <gad.krumholz@gmail.com>
* squashfs4: use upstream xz compression header formatHauke Mehrtens2016-11-061-1/+1
| | | | | | | | | | | | | | | | | | In the upstream kernel and the upstream squashfs4 tools the xz compression header looks the following: struct disk_comp_opts { __le32 dictionary_size; __le32 flags; }; We added some other members and also moved some existing members. Place the members which are already in upstream header at the same position as in that kernel and add our own at the end. The kernel should not have a problem when there are some additional members and just ignore them. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
* tools/gmp: update to 6.1.1Hannu Nyman2016-08-181-2/+2
| | | | | | Update gmp to 6.1.1 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* tools/scons: update to 2.5.0Hannu Nyman2016-08-181-2/+2
| | | | | | Update scons to 2.5.0 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* tools/cmake: update to 3.6.1Hannu Nyman2016-08-183-7/+7
| | | | | | Update cmake to 3.6.1 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* tools/isl: bump to 0.17.1Syrone Wong2016-07-201-2/+2
| | | | Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
* tools: padjffs2: add option to output padding data to stdoutYousong Zhou2016-07-201-4/+16
| | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* tools: build dosfstools and mtools for zynqMike Qin2016-07-151-1/+1
| | | | Signed-off-by: Mike Qin <Fengling.Qin@gmail.com>
* tools/cmake: fix parallel build with Make 4.2+Matthias Schiffer2016-07-071-2/+3
| | | | | | | | Avoid using the --parallel argument to the CMake bootstrap, as that doesn't allow us to remove the -j argument. Instead, pass the HOST_JOBS arguments in MAKEFLAGS. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* tools: patch-image: Added optional size optionVishnu Swaroop Duddu2016-07-072-12/+24
| | | | | | | | | | Added optional command line option for patch-image tool Default 16KB size is still maintained as this is an optional argument. if one wants to specify or increase size they can provide this option. sample usage: patch-dtb <file> <dtb> [dtb max size] Signed-off-by: Vishnu Swaroop Duddu <duddu.swaroop@intel.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* e2fsprogs: fix build problem with very old libmagicHauke Mehrtens2016-07-071-0/+25
| | | | | | | | The libmagic shipped with RedHat 5 does not define MAGIC_NO_CHECK_ELF and MAGIC_NO_CHECK_COMPRESS. e2fsprogs should check for that, otherwise the build will fail. Signed-off-by: Hauke Mehrtens <hauke.mehrtens@intel.com>
* sparse: update to support llvm 3.5.0Stefan Sydow2016-07-041-3/+6
| | | | | | | | sparse-0.5.0 won't link against lvm 3.5.0 as "llvm-config --libs" does not include system libs like pthreads. This problem got fixed but not released yet, so we need to fetch from their git repo. Signed-off-by: Stefan Sydow <stefan.sydow@tu-berlin.de>
* tools/mkfwimage2: remove 256 length limit for partition imagesAlexander Couzens2016-07-041-1/+5
| | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* tools: build msdostools for omapAlexander Couzens2016-07-011-1/+1
| | | | | | | omap requires msdos partition to boot from sdcard. Prepare for upcoming full sdcard image generation. Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* firmware-utils: oseama: support extracting entityRafał Miłecki2016-06-271-0/+134
| | | | | | | This updates oseama in firmware-utils to the version from packages keeping them synced. Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* tools: e2fsprogs: bump to 1.43.1Kevin Darbyshire-Bryant2016-06-245-16/+6
| | | | | | Bump e2fsprogs to v1.43.1 & refresh patches Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
* tools/firmware-utils: Add Archer C50 to mktplinkfw2Henryk Heisig2016-06-241-0/+7
| | | | Signed-off-by: Henryk Heisig <hyniu@o2.pl>
* fw-utils/tplink-safeloader.c: Add support for Archer C2600Ash Benz2016-06-241-3/+111
| | | | Signed-off-by: Ash Benz <ash.benz@bk.ru>
* tools/cmake: bump to 3.5.2Syrone Wong2016-06-211-2/+2
| | | | Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
* treewide: fix replace nbd@openwrt.org with nbd@nbd.nameFelix Fietkau2016-06-194-4/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@nbd.name> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49379 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: mkimage: sync include/linux/compiler*.h with u-boot masterLuka Perkov2016-06-192-87/+702
| | | | | | | | Fixes build with GCC 6. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49343 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: pkg-config: fix build with GCC 6Luka Perkov2016-06-191-0/+18
| | | | | | | | | | | | | Fixes the following error: gdate.c: In function ‘g_date_strftime’: gdate.c:2497:7: error: format not a string literal, format string not checked [-Werror=format-nonliteral] tmplen = strftime (tmpbuf, tmpbufsize, locale_format, &tm); ^~~~~~ Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49342 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: make-ext4fs: fix build regression on mac os xLuka Perkov2016-06-191-3/+3
| | | | | | | | Including sys/sysmacros.h is not portable Signed-off-by: Felix Fietkau <nbd@nbd.name> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49341 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: firmware-utils: add region code support to mktplinkfwJohn Crispin2016-04-211-5/+46
| | | | | | Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49215 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: firmware-utils: clean up mktplinkfwJohn Crispin2016-04-212-435/+35
| | | | | | | | | | | | | Remove the whole board list from mktplinkfw, as OpenWrt doesn't use it and it was severely out of sync with the list of built images for ar71xx. Also: * fix -Wall warnings * add const where appropriate Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49214 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/cmake: update to 3.5.1Hauke Mehrtens2016-04-173-8/+5
| | | | | | | | | | Update cmake to 3.5.1 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49186 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/mpfr: update to 3.1.4Hauke Mehrtens2016-04-172-5/+5
| | | | | | | | | | Update mpfr to 3.1.4 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49185 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add TP-Link TL-WA901ND-v4 supportJohn Crispin2016-04-091-0/+6
| | | | | | Signed-off-by: Tiziano Bacocco <tizbac2@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49158 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Add support for the OMYlink OMY-X1John Crispin2016-03-161-0/+6
| | | | | | | | | | | | This patch adds support for the OMYlink OMY-X1 https://wiki.openwrt.org/toh/omylink/omy-x1 http://www.omylink.com/ Signed-off-by: L. D. Pinney <ldpinney@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49026 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/flex: update to 2.6.1John Crispin2016-03-163-24/+18
| | | | | | | | | | | | Update flex to 2.6.1 * Flex has moved to Github, adjust download link * Remove patch that has been applied upstream * Disable building tests to avoid circular dependency to bison - disable also docs and examples at the same time Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49025 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/cmake: fix compile on Alpine LinuxJohn Crispin2016-03-101-0/+17
| | | | | | | | | | | | | | | | | | internal jsoncpp include order leads to multiple build errors on Alpine Linux which uses musl libc use include order from upstream jsoncpp first error was: In file included from /usr/include/c++/5.3.0/stdexcept:38:0, from /home/..../openwrt/build_dir/host/cmake-3.4.3/Utilities/cmjsoncpp/include/json/assertions.h:16, from /home/..../openwrt/build_dir/host/cmake-3.4.3/Utilities/cmjsoncpp/src/lib_json/json_reader.cpp:7: /usr/include/c++/5.3.0/exception:35:9: error: '#pragma' is not allowed here #pragma GCC visibility push(default) Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48995 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/findutils: Update to 4.6.0John Crispin2016-03-102-161/+3
| | | | | | | | | Update GNU findutils to the new stable version 4.6.0 Remove the patch for 32-bit buildhosts as the issue is fixed upstream. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48991 3c298f89-4303-0410-b956-a3cf2f4a3e73
* pkg-config: Update to 0.29.1John Crispin2016-03-101-4/+4
| | | | | | | | | * Bump pkg-config version to 0.29.1 * Use https for the source download (http gets directed there) Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48988 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mm-macros: update to 0.9.10John Crispin2016-03-101-3/+3
| | | | | | | | Bump mm-macros to 0.9.10 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48987 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/flock: fix compile on Alpine LinuxJohn Crispin2016-03-101-0/+1
| | | | | | | | | | | | fixes build errors: src/flock.c:208:34: error: 'O_NOCTTY' undeclared (first use in this function) fd = open(filename, O_RDONLY|O_NOCTTY|O_CREAT, 0666); src/flock.c:208:43: error: 'O_CREAT' undeclared (first use in this function) fd = open(filename, O_RDONLY|O_NOCTTY|O_CREAT, 0666); Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48978 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Add a tool to create JCG factory imagesJohn Crispin2016-03-041-209/+220
| | | | | | | | replace spaces with tabs Signed-off-by: Reinhard Max <reinhard@m4x.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48901 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Add a tool to create JCG factory imagesJohn Crispin2016-03-032-0/+393
| | | | | | | | | | This tool creates factory images for JCG routers. Details can be found in the header comment of jcgimage.c. Signed-off-by: Reinhard Max <reinhard@m4x.de> Reviewed-by: Torsten Duwe <duwe@lst.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48888 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils: mkfwimage: fix firmware_max_length for XM layoutFelix Fietkau2016-02-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new u-boot version bundled with the 5.6.x firmwares from Ubiquiti gets confused by the smaller rootfs partition size; this can lead to various issues: 1. We've gotten reports that flashing from the 5.6.x stock firmware to OpenWrt will brick devices; I wasn't able to reproduce this myself 2. Flashing from 5.5.x stock firmware to OpenWrt and back to stock (via TFTP recovery), following by an update to 5.6.x via web interface can yield a bricked device with the following properties: - It can't be booted without entering commands over a serial console, as u-boot supplies the wrong MTD layout - The web interface won't accept any image with the original flash layout, so stock firmware upgrades are impossible - As the TFTP recovery doesn't update u-boot, returning to the old u-boot from firmware 5.5.x is impossible To recover from 2., creating an OpenWrt image which doesn't set u-boot as read-only and flashing a backup of the old u-boot from there is the only way known to me. (Fixing the mtdparts variable in u-boot-env from OpenWrt might also work; settings this from u-boot over serial didn't have any permanent effect.) Fix all of this by setting the correct flash layout also used by the stock firmware. Flashing has been tested from both firmware 5.5.x and 5.6.x. The fixed layout also matches the mtdparts defined by OpenWrt. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48829 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx, firmware-utils: split ubdev01 flash layout from XMFelix Fietkau2016-02-291-0/+6
| | | | | | | | | The ubdev01 profile defines its own MTDPARTS with smaller firmware partition, so give it its own UBNT_BOARD in mkfwimage. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48828 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils: mkfwimage: add -Wall, fix obvious bugs causing compile warningsFelix Fietkau2016-02-292-8/+6
| | | | | | Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48827 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Added support for TL-WA801NDv3John Crispin2016-02-121-1/+6
| | | | | | Signed-off-by: Tiziano Bacocco <tizbac2@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48705 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/gmp: update to 6.1.0John Crispin2016-02-081-3/+3
| | | | | | | | Update gmp to version 6.1.0, released in November 2015. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48660 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/cmake: update to 3.4.3John Crispin2016-02-081-2/+2
| | | | | | | | Update cmake to 3.4.3. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48659 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils: add oseama tool for creating Seama entitiesRafał Miłecki2016-02-012-0/+423
| | | | | | | | | | | | | It has an important feature (compared to seama) of using multiple input files, aligning them and padding zeroes until reaching a specified absolute offset. This is needed for a proper flash layout on NAND. We want kernel partition to be big enough to handle future updates without a need to resize it and wipe whole "ubi" partition. It's important as we don't want to lose block counters. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48601 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/mkimage: backport SOURCE_DATE_EPOCH for reproducible buildsFelix Fietkau2016-01-284-12/+88
| | | | | | | | | | | | | | | | This pulls in Paul Kocialkowski's SOURCE_DATE_EPOCH support patch for u-boot, which landed upstream circa July 2015. Note that this "host" u-boot repo is only used to compile the 'mkimage' utility, and isn't used to actually compile a bootloader for any target. This patch could be removed if/when the host u-boot package is updated to a contemporary version (but there doesn't seem to be any motivation/need to do so). Signed-off-by: bryan newbold <bnewbold@robocracy.org> Signed-off-by: Felix Fietkau <nbd@openwrt.org> [fix portability error, refresh patches] git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48542 3c298f89-4303-0410-b956-a3cf2f4a3e73
* flock: do not use ccache, fixes build errorFelix Fietkau2016-01-211-0/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48447 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: compile flock before everything elseFelix Fietkau2016-01-201-1/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48413 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: add support for TP-Link VR200vHauke Mehrtens2016-01-181-0/+12
| | | | | | | | | | This adds basic support for TP-Link VR200v. Currently the following parts are not working: FXO, Voice, DECT, WIFI (both) Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48328 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/cmake: update version to 3.4.1Felix Fietkau2016-01-101-4/+4
| | | | | | | | Update cmake version to 3.4.1, released in Dec 2015. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48188 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: move b43legacy firmware to a separate packageFelix Fietkau2016-01-101-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48184 3c298f89-4303-0410-b956-a3cf2f4a3e73