aboutsummaryrefslogtreecommitdiffstats
path: root/target
Commit message (Collapse)AuthorAgeFilesLines
* build: make <subdir>/install opt-in, use it for target/ onlyFelix Fietkau2017-02-091-0/+1
| | | | | | | Fixes buildbot errors on running make target/install or toolchain/install Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: image: drop redundant CONSOLE assignmentPiotr Dymacz2017-02-093-16/+0
| | | | | | | Default CONSOLE value for ar71xx target is "ttyS0,115200", so there is no need to specify the same value in device profiles. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* arc770: backport upstream fix for unaligned accessAlexey Brodkin2017-02-092-31/+38
| | | | | | | | | | | | | | | | | This commit reverts 42f3c1f ("arc770: fix broken upstream change") and simultaneously adds back-ported fix from Linus' tree: a524c218bc94 ("ARC: [arcompact] brown paper bag bug in unaligned access delay slot fixup"). Note mentioned patch will appear in stable trees soon as well so IMHO there's not much sense in adding this separate patch in lede/master branch. As well as we will get rid of it here in 17.01 once we bump 4.4 kernel here later down the line. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Felix Fietkau <nbd@nbd.name> Cc: John Crispin <john@phrozen.org> Cc: Jo-Philipp Wich <jo@mein.io>
* ramips: fix AR670W partition alignmentClaudio Leite2017-02-091-1/+1
| | | | | | | mtdsplit_lzma requires that the rootfs be aligned to a block boundary. Pad the kernel partition to make this so. Signed-off-by: Claudio Leite <leitec@gmail.com>
* kernel: backport bcm47xxsflash support for reading 32 MiB flashesRafał Miłecki2017-02-095-0/+288
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* brcm2708: bcm2708: fix buildÁlvaro Fernández Rojas2017-02-081-0/+5
| | | | | | | buildbot fails to build without regmap, which I couldn't reproduce locally. Hopefully this fixes it. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* sdk: add missing change from r3328-f55c29e4c7Felix Fietkau2017-02-081-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* brcm2708: add more patches for linux 4.9Álvaro Fernández Rojas2017-02-0814-173463/+1662
| | | | | | Also removes unneeded wireless patches Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm2708: bcm2710: add 64 bit support for Raspberry Pi 3Álvaro Fernández Rojas2017-02-083-99/+118
| | | | | | | 64 bit support for Raspberry Pi 3 is experimental. However, bcm2709 subtarget should serve as a stable and compatible 32 bit support. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm2708: bcm2709: add support for Raspberry Pi 3Álvaro Fernández Rojas2017-02-083-6/+8
| | | | | | | This adds support for Raspberry Pi 3 on the bcm2709 subtarget, in order to keep 32 bit image support when 64 bit support is added on bcm2710 subtarget. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* generic: add missing symbols for linux 4.9Álvaro Fernández Rojas2017-02-081-0/+15
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm2708: remove duplicated gzip from image generationÁlvaro Fernández Rojas2017-02-071-1/+0
| | | | | | Images are now automatically gziped so remove custom image command Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm2708: remove linux 4.4 supportÁlvaro Fernández Rojas2017-02-07564-198905/+0
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm2708: switch to linux 4.9Álvaro Fernández Rojas2017-02-071-1/+1
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm2708: add linux 4.9 supportÁlvaro Fernández Rojas2017-02-07148-0/+301419
| | | | | | | Patches from Raspberry Pi repo: https://github.com/raspberrypi/linux/commits/rpi-4.9.y Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* generic: add missing kernel symbolsÁlvaro Fernández Rojas2017-02-071-0/+23
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bcm53xx: include Broadcom PHY driver in the kernelRafał Miłecki2017-02-071-0/+2
| | | | | | | | | | | | | | | | | Initial idea was to use package with this PHY driver for devices that need it. Unfortunately this can't work as bgmac is built-in and PHY probing happens before loading modules - it results in PHY subsystem picking default (generic) PHY driver. There were two ways of solving this: 1) Making bcm53xx use bgmac as module xor 2) Built-in Broadcom PHY driver After some quick discussion it seems we can simply built-in the driver as increased kenel size is relatively small (1805 B). Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* x86: remove linux 4.4 supportFelix Fietkau2017-02-077-692/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* x86: switch to Linux 4.9Felix Fietkau2017-02-078-43/+599
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: update spi-nor in 4.9 to spi-nor tree version (next branch)Rafał Miłecki2017-02-0712-28/+784
| | | | | | | These are patches queued for 4.11. It adds support for even more hw and removes some annoying WARN_ONCE. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: update spi-nor in 4.9 to version from Linus's tree (4.10)Rafał Miłecki2017-02-0713-15/+200
| | | | | | This adds support for more devices. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: add missing system.sh includeRafał Miłecki2017-02-071-0/+1
| | | | | | | It's needed for macaddr_add. Fixes: 50efd403e67c ("bcm53xx: set WAN MAC address to don't share one with LAN interface") Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: fix build error in mtdsplit driverKoen Vandeputte2017-02-071-1/+1
| | | | | | | Add missing parentheses. Fixes kernel build issue when using this driver. Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* cns3xxx: use proper macro's for ID handlingKoen Vandeputte2017-02-071-3/+3
| | | | | | Compiled & tested on cns3xxx Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* ar71xx/ipq806x/mediatek/mvebu: fix network defaultsJo-Philipp Wich2017-02-074-29/+29
| | | | | | | | | | | After "73d923e base-files: emit tagged switch configuration by default" some default network configurations are broken because the lan and wan ifnames are forcibly set to untagged netdevs. Adjust the offending set_interfaces_lan_wan() calls to use the proper tagged device names. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* arc770: fix broken upstream changeJo-Philipp Wich2017-02-071-0/+31
| | | | | | | Add a patch to revert upstream commit 9aed02feae57bf7a40cb04ea0e3017cb7a998db4 which introduces syntax errors. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* brcm2708: update linux 4.4 patches to latest versionÁlvaro Fernández Rojas2017-02-06560-529/+2859
| | | | | | | | n As usual these patches were extracted and rebased from the raspberry pi repo: https://github.com/raspberrypi/linux/tree/rpi-4.4.y Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bcm53xx: set Netgear R8000 USB LEDsRafał Miłecki2017-02-061-0/+18
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: refresh Linux 4.4 configRafał Miłecki2017-02-061-0/+7
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: image: use one style of adding TARGET_DEVICES entriesRafał Miłecki2017-02-061-4/+4
| | | | | | | It just makes code consistent. This trivial change may be a 17.01 candidate to provide simpler backporting experience. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: merge b53 API patch with the one handling all switch driversRafał Miłecki2017-02-062-88/+88
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: add missing config symbols for 4.9Felix Fietkau2017-02-061-0/+25
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: fix crashlog build error on 4.9Felix Fietkau2017-02-061-2/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: add compile fix for linux 4.9 on x86Felix Fietkau2017-02-061-0/+13
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: port b53 to use kernel 4.5+ APIRafał Miłecki2017-02-063-17/+96
| | | | | | For backward 4.4 compatibility I added patch reverting my changes. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: move bcm47xx_sprom driver to 4.4 specific directoryRafał Miłecki2017-02-061-0/+0
| | | | | | | In kernel 4.9 it's already present so we don't want to overwite it (with older & API incompatible version). Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: add Linux 4.9 patchesRafał Miłecki2017-02-0634-0/+3107
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: backport upstream DTS files for Linksys devicesRafał Miłecki2017-02-063-16/+92
| | | | | | | We dont't build officialy images for them yet due to partitioning issues. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: update kernel 4.4 to version 4.4.47Stijn Tintel2017-02-064-8/+8
| | | | | | | | | | Refresh patches for all targets that support kernel 4.4. Compile-tested on all targets that use kernel 4.4 and aren't marked broken, except arc770 and arch38 due to broken toolchain. Runtime-tested on ar71xx, octeon, ramips and x86/64. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* ramips: add support for Sanlinking D240Kristian Evensen2017-02-057-0/+175
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Sanlinking Technologies D240 (http://www.sanlinking.com/en/29-dual-4g-wifi-router.html) is basically the same device as the ZBT WE826, so adding support for it in LEDE is straight forward. The differences is that the D240 has two mini-PCIe slots (instead of one), blue LEDs and supports PoE. Specification: * CPU: MT7620A * 1x 10/100Mbps POE (802.3af/802.3at) Ethernet, 4x 10/100Mbps. * 16 MB Flash. * 128 MB RAM. * 1x USB 2.0 port. * 2x mini-PCIe slots. * 2x SIM slots. * 1x 2.4Ghz WIFI. * 1x button. Wifi, USB, switch and both mini-PCIe slots are working. I have not been able to test the SD card reader. The device comes pre-installed with an older version of OpenWRT, including Luci. In order to install LEDE, you need to follow the existing procedure for updating OpenWRT/LEDE using Luci. I.e., you need to access the UI and update the firmware using the sysupgrade-image. Remember to select that you do not want to keep existing settings. The default router address is 192.168.10.1 and username/password admin/root (at least on my devices). If you brick the device, the procedure for recovery is the same as for the WE826. Please see the wiki page for that device for instructions. Signed-off-by: Kristian Evensen <kristian.evensen@gmail.com>
* kernel: add linux 4.9 supportFelix Fietkau2017-02-04168-0/+27745
| | | | | Signed-off-by: Felix Fietkau <nbd@nbd.name> Signed-off-by: Tim Harvey <tharvey@gateworks.com> [fixes]
* build: centralize fakeroot codeJoseph C. Lehner2017-02-044-28/+7
| | | | | | | | | | | | | This patch moves the fakeroot code required by some devices to `image-commands.mk`. Create the fakeroot on the fly by using the undocumented -s (skip copy) parameter of mkimage. Signed-off-by: Joseph C. Lehner <joseph.c.lehner@gmail.com> [remove unused NETGEAR_KERNEL_MAGIC, remove workarounds to have a dummy rootfs for mkimage] Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: fix Airlink AR725W device titleMathias Kresin2017-02-041-1/+1
| | | | | | Gemtek is the ODM but the board was sold by Airlink101. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: fix Airlink AR725W factory image buildMathias Kresin2017-02-041-2/+5
| | | | | | | | | | | | | The factory image can't be bigger than 3328 KByte. If the image is bigger than that, the gemtek-header tool throws an error and breaks the build. Make sure the output file to which the gemtek header should be added exists and wasn't removed during the check-size step because of it size. This will prevent hard errors in case the factory image is to big similar to what is done for sysupgrade images. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ipq806x: fix wireless macsHannu Nyman2017-02-031-1/+1
| | | | | | | | | | | | Commit 71a39b8 ("ipq806x: Fix wireless support for Netgear Nighthawk X4S D7800") added a trailing TAB char after the backslash which prevents the assignment of the correct MACs for wifi devices. Fixes: FS#451 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> [reworded commit message] Signed-off-by: Mathias Kresin <dev@kresin.me>
* kernel: update phy drivers for 4.9Felix Fietkau2017-02-039-134/+1194
| | | | | | add backport patches for older kernels Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: update mtdsplit for linux 4.9Felix Fietkau2017-02-0312-15/+300
| | | | | | add backport patches for older kernels Signed-off-by: Felix Fietkau <nbd@nbd.name>
* bcm53xx: set WAN MAC address to don't share one with LAN interfaceRafał Miłecki2017-02-031-1/+10
| | | | | | | | | After analyzing numerous NVRAMs and vendor firmwares it seems the base MAC address is used for LAN interface. WAN interface has different one which sometimes is set directly in NVRAM and sometines needs to be calculated. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* ar71xx: image: fix DEVICE_TITLE for several devicesPiotr Dymacz2017-02-033-4/+4
| | | | | | Be consistent with form and format of the vendor names. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* ar71xx: fix indentation in Kconfig.openwrtPiotr Dymacz2017-02-031-38/+40
| | | | Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>