aboutsummaryrefslogtreecommitdiffstats
path: root/target
Commit message (Collapse)AuthorAgeFilesLines
* mvebu: Fix up some leds on this seriesKabuli Chana2017-01-102-5/+5
| | | | | | correct ports, fix power led on rango, tested mamba,shelby,rango Signed-off-by: Kabuli Chana <newtownBuild@gmail.com>
* build: rework library bundlingJo-Philipp Wich2017-01-102-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* kernel: move the gateworks system controller driver to an out-of-tree packageFelix Fietkau2017-01-103-1017/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mpc85xx: enable the crypto acceleration driver in the kernel config instead ↵Felix Fietkau2017-01-101-1/+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-101-0/+16
| | | | | | packaging it 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-101-6/+9
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* imx6: enable the chipidea usb driver in the kernel config instead of ↵Felix Fietkau2017-01-103-6/+26
| | | | | | 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-102-3/+3
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* imx6: build support for the ventana ethernet expansion board into the kernel ↵Felix Fietkau2017-01-102-1/+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-101-1/+2
| | | | | | packaging it Signed-off-by: Felix Fietkau <nbd@nbd.name>
* 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>
* 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>
* 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>
* 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>
* 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>
* kernel: remove ubifs xz decompression supportFelix Fietkau2017-01-0925-745/+0
| | | | | | | It has been unused, and less useful than squashfs for cases where flash space usage matters. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* 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>
* 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-0623-151/+46
| | | | | | | Refresh patches on all 4.4 supported platforms. Compile & run tested: lantiq/xrx200 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* x86: add kernel module for AMD CS5535/CS5536 audio chipsetCezary Jackiewicz2017-01-061-0/+21
| | | | | | | | Add support for the integrated AC97 sound device on motherboards with AMD CS5535/CS5536 chipsets. Tested on Wyse Winterm S30. Signed-off-by: Cezary Jackiewicz <cezary@eko.one.pl>
* yaffs: fix to detect MLC/TLC NAND flashVladimir Zahradnik2017-01-062-2/+2
| | | | Signed-off-by: Vladimir Zahradnik <vladimir.zahradnik@gmail.com>
* lantiq: fix console printHauke Mehrtens2017-01-0535-4/+128
| | | | | | | | | | | | | | | | | | The boot loader of many boards provides a kernel boot argument with a broken console parameter to the kernel. This will be taken before the stdout-path defined in device tree and the serial will not work on this board. Multiple boards are affected by this problem, so revert this patch for all boards. Later we can remove the boot arguments from the device tree again, after the individual board was checked to work. This partly reverts this commit: commit 4995c64857a09c4cc92238ba0bd52cdb06c4c581 Author: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Date: Sun Dec 11 21:55:00 2016 +0100 lantiq: specify console using stdout-path instead of cmdline argument Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* ar71xx: add support for TP-Link WBS210/510Matthias Schiffer2017-01-058-8/+95
| | | | | | | The devices are mostly identical to the CPE210/510, but use external antennas. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* sunxi: use fwtool for checking sdcard imagesYousong Zhou2017-01-055-153/+19
| | | | | | | | | | | | | | To achieve this, device tree compatible string was used as boardname and the value of it will be checked against supported_devices list. It should be noted that we do not distinguish between sun5i-a13-olimex-som and sun5i-a13-olinuxino as they share the same dts file. The other thing is that we need to gunzip the generated firmware to do fwtool check. Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* sunxi: add sysupgrade supportYousong Zhou2017-01-053-0/+91
| | | | | | | Enalbe builtin support for FAT filesystem as we need to mount boot partition to store sysupgrade.tgz there Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* sunxi: make sdcard image with squashfs as rootfsYousong Zhou2017-01-051-1/+2
| | | | | | | | | | | | | Two things that need to be noted - There is no partition type id allocated for squashfs yet. In the case of sunxi, any non-zero value should work and we keep it 83 (the value for ext4) - Remaining spare space within the rootfs partition, not the entire sdcard space will be formated as either f2fs or ext4 and mounted as overlay to serve the role of rootfs_data. Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* sunxi: convert to new image generation methodYousong Zhou2017-01-0518-363/+171
| | | | | | | | | | | The new Device/xxx were transformed automatically from old profiles. Most device names are now taken from basename of the corresponding kernel device tree file. Device/sun5i-a13-olimex-som is an exception because it is not explicitly supported in the kernel yet and shares the same dts file with Device/sun5i-a13-olinuxino Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* base-files: export x86 platform upgrade functions to common.shYousong Zhou2017-01-052-96/+5
| | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* sunxi: enable loopback device and f2fs supportYousong Zhou2017-01-051-0/+14
| | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* sunxi: fix dts name for Mele M9Yousong Zhou2017-01-051-1/+1
| | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* x86: move sysupgrade.tgz only if it existsYousong Zhou2017-01-051-3/+6
| | | | | | | | To squash error messages at boot time mv: can't rename '/mnt/sysupgrade.tgz': No such file or directory Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* kernel: spi: allow setting chipselect gpio to sleepFelix Fietkau2017-01-051-0/+21
| | | | | | Fixes issues on some ar71xx MikroTik RouterBoard devices Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: remove a non-upstream spi core patchFelix Fietkau2017-01-055-208/+8
| | | | | | | - use standard flags instead - remove dead code from the rb4xx spi drivers Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: use mkhash to replace various quirky md5sum/openssl callsFelix Fietkau2017-01-052-6/+4
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* oxnas: remove support for pre-4.4 kernels from driversDaniel Golle2017-01-044-63/+1
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* x86/64: enable AES-NI support in kernelStijn Tintel2017-01-041-1/+2
| | | | | | | | | | | | | The kernel will detect if the host supports this, so we can just enable it in the kernel config. Tested on an APU2 with AES-NI support and a KVM VM on a Xeon E5520 host without AES-NI support. Throughput over an IPsec tunnel between these 2 hosts increased from ~63Mbps to ~140Mbps. Ciphers: AES_GCM_16_256/PRF_HMAC_SHA2_512/ECP_521. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* brcm47xx: generic: include Ethernet drivers in standard imageRafał Miłecki2017-01-041-0/+5
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* brcm47xx: drop some personal profilesRafał Miłecki2017-01-043-50/+0
| | | | | | | | | | | | | | WL500GPv1 profile included ath5k which made it usable only for people who decided to replace default BCM4318 card with Atheros one. We can't have profile for every possible configuration. If someone adjusts hw in such a way he can always install a proper package. WRTSL54GS profile got extra packages for a specific USB usage. Our standard profile provides basic USB and we should stick to this. We can't make everyone happy by including packages for all common USB use cases and all common filesystems. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* brcm47xx: generic: drop standalone profiles duplicating device onesRafał Miłecki2017-01-042-33/+0
| | | | | | We have identical profiles for these devices thanks to DEVICE_PACKAGES. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* brcm47xx: generic: specify DEVICE_PACKAGES for all devicesRafał Miłecki2017-01-041-0/+6
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* brcm47xx: fix bgmac packageRafał Miłecki2017-01-041-2/+5
| | | | | | With all recent patches & changes it needs more modules. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* powerpc: boot: fix build with parallel makeJo-Philipp Wich2017-01-041-0/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The powerpc boot wrapper Makefile is not parallel build safe, causing fixdep to fail reading dependency files of the addnote, hack-coff and mktree utilities when concurrently building different image targets. A typical failure looks like: Building modules, stage 2. HOSTCC arch/powerpc/boot/addnote HOSTCC arch/powerpc/boot/hack-coff DTC arch/powerpc/boot/taishan.dtb HOSTCC arch/powerpc/boot/addnote HOSTCC arch/powerpc/boot/hack-coff MODPOST 800 modules fixdep: error opening depfile: arch/powerpc/boot/.hack-coff.d: No such file or directory scripts/Makefile.host:91: recipe for target 'arch/powerpc/boot/hack-coff' failed make[5]: *** [arch/powerpc/boot/hack-coff] Error 2 make[5]: *** Waiting for unfinished jobs.... fixdep: error opening depfile: arch/powerpc/boot/.addnote.d: No such file or directory scripts/Makefile.host:91: recipe for target 'arch/powerpc/boot/addnote' failed make[5]: *** [arch/powerpc/boot/addnote] Error 2 rm arch/powerpc/boot/taishan.dtb arch/powerpc/Makefile:263: recipe for target 'cuImage.taishan' failed make[4]: *** [cuImage.taishan] Error 2 make[4]: *** Waiting for unfinished jobs.... Add a GNU make specific .NOTPARALLEL pseudo rule to enforce sequential building of the addnote, hack-coff and mktree executables. Signed-off-by: Jo-Philipp Wich <jo@mein.io>