[OpenWrt-Devel] [PATCH 1/2] ath79: fix mikrotik WAP G-5HacT2HnD mtd partitions

2020-03-16 Thread Thibaut VARÈNE
In RouterBOARD parlance there never was an "art" partition. This partition has always been named 'hard_config' on ar71xx. This partition contains more than just ART (Atheros Radio Test) data. It includes the hardware description (product code, serial, board identifier, name, hardware options, MAC

[OpenWrt-Devel] [PATCH 2/2] ath79: rename mikrotik RB 922UAGS-5HPacD mtd partition

2020-03-16 Thread Thibaut VARÈNE
In RouterBOARD parlance there never was an "art" partition. This partition has always been named 'hard_config' on ar71xx. This partition contains more than just ART (Atheros Radio Test) data. It includes the hardware description (product code, serial, board identifier, name, hardware options, MAC

[OpenWrt-Devel] [PATCH] bcm27xx: switch to 5.4 kernel

2020-03-16 Thread Petr Štetiar
Been running it for a few days on RPi0W PMS sensor node and on RPi4. Lets start wider userbase testing. Cc: Stijn Tintel Cc: Álvaro Fernández Rojas Signed-off-by: Petr Štetiar --- target/linux/bcm27xx/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[OpenWrt-Devel] [PATCH] ipq40xx: 5.4: fix of_get_mac_address obsolete usage OOPs

2020-03-16 Thread Petr Štetiar
of_get_mac_address returns valid pointer or ERR_PTR since 5.2 via commit d01f449c008a ("of_net: add NVMEM support to of_get_mac_address") so the patch fixes following OOPs on nbg6617: Unable to handle kernel paging request at virtual address ffed CPU: 1 PID: 1 Comm: swapper/0 Not tainted

Re: [OpenWrt-Devel] [PATCH] iproute2: revert add libcap support, enabled in ip-full

2020-03-16 Thread Alin Năstac
On Sun, Mar 15, 2020 at 11:40 PM Mathias Kresin wrote: > > 05/03/2020 23:29, Alin Năstac: > > On Thu, Mar 5, 2020 at 8:34 PM Mathias Kresin wrote: > >> > >> This reverts commit a6da3f9ef746101b84a6f530f5a40de28341b69a. > > > > Not exactly a revert, since it keeps HAVE_CAP logic. > > Sure, I want

[OpenWrt-Devel] [PATCH] libnftnl: bump to 1.1.5

2020-03-16 Thread Kevin Darbyshire-Bryant
Solve missing references to nftnl_set_list_lookup_byname when building iptables with Nftables support enabled (CONFIG_IPTABLES_NFTABLES) /Users/kevin/wrt/staging_dir/toolchain-x86_64_gcc-9.2.0_musl/lib/gcc/x86_64-openwrt-linux-musl/9.2.0/../../../../x86_64-openwrt-linux-musl/bin/ld:

[OpenWrt-Devel] [PATCH 2/2] kernel: rtl8367b: add configuration for extif2

2020-03-16 Thread Chuanhong Guo
From: Serge Vasilugin Both rtl8367b and rtl8367s have two extended interface rtl8367rb: 5 port + 2*RGMII/MII rtl8367s: 5 port + SGMII/HSGMI + RGMII/MII (?)rtl8367sb: 5 port + 2*RGMII/MII These interfaces correspond to EXT1 and EXT2 (ports 6 and 7 respectivly). This patch allow to configure

[OpenWrt-Devel] [PATCH 1/2] generic: rtl8367b: add definition of debug reg

2020-03-16 Thread Chuanhong Guo
This commit adds definition of DEBUG0 and DEBUG1 registers and replace magic values with proper register modifying. Signed-off-by: Chuanhong Guo --- .../generic/files/drivers/net/phy/rtl8367b.c | 35 --- 1 file changed, 30 insertions(+), 5 deletions(-) diff --git

Re: [OpenWrt-Devel] [PATCH] iproute2: revert add libcap support, enabled in ip-full

2020-03-16 Thread Hans Dedecker
Hi Mathias, On Sun, Mar 15, 2020 at 11:40 PM Mathias Kresin wrote: > > 05/03/2020 23:29, Alin Năstac: > > On Thu, Mar 5, 2020 at 8:34 PM Mathias Kresin wrote: > >> > >> This reverts commit a6da3f9ef746101b84a6f530f5a40de28341b69a. > > > > Not exactly a revert, since it keeps HAVE_CAP logic. > >

Re: [OpenWrt-Devel] [PATCH] iproute2: revert add libcap support, enabled in ip-full

2020-03-16 Thread Stijn Tintel
On 16/03/2020 09:37, Hans Dedecker wrote: >>> One would argue that ip-full should correspond to the full fledged >>> version of the packet. If the dependency of an external package is the >>> issue, how about making a different variant with HAVE_CAP support? It >>> could be called ip-really-full

[OpenWrt-Devel] core package definition, 2nd attempt [Was: Re: [PATCH] iproute2: ... ]

2020-03-16 Thread Petr Štetiar
Hans Dedecker [2020-03-16 08:37:49]: Hi, > > > On Thu, Mar 5, 2020 at 8:34 PM Mathias Kresin wrote: > > > > Try to get libcap into the OpenWrt base system and enable HAVE_CAP > > afterwards? > > I'm in favor of this approach as currently a part of the ip-full > functionality is broken and I

Re: [OpenWrt-Devel] [PATCH 3/3] base-files: move find_mtd_chardev() to /lib/functions.sh

2020-03-16 Thread mans0n
On 2020-03-14 01:11, Adrian Schmutzler wrote: While find_mtd_index() and find_mtd_part() are located in /lib/functions.sh, find_mtd_chardev() has been located in /lib/functions/system.sh. Move the latter to the former file to keep similar functions together. Umm, what about

[OpenWrt-Devel] [PATCH 1/4] kernel: move TEO governor to generic config

2020-03-16 Thread Tomasz Maciej Nowak
This new symbol popped up in few places. Disable it in generic config. Signed-off-by: Tomasz Maciej Nowak --- target/linux/armvirt/64/config-5.4 | 1 - target/linux/bcm27xx/bcm2708/config-5.4 | 1 - target/linux/bcm27xx/bcm2709/config-5.4 | 1 - target/linux/bcm27xx/bcm2710/config-5.4 | 1

[OpenWrt-Devel] [PATCH 4/4] tegra: switch to kernel 5.4

2020-03-16 Thread Tomasz Maciej Nowak
Build the latest kernel by default, since testing did not show any regressions. Signed-off-by: Tomasz Maciej Nowak --- target/linux/tegra/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/tegra/Makefile b/target/linux/tegra/Makefile index

[OpenWrt-Devel] [PATCH] bcm63xx: Report that effective affinity is a single target

2020-03-16 Thread Daniel Gonzalez Cabanelas
The bcm6345-periph-intc driver only targets a single CPU at a time, even if the notional affinity is wider. Let's inform the core code about this. This patch gets rid of the kernel message: "genirq: irq_chip bcm6345-periph-intc did not update eff. affinity mask of irq 52" ---

Re: [OpenWrt-Devel] [PATCH 1/3] zynq: copy config from kernel 4.19 to 5.4

2020-03-16 Thread mail
> -Original Message- > From: Luis Araneda [mailto:luaran...@gmail.com] > Sent: Freitag, 13. März 2020 22:51 > To: Petr Štetiar > Cc: Adrian Schmutzler ; openwrt- > de...@lists.openwrt.org > Subject: Re: [OpenWrt-Devel] [PATCH 1/3] zynq: copy config from kernel > 4.19 to 5.4 > > Hi, > >

[OpenWrt-Devel] [PATCH 2/4] tegra: copy kernel config and patches for 5.4

2020-03-16 Thread Tomasz Maciej Nowak
Signed-off-by: Tomasz Maciej Nowak --- target/linux/tegra/config-5.4 | 559 ++ ...interrupts-due-to-tegra2-silicon-bug.patch | 77 +++ ...enable-front-panel-leds-in-TrimSlice.patch | 46 ++ 3 files changed, 682 insertions(+) create mode 100644

[OpenWrt-Devel] [PATCH 3/4] tegra: refresh patches and kernel config for 5.4

2020-03-16 Thread Tomasz Maciej Nowak
This commit also disables Trusted Foundations firmware support as this feature won't be used by any device. Signed-off-by: Tomasz Maciej Nowak --- target/linux/tegra/Makefile | 1 + target/linux/tegra/config-5.4 | 47 ---

[OpenWrt-Devel] [PATCH] hostapd: Moved all hostapd variants to submenu 'Hostapd'

2020-03-16 Thread Kevin Mahoney
It seemed very confusing when trying to select the different variants of hostapd which are somewhat scattered about under the menu 'Network'. Moving all hostapd variants under a common submenu helps avoid confusion. diff --git a/package/network/services/hostapd/Makefile

[OpenWrt-Devel] [PATCH 2/2] toolchain: Update GCC 9 to version 9.3.0

2020-03-16 Thread Hauke Mehrtens
The removed patch is included in GCC 9.3.0. Signed-off-by: Hauke Mehrtens --- toolchain/gcc/Config.version | 2 +- toolchain/gcc/common.mk | 4 +- ...uninitialised_use_in_mips_split_move.patch | 55 --- .../002-case_insensitive.patch

[OpenWrt-Devel] [PATCH 1/2] toolchain: Update GCC 8 to version 8.4.0

2020-03-16 Thread Hauke Mehrtens
The removed patch is included in GCC 8.4.0. Signed-off-by: Hauke Mehrtens --- toolchain/gcc/Config.version | 2 +- toolchain/gcc/common.mk | 4 +-- .../patches/8.3.0/090-rs6000-PR-89587.patch | 30 --- .../002-case_insensitive.patch

Re: [OpenWrt-Devel] [PATCH 2/2] kernel: rtl8367b: add configuration for extif2

2020-03-16 Thread Chuanhong Guo
On Mon, Mar 16, 2020 at 6:37 PM Chuanhong Guo wrote: > +#define RTL8367B_DIS2_RGMII_SHIFT0 > +#define RTL8367B_DIS2_RGMII_MASK 0xf > + > +#define RTL8367B_EXT_RGMXF_REG(_x) \ > + ((_x) == 2 ? 0x13c5 : 0x1306 + (_x)) > #define

[OpenWrt-Devel] [PATCH] bcm27xx: enable THERMAL_WRITABLE_TRIPS on bcm2710 and bcm2711

2020-03-16 Thread Bjørn Mork
The PoE hat supported on the RPi 3B+ and 4B comes with a rather loud fan, tripped in two steps by the brcmstb_thermal thermal_zone driver. Enabling writable trip points allow users to adjust the fan trip points according to their preferred temp/noise ratio. This setting is enabled on most other

[OpenWrt-Devel] [PATCH v2] bcm63xx: kernel: Report that effective affinity is a single target

2020-03-16 Thread Daniel Gonzalez Cabanelas
The bcm6345-periph-intc driver only targets a single CPU at a time, even if the notional affinity is wider. Let's inform the core code about this. This patch gets rid of the kernel message: "genirq: irq_chip bcm6345-periph-intc did not update eff. affinity mask of irq 52" Signed-off-by: Daniel

[OpenWrt-Devel] [PATCH] mxs: fix user led for OLinuXino boards

2020-03-16 Thread Michael Heimpold
More testing after kernel upgrade to 5.4 uncovered a regression: the user led is not present anymore due to a pin mux "collision" in device tree. A patch sent to upstream kernel was accepted now. Integrate this pending fix as platform specific patch so that user led is available again.