aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* build: rework library bundlingJo-Philipp Wich2017-01-103-31/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rework the bundle-libraries.sh implementation to use a more robust approach for executing host binaries through the shipped ELF loader and libraries. The previous approach relied on symlinks pointing to a wrapper script which caused various issues, especially with multicall binaries as the original argv[0] name was not preserved through the ld.so invocation. Another down- side was the fact that the actual binaries got moved into another directory which caused executables to fail looking up resources with paths relative to the executable location. The new library wrapper implements the following improvements: - Instead of symlinks pointing to a common wrapper, each ELF executable is now replaced by a unqiue shell script which retains the original program name getting called - Instead of letting ld.so invoke the ELF executable directly, launch the final ELF binary through a helper program which fixes up the argv[0] argument for the target program - Support sharing a common location for the bundled libraries instead of having one copy in each directory containing wrapped binaries Finally modify the SDK build to wrap the staging_dir and toolchain binaries which allows to use the SDK on systems with a different glibc version. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* mtd-utils: mark as nonsharedJo-Philipp Wich2017-01-101-0/+2
| | | | | | | | Since mtd-utils embeds ubi-utils and ubi-utils depends on @NAND_SUPPORT, we cannot share this package among targets as the SDK processing the package is not guaranteed to claim NAND_SUPPORT. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* kernel: move the gateworks system controller driver to an out-of-tree packageFelix Fietkau2017-01-107-1032/+339
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mpc85xx: enable the crypto acceleration driver in the kernel config instead ↵Felix Fietkau2017-01-102-27/+23
| | | | | | of packaging it Signed-off-by: Felix Fietkau <nbd@nbd.name>
* imx6: enable the crypto acceleration driver in the kernel config instead of ↵Felix Fietkau2017-01-102-1/+17
| | | | | | packaging it Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: fix kmod-w1-master-mxc dependencyFelix Fietkau2017-01-101-1/+1
| | | | | | The kernel config symbol is not selectable on mxs Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: fix dwc2 gadget dependencyFelix Fietkau2017-01-101-1/+1
| | | | | | | Use USB_GADGET_SUPPORT feature flag instead of hardcoding the target list. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mxs: remove modules.mk, select drivers in the kernel configFelix Fietkau2017-01-102-99/+11
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mxs: remove obsolete kernel package depending on linux 3.18Felix Fietkau2017-01-101-21/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mxs: enable the chipidea usb driver in the kernel config instead of packaging itFelix Fietkau2017-01-102-46/+9
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* imx6: enable the chipidea usb driver in the kernel config instead of ↵Felix Fietkau2017-01-104-8/+28
| | | | | | packaging it Signed-off-by: Felix Fietkau <nbd@nbd.name>
* imx6: remove kmod-thermal-imx, it is already enabled in the kernel configFelix Fietkau2017-01-103-23/+3
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* imx6: build support for the ventana ethernet expansion board into the kernel ↵Felix Fietkau2017-01-103-19/+2
| | | | | | instead of packaging it Signed-off-by: Felix Fietkau <nbd@nbd.name>
* imx6: enable the Freescale SNVS RTC driver in the kernel config instead of ↵Felix Fietkau2017-01-102-17/+2
| | | | | | packaging it Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: remove obsolete parallel build related optionsFelix Fietkau2017-01-104-68/+5
| | | | | | Always use the main make jobserver, which has been the default for ages Signed-off-by: Felix Fietkau <nbd@nbd.name>
* procd: update to latest git HEADJohn Crispin2017-01-101-2/+2
| | | | | | f706903 ujail: add basic /dev files Signed-off-by: John Crispin <john@phrozen.org>
* malta: Fix README file examplesFlorian Fainelli2017-01-101-2/+2
| | | | | | | The example command-lines used references and paths from an older directory structure. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
* libnl: Update to 3.2.29Daniel Engberg2017-01-101-3/+3
| | | | | | Update libnl to 3.2.29 Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* ramips: Fix VLAN limits for MT7621 GSWAntonis Kanouras2017-01-101-1/+5
| | | | | | | | | Without this patch swconfig will only allow setting up a total of 16 VLANs, with VLAN ID range of 0-15. Tested on ubnt-erx. Signed-off-by: Antonis Kanouras <antonis@metadosis.eu>
* usbutils: Update usb.ids database to 2016.10.13Daniel Engberg2017-01-101-4/+4
| | | | | | Update usb.ids database to 2016.10.13 Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* ipq806x: fix pvs1_bin voltage in ipq8065 DTPavel Kubelun2017-01-101-7/+7
| | | | | | | | | | | | | | Fixing pvs1 bin voltage as found in GPL tarball and Qualcomm SDK. Also adjusting smb208_s2a/b minimum voltage to reflect lowest value in pvs table. Current ipq8065 devices in LEDE choose (based on eFuse data) pvs bin n4, that has correct values in DT, but in future a new device may choose n1 or n6. Without this change n1 is semi-correct and n6 is not available, because OPP driver disregards bins with voltage values that regulator cannot supply. Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* cyassl: update to wolfssl version 3.10.0Hauke Mehrtens2017-01-101-3/+4
| | | | | | | This fixes a low level security vulnerability. Deactivate MIPS16 support, crypto code gets much slower with MIPS16. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* lantiq: update USB controller initializationHauke Mehrtens2017-01-0911-95/+394
| | | | | | | | | | | | | This adds USB initialization fixes for Danube, Amazon SE and xrx300 and should fix the clock on at least Danube which hopefully closes FS#351. The xrx200 usb driver now uses more memory for the dwc2 fifos, this was increased in the chip compared to ar9. This is based in part on the vendor documentation and the vendor code base as a reference. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* lantiq: fix dma locking problems with SMPHauke Mehrtens2017-01-091-0/+152
| | | | | | | The DMA controller used only local locks, which will not lock the section against other CPUs, fix this by using spin locks. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* 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>
* px5g: remove obsolete reference to $(BUILD_VARIANT)Felix Fietkau2017-01-091-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: fix build of ubifs imagesFelix Fietkau2017-01-092-6/+6
| | | | | | --force-compr was added by the xz compression patch, which is gone now. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* imx6: fix image boot ubifs compression optionFelix Fietkau2017-01-091-1/+1
| | | | | | --force-compr was added by the xz compression patch, which is gone now. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ustream-ssl: remove legacy polarssl supportFelix Fietkau2017-01-091-12/+0
| | | | | | | The old polarssl 1.3 branch is EOL since end of 2016, and the package for it will be removed soon. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* px5g: remove legacy polarssl supportFelix Fietkau2017-01-092-61/+33
| | | | | | | The old polarssl 1.3 branch is EOL since end of 2016, and the package for it will be removed soon. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: remove ubifs xz decompression supportFelix Fietkau2017-01-0928-1128/+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>
* odhcp6c: add option "keep_ra_dnslifetime"Hans Dedecker2017-01-092-5/+8
| | | | | | | | | | Add option keep_ra_dnslifetime which will preserve the received lifetime for RDNSS and DNSSL RA records and not overwrite it by the RA router lifetime as specified in RFC6106. This allows to accept RDNNS records from RAs that don't announce a default route by setting router lifetime to 0 in the RAs. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* mbedtls: re-enable CFB supportFelix Fietkau2017-01-091-9/+0
| | | | | | It is safe and required by some software, e.g. shadowsocks Signed-off-by: Felix Fietkau <nbd@nbd.name>
* Makefile: ensure that BIN_DIR exists for diffconfigHannu Nyman2017-01-081-0/+1
| | | | | | | Ensure that BIN_DIR exists when the diffconfig target needs it. Otherwise 'make diffconfig' fails after 'make clean' Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* uboot-mvebu: enable loader with the default profileFelix Fietkau2017-01-081-1/+1
| | | | | | Fixes build error Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mbedtls: re-enable RC4 support (needed by transmission and others)Felix Fietkau2017-01-081-9/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* odhcpd: bump to git HEADHans Dedecker2017-01-071-3/+3
| | | | | | | | | | ef3c563 dhcpv6-ia: filter out prefixes having invalid length 16cd87e dhcpv6-ia: fix dereference after freeing assignment d6b0c99 dhcpv6-ia: log only IPv6 addresses which are effectively assigned to a DHCPv6 client 08a9367 config: respect ignore uci option Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* Revert "gdb: fix build with gcc 4.1.2 as host compiler"Hauke Mehrtens2017-01-071-16/+0
| | | | | | | | Support for such old gcc version is not needed. This reverts commit 2694d43b052a1bf1721ae477dcdbe787f5995d35. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* zlib: update to 1.2.10Magnus Kroken2017-01-071-2/+2
| | | | | | | * Fix bug in deflate_stored() for zero-length input * Fix bug in gzwrite.c that produced corrupt gzip files Signed-off-by: Magnus Kroken <mkroken@gmail.com>
* rb532: drop patch-cmdline from base-filesFelix Fietkau2017-01-072-90/+0
| | | | | | It is no longer used for upgrading Signed-off-by: Felix Fietkau <nbd@nbd.name>
* rb532: switch to UBI, drop yaffs2 support, use sysupgrade for NANDFelix Fietkau2017-01-079-162/+105
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* rb532: convert to new loopback based overlay supportFelix Fietkau2017-01-073-36/+52
| | | | | | Disable block2mtd support Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: add image command for calling kernel2minorFelix Fietkau2017-01-071-0/+5
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* oxnas: minor kernel config improvementsDaniel Golle2017-01-071-1/+2
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: require image metadataDaniel Golle2017-01-071-0/+1
| | | | | | | Now that we generate images with metadata attached, require it in order to prevent accidentally flashing the wrong image to a board. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: remove some kprintf calls from NAND driverDaniel Golle2017-01-071-5/+0
| | | | | | They were added for debugging and I forgot to remove them. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* lantiq: fix console print for additional boardsHauke Mehrtens2017-01-063-0/+12
| | | | | | | | | | | | | | I missed 3 boards in this commit: commit d8dde8c5178eba8c847dd48e7d06e6663ba1979f Author: Hauke Mehrtens <hauke@hauke-m.de> Date: Wed Jan 4 21:53:22 2017 +0100 lantiq: fix console print Add bootargs parameters for ARV4525PW, ARV7506PW11 and ARV8539PW22 again. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: bump to 4.4.40Hauke Mehrtens2017-01-0624-153/+48
| | | | | | | Refresh patches on all 4.4 supported platforms. Compile & run tested: lantiq/xrx200 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* tools/kernel2minor: fix permissions of created filesFelix Fietkau2017-01-061-0/+11
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>