[PATCH 4/7] lantiq: add DTS for Fritzbox 5490

2022-02-02 Thread Torsten Duwe
Signed-off-by: Torsten Duwe --- .../boot/dts/lantiq/vr9_avm_fritz5490.dts | 98 +++ 1 file changed, 98 insertions(+) create mode 100644 target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_avm_fritz5490.dts diff --git

[PATCH 3/7] lantiq: add DTS for Fritzbox 3490

2022-02-02 Thread Torsten Duwe
Signed-off-by: Torsten Duwe --- .../boot/dts/lantiq/vr9_avm_fritz3490.dts | 58 +++ 1 file changed, 58 insertions(+) create mode 100644 target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_avm_fritz3490.dts diff --git

[PATCH 5/7] lantiq: add DTS for Fritzbox 7490

2022-02-02 Thread Torsten Duwe
Signed-off-by: Torsten Duwe --- .../boot/dts/lantiq/vr9_avm_fritz7490.dts | 61 +++ 1 file changed, 61 insertions(+) create mode 100644 target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_avm_fritz7490.dts diff --git

[PATCH netifd] system-linux: Do not unconditionally activate IPv6 on devices

2022-02-02 Thread Hauke Mehrtens via openwrt-devel
The sender domain has a DMARC Reject/Quarantine policy which disallows sending mailing list messages using the original "From" header. To mitigate this problem, the original message has been wrapped automatically by the mailing list software.--- Begin Message --- IPv6 can only be activated and

[PATCH 1/7] lantiq: fix endianess for PCIe slave XBAR

2022-02-02 Thread Torsten Duwe
On some targets the AHB slave XBAR is wired up big endian. Allow specific targets to trigger a byte swap via a device tree property. Discussed in https://forum.openwrt.org/t/53620 Signed-off-by: Torsten Duwe --- I found this in Daniel's repo, merged into 0001-MIPS-lantiq-add-pcie-driver.patch,

[PATCH 2/7] lantiq: add common device tree template for x490 Fritzboxes

2022-02-02 Thread Torsten Duwe
Based on xrx200/VR9, these devices replace the internal dwc2 USB2 with an external renesas USB3 controller, attached via PCIe. The whole wireless hardware is offloaded to a secondary SoC with an ethernet connection to the built-in switch. This DTS describes the GSWIP in the new DSA mode, and

Re: [PATCH 7/7] lantiq: add renesas USB3 support

2022-02-02 Thread Florian Eckert
On 2022-02-02 11:39, Torsten Duwe wrote: Enable the USB_XHCI_PCI_RENESAS config option on lantiq and note the usb3 dependency. The XHCI host controller requires a firmware blob, see https://forum.openwrt.org/t/2071 Signed-off-by: Torsten Duwe --- package/kernel/linux/modules/usb.mk | 1 +

[PATCH 0/7] lantiq: initial support for x490 Fritzboxes

2022-02-02 Thread Torsten Duwe
With the latest advancements, especially the move to kernel-5.10, basic support for the {3,5,7}490 Fritz!Boxes has become rather low hanging fruit. Building on the previous research done by Andreas Böhler (subscribed here), Daniel Kestrel (Cc'ed) and others, I identified and collected all the

[PATCH 6/7] lantiq: add image handling for x490 Fritzboxes

2022-02-02 Thread Torsten Duwe
Enable building Fritzbox x490 images, with UBI. The default is 252KiB LEB size and 4k I/O, and the 7490 overriding it with half of those values. Signed-off-by: Torsten Duwe --- I'm uncertain about the difference between UBIFS_OPTS and MKUBIFS_OPTS. MKUBIFS_OPTS is declared per device, but

[PATCH 7/7] lantiq: add renesas USB3 support

2022-02-02 Thread Torsten Duwe
Enable the USB_XHCI_PCI_RENESAS config option on lantiq and note the usb3 dependency. The XHCI host controller requires a firmware blob, see https://forum.openwrt.org/t/2071 Signed-off-by: Torsten Duwe --- package/kernel/linux/modules/usb.mk | 1 + target/linux/lantiq/config-5.10 | 2 ++ 2

Re: [PATCH v2] wireguard-tools: allow generating private_key

2022-02-02 Thread Jan-Niklas Burfeind
Tested-by: Jan-Niklas Burfeind This has been running on at least 80 devices in the past months in our ff-community. Let me know if and what you need more Aiyion On 9/15/21 03:09, Leonardo Mörlein wrote: When the uci configuration is created automatically during a very early stage, where no

[PATCH v3 1/2] linux: introduce multi-cpu dsa patch

2022-02-02 Thread Ansuel Smith
Add support for multi-cpu dsa. This is a reworked version of the RFC patch proposed some time ago. By default every dsa port is connected to the first cpu port and the command 'ip link set PORT cpu CPU_PORT' can be used to change the used cpu port at runtime. A specific function

[PATCH v3 0/2] Add DSA MultiCPU port support

2022-02-02 Thread Ansuel Smith
This adds the hack patches for DSA multicpu support. I still have to clean patch 1, 3, 4 but considering this is still a bit WIP I decided to clean and provide a correct patches for the final version. This version won't change the logic by DSA that assing every port to the first cpu port. A init

[PATCH v3 2/2] iproute2: add support for cpu set

2022-02-02 Thread Ansuel Smith
Add support for cpu set useful to set CPU port for dsa devices. Signed-off-by: Ansuel Smith --- ...101-iplink_allow_to_change_cpu_value.patch | 81 +++ 1 file changed, 81 insertions(+) create mode 100644

Re: [PATCH 6/7] lantiq: add image handling for x490 Fritzboxes

2022-02-02 Thread Andreas Böhler
On 02/02/2022 11:37, Torsten Duwe wrote: Enable building Fritzbox x490 images, with UBI. The default is 252KiB LEB size and 4k I/O, and the 7490 overriding it with half of those values. Signed-off-by: Torsten Duwe --- diff --git a/target/linux/lantiq/image/vr9.mk