summaryrefslogtreecommitdiff
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* tools/firmware-utils: remove obsolete firmware utility for airlink 525wFelix Fietkau2016-05-122-333/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* tools: mkimage: sync include/linux/compiler*.h with u-boot masterMatthias Schiffer2016-05-082-87/+702
| | | | | | Fixes build with GCC 6. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* tools: pkg-config: fix build with GCC 6Matthias Schiffer2016-05-081-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>
* tools: make-ext4fs: fix build regression on mac os xFelix Fietkau2016-05-051-2/+2
| | | | | | Including sys/sysmacros.h is not portable Signed-off-by: Felix Fietkau <nbd@nbd.name>
* tools: fix make_ext4fs build with recent glibcJo-Philipp Wich2016-04-251-3/+4
| | | | | | | Update to latest make_ext4fs Git HEAD to fix build with recent glibc version which does not implicitely includes sysmacros.h anymore. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* tools: firmware-utils: add region code support to mktplinkfwJohn Crispin2016-04-211-5/+46
| | | | | | Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 49215
* 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> SVN-Revision: 49214
* 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> SVN-Revision: 49186
* 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> SVN-Revision: 49185
* ar71xx: add TP-Link TL-WA901ND-v4 supportJohn Crispin2016-04-091-0/+6
| | | | | | Signed-off-by: Tiziano Bacocco <tizbac2@gmail.com> SVN-Revision: 49158
* 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> SVN-Revision: 49026
* 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> SVN-Revision: 49025
* 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> SVN-Revision: 48995
* 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> SVN-Revision: 48991
* 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> SVN-Revision: 48988
* 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> SVN-Revision: 48987
* 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> SVN-Revision: 48978
* 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> SVN-Revision: 48901
* 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> SVN-Revision: 48888
* 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> SVN-Revision: 48829
* 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> SVN-Revision: 48828
* 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> SVN-Revision: 48827
* ar71xx: Added support for TL-WA801NDv3John Crispin2016-02-121-1/+6
| | | | | | Signed-off-by: Tiziano Bacocco <tizbac2@gmail.com> SVN-Revision: 48705
* 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> SVN-Revision: 48660
* 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> SVN-Revision: 48659
* 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> SVN-Revision: 48601
* 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] SVN-Revision: 48542
* flock: do not use ccache, fixes build errorFelix Fietkau2016-01-211-0/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48447
* tools: compile flock before everything elseFelix Fietkau2016-01-201-1/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48413
* 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> SVN-Revision: 48328
* 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> SVN-Revision: 48188
* mac80211: move b43legacy firmware to a separate packageFelix Fietkau2016-01-101-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48184
* tools/e2fsprogs: remove outdated configure argsJohn Crispin2015-12-231-3/+0
| | | | | | | | | | | | removed upstream in 1.40.5: Don't build e2fsck statically by default anymore 7e8fe327b51051adcbb0d44169b1a933173ce1ff fixes: configure: WARNING: unrecognized options: --disable-shared, --enable-static, --enable-dynamic-e2fsck Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> SVN-Revision: 47978
* firmware-utils: allow mkfwimage2 to use - in partition namesJohn Crispin2015-12-231-1/+1
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 47975
* tools/squashfs4: refresh patchesFelix Fietkau2015-12-114-13/+9
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47869
* firmware-utils: fix various compiler warningsJohn Crispin2015-12-117-2/+8
| | | | | | | | | mostly implicit defines due to missing includes plus one const that shouldn't be one. Signed-off-by: Felix Kaechele <felix@kaechele.ca> SVN-Revision: 47865
* mktplinkfw: add missing exceeding bytes info to logsJohn Crispin2015-12-111-2/+2
| | | | | | | | Add the info on exceeding bytes also to the remaining log messages. Signed-off-by: Felix Kaechele <felix@kaechele.ca> SVN-Revision: 47864
* tools/squashfs: refresh patchesJohn Crispin2015-12-111-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 47859
* tools/squashfs: add argument -fixed-time to set all timestampsJohn Crispin2015-12-112-0/+163
| | | | | | | | | -fixed-time <timestamp> set mkfs-timestamp and file-mtime to this timestamp. Reproducible builds requires the removal of all timestamp or setting all to a specific one. Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 47858
* firmware-utils mkmerakifw: firmware generator for MR18John Crispin2015-12-112-0/+264
| | | | | | | | This patch adds firmware generation tool for Cisco's MR18 Signed-off-by: Thomas Hebb <tommyhebb@gmail.com> SVN-Revision: 47856
* tools/mm-macros: update to 0.9.9Felix Fietkau2015-12-101-4/+3
| | | | | | | | | Update mm-macros (mm-common) to 0.9.9. Switch to use the @GNOME source download location. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> SVN-Revision: 47824
* update mtd-utils to 1.5.2Hauke Mehrtens2015-12-056-104/+7
| | | | | | | | | | | | - update mtd-utils to 1.5.2 (git a494d30ab1ae40cb7665680cadf5af3ca3830a73) - remove patches that went upstream - fixes build from scratch as of broken patches Signed-off-by: Sven Roederer <devel-sven@geroedel.de> [use the final version of 1.5.2 instead, fix header of jffs2_lzma_(de,)compress()] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47790
* tools: make-ext4fs: explicitely request C collation for sortingJo-Philipp Wich2015-12-021-3/+3
| | | | | | | | | Do not rely on the system default collaction when sorting directory entries but explicitely request "C" collation. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47689
* tools/scons: update to 2.4.1John Crispin2015-11-211-2/+2
| | | | | | | | Update scons to 2.4.1. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> SVN-Revision: 47569
* tools/cmake: update to 3.4.0John Crispin2015-11-213-6/+6
| | | | | | | | | Update cmake to 3.4.0. Refresh patches. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> SVN-Revision: 47568
* tools: add isl (used for graphite on GCC 5)Felix Fietkau2015-11-132-4/+37
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47464
* tools/e2fsprogs: update to 1.42.13Felix Fietkau2015-11-084-17/+15
| | | | | | | | | Update e2fsprogs to 1.42.13. Refresh and cleanup patches. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> SVN-Revision: 47426
* tools/quilt: fix build error during kernel_menuconfig on a cleaned envFelix Fietkau2015-11-071-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | When running "make kernel_menuconfig" right after "make clean", we error out with the following message: Makefile:22: recipe for target '.../build_dir/target-arm_cortex-a7_musl-1.1.10_eabi/linux-.../linux-3.18.18/.quilt_checked' failed make[2]: [.../build_dir/target-arm_cortex-a7_musl-1.1.10_eabi/linux-.../linux-3.18.18/.quilt_checked] Error 127 (ignored) The root cause of the problem is located in the OpenWrt specific quilt patch, which sets the quilt install directory to $STAGING_DIR/../host. However, on a clean environment (right after running "make clean"), $STAGING_DIR doesn't exist. The "quilt" executable doesn't find its different commands, errors out, and creates this message. We're fixing it by using $STAGING_DIR_HOST rather than $STAGING_DIR, which is absolute. It will work even if there is no target directory yet. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47410
* tools/mm-macros: update to 0.9.8Felix Fietkau2015-11-061-4/+5
| | | | | | | | | Update mm-macros to 0.9.8. Add a secondary download location. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> SVN-Revision: 47393
* tools/scons: update to 2.4.0Felix Fietkau2015-11-061-4/+4
| | | | | | | | | Update scons to 2.4.0. Change mirror (as the previous one is missing the current version). Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> SVN-Revision: 47392