aboutsummaryrefslogtreecommitdiffstats
path: root/target
Commit message (Collapse)AuthorAgeFilesLines
* mvebu: fix broken console on WRT32X (venom)Michael Gray2018-06-013-0/+208
| | | | | | | | | | | | | | | The console bootarg is being corrupted on boot, causing various issues including broken sysupgrade. Utilising the bootargs mangle patch from other targets, hardcode the console arguments and fetch the rootfs from the bootloader. Kernel command line: console=ttyS0,115200 root=/dev/mtdblock8 Bootloader command line (ignored): console= root=/dev/mtdblock8 Please cherry pick to 18.06 too Signed-off-by: Michael Gray <michael.gray@lantisproject.com>
* oxnas: bring in new oxnas targetDaniel Golle2018-06-0138-0/+6350
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Reboot the oxnas target based on Linux 4.14 by rebasing our support on top of the now-existing upstream kernel support. This commit brings oxnas support to the level of v4.17 having upstream drivers for Ethernet, Serial and NAND flash. Botch up OpenWrt's local drivers for EHCI, SATA and PCIe based on the new platform code and device-tree. Re-introduce base-files from old oxnas target which works for now but needs further clean-up towards generic board support. Functional issues: * PCIe won't come up (hence no USB3 on Shuttle KD20) * I2C bus of Akitio myCloud device is likely not to work (missing debounce support in new pinctrl driver) Code-style issues: * plla/pllb needs further cleanup -- currently their users or writing into the syscon regmap after acquireling the clk instead of using defined clk_*_*() functions to setup multipliers and dividors. * PCIe phy needs its own little driver. * SATA driver is a monster and should be split into an mfd having a raidctrl regmap, sata controller, sata ports and sata phy. Tested on MitraStar STG-212 aka. Medion Akoya MD86xxx and Shuttle KD20. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: kill old oxnas targetDaniel Golle2018-06-0162-15085/+0
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: re-add export ipv6_push_frag_opts for tunneling now patchHans Dedecker2018-06-012-0/+31
| | | | | | | The patch got removed by commit 7dca1bae82 (kernel: bump to 4.9.105) but is still required as ipv6_push_frag_opts needs to be exported. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* Revert "ramips: Move PCI driver to files directory"John Crispin2018-06-012-837/+842
| | | | | | This reverts commit a098a78a33a6b096d15c9982b5d6457988e09f03. Signed-off-by: John Crispin <john@phrozen.org>
* Revert "ramips: Remove redundant owner assignment"John Crispin2018-06-011-0/+1
| | | | | | This reverts commit 2ad4daf5794b08878467c1dac5bef7487109e4da. Signed-off-by: John Crispin <john@phrozen.org>
* Revert "ramips: improve interrupt mapping"John Crispin2018-06-012-14/+69
| | | | | | This reverts commit 5f7396ebef09b224edf08b0bda113613a42f0928. Signed-off-by: John Crispin <john@phrozen.org>
* Revert "ramips: remove conditional compilation."John Crispin2018-06-011-8/+58
| | | | | | This reverts commit 1f786257147f978ce4c5750fdc404851453fafcb. Signed-off-by: John Crispin <john@phrozen.org>
* Revert "ramips: remove unnecessary resource details."John Crispin2018-06-011-2/+15
| | | | | | This reverts commit edea934799911c54ffa7024ef9a650f9dfc8c695. Signed-off-by: John Crispin <john@phrozen.org>
* Revert "ramips: pci: sync with staging driver"John Crispin2018-06-011-150/+168
| | | | | | This reverts commit e07baec9faf487fd143976636025b5da55e13c20. Signed-off-by: John Crispin <john@phrozen.org>
* Revert "ramips: Add back some non-mt7621 code that staging removed"John Crispin2018-06-011-17/+1
| | | | | | This reverts commit 048e41f6496697863cc7d73ab95fa89a6ddf2470. Signed-off-by: John Crispin <john@phrozen.org>
* Revert "ramips: Fix WiFi after 5f7396ebef09b224edf08b0bda113613a42f0928"John Crispin2018-06-0121-0/+82
| | | | | | This reverts commit 02f815d1907cdd7e042415a2b4a749c819087168. Signed-off-by: John Crispin <john@phrozen.org>
* kernel: bump to 4.9.105Kevin Darbyshire-Bryant2018-06-0135-640/+398
| | | | | | | | | | | | | | | Refresh patches. Drop patches that have been upstreamed: target/linux/ar71xx/patches-4.9/106-01-MIPS-ath79-fix-AR724X_PLL_REG_PCIE_CONFIG-offset.patch target/linux/generic/backport-4.9/095-v4.12-ipv6-Need-to-export-ipv6_push_frag_opts-for-tunnelin.patch target/linux/generic/pending-4.9/180-net-phy-at803x-add-support-for-AT8032.patch target/linux/generic/pending-4.9/181-net-usb-add-lte-modem-wistron-neweb-d18q1.patch target/linux/generic/pending-4.9/182-net-qmi_wwan-add-BroadMobi-BM806U-2020-2033.patch Compile & run tested: ar71xx Archer C7 v2 Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
* ath79: correct wmac names in dtsAlex Maclean2018-06-012-2/+2
| | | | Signed-off-by: Alex Maclean <monkeh@monkeh.net>
* ath79: add TP-Link TL-WR703N portAlex Maclean2018-06-013-0/+150
| | | | Signed-off-by: Alex Maclean <monkeh@monkeh.net>
* ath79: add TP-Link TL-WR740N/ND v2 portAlex Maclean2018-06-015-0/+197
| | | | Signed-off-by: Alex Maclean <monkeh@monkeh.net>
* ath79: add pinmux node to ar724x.dtsiAlex Maclean2018-06-011-0/+15
| | | | Signed-off-by: Alex Maclean <monkeh@monkeh.net>
* ath79: add AR7240 dtsiAlex Maclean2018-06-011-0/+66
| | | | Signed-off-by: Alex Maclean <monkeh@monkeh.net>
* ath79: add tiny subtargetAlex Maclean2018-06-018-79/+120
| | | | Signed-off-by: Alex Maclean <monkeh@monkeh.net>
* ath79: fix glinet ar150 lan/wan orderingJohn Crispin2018-06-011-0/+4
| | | | | | LAN and WAN were swapped Signed-off-by: John Crispin <john@phrozen.org>
* Revert "kernel: backport export ipv6_push_frag_opts for tunneling now"Daniel Golle2018-06-012-31/+0
| | | | | | | | | This reverts commit daa73b63d5dc5eb264341336c0d7cd64d750664d. The fix has already been imported by commit b7735d8113 ("kernel: import follow-up fix for previous backport"). The patch won't apply twice. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: backport export ipv6_push_frag_opts for tunneling nowHans Dedecker2018-05-312-0/+31
| | | | | | | Patch is required on top of commit 6c81c27efa as ipv6_push_frag_opts needs to be exported for usage in ip6_tunnel.c Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* kernel: import follow-up fix for previous backportDaniel Golle2018-05-311-0/+36
| | | | | | | | Buildbots complaining made me wonder what's going on... ERROR: "ipv6_push_frag_opts" [net/ipv6/ip6_tunnel.ko] undefined! Fixes: 6c81c27efa ("kernel: backport fix for missing tunnel encapsulation limit option") Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: backport fix for missing tunnel encapsulation limit optionHans Dedecker2018-05-301-0/+50
| | | | Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* ramips: Use generic board detect for GnuBee devicesRosen Penev2018-05-306-9/+6
| | | | | | | | | | | This is a port of an old commit from mkresin's tree: 09260cdf3e9332978c2a474a58e93a6f2b55f4a8 This has the potential to break sysupgrade but it should be fine as there is no stable release of LEDE or OpenWrt that support these devices. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* ramips: Fix a few other GnuBee DTS differencesRosen Penev2018-05-302-1/+4
| | | | | | | | | | I was carrying a local commit that added the sdhci stuff and missed it as a result. Also fix the rgmii3 thing in the PC2 DTS file as that's bogus and causes a dmesg warning that it's bogus. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* ramips: Fix WiFi after 5f7396ebef09b224edf08b0bda113613a42f0928Rosen Penev2018-05-3021-82/+0
| | | | | | | | | | | | | That commit exposed a bug in the DTS files used by mt7621 where the wrong reg value for pcie1 (and potentially pcie2) was being used. This was causing WiFi failures for interfaces in pcie1. eg. 2.4GHz working but not 5GHz. As all of these dts entries are already specified in mt7621.dtsi, remove them. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* kernel: bump 4.14 to 4.14.44Stijn Tintel2018-05-29127-1350/+454
| | | | | | | | | | | | | | Refresh patches. Remove upstreamed patch: generic/pending/181-net-usb-add-lte-modem-wistron-neweb-d18q1.patch Update patches that no longer applies: generic/hack/901-debloat_sock_diag.patch Compile-tested on: x86/64. Runtime-tested on: x86/64. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* mediatek: add missing symbols for mt7622John Crispin2018-05-281-1/+1
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* mediatek: add missing symbolsJohn Crispin2018-05-272-8/+8
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ar71xx: add support for GL.iNet GL-AR750SLuo chongjun2018-05-2712-0/+234
| | | | | | | | | | | | | | | | | | | This patch adds supports for GL-AR750S. Specification: - SOC: QCA9563 (775MHz) - Flash: 16 MiB (W25Q128FVSG) - RAM: 128 MiB DDR2 - Ethernet: 2x 1Gbps LAN + 1x 1Gbps WAN - Wireless: 2.4GHz (bgn) and 5GHz (ac) - USB: 1x USB 2.0 port - Button: 1x switch button, 1x reset button - LED: 3x LEDS (green) Flash instruction: Apply factory image via web-gui. Signed-off-by: Luo chongjun <luochongjun@gl-inet.com>
* ar71xx: fix bad "proto" references in default network configurationJo-Philipp Wich2018-05-251-2/+2
| | | | | | | | | This change was originally meant to go along with the ucidef_set_interface() fixup. Fixes: 7e664b7c2d ("base-files: fix ucidef_set_interface() protocol selection") Fixes: 85048a9c1f ("base-files: rework _ucidef_set_interface to be more generic") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* mediatek: add mt7622 subtargetJohn Crispin2018-05-247-1/+565
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* mediatek: backport upstream mediatek patchesJohn Crispin2018-05-24130-99/+21978
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ath79: initial tl-wr1043nd v1 supportLucian Cristian2018-05-243-14/+93
| | | | | Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com> Signed-off-by: John Crispin <john@phrozen.org>
* kernel: add reset control support to rtl8366 driverJohn Crispin2018-05-244-8/+25
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ath79: fix adjust_link callback for ar9130John Crispin2018-05-241-0/+2
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ath79: make ahb wifi workJohn Crispin2018-05-243-0/+46
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* base-files: rework _ucidef_set_interface to be more genericRoman Yeryomin2018-05-241-3/+3
| | | | | | | | | | | | This is a rework of previously submitted patch reworking ucidef_set_interface_raw [1]. Here, keep the idea but instead make _ucidef_set_interface more generic and use it instead of ucidef_set_interface_raw. Also change the users like ucidef_set_interface_lan and others. [1] https://patchwork.ozlabs.org/patch/844961/ Signed-off-by: Roman Yeryomin <roman@advem.lv>
* kernel: bump 4.14 to 4.14.43Koen Vandeputte2018-05-2468-964/+967
| | | | | | | | | | Refreshed all patches Compile-tested on: cns3xxx, imx6, x86_64 Runtime-tested on: cns3xxx, imx6, x86_64 Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com> Tested-by: Michael Yartys <michael.yartys@protonmail.com>
* ramips: Fix up GnuBee PC1 DTS file a littleRosen Penev2018-05-241-7/+1
| | | | | | | | There's nothing connected to i2c on this board, so remove it. Also edited the gpio group to match the PC2 as they're the same. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* ramips: Add back some non-mt7621 code that staging removedRosen Penev2018-05-241-1/+17
| | | | | | Staging is meant only for mt7621 but for OpenWrt more is needed. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* brcm47xx: add switch port mapping to Asus WL-500WMirko Parthey2018-05-241-1/+1
| | | | | | | | | | | Switch ports 0..3 are connected to external ports LAN{1..4} in sequence, switch port 4 is not used, and switch port 5 is connected to the CPU. The WAN port is attached to the CPU's second network interface; it has no connection to the internal switch. Reuse the "Dell TrueMobile 2300" entry, which describes the same mapping. Signed-off-by: Mirko Parthey <mirko.parthey@web.de>
* kernel: mark all v3.18 and v4.4 kernels are source-onlyJohn Crispin2018-05-247-7/+7
| | | | | | These will be removed if not updated to v4.4 Signed-off-by: John Crispin <john@phrozen.org>
* ramips: fix to mt7620a and add support for i2c on WD03Matthias Badaire2018-05-221-1/+5
| | | | | | | | | There was an error on initial commit, the proper soc is mt7620n (which is more limited than mt7620a). Moreover, there is a battery management controller connected to the i2c port of the mt7620n. I have a small piece of i2c code to get battery level coming. Signed-off-by: Matthias Badaire <mbadaire@gmail.com>
* ath79: preliminary support for TP-Link WDR3600 / WDR4300 (AR9344)Johann Neuhauser2018-05-2210-2/+548
| | | | | | | | | | | | | | | | working: - leds - buttons - lan / wan - usb (hub port 1 + 2) - wifi 5g - sysupgrade - ... not working: - wifi 2g Signed-off-by: Johann Neuhauser <johann@it-neuhauser.de>
* kernel: bump 4.14 to 4.14.42Koen Vandeputte2018-05-226-21/+21
| | | | | | | | | Refreshed all patches Compile-tested on: cns3xxx, imx6, 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.101Koen Vandeputte2018-05-223-15/+15
| | | | | | | | | Refreshed all patches Compile-tested on: ar71xx Runtime-tested on: ar71xx Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* ipq806x: drop "mtd: nand: add Winbond manufacturer and chip"Stefan Lippers-Hollmann2018-05-221-38/+0
| | | | | | The W25N01GV NAND is currently not used in any ipq806x device. Signed-off-by: Stefan Lippers-Hollmann <s.l-h@gmx.de>
* ipq806x: drop linux 4.9 supportStefan Lippers-Hollmann2018-05-2287-29438/+0
| | | | Signed-off-by: Stefan Lippers-Hollmann <s.l-h@gmx.de>