Re: ipv6 quirk openwrt 21.02.1

2021-11-04 Thread Nathan Lutchansky
On 11/4/21 11:52 AM, Paul D wrote: Having a bit of IPv6 6in4 problem. I set a static MTU to 1480 locally and remotely (HE tunnel). As I interpret the RFC [1] as referenced by overarching RFC [2], it notes: >  When using the static tunnel MTU, the Don't Fragment bit MUST NOT be >  set in the

Re: [PATCH 1/5] realtek: Consolidate bootargs

2021-11-04 Thread Sander Vanheule
Hi Christian, On Thu, 2021-11-04 at 17:07 +0100, Christian Lamparter wrote: > On 04/11/2021 15:55, Sander Vanheule wrote: > > All current devices use identical bootargs, so let's move that to the > > common devicetree includes. > > hmm,  that "console=ttyS0,..." is fine. But there is a "DT-way" o

Re: [PATCH 1/5] realtek: Consolidate bootargs

2021-11-04 Thread Christian Lamparter
On 04/11/2021 15:55, Sander Vanheule wrote: All current devices use identical bootargs, so let's move that to the common devicetree includes. hmm, that "console=ttyS0,..." is fine. But there is a "DT-way" of doing it with stdout-path as per the documentation: https://www.kernel.org/doc/Docume

Re: ipv6 quirk openwrt 21.02.1

2021-11-04 Thread Paul D
Clarification: I ping6 the next ipv6 hop after my 6in4 tunnel, to rule out PMTU being at fault. On 2021-11-04 16:52, Paul D wrote: Having a bit of IPv6 6in4 problem. I set a static MTU to 1480 locally and remotely (HE tunnel). ___ openwrt-devel

ipv6 quirk openwrt 21.02.1

2021-11-04 Thread Paul D
Having a bit of IPv6 6in4 problem. I set a static MTU to 1480 locally and remotely (HE tunnel). As I interpret the RFC [1] as referenced by overarching RFC [2], it notes: > When using the static tunnel MTU, the Don't Fragment bit MUST NOT be > set in the encapsulating IPv4 header. As a resu

Re: [PATCH 3/5] realtek: backport Realtek Otto WDT driver

2021-11-04 Thread Sander Vanheule
On Thu, 2021-11-04 at 15:55 +0100, Sander Vanheule wrote: > Add patch submitted upstream to linux-watchdog and replace the MIPS > architecture symbols. Requires one extra patch for the DIV_ROUND_* > macros, which have moved to a different header since 5.10. > > Also refresh the kernel config to en

Re: [PATCH] ipq40xx: 5.10: refresh config

2021-11-04 Thread Robert Marko
On Thu, Nov 4, 2021 at 4:15 PM Christian Lamparter wrote: > > On 04/11/2021 12:53, Robert Marko wrote: > > It looks like CONFIG_BLK_CMDLINE_PARSER was forgotten during the Orbi > > device merge. > > So lets refresh the config with it. > > Hmm, is it missing for 5.4 as well?! The generic 5.4 config

Re: [PATCH] ipq40xx: 5.10: refresh config

2021-11-04 Thread Christian Lamparter
On 04/11/2021 12:53, Robert Marko wrote: It looks like CONFIG_BLK_CMDLINE_PARSER was forgotten during the Orbi device merge. So lets refresh the config with it. Hmm, is it missing for 5.4 as well?! The generic 5.4 config doesn't enable it either. linux/generic/config-5.4:547:# CONFIG_BLK_CMDLI

[PATCH 5/5] realtek: Remove _machine_restart and _machine_halt

2021-11-04 Thread Sander Vanheule
By dropping _machine_restart, users can provide more reliable or device-specific restart modes. _machine_halt was already removed in commit f4b687d1f053 ("realtek: use kernel defined halt"), but quietly reintroduced in commit 8faffa00cb6b ("realtek: add support for the RTL9300 timer"). Let's remov

[PATCH 1/5] realtek: Consolidate bootargs

2021-11-04 Thread Sander Vanheule
All current devices use identical bootargs, so let's move that to the common devicetree includes. Signed-off-by: Sander Vanheule --- target/linux/realtek/dts-5.10/rtl8380_netgear_gigabit.dtsi| 4 target/linux/realtek/dts-5.10/rtl8380_zyxel_gs1900.dtsi | 4 target/linux/realte

[PATCH 3/5] realtek: backport Realtek Otto WDT driver

2021-11-04 Thread Sander Vanheule
Add patch submitted upstream to linux-watchdog and replace the MIPS architecture symbols. Requires one extra patch for the DIV_ROUND_* macros, which have moved to a different header since 5.10. Also refresh the kernel config to enable the new driver. Signed-off-by: Sander Vanheule --- target/li

[PATCH 4/5] realtek: Add watchdog node

2021-11-04 Thread Sander Vanheule
Add and enable the Realtek Otto WDT peripheral found on these SoCs. Devices that require the PLL value fixup before restarting, should pick the "cpu" or "software" reset mode. These devices also need to provide a custom reboot mode, by adding the reboot argument to the kernel command line: WD

[PATCH 0/5] realtek: Use WDT for system restart

2021-11-04 Thread Sander Vanheule
Backport and enable the Realtek Otto watchdog driver for enhanced system reliability. The watchdog driver can also be used to restart the system, but that requires the _machine_restart to be removed. Removing _machine_restart has the added benefit of enabling the use of other restart handlers in a

[PATCH 2/5] realtek: Add Lexra bus clock

2021-11-04 Thread Sander Vanheule
The Realtek Otto WDT driver requires a bus clock source definition. Add a fixed-clock node to provide the 200MHz clock. Signed-off-by: Sander Vanheule --- target/linux/realtek/dts-5.10/rtl838x.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/target/linux/realtek/dts-5.10/rtl838x.dt

[PATCH] ipq40xx: 5.10: refresh config

2021-11-04 Thread Robert Marko
It looks like CONFIG_BLK_CMDLINE_PARSER was forgotten during the Orbi device merge. So lets refresh the config with it. Signed-off-by: Robert Marko --- target/linux/ipq40xx/config-5.10 | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/ipq40xx/config-5.10 b/target/linux/ipq40xx/con

[PATCH] ubus: add option for enabling ubus notification

2021-11-04 Thread Wojciech Jowsa
ubus notifications have to be enabled to support publish / subscribe pattern. This pattern is an alternative to polling, and can be used e.g. for streaming gps data directly to other application or a browser. Signed-off-by: Wojciech Jowsa --- main.c | 41 +++--

Re: [PATCH] bcm53xx: add support for Asus RT-AC88U

2021-11-04 Thread Rafał Miłecki
On 04.11.2021 07:52, Rafał Miłecki wrote: On 25.10.2021 23:37, Arınç ÜNAL wrote: @@ -8,6 +8,12 @@ netgear,r8000)   ucidef_set_led_usbport "usb2" "USB 2.0" "bcm53xx:white:usb2" "usb1-port2" "usb2-port2"   ucidef_set_led_usbport "usb3" "USB 3.0" "bcm53xx:white:usb3" "usb1-port1" "usb2-po

Re: [PATCH] bcm53xx: add support for Asus RT-AC88U

2021-11-04 Thread Rafał Miłecki
On 25.10.2021 23:37, Arınç ÜNAL wrote: @@ -8,6 +8,12 @@ netgear,r8000) ucidef_set_led_usbport "usb2" "USB 2.0" "bcm53xx:white:usb2" "usb1-port2" "usb2-port2" ucidef_set_led_usbport "usb3" "USB 3.0" "bcm53xx:white:usb3" "usb1-port1" "usb2-port1" "usb4-port1" ;; +asus,rt-a