aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
Commit message (Collapse)AuthorAgeFilesLines
* CC: kernel: update to 3.18.45, refresh targetschaos_calmerZoltan HERPAI2016-12-1918-26/+26
| | | | | | | Compile-tested on ar71xx, imx6, lantiq, mvebu Runtime-tested on sunxi. Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* Merge pull request #264 from wigyori/cc-dm9601Zoltan Herpai2016-12-181-0/+14
|\ | | | | CC: brcm2708: Fix Kernel Panic: DM9601 Fast Ethernet Adapter
| * CC: brcm2708: Fix Kernel Panic: DM9601 Fast Ethernet AdapterMarian Hello2016-12-071-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The dm9601 driver expects to receive a single encapsulated ethernet frame from the device in one URB transfer, and it provides an URB buffer of length 1,522 to receive it. This is not a round multiple of USB transfer packets. The device in question [1] provides a stream of such frames and it does not conveniently slice them up as the dm9601 driver expects. We can end up with 1,536 (0x600) bytes returned by the device in response to the URB request. This may include several encapsulated ethernet frames, and/or fragments thereof. It seems to me that the kernel 'Oops' arises because the dwc_otg driver does not notice that the destination buffer is too small to receive the full 1,536 bytes. Comparing dwc_otg's update_urb_state_xfer_comp with dwc2's dwc2_update_urb_state is suggestive. More details: https://github.com/raspberrypi/linux/issues/1045 All Credits to: https://github.com/mw9 Signed-off-by: Marian Hello <marian.hello@gmail.com> Reviewed-by: Zoltan HERPAI <wigyori@uid0.hu>
* | CC: ar71xx: Added missing support for Linksys E2100LGad Krumholz2016-11-308-3/+162
| | | | | | | | | | | | | | | | It's based on the WRT160NL according to https://wiki.openwrt.org/toh/linksys/e2100l Based on research done here: https://forum.openwrt.org/viewtopic.php?id=24244 and here: https://forum.openwrt.org/viewtopic.php?pid=120791#p120791 this patch was conceived. Signed-off-by: Gad Krumholz <gad.krumholz@gmail.com>
* | CC: ar71xx: fix syntax error in /etc/uci-defaults/01_ledsMatthias Schiffer2016-11-061-1/+1
| | | | | | | | | | | | Fixes f98117a "CC: ar71xx: backport LED fix for TL-WR841N-v11". Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* | Merge pull request #158 from Shalzz/chaos_calmerZoltan Herpai2016-10-298-4/+82
|\ \ | | | | | | CC: ar71xx: backport LED fix for TL-WR841N-v11
| * | CC: ar71xx: backport LED fix for TL-WR841N-v11Shaleen Jain2016-10-288-4/+82
| | | | | | | | | | | | Signed-off-by: Shaleen Jain <shaleen.jain95@gmail.com>
* | | Merge pull request #141 from mumuqz/chaos_calmerZoltan Herpai2016-10-2811-0/+271
|\ \ \ | |/ / |/| | CC: ar71xx: Add support to DomyWifi DW33D
| * | CC: ar71xx: Add support to DomyWifi DW33DJing Lin2016-10-2811-0/+271
| |/ | | | | | | Signed-off-by: Jing Lin <mumuqz@163.com>
* / CC: generic: bump kernel to 3.18.44Zoltan HERPAI2016-10-2550-127/+118
|/ | | | | | | | | Patch 610- is updated as check_entry helper was killed in 3.18.37 Fixes CVE-2016-5195 (dirtycow) Compile-tested on ar71xx, mxs, sunxi, imx6 Runtime-tested on ar71xx (PB42) Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* mvebu: bugfixes for rangoImre Kaloz2016-10-182-8/+9
| | | | | | backport of ce116bc6f997d8d6e6b976cacce5d4c60d705fc6 Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
* mvebu: add support for the Linksys WRT3200ACM (Rango)Imre Kaloz2016-10-1311-9/+465
| | | | | | backport of 50e627ac06112eb633222cc72af5c4fe60f3dbb9 Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
* Merge pull request #105 from wigyori/chaos_calmerZoltan Herpai2016-09-2932-209/+112
|\ | | | | CC: openssl security upgrade, sync updates from git.openwrt.org/chaos_calmer
| * ramips: fix usb phy initialisationJohn Crispin2016-09-291-13/+13
| | | | | | | | | | | | this broke usb20 device detection. Signed-off-by: John Crispin <john@phrozen.org>
| * ramips: fix timing issues when using MT7621 spiJohn Crispin2016-09-291-1/+4
| | | | | | | | Signed-off-by: John Crispin <john@phrozen.org>
| * CC: kernel: update kernel 3.18 to version 3.18.36Hauke Mehrtens2016-09-2931-195/+95
| | | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* | ar71xx: add MR1750v2 to the MR1750 profileSven Eckelmann2016-09-211-2/+2
| | | | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* | ar71xx: extract ath10k wifi board.bin for the OpenMesh MR1750v2 boardSven Eckelmann2016-09-211-0/+1
| | | | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* | ar71xx: enable sysupgrade for the OpenMesh MR1750v2Sven Eckelmann2016-09-212-0/+3
| | | | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* | ar71xx: add user-space support for the OpenMesh MR1750v2Sven Eckelmann2016-09-214-2/+8
| | | | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* | ar71xx: add kernel support for the OpenMesh MR1750v2Sven Eckelmann2016-09-212-0/+11
| | | | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* | ar71xx: add OM2P-HSv3 to the OM2P profileSven Eckelmann2016-09-211-2/+2
| | | | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* | ar71xx: enable sysupgrade for the OpenMesh OM2P-HSv3Sven Eckelmann2016-09-212-0/+3
| | | | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* | ar71xx: add user-space support for the OpenMesh OM2P-HSv3Sven Eckelmann2016-09-213-0/+5
| | | | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* | ar71xx: add kernel support for the OpenMesh OM2P-HSv3Sven Eckelmann2016-09-212-0/+11
| | | | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* | ar71xx: add OM5P-ACv2 to the OM5P-AC profileSven Eckelmann2016-09-211-2/+2
| | | | | | | | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r49155
* | ar71xx: extract ath10k wifi board.bin for the OpenMesh OM5P-ACv2 boardSven Eckelmann2016-09-211-1/+2
| | | | | | | | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r49154
* | ar71xx: enable sysupgrade for the OpenMesh OM5P-ACv2Sven Eckelmann2016-09-212-2/+5
| | | | | | | | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r49151
* | ar71xx: add user-space support for the OpenMesh OM5P-ACv2Sven Eckelmann2016-09-212-1/+5
| | | | | | | | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r49150
* | ar71xx: add kernel support for the OpenMesh OM5P-ACv2 boardSven Eckelmann2016-09-213-0/+256
| | | | | | | | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r49149
* | ar71xx: create profile and build image for the OpenMesh OM5P-AC boardSven Eckelmann2016-09-212-1/+13
| | | | | | | | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r49148
* | ar71xx: extract ath10k wifi board.bin for the OpenMesh OM5P-AC boardSven Eckelmann2016-09-211-0/+4
| | | | | | | | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r49147
* | ar71xx: enable sysupgrade for the OpenMesh OM5P-ACSven Eckelmann2016-09-212-3/+10
| | | | | | | | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r49144
* | ar71xx: add user-space support for the OpenMesh OM5P-ACSven Eckelmann2016-09-213-0/+11
| | | | | | | | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r49142
* | ar71xx: add kernel support for the OpenMesh OM5P-AC boardSven Eckelmann2016-09-213-0/+232
| | | | | | | | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r49141
* | ar71xx: Use private version of ath79_setup_qca955x_eth_cfg for MR1750Sven Eckelmann2016-09-211-1/+23
| | | | | | | | | | | | | | | | | | | | | | | | The MR1750 must unset some bits in ETH_CFG which were set by u-boot to work correctly under OpenWrt. But the global function ath79_setup_qca955x_eth_cfg will not unset all of them to increase the backward compatiblity with older mach-* files. A private (simplified) version for MR1750 can be used instead. Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r49070
* | ar71xx: Use private version of ath79_setup_qca955x_eth_cfg for MR900Sven Eckelmann2016-09-211-1/+23
| | | | | | | | | | | | | | | | | | | | | | | | The MR900 must unset some bits in ETH_CFG which were set by u-boot to work correctly under OpenWrt. But the global function ath79_setup_qca955x_eth_cfg will not unset all of them to increase the backward compatiblity with older mach-* files. A private (simplified) version for MR900 can be used instead. Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r49069
* | ar71xx: Use PHY fixups for Open Mesh MR1750Sven Eckelmann2016-09-211-3/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The delays of PHY/MAC on the MR1750 are done by u-boot and OpenWrt in different ways. u-boot only modifies the ETH_CFG of the QCA955x based on the link speed. But OpenWrt can only modify the PHY delays based on the link speed. This can lead to communication problems when u-boot initializes the ETH_CFG for a specific link speed (e.g. 10BASE-T) but then OpenWrt the sets the PHY delays to an incompatible value. Instead reset the ETH_CFG delay bits of the QCA955x to a specific value and only rely on the AT803x PHY settings. Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r49031
* | ar71xx: Use PHY fixups for Open Mesh MR900Sven Eckelmann2016-09-211-3/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The delays of PHY/MAC on the MR900 are done by u-boot and OpenWrt in different ways. u-boot only modifies the ETH_CFG of the QCA955x based on the link speed. But OpenWrt can only modify the PHY delays based on the link speed. This can lead to communication problems when u-boot initializes the ETH_CFG for a specific link speed (e.g. 10BASE-T) but then OpenWrt the sets the PHY delays to an incompatible value. Instead reset the ETH_CFG delay bits of the QCA955x to a specific value and only rely on the AT803x PHY settings. Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r49030
* | ar71xx: Add QCA955X GPIO mux and function definitionsSven Eckelmann2016-09-212-28/+77
| | | | | | | | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r49075
* | ar71xx: Add support for ath79_gpio_function_* on QCA955XSven Eckelmann2016-09-211-1/+11
| | | | | | | | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r49074
* | ar71xx: Allow to use ath79_gpio_output_select on QCA955xSven Eckelmann2016-09-211-0/+60
| | | | | | | | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r46459
* | ar71xx: Use *_eth_cfg helper for Open Mesh MR900 boardsSven Eckelmann2016-09-211-20/+1
| | | | | | | | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r46241
* | ar71xx: Extend the list of bits in QCA955X_GMAC_REG_ETH_CFGSven Eckelmann2016-09-211-1/+18
| | | | | | | | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r49027
* | ar71xx: create profile and build image for the OpenMesh MR1750 boardSven Eckelmann2016-09-212-2/+14
| | | | | | | | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r46932
* | ar71xx: enable sysupgrade for the OpenMesh MR1750Sven Eckelmann2016-09-212-1/+8
| | | | | | | | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r46929
* | ar71xx: add user-space support for the OpenMesh MR1750 boardSven Eckelmann2016-09-214-0/+13
| | | | | | | | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r46927
* | ar71xx: add kernel support for the OpenMesh MR1750 boardSven Eckelmann2016-09-213-0/+169
| | | | | | | | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r46926
* | ar71xx: Generate sysupgrade images for OpenMesh devicesSven Eckelmann2016-09-211-0/+3
|/ | | | | | | | | | | | Some OpenWrt based firmwares like Gluon expect that a sysupgrade image exists when a device firmware can be updated via sysupgrade. This image wasn't created until now because OpenMesh devices use the same image for factory and sysupgrade flash. Copying the image from *factory.bin to *sysupgrade.bin is therefore enough to make the sysupgrade functionality visible. Reported-by: Matthias Schiffer <mschiffer@universe-factory.net> Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* kernel: use backported versions of bgmac patchesRafał Miłecki2016-06-197-41/+61
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49298 3c298f89-4303-0410-b956-a3cf2f4a3e73