aboutsummaryrefslogtreecommitdiffstats
path: root/target
Commit message (Collapse)AuthorAgeFilesLines
* kernel: disable DMA_{NOOP|VIRT}_OPS by defaultSergey Ryazanov2018-05-2425-48/+2
| | | | | | | | These options do not used by any supported arch, so disable them by default to make arch configs a bit more clean. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> (cherry picked from commit ead26e9db649a508ba93e7e8193ada70322620b1)
* kernel: disable ARCH_WANTS_THP_SWAP by defaultSergey Ryazanov2018-05-2425-24/+1
| | | | | | | | | Only one arch (x86_64) enables this option. So disable ARCH_WANTS_THP_SWAP by default and remove referencies to it from all configs (except x86_64) to make them clean. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> (cherry picked from commit f928c338ad6c8215a5fe280473e37786157a2d05)
* arc770: remove source-onlyEvgeniy Didin2018-05-241-1/+1
| | | | | | | | | | | | | | | In commit 8b9cdebc9c53 ("arc770: mark as source-only") arc770 was marked as source-only because of iproute2 compile issues. With uClibc-ng version 1.0.30 issues with iproute2 were fixed. Lets remove "source-only" for arc770 as soon as uClibc-ng version will be updated to 1.0.30. Patch for uClibc-ng is here: https://patchwork.ozlabs.org/patch/917547/ Signed-off-by: Evgeniy Didin <Evgeniy.Didin@synopsys.com> Cc: Alexey Brodkin <abrodkin@synopsys.com> Cc: Hauke Mehrtens <hauke@hauke-m.de> Cc: John Crispin <john@phrozen.org> (cherry picked from commit a2418dba0214318f4ef22c5bd3f9204d0f092253)
* ar71xx: Fix build for dap-1330-a1 boardHauke Mehrtens2018-05-241-1/+1
| | | | | | | | | | | | | | | | | Using a version number of 16 character causes a buffer overflow in the version number overwriting the first bit of the signature in the mkdapimg2 tool. I am not sure if the version number should be null terminated or not. This patch reduces the size of the version number by removing the number of private commits from it. This was the original version number which caused problems: OpenWrt-r6727+10 Now it uses this version number: OpenWrt-r6727 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> (cherry picked from commit ae8ff1c65c4ea4e0b2e1e8ef94fad87587d979bc)
* ath25: drop 4.9 kernel supportSergey Ryazanov2018-05-2412-3850/+0
| | | | | Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> (cherry picked from commit 06116473cca4ee765978aa3035eab321cd57bd71)
* ath25: switch to 4.14 kernelSergey Ryazanov2018-05-241-1/+1
| | | | | Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> (cherry picked from commit 5191ea56218b5c7f17dbe5cdb6fb6895ee386156)
* ath25: add kernel 4.14 supportSergey Ryazanov2018-05-2412-0/+3865
| | | | | | | Copy and refresh patches and config from 4.9, no more work is need. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> (cherry picked from commit 3d69857ac1647e5bc924a9af1e8d00182316cb0d)
* x86: disable CONFIG_EFI_VARSAlif M. Ahmad2018-05-241-1/+1
| | | | | | | | | | | Disable CONFIG_EFI_VARS, since it suffers from sysfs limitation (no support for variable longer than 1024 bytes). kmod-fs-efivarfs is the replacement of this, which enables mounting efivarfs file system and doesn't suffer from 1024 bytes limitation. Signed-off-by: Alif M. Ahmad <alive4ever@live.com> (cherry picked from commit b0a51dab8c5b8d40828a00b0c6d66450bf90f217)
* ramips: add support for YUKAI Engineering Inc. BOCCOYuheiOKAWA2018-05-245-0/+174
| | | | | | | | | | | | | | BOCCO is a communication robot provided by YUKAI Engineering Inc. SoC: MT7620A MEM: 256MB Flash: 8MB NAND: 512MB (non support) Include Sound DAC and AMP. No Wired Ethernet. Signed-off-by: YuheiOKAWA <tochiro.srchack@gmail.com> (cherry picked from commit d91953cb5351f1ab3e75ae9e2d9622f754d518ed)
* ar71xx: WNDR3700: enable RFKILL function for Wifi buttonMichal Cieslakiewicz2018-05-241-4/+4
| | | | | | | | | | | | | | | | | | Wifi button for WNDR3700 dual band routers has been renamed to "rfkill" and its emitted keycode changed to KEY_RFKILL. This allows OpenWrt/LEDE to support it 'out of the box' without additional tweaking. Until this patch, button had been sending BTN_2 keycode which was ignored by default (no action script present). To get expected behaviour of switching radios on and off, user had to manually rename/link 'rfkill' script to name 'BTN_2' in /etc/rc.button directory. This patch follows similar changes for other Netgear ar71xx routers, for example WNR2000v3. It applies cleanly to both latest trunk and 17.01 branch. Tested on WNDR3700v1. Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl> (cherry picked from commit 45dc530334d8694a962d0833432effd14fa5cc4a)
* brcm2708: add squashfs rootfs imageChristian Lamparter2018-05-246-7/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds a image with squashfs as the root filesystem. A rootfs_data partition will be generated on the first boot and placed inside the rootfs partition (just after the squashfs image). advantages: - it is possible to migrate from an existing -ext4 installation and back via sysupgrade. - existing partition layout will not be lost. - slightly smaller image size. - support for attendedsysupgrade disadvantages: - needs f2fs + tools as well. This is because fs-tools decides on the blocksize of the sdcard. So either f2fs or ext4 can get choosen as the rootfs_data filesystem (depends on the size of the root partition). - rootfs_data is placed into the rootfs partition. This makes it difficult for tools that expect a /dev/mmc0pX device. It also makes it difficult for data recovery tools since they might not expect to find a embedded partition or will be confused. For people with existing build configurations: make sure to include mkf2fs and f2fsck package into the image... Otherwise the new -squashfs image will boot of a ram-overlay and won't keep the configurations after a reboot. Cc: Álvaro Fernández Rojas <noltari@gmail.com> Cc: Paul Spooren <spooren@informatik.uni-leipzig.de> Cc: Daniel Golle <daniel@makrotopia.org> Signed-off-by: Christian Lamparter <chunkeey@gmail.com> Acked-by: Daniel Golle <daniel@makrotopia.org> (cherry picked from commit 707b6c815bba34e9783d2695020bb17385fdcf1d)
* x86: Add APU3 reference to x86 board.dKristian Evensen2018-05-242-2/+2
| | | | | | | | | | | | There is a new APU-model available, APU3. The device is configured in the same way as the APU1 and APU2, so the same LED/network setup can be used. I considered changing the case to pc-engines-apu*, but I chose to follow the existing pattern and add the full board name. Signed-off-by: Kristian Evensen <kristian.evensen@gmail.com> (cherry picked from commit 8f9baf5e1a9300fe66ff90486182a1fd2e645d9e)
* apm821xx: backport and reassign crypto4xx patchesChristian Lamparter2018-05-2413-12/+1268
| | | | | | | | | | | | | | | | | | | | | This patch backports several patches that went upstream into Herbert Xu's cryptodev-2.6 tree: crypto: Use zeroing memory allocator instead of allocator/memset crypto: crypto4xx - performance optimizations crypto: crypto4xx - convert to skcipher crypto: crypto4xx - avoid VLA use crypto: crypto4xx - add aes-ctr support crypto: crypto4xx - properly set IV after de- and encrypt crypto: crypto4xx - extend aead fallback checks crypto: crypto4xx - put temporary dst sg into request ctx The older, outstanding patches from 120-wxyz series have been upstreamed as well and therefore they have been reassigned to fit into the series. Signed-off-by: Christian Lamparter <chunkeey@gmail.com> (cherry picked from commit 16e39624b728264bd4759580f6292bffefcae466)
* apm821xx: don't select swconfig for the MR24Christian Lamparter2018-05-241-1/+1
| | | | | | | | | | | The swconfig package is part of the DEFAULT_PACKAGES list in the apm821xx's nand subtarget. It's enabled by default because the MX60(W) and WNDR4700 need it for their initramfs. However the package is not necessary for the MR24's sysupgrade image, as the MR24 does not have a switch. Signed-off-by: Christian Lamparter <chunkeey@gmail.com> (cherry picked from commit e6e51ce87fac2d6b9d082336f8d767f12154d79b)
* ipq40xx: fix ethernet on ap-dk01.1Roman Yeryomin2018-05-241-0/+25
| | | | | | | | Not sure how it worked before but ethernet is disabled by default in ipq4019 dtsi. Signed-off-by: Roman Yeryomin <roman@advem.lv> (cherry picked from commit 1f42deec8edac3e99f83f7343cbd4fec29333345)
* brcm63xx: Tune the network configuration for several routersDaniel Gonzalez Cabanelas2018-05-241-3/+7
| | | | | | | | | - DGND3700v1: fix port numbers, they're in reverse order - FaST2704n: there is no WAN port identified as such, only 4 LAN - AD1018: configure the "FIBRE" port as WAN Signed-off-by: Daniel Gonzalez Cabanelas <dgcbueu@gmail.com> (cherry picked from commit fbbb97777297bf8a168b840c88d18d6e2079ce8f)
* kernel: bump 4.14 to 4.14.43 for 18.06Koen Vandeputte2018-05-2482-1053/+380
| | | | | | | | | | | | | | | | | | | | | Refreshed all patches Dropped upstreamed patches: 522-PCI-aardvark-fix-logic-in-PCI-configuration-read-write-functions.patch 523-PCI-aardvark-set-PIO_ADDR_LS-correctly-in-advk_pcie_rd_conf.patch 525-PCI-aardvark-use-isr1-instead-of-isr0-interrupt-in-legacy-irq-mode.patch 527-PCI-aardvark-fix-PCIe-max-read-request-size-setting.patch updated patches: 524-PCI-aardvark-set-host-and-device-to-the-same-MAX-payload-size.patch 030-USB-serial-option-fix-dwm-158-3g-modem-interface.patch Added new ARM64 symbol: CONFIG_ARM64_ERRATUM_1024718 Compile-tested on: cns3xxx, imx6, mvebu (arm64), x86_64 Runtime-tested on: cns3xxx, imx6, x86_64 Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* kernel: bump 4.9 to 4.9.102 for 18.06Koen Vandeputte2018-05-2436-273/+274
| | | | | | | | | | | Refreshed all patches Added new ARM64 symbol: ARM64_ERRATUM_1024718 Compile-tested on: ar71xx Runtime-tested on: ar71xx Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* netfilter: fix hardware offload regression (FS#1551)Felix Fietkau2018-05-173-13/+13
| | | | | | | The relevant code needs to be enabled even if flow table support is only compiled as module Signed-off-by: Felix Fietkau <nbd@nbd.name>
* octeontx: make board.d files executableMathias Kresin2018-05-171-0/+0
| | | | | | | Add the executable permission to the files to ensure they run on firstboot. Signed-off-by: Mathias Kresin <dev@kresin.me>
* Revert "ramips: mmc: Sync with staging drivers"John Crispin2018-05-155-2693/+3418
| | | | | | This reverts commit 2d401925b9bdf34de800fff57f593a3665de2a6a. Signed-off-by: John Crispin <john@phrozen.org>
* staging: mt7621-eth: fix return value check in mt7621_gsw_probe()Wei Yongjun2018-05-153-6/+6
| | | | | | | | | | In case of error, the function devm_ioremap_resource() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Fixes: f079b6406348 ("staging: mt7621-eth: add gigabit switch driver (GSW)") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: mt7621-eth: fix return value check in mtk_connect_phy_node()Wei Yongjun2018-05-151-2/+2
| | | | | | | | | | In case of error, the function of_phy_connect() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test. Fixes: e3cbf478f846 ("staging: mt7621-eth: add the drivers core files") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: mt7621-eth: fix return value check in mtk_probe()Wei Yongjun2018-05-151-1/+1
| | | | | | | | | | In case of error, the function devm_ioremap_resource() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Fixes: e3cbf478f846 ("staging: mt7621-eth: add the drivers core files") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* ramips: pci: sync with staging driverRosen Penev2018-05-151-168/+150
| | | | | | | | | | This is an amagalmation of two upstream commits dealing with whitespace and dead code removal. I'm synching instead of having two separate commits as they go out of order compared to previous commits here. Tested on GnuBee PC1. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* ramips: mmc: Sync with staging driversRosen Penev2018-05-155-3418/+2693
| | | | | | | | | | | | | Mostly whitespace cleanups. Some unneeded code was removed. MMC init was also moved to the probe function as in 6069bdd0871a20b5adce8d2f677946e05a2da609 The cleanup commits are over 100, making it hard to do them individually. Tested on GnuBee PC1 with an SD card being used as swap. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* ramips: Add i2c support for mt7620nMatthias Badaire2018-05-151-0/+23
| | | | | | I2c is supported on mt7620n like on mt7620a when checking the datasheet Signed-off-by: Matthias Badaire <mbadaire@gmail.com>
* kirkwood: support for buttons in Audi and ViperAlberto Bursi2018-05-151-2/+2
| | | | | | | | | | | | Both these devices have a wps and a reset button on GPIO pins, which need kmod-gpio-button-hotplug package to work. Add this package to their default package config. Troubleshooted and tested on a Viper. Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it>
* ath79: fix gmac compatible in ar9330.dtsi and ag71xx_setup_gmac_933xJohann Neuhauser2018-05-152-2/+2
| | | | | | | | | 1. compatible property in node gmac was wrong 2. ag71xx_setup_gmac_933x should use np of gmac-config and not the pointer to gmac. gmac is only used for the reg address. Signed-off-by: Johann Neuhauser <johann@it-neuhauser.de>
* mvebu: add support for WRT32X (venom)Michael Gray2018-05-1413-7/+241
| | | | | | | | | | | | | | | | | | Linksys WRT32X (Venom) is identical in hardware to the WRT3200ACM with a different flash layout and boots zImage rather than uImage. Specification: - Marvell Armada 385 88F6820 (2x 1.8GHz) - 256MB of Flash - 512MB of RAM - 2.4GHz (bgn) and 5GHz (an+ac wave 2) - 4x 1Gbps LAN + 1x 1Gbps WAN - 1x USB 3.0 and 1x USB 2.0/eSATA (combo port) Flash instruction: Apply factory image via web-gui. Signed-off-by: Michael Gray <michael.gray@lantisproject.com>
* gemini: Augment DIR-685 device tree for RTL8366RBLinus Walleij2018-05-141-1/+70
| | | | | | | This makes the ethernet and RTL8366RB come up on the D-Link DIR-685. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
* gemini: create zImage for DIR-685Linus Walleij2018-05-141-3/+8
| | | | Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
* ramips: remove unnecessary resource details.NeilBrown2018-05-141-15/+2
| | | | | | | | These resources are extracted from devicetree, so they aren't needed here. Signed-off-by: NeilBrown <neil@brown.name> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* ramips: remove conditional compilation.NeilBrown2018-05-141-58/+8
| | | | | | | | | | | | | Code currently defines: and then compiles code only if they are defined. We might want to disable some of these via devicetree one day, but for now just remove the #defines and the conditions - all the code for different ports is easy to identify. Signed-off-by: NeilBrown <neil@brown.name> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* ramips: improve interrupt mappingNeilBrown2018-05-142-69/+14
| | | | | | | | | | | | | | As the Interrupts for the PCI adapters are listed in devicetree we shouldn't need to have them explicit in the code. The simplest way to do this is to use of_irq_parse_and_map_pci() and specify an interrupt-map which identifies the different PCI hosts by bus/slot numbers. This has the advantage that the hwirq number are mapped to virq numbers for us, so the ugly hack can go. Signed-off-by: NeilBrown <neil@brown.name> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* ramips: Remove redundant owner assignmentChristian Lütke-Stetzkamp2018-05-141-1/+0
| | | | | | | | | Remove the owner assignment form the platform driver as platform_driver_register() already initializes the owner. Found using coccinelle. Signed-off-by: Christian Lütke-Stetzkamp <christian@lkamp.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* ramips: Move PCI driver to files directoryRosen Penev2018-05-142-842/+837
| | | | | | This will make it easier to port upstream code. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* at91: sama5d4: fix bad mkubifs optionsJo-Philipp Wich2018-05-131-1/+1
| | | | | | | | | | | Drop the "-x lzo" compression type override from MKUBIFS_OPTS since we do not support it in mkfs.ubifs. Attempting to use LZO compression results in "Error: bad compressor name". The build system also appends an explicit "--compr=zlib" to the mkfs command line, turning the "-x" flag into a no-op anyway. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* kernel: use accepted version of bcm47xxpart fix commitRafał Miłecki2018-05-123-3/+18
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: backport mtd patch for minor partitioning cleanupRafał Miłecki2018-05-1214-28/+364
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: fix build error in flow offload code with CONFIG_NETFILTER=nFelix Fietkau2018-05-123-17/+41
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* bcm53xx: backport the first bunch of 4.18 BCM5301X patchesRafał Miłecki2018-05-1210-6/+837
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* at91: cleanup kernel configurationsJo-Philipp Wich2018-05-115-1104/+141
| | | | | | | | | | The subtarget configurations contained a lot of reduntant symbols, arbitrary overrides and symbols set to =m. Remove most of these redundant settings to shrink the subtarget configurations to a manageable size. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* at91: sama5d2: remove CONFIG_XZ_DEC overrideJo-Philipp Wich2018-05-111-5/+0
| | | | | | | | | Fixes the following error spotted by the buildbot: Package kmod-fs-squashfs is missing dependencies for the following libraries: xz_dec.ko Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* at91: add missing config symbolsJo-Philipp Wich2018-05-112-0/+3
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* kernel: rtl8366_smi: guard of_mdiobus_register() callJo-Philipp Wich2018-05-111-1/+5
| | | | | | | | Make the call to of_mdiobus_register() dependant on CONFIG_OF to avoid pulling in an unwanted dependency on of_mdio.ko. Fixes: 3dc523f232 kernel: add OF support to rtl8355 driver Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ar71xx: fix and improve ALFA Network Tube2H supportPiotr Dymacz2018-05-091-1/+12
| | | | | | | | | Fix ART offset (make it universal for 8/16 MB versions of the board) and while at it, include also GPIO setup for h/w watchdog (EM6324QYSP5B). Fixes: FS#1532 Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* ath79: Ubiquiti Airmax M: add relocate-kernel to invalidate cacheMatthias Schiffer2018-05-082-0/+14
| | | | | | Apply ar71xx fix for broken Ubiquiti bootloader to ath79 as well. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* ramips: move mtk-mmc init to probe function to avoid breaking NAND flashFelix Fietkau2018-05-081-36/+28
| | | | | | | The driver messes with the pin control settings - MMC and NAND are mutually exclusive Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ramips: clean up the mt7621 nand flash driver hacks, add support for the ↵Felix Fietkau2018-05-083-79/+37
| | | | | | xiaomi mir3g flash chip Signed-off-by: Felix Fietkau <nbd@nbd.name>