- 26 Dec, 2019 1 commit
-
-
Hauke Mehrtens authored
Refreshed all patches. Compile-tested on: ipq40xx Runtime-tested on: none Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de>
-
- 25 Dec, 2019 1 commit
-
-
Koen Vandeputte authored
Refreshed all patches. Fixes: - CVE-2019-19332 Compile-tested on: cns3xxx Runtime-tested on: cns3xxx Signed-off-by:
Koen Vandeputte <koen.vandeputte@ncentric.com>
-
- 23 Dec, 2019 4 commits
-
-
Jiri Kastner authored
apache mirrors holds only latest releases, to download older releases, one must use archive.apache.org to get them. Signed-off-by:
Jiri Kastner <cz172638@gmail.com> (cherry picked from commit dc34c695)
-
Sungbo Eo authored
Unloading and reloading the modules fails, as platform_device_put() does not release resources fully. root@OpenWrt:/# insmod i2c-gpio-custom bus0=0,18,0,5 [ 196.860620] Custom GPIO-based I2C driver version 0.1.1 [ 196.871162] ------------[ cut here ]------------ [ 196.880517] WARNING: CPU: 0 PID: 1365 at fs/sysfs/dir.c:31 0x80112158 [ 196.893431] sysfs: cannot create duplicate filename '/devices/platform/i2c-gpio.0' ... [ 197.513200] kobject_add_internal failed for i2c-gpio.0 with -EEXIST, don't try to register things with the same name in the same directory. This patch fixes it by replacing platform_device_put() to platform_device_unregister(). Fixes: da774085 ("i2c-gpio-custom: minor bugfix") Fixes: 3bc81edc ("package: fix w1-gpio-custom package (closes #6770)") Signed-off-by:
Sungbo Eo <mans0n@gorani.run> (cherry picked from commit a22b7a60)
-
Yorkie Liu authored
This fixes gcc build error within clang 11.0, it tweaks the version string from LLVM to clang. Signed-off-by:
Yorkie Liu <yorkiefixer@gmail.com> (cherry picked from commit 65a561fd)
-
Aleksander Jan Bajkowski authored
led2l and led2h value is incorrectly set by led3l and led3h. Bug was introduced in commit: 863e79f8 Signed-off-by:
Aleksander Jan Bajkowski <A.Bajkowski@stud.elka.pw.edu.pl> Fixes: 863e79f8 ("lantiq: add support for kernel 4.9") (cherry picked from commit 69239022)
-
- 22 Dec, 2019 2 commits
-
-
Jo-Philipp Wich authored
5f9ae57 client: fix invalid data access through invalid content-length values 6b03f96 ubus: increase maximum ubus request size to 64KB 91fcac3 uhttpd: Fix multiple format string problems Signed-off-by:
Jo-Philipp Wich <jo@mein.io> (backported from commit f34f9a41)
-
Felix Fietkau authored
dnsmasq (and probably other DHCP servers as well) does not like to hand out leases with duplicate host names. Adding support for skipping the hostname makes it easier to deploy setups where it is not guaranteed to be unique Signed-off-by:
Felix Fietkau <nbd@nbd.name> (cherry picked from commit fd8ca8de)
-
- 20 Dec, 2019 1 commit
-
-
Sungbo Eo authored
The current ethernet MAC address setup of TL-WDR4300 board is different from the setup of stock firmware: OpenWrt: lan = label_mac -2, wan = label_mac -2 stock: lan = label_mac, wan = label_mac +1 This patch applies to all devices using TL-WDR4300 board: TL-WDR3600 v1 TL-WDR4300 v1 TL-WDR4300 v1 (IL) TL-WDR4310 v1 Mercury MW4530R v1 Signed-off-by:
Sungbo Eo <mans0n@gorani.run> (cherry picked from commit 9b02d32e)
-
- 11 Dec, 2019 2 commits
-
-
Martin Schiller authored
The Mikrotik RBM33G has only 2 LAN ports. Signed-off-by:
Martin Schiller <ms@dev.tdt.de> [moved node in 02_network to maintain alphabetic sorting; backport] Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> (cherry picked from commit 3a55c793)
-
Walter Sonius authored
Physical port order watched from the backside of the C20i (from left to right) is: Internet / 1 / 2 / 3 / 4 Physical Port Switch port WAN 0 LAN 3 1 LAN 4 2 LAN 1 3 LAN 2 4 (not used) 5 CPU 6 Signed-off-by:
Walter Sonius <walterav1984@gmail.com> [commit message/title improvements; backport to 18.06] Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> (cherry picked from commit a065cd29)
-
- 10 Dec, 2019 2 commits
-
-
Koen Vandeputte authored
Refreshed all patches. Altered patches: - 400-mtd-add-rootfs-split-support.patch Compile-tested on: cns3xxx Runtime-tested on: cns3xxx Signed-off-by:
Koen Vandeputte <koen.vandeputte@ncentric.com>
-
Koen Vandeputte authored
Refreshed all patches. Altered patches: - 400-mtd-add-rootfs-split-support.patch Compile-tested on: ar71xx Runtime-tested on: ar71xx Signed-off-by:
Koen Vandeputte <koen.vandeputte@ncentric.com>
-
- 07 Dec, 2019 1 commit
-
-
Hauke Mehrtens authored
The skb_get_hash_perturb() function now takes a siphash_key_t instead of an u32. This was changed in commit 55667441c84f ("net/flow_dissector: switch to siphash"). Use the correct type in the fq header file depending on the kernel version. Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by:
Stefan Lippers-Hollmann <s.l-h@gmx.de> (cherry picked from commit eaa04717)
-
- 29 Nov, 2019 2 commits
-
-
Koen Vandeputte authored
Refreshed all patches. Altered patches: - 402-mtd-support-layerscape.patch Fixes: - CVE-2019-18660 Compile-tested on: ar71xx Runtime-tested on: ar71xx Signed-off-by:
Koen Vandeputte <koen.vandeputte@ncentric.com>
-
Koen Vandeputte authored
Refreshed all patches. Compile-tested on: cns3xxx Runtime-tested on: cns3xxx Signed-off-by:
Koen Vandeputte <koen.vandeputte@ncentric.com>
-
- 26 Nov, 2019 1 commit
-
-
Sungbo Eo authored
netifd does not handle network.@device[x].name properly if it contains multiple ifaces separated by spaces. Due to this, board.d lan_mac setup does not work if multiple ifaces are set to LAN by ucidef_set_interface_lan. To fix this, create a device node for each member iface when running config_generate instead. Those are named based on the member ifname: ucidef_set_interface_lan "eth0 eth1.1" ucidef_set_interface_macaddr "lan" "yy:yy:yy:yy:yy:01" will return config device 'lan_eth0_dev' option name 'eth0' option macaddr 'yy:yy:yy:yy:yy:01' config device 'lan_eth1_1_dev' option name 'eth1.1' option macaddr 'yy:yy:yy:yy:yy:01' ref: https://github.com/openwrt/openwrt/pull/2542 Signed-off-by:
Sungbo Eo <mans0n@gorani.run> [always use new scheme, extend description, change commit title] Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> (cherry picked from commit 298814e6)
-
- 23 Nov, 2019 3 commits
-
-
Yousong Zhou authored
Fixes b7c58a1e ("kernel: nf_conntrack_rtcache: fix cleanup on netns delete and rmmod") Signed-off-by:
Yousong Zhou <yszhou4tech@gmail.com> (cherry picked from commit b3779e92)
-
Yousong Zhou authored
Fixes b7c58a1e ("kernel: nf_conntrack_rtcache: fix cleanup on netns delete and rmmod") Resolves FS#2624 Signed-off-by:
Yousong Zhou <yszhou4tech@gmail.com> (cherry picked from commit 1c5df850)
-
Yousong Zhou authored
Fixes FS#1472, FS#2353, FS#2426 Fixes: b3f95490 ("kernel: generic: Add kernel 4.14 support") Signed-off-by:
Yousong Zhou <yszhou4tech@gmail.com> Acked-by:
Hauke Mehrtens <hauke@hauke-m.de> (cherry picked from commit b7c58a1e)
-
- 22 Nov, 2019 2 commits
-
-
Hauke Mehrtens authored
This was found by the build bot. Fixes: 6e2e5d1b ("kernel: bump 4.14 to 4.14.155") Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de> (cherry picked from commit 103e49f6)
-
Koen Vandeputte authored
Refreshed all patches. Altered patches: - 707-dpaa-ethernet-support-layerscape.patch - 421-rtc-initialize.patch Remove upstreamed: - 161-MIPS-BCM47XX-Enable-USB-power-on-Netgear-WNDR3400v3.patch Compile-tested on: cns3xxx Runtime-tested on: cns3xxx Signed-off-by:
Koen Vandeputte <koen.vandeputte@ncentric.com>
-
- 21 Nov, 2019 5 commits
-
-
Adrian Schmutzler authored
TP-Link TL-WDR4900 v2 only has one combined WPS/Reset button, so don't set up an RFKILL for this device. Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> (cherry picked from commit 25127f58)
-
Adrian Schmutzler authored
In ar71xx there is only one combined mach file for Archer C5/C7 and TL-WDR4900 v2. This one uses the same LED struct for all devices, defining "green" LEDs for them. However, WDR4900 uses blue front LEDs, while only C5/C7 uses green ones. Despite, in base-files WDR4900 is actually set up with "blue" for the mentioned LEDs. Thus, this patch creates a separate LED struct for WDR4900, so the LEDs can be set up correctly. Despite, the wlan5g LED is removed as it is controlled by ath9k chip for WDR4900 (in contrast to C5/C7). Note: While front LEDs are blue, USB LEDs (on the back) are green, so colors are mixed intentionally for the WDR4900 v2. Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> (cherry picked from commit 93f2bcc3)
-
Sungbo Eo authored
The stock firmware and bootloader only accept uImage with names that match certain patterns. This patch enables OpenWrt installation from stock firmware without having to reflash the bootloader or access the UART console. Installation via web interface: 1. Flash **initramfs** image through the stock web interface. 2. Boot into OpenWrt and perform sysupgrade with sysupgrade image. Signed-off-by:
Sungbo Eo <mans0n@gorani.run> (cherry picked from commit 19800ac0 ) [backported] Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de>
-
Adrian Schmutzler authored
The MAC address setup of the TL-WDR4900 v2 is different from the C5/C7. This aligns ar71xx with the setup in ath79: wlan0 (5GHz) : -2 wlan1 (2.4GHz) : -1 eth1 (LAN) : 0 eth0 (WAN) : 1 Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> (cherry picked from commit a9d3084b)
-
Adrian Schmutzler authored
As discussed in 1d18a14a ("ath79: really fix TP-Link Archer C7 v2 MAC address"), stock firmware MAC address assignment is actually as follows: wlan0 (5GHz) : -1 wlan1 (2.4GHz) : 0 eth1 (LAN) : 0 eth0 (WAN) : 1 This has never been fixed for ar71xx, so let's do it now. Note that with WDR4900 v2 even both wlan0 and wlan1 where assigned to basemac-1 before ... Fixes: FS#408 Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> (cherry picked from commit a0212680)
-
- 20 Nov, 2019 1 commit
-
-
Koen Vandeputte authored
Add missing brace which was accidentally omitted Fixes: 6d6026021390 ("kernel: bump 4.14 to 4.14.154") Signed-off-by:
Koen Vandeputte <koen.vandeputte@ncentric.com>
-
- 19 Nov, 2019 2 commits
-
-
Koen Vandeputte authored
Refreshed all patches. Altered patches: - 902-debloat_proc.patch - 040-dmaengine-qcom-bam-Process-multiple-pending-descript.patch Remove upstreamed: - 303-spi-nor-enable-4B-opcodes-for-mx66l51235l.patch New symbols: X86_INTEL_MPX X86_INTEL_MEMORY_PROTECTION_KEYS X86_INTEL_TSX_MODE_OFF X86_INTEL_TSX_MODE_ON X86_INTEL_TSX_MODE_AUTO SGL_ALLOC Compile-tested on: cns3xxx Runtime-tested on: cns3xxx Signed-off-by:
Koen Vandeputte <koen.vandeputte@ncentric.com>
-
Koen Vandeputte authored
Refreshed all patches. Altered patches: - 902-debloat_proc.patch - 817-usb-support-layerscape.patch New symbols: X86_INTEL_MEMORY_PROTECTION_KEYS X86_INTEL_TSX_MODE_OFF X86_INTEL_TSX_MODE_ON X86_INTEL_TSX_MODE_AUTO Compile-tested on: ar71xx Runtime-tested on: ar71xx Signed-off-by:
Koen Vandeputte <koen.vandeputte@ncentric.com>
-
- 18 Nov, 2019 3 commits
-
-
Tomislav Požega authored
Update WLAN LED colour identifier for both interfaces on Archer C7 Signed-off-by:
Tomislav Požega <pozega.tomislav@gmail.com> (cherry picked from commit 65762cdd ) [backported to 18.06] Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de>
-
Tomislav Požega authored
Move system LED board definitions of Archer C5/C7 to reflect actual system LED colour used Signed-off-by:
Tomislav Požega <pozega.tomislav@gmail.com> (cherry picked from commit a73934fc)
-
Rafał Miłecki authored
Signed-off-by:
Rafał Miłecki <rafal@milecki.pl> (cherry picked from commit cde8c2f2)
-
- 17 Nov, 2019 1 commit
-
-
Christian Lamparter authored
The two ASUS WL-330N and WL-330N3G had the reset keycode assigned to the WPS button. This patch changes both devices to use KEY_WPS_BUTTON in the hopes that this fixes unwanted restarts/ unexpected behavior from the users point of view. [dropped RG21S] Signed-off-by:
Christian Lamparter <chunkeey@gmail.com> (cherry picked from commit ad65d9d7)
-
- 15 Nov, 2019 1 commit
-
-
Petr Štetiar authored
Commit 60f41c6c ("ramips: add usb-ledtrig-usbport to DEVICE_PACKAGES of CY-SWR1100") added stray | during backport which caused build breakage on the buildbots: bash: -c: line 0: syntax error near unexpected token `|' bash: -c: line 0: `echo kmod-usb-core kmod-usb-ledtrig-usbport kmod-usb-ohci kmod-usb2 swconfig | | mkhash md5 | head -c 8' Fixes: 60f41c6c ("ramips: add usb-ledtrig-usbport to DEVICE_PACKAGES of CY-SWR1100") Signed-off-by:
Petr Štetiar <ynezz@true.cz> (cherry picked from commit a1ff175d)
-
- 14 Nov, 2019 3 commits
-
-
Sungbo Eo authored
CY-SWR1100 has a USB LED but kmod-usb-ledtrig-usbport is missing in default images. This commit adds it. Signed-off-by:
Sungbo Eo <mans0n@gorani.run> [changed commit title, backported to 19.07] Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> (cherry picked from commit 261c7466)
-
Sungbo Eo authored
Ethernet MAC address setup has been broken since c3e420f2. Restore original setting. Fixes: c3e420f2 ("ramips: Add support for D-Link DCH-M225") Signed-off-by:
Sungbo Eo <mans0n@gorani.run> (cherry picked from commit 7231c1ed ) [backported due to base-files split] Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de>
-
Adrian Schmutzler authored
This will have GIT ignore patches in root directory, as created when using "git format-patch". Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> (cherry picked from commit 2c541355)
-
- 12 Nov, 2019 2 commits
-
-
南浦月 authored
Fix the error that tl-wdr3320-v2 can't upgrade firmware via web interface by using magic_ver="0200" for this device. Signed-off-by:
南浦月 <nanpuyue@gmail.com> [commit message facelift] Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> (cherry picked from commit 0ff2385a)
-
Michal Cieslakiewicz authored
Boards added: WNR1000v2, WNR2000v3, WNR2200, WNR612v2, WNDR4300. Boards changed: WNDR3700 (u-boot env size is 2 sectors not 1). Signed-off-by:
Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl> (cherry picked from commit 11052900)
-