summaryrefslogtreecommitdiff
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* tools: e2fsprogs: bump to 1.43.1Kevin Darbyshire-Bryant2016-06-225-16/+6
| | | | | | Bump e2fsprogs to v1.43.1 & refresh patches Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
* squashfs4: use upstream xz compression header formatHauke Mehrtens2016-06-221-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>
* tools: patch-image: Added optional size optionVishnu Swaroop Duddu2016-06-212-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>
* tools/cmake: fix parallel build with Make 4.2+Matthias Schiffer2016-06-151-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>
* firmware-utils: oseama: support extracting entityRafał Miłecki2016-06-151-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: build msdostools for omapAlexander Couzens2016-06-141-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>
* tools/mkfwimage2: remove 256 length limit for partition imagesAlexander Couzens2016-06-141-1/+5
| | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* tools/firmware-utils: Add Archer C50 to mktplinkfw2Henryk Heisig2016-06-131-0/+7
| | | | Signed-off-by: Henryk Heisig <hyniu@o2.pl>
* sparse: update to support llvm 3.5.0Stefan Sydow2016-06-131-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>
* treewide: replace nbd@openwrt.org with nbd@nbd.nameFelix Fietkau2016-06-074-4/+4
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: allow to build LEDE on latest MacOS XWaldemar Brodkorb2016-06-072-0/+27
| | | | | | | | | | | | | Latest Xcode doesn't include openssl anymore. To compile mkimage from u-boot source you need SSL headers on your host. This patch provides libressl host package for any Darwin compilation. Unfortunately openssl from MacPorts can not be used, as the installed headers in /opt/local are breaking GDB compilation. Tested with a RB532 image build and resulting kernel booted on a device via TFTP. Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Felix Fietkau <nbd@nbd.name> [fixes, dependencies]
* tools/tplink-safeloader: split CPE210 from CPE510 profileAlexander Couzens2016-05-271-10/+23
| | | | | | | | | The CPE210 was still described for the OEM upgrade as compatible, even the wireless configuration isn't compatible anymore between both series (2ghz and 5ghz). Update the CPE210 image profile to use the new profile. Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* fw-utils/tplink-safeloader.c: Add support for Archer C2600Ash Benz2016-05-271-3/+111
| | | | Signed-off-by: Ash Benz <ash.benz@bk.ru>
* tools/cmake: bump to 3.5.2Syrone Wong2016-05-131-2/+2
| | | | Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
* 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