[PATCH 1/2] ramips: move mt7621_nand driver to files

2022-01-27 Thread Stijn Tintel
make changes to the driver while waiting for mt7621 support to land in mtk_nand. Signed-off-by: Stijn Tintel --- .../files/drivers/mtd/nand/raw/mt7621_nand.c | 1353 ...driver-support-for-MT7621-nand-flash.patch | 1356 - 2 files changed, 1353 insertions(+),

[PATCH] util-linux: package ipcs command

2022-01-29 Thread Stijn Tintel
Add a package for util-linux' ipcs command, to show information about System V inter-process communication facilities. Signed-off-by: Stijn Tintel --- package/utils/util-linux/Makefile | 18 ++ 1 file changed, 18 insertions(+) diff --git a/package/utils/util-linux/Makefi

Re: Pre-install MiniUPnPd on OpenWrt by default

2022-01-30 Thread Stijn Tintel
On 29/01/2022 12:53, Sergey Ponomarev wrote: > As a follow up I asked in a dev chat: > > Hi, Is there any process of deciding what to include into > OpenWrt builds by default? I sent a letter to devlist "Pre-install > MiniUPnPd on OpenWrt by default" but it seems not interesting in the > context o

Re: [PATCH 08/11] util-linux: Do not build raw any more.

2022-01-31 Thread Stijn Tintel
On 30/01/2022 18:25, Hauke Mehrtens wrote: > The man page of the raw tool does not build because the disk-utils/raw.8 > file is missing. It looks like it should be in the tar.xz file we > download, but it is missing. > > We do not package the raw tool, so this is not a problem. > > This fixes the f

Re: [PATCH] ramips: support TP-Link EAP615-Wall

2022-02-04 Thread Stijn Tintel
On 29/01/2022 15:03, Sander Vanheule wrote: > Hi Stijn, > > Thanks for the patch, been looking forward to this! > > On Fri, 2022-01-28 at 00:00 +0200, Stijn Tintel wrote: >> Add support for the TP-Link EAP615-Wall, an AX1800 Wall Plate WiFi 6 AP. >> The device is very si

Re: [PATCH] ramips: support TP-Link EAP615-Wall

2022-02-05 Thread Stijn Tintel
On 4/02/2022 20:05, Stijn Tintel wrote: >>> +  DEVICE_MODEL := EAP615-Wall >>> +  DEVICE_VARIANT := v1 >>> +  DEVICE_PACKAGES := kmod-mt7915e >>> +  TPLINK_BOARD_ID := EAP615-WALL-V1 >>> +  KERNEL := kernel-bin | lzma | fit lzma $$(KDIR)/image-$$(f

Re: [PATCH] ramips: support TP-Link EAP615-Wall

2022-02-05 Thread Stijn Tintel
On 5/02/2022 14:21, Sander Vanheule wrote: > On Fri, 2022-02-04 at 20:05 +0200, Stijn Tintel wrote: >> On 29/01/2022 15:03, Sander Vanheule wrote: >>> Hi Stijn, >>> >>> Thanks for the patch, been looking forward to this! >>> >>> On Fri, 2

Re: [PATCH 1/2] hostapd: update to v2.10

2022-02-07 Thread Stijn Tintel
00-frequency.patch > 2341585c349231af00cdef8d51458df01bc6965f > 741-proxyarp-fix-compilation-with-Hotspot-2.0-disabled.patch > 08bdf4f90de61a84ed8f4dd918272dd9d36e2e1f > > Compile-tested: wpad-wolfssl hostapd-openssl > Run-tested: ath79-generic > > Signed-of

Re: [PATCH 2/2] hostapd: refresh patches

2022-02-07 Thread Stijn Tintel
On 17/01/2022 21:57, David Bauer wrote: > Refresh patches after updating to hostapd v2.10. We usually combine bump and patch refresh in the same commit. Thanks, Stijn ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt

[RFC PATCH ubus] cli: improve error logging for call command

2022-02-18 Thread Stijn Tintel
l somewhere, which is a bug and should be fixed. Printing the full command makes more sense than printing half the command and still requiring us to figure out the exact command that failed. Signed-off-by: Stijn Tintel --- If anyone wants to argue this isn't useful: https://forum.openwrt.org/s

Re: [RFC PATCH ubus] cli: improve error logging for call command

2022-02-18 Thread Stijn Tintel
On 18/02/2022 11:31, Stijn Tintel wrote: > When the ubus "call" command fails, ubus prints "Command failed: ...". > This is fine when the call command is executed interactively by the > user. However, when the call command is executed non-interactively, > t

[PATCH 1/2] cli: introduce UBUS_STATUS_PARSE status message

2022-02-18 Thread Stijn Tintel
Introduce a new status message UBUS_STATUS_PARSE. Signed-off-by: Stijn Tintel Reviewed-by: Jo-Philipp Wich --- cli.c | 8 ++-- libubus.c | 1 + ubusmsg.h | 1 + 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/cli.c b/cli.c index 81591ec..c47ea0c 100644 --- a/cli.c +++ b

[PATCH 2/2] cli: improve error logging for call command

2022-02-18 Thread Stijn Tintel
l somewhere, which is a bug and should be fixed. Printing the full command makes more sense than printing half the command and still requiring us to figure out the exact command that failed. Signed-off-by: Stijn Tintel Reviewed-by: Jo-Philipp Wich --- cli.c | 25 +++-- 1 fil

[PATCH] image: let mksquashfs4 use all processors

2022-02-19 Thread Stijn Tintel
4m45,973s After: real0m23,497s Signed-off-by: Stijn Tintel --- include/image.mk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/image.mk b/include/image.mk index 275a0adcac..a7b04bac6b 100644 --- a/include/image.mk +++ b/include/image.mk @@ -229,8 +229,7

layerscape/armv8_64b: CONFIG_DEBUG_INFO_REDUCED

2022-02-21 Thread Stijn Tintel
Hi Yangbo, In https://git.openwrt.org/8fdda1cc you introduced CONFIG_DEBUG_INFO_REDUCED as disabled for layerscape/armv8_64b. Do you remember if this was intentional? The generic kernel configs have this enabled, and layerscape/armv8_64b is the only subtarget that overrides it. If this wasn't inte

[PATCH v2 1/2] firmware-utils: bump to git HEAD

2022-02-26 Thread Stijn Tintel
57d0e31 tplink-safeloader: TP-Link EAP615-Wall v1 support Signed-off-by: Stijn Tintel --- tools/firmware-utils/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/firmware-utils/Makefile b/tools/firmware-utils/Makefile index 60e0c74b45..5a1f4db077 100644

[PATCH v2 2/2] ramips: support TP-Link EAP615-Wall

2022-02-26 Thread Stijn Tintel
for the EAP615-Wall very easy. Signed-off-by: Stijn Tintel --- v2: - PoE-PT -> PoE passthrough - MT7915E -> MT7905DAN/MT7975DN - dropped ethernet@1e10, moved reg override to ðernet - dropped bus-range from &pcie - dropped port@5 from &switch0 - added dsa-migrat

[PATCH 3/6] kernel: add DEBUG_INFO_REDUCED config option

2022-02-27 Thread Stijn Tintel
Add DEBUG_INFO_REDUCED as a kernel config option and remove it from the kernel configs. This is in preparation of the upcoming option to enable BTF typeinfo, which is incompatible with DEBUG_INFO_REDUCED. Signed-off-by: Stijn Tintel --- config/Config-kernel.in | 14

[PATCH 5/6] config: limit CONFIG_DEBUG_INFO to top-level generic configs

2022-02-27 Thread Stijn Tintel
From: Tony Ambardar Remove redundant target-level entries, noting that these settings will be configured from "Kernel build options" of Kconfig. Signed-off-by: Tony Ambardar Signed-off-by: Felix Fietkau [remove from new configs introduced after patch submission] Signed-off-by: St

[PATCH 6/6] kernel: add KERNEL_BPF_EVENTS config option

2022-02-27 Thread Stijn Tintel
This is required to use BPF maps of type BPF_MAP_TYPE_PERF_EVENT_ARRAY for sending data from BPF programs to user-space for post-processing or logging. As this symbol exposes KERNEL_BPF_KPROBE_OVERRIDE, also add a config option for it. Signed-off-by: Stijn Tintel --- config/Config-kernel.in

[PATCH 4/6] build: add option KERNEL_DEBUG_INFO_BTF

2022-02-27 Thread Stijn Tintel
result in undefined behaviour. Signed-off-by: Tony Ambardar Signed-off-by: Felix Fietkau [split DEBUG_INFO_REDUCED into separate commit, add dependency] Signed-off-by: Stijn Tintel --- config/Config-kernel.in | 14 ++ 1 file changed, 14 insertions(+) diff --git a/config/Config-kernel.i

[PATCH 1/6] layerscape/armv8_64b: enable DEBUG_INFO_REDUCED

2022-02-27 Thread Stijn Tintel
x27;s simply drop this symbol from the subtarget config. This way, we have consistency across the tree, and we do not have to introduce a special case when moving this symbol to an OpenWrt kernel config option. Signed-off-by: Stijn Tintel --- target/linux/layerscape/armv8_64b/config-5.10 | 1 - t

[PATCH 2/6] tools/dwarves: add host package

2022-02-27 Thread Stijn Tintel
: Felix Fietkau [bump to 1.23] Signed-off-by: Stijn Tintel --- toolchain/Config.in| 8 tools/Makefile | 1 + tools/dwarves/Makefile | 38 ++ 3 files changed, 47 insertions(+) create mode 100644 tools/dwarves/Makefile diff --git a/toolchain

Re: [PATCH 2/6] tools/dwarves: add host package

2022-02-28 Thread Stijn Tintel
On 27/02/2022 17:20, Ansuel Smith wrote: > > >> From: Tony Ambardar >> >> dwarves is a set of tools that use the debugging information inserted in >> ELF binaries by compilers such as GCC. Utilities in the dwarves suite >> include pahole, which can be used to find alignment holes in structs and >

Re: [PATCH] image: let mksquashfs4 use all processors

2022-02-28 Thread Stijn Tintel
On 28/02/2022 13:22, Paul Spooren wrote: > Hi team, > >> On 19. Feb 2022, at 19:21, Phillip Lougher wrote: >> >> On Sat, Feb 19, 2022 at 4:01 PM Felix Fietkau wrote: >>> On 19.02.22 16:54, Stijn Tintel wrote: >>>> Drop the -processors argument from

Re: [PATCH 2/6] tools/dwarves: add host package

2022-02-28 Thread Stijn Tintel
On 28/02/2022 16:16, Ansuel Smith wrote: >> On 27/02/2022 17:20, Ansuel Smith wrote: >>> > From: Tony Ambardar dwarves is a set of tools that use the debugging information inserted in ELF binaries by compilers such as GCC. Utilities in the dwarves suite include pahole, wh

Re: Drop CONFIG_IPV6 ?

2022-03-14 Thread Stijn Tintel
On 14/03/2022 01:31, Etienne Champetier wrote: > Hi All, > > We currently have some circular dependencies caused by the usage of > PROVIDES and @IPV6 > https://github.com/openwrt/openwrt/issues/9407 > > One radical way to fix, suggested by Jow, is to completely remove > CONFIG_IPV6 from OpenWrt. >

[PATCH] kernel: enable SERIAL_8250_16550A_VARIANTS

2022-03-14 Thread Stijn Tintel
WatchGuard Firebox M200 to the qoriq target, where it caused some characters to be missing on the console output. Reported-by: Matt Fawcett Signed-off-by: Stijn Tintel --- target/linux/generic/config-5.10 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/generic/con

[PATCH v2 02/11] bpf-headers: drop HOST_LOADLIBES

2022-04-03 Thread Stijn Tintel
HOST_LOADLIBES was renamed to KBUILD_HOSTLDLIBS in kernel 4.19. As the oldest kernel version we support is 5.10, cleanup HOST_LOADLIBES use. Signed-off-by: Stijn Tintel --- package/kernel/bpf-headers/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/package/kernel/bpf-headers/Makefile

[PATCH v2 03/11] build: drop HOST_LOADLIBES

2022-04-03 Thread Stijn Tintel
HOST_LOADLIBES was renamed to KBUILD_HOSTLDLIBS in kernel 4.19. As the oldest kernel version we support is 5.10, cleanup HOST_LOADLIBES use. Signed-off-by: Stijn Tintel --- include/kernel-build.mk | 1 - include/kernel.mk | 1 - 2 files changed, 2 deletions(-) diff --git a/include/kernel

[PATCH v2 00/11] BPF events and Type Format support

2022-04-03 Thread Stijn Tintel
/openwrt/pull/3855 [3] https://github.com/openwrt/openwrt/pull/9362 Stijn Tintel (8): elfutils: move host build to tools bpf-headers: drop HOST_LOADLIBES build: drop HOST_LOADLIBES build: use KBUILD_HOSTLDFLAGS kernel: backport build fix for tools/resolve_btfids layerscape/armv8_64b

[PATCH v2 01/11] elfutils: move host build to tools

2022-04-03 Thread Stijn Tintel
when not building on macOS. Signed-off-by: Stijn Tintel --- package/libs/elfutils/Makefile | 4 tools/Makefile | 3 +++ tools/elfutils/Makefile| 32 3 files changed, 35 insertions(+), 4 deletions(-) create mode 100644 tools/elfutils

[PATCH v2 08/11] kernel: add DEBUG_INFO_REDUCED config option

2022-04-03 Thread Stijn Tintel
Add DEBUG_INFO_REDUCED as a kernel config option and remove it from the kernel configs. This is in preparation of the upcoming option to enable BTF typeinfo, which is incompatible with DEBUG_INFO_REDUCED. Signed-off-by: Stijn Tintel --- config/Config-kernel.in | 14

[PATCH v2 04/11] build: use KBUILD_HOSTLDFLAGS

2022-04-03 Thread Stijn Tintel
According to the GNU make manual, specifying library paths should be done in LDFLAGS rather than LDLIBS. Replace KBUILD_HOSTLDLIBS with KBUILD_HOSTLDFLAGS to pass the host lib directory. Signed-off-by: Stijn Tintel --- include/kernel.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH v2 05/11] tools/dwarves: add host package

2022-04-03 Thread Stijn Tintel
: Felix Fietkau [bump to 1.23, add elfutils dep, drop host lib usage, drop cmake release target, use RM macro] Signed-off-by: Stijn Tintel --- toolchain/Config.in| 8 tools/Makefile | 2 ++ tools/dwarves/Makefile | 35 +++ 3 files changed, 45

[PATCH v2 09/11] build: add option KERNEL_DEBUG_INFO_BTF

2022-04-03 Thread Stijn Tintel
result in undefined behaviour. Signed-off-by: Tony Ambardar Signed-off-by: Felix Fietkau [split DEBUG_INFO_REDUCED into separate commit, add dependency] Signed-off-by: Stijn Tintel --- config/Config-kernel.in | 14 ++ 1 file changed, 14 insertions(+) diff --git a/config/Config-kernel.i

[PATCH v2 06/11] kernel: backport build fix for tools/resolve_btfids

2022-04-03 Thread Stijn Tintel
Building tools/resolve_btfids requires libelf and zlib. Without this build fix, the kernel build system will not find these dependencies. Signed-off-by: Stijn Tintel --- ...resolve_btfids-Build-with-host-flags.patch | 54 +++ ...resolve_btfids-Build-with-host-flags.patch | 54

[PATCH v2 10/11] config: limit CONFIG_DEBUG_INFO to top-level generic configs

2022-04-03 Thread Stijn Tintel
From: Tony Ambardar Remove redundant target-level entries, noting that these settings will be configured from "Kernel build options" of Kconfig. Signed-off-by: Tony Ambardar Signed-off-by: Felix Fietkau [remove from new configs introduced after patch submission] Signed-off-by: St

[PATCH v2 07/11] layerscape/armv8_64b: enable DEBUG_INFO_REDUCED

2022-04-03 Thread Stijn Tintel
x27;s simply drop this symbol from the subtarget config. This way, we have consistency across the tree, and we do not have to introduce a special case when moving this symbol to an OpenWrt kernel config option. Signed-off-by: Stijn Tintel --- target/linux/layerscape/armv8_64b/config-5.10 | 1 - 1

[PATCH v2 11/11] kernel: add KERNEL_BPF_EVENTS config option

2022-04-03 Thread Stijn Tintel
This is required to use BPF maps of type BPF_MAP_TYPE_PERF_EVENT_ARRAY for sending data from BPF programs to user-space for post-processing or logging. Signed-off-by: Stijn Tintel --- config/Config-kernel.in | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/config

[RFC PATCH] hostapd: document ubus methods

2022-05-17 Thread Stijn Tintel
Signed-off-by: Stijn Tintel --- An attempt at documenting the ubus methods OpenWrt patches into hostapd. Adding the people who added those methods in CC, please review all methods you added and ack or nack with suggested corrections or improvements. package/network/services/hostapd/README.md

[PATCH] ramips: use hotplug script for EAP615-Wall MACs

2022-05-17 Thread Stijn Tintel
: a1b8a4d7b3ff ("ramips: support TP-Link EAP615-Wall") Signed-off-by: Stijn Tintel --- target/linux/ramips/dts/mt7621_tplink_eap615-wall-v1.dts | 2 -- .../mt7621/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac | 4 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ta

[PATCH 1/2] wireless-regdb: bump to 2022.06.06

2022-06-06 Thread Stijn Tintel
) on 6GHz 2ed39be wireless-regdb: Remove AUTO-BW from 6 GHz rules 7a6ad1a wireless-regdb: Unify 6 GHz rules for EU contries 68a8f2f wireless-regdb: update regulatory database based on preceding changes Signed-off-by: Stijn Tintel --- package/firmware/wireless-regdb/Makefile

[PATCH 2/2] iw: bump to 5.19

2022-06-06 Thread Stijn Tintel
features 0976378 info: refactor extended features 79f20cb bump version to 5.19 Sync nl80211.h with our version of mac80211 and remove parts of the iw code that are not supported by our version of mac80211. Signed-off-by: Stijn Tintel --- package/network/utils/iw/Makefile | 4 +- .

[PATCH 4/4] hostapd: support MBO in bss_transition_request

2022-06-21 Thread Stijn Tintel
Support the use of MBO in the bss_transition_request ubus method. Signed-off-by: Stijn Tintel --- package/network/services/hostapd/README.md| 3 + .../services/hostapd/src/src/ap/ubus.c| 61 ++- 2 files changed, 61 insertions(+), 3 deletions(-) diff --git a/package

[PATCH 3/4] hostapd: introduce mbo option

2022-06-21 Thread Stijn Tintel
Introduce a new option mbo to toggle Multi Band Operation aka Agile Multiband for a BSS. As the specification requires APs to support OTA when FT is supported, force OTA on when FT is enabled. Signed-off-by: Stijn Tintel --- package/network/services/hostapd/files/hostapd.sh | 13

[PATCH 2/4] hostapd: enable MBO if 802.11ax is enabled

2022-06-21 Thread Stijn Tintel
Multi Band Operation is required for 802.11ax certification, so let's enable it if 802.11ax support is enabled. Signed-off-by: Stijn Tintel --- package/network/services/hostapd/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/network/services/hostapd/Config.in b/pa

[PATCH 1/4] hostapd: add config symbol to enable MBO

2022-06-21 Thread Stijn Tintel
Multi Band Operation aka Agile Multiband introduces new Transition and Transition Rejection Reason Codes that should improve client steering. Add a config symbol to enable it. Signed-off-by: Stijn Tintel --- package/network/services/hostapd/Config.in | 9 + package/network/services

Re: [PATCH 3/4] hostapd: introduce mbo option

2022-06-22 Thread Stijn Tintel
On 21/06/2022 18:19, Andre Valentin wrote: Hello Stijn! Am 21.06.22 um 15:36 schrieb Stijn Tintel: Introduce a new option mbo to toggle Multi Band Operation aka Agile Multiband for a BSS. As the specification requires APs to support OTA when FT is supported, force OTA on when FT is enabled

Re: [PATCH 2/4] hostapd: enable MBO if 802.11ax is enabled

2022-06-24 Thread Stijn Tintel
On 23/06/2022 00:47, David Bauer wrote: Hi Stijn, On 6/21/22 15:36, Stijn Tintel wrote: Multi Band Operation is required for 802.11ax certification, so let's enable it if 802.11ax support is enabled. I'd suggest we enable it for the -full build variants unconditionally. Exclusi

Re: [PATCH 4/4] hostapd: support MBO in bss_transition_request

2022-06-27 Thread Stijn Tintel
On 28/06/2022 02:05, Strontium wrote: Hi Stijn, I am wanting to test these patches on an AP.  Is this a case of applying this, configure MBO enabled, and it just works?  I ask, because it looks like a daemon of some kind needs to manage the MBO transitions of the attached STA using UBUS trans

Re: [PATCH] kernel/crypto: fix crypto-lib-curve25519 x86_64 build

2022-07-21 Thread Stijn Tintel
On 21/07/2022 15:17, Florian Eckert wrote: The crypto-lib-curve25519 dependency for x86_64 could not be met, because the package for for the architecture x86_64 was not added to crypto-lib-curve package. Also the package arch definition for x86/64 does not exist. It musst be change to x86_64 to g

Re: [PATCH 1/5] kernel: netsupport: kmod-sched: explicitly define included modules

2022-07-21 Thread Stijn Tintel
Hi, On 18/07/2022 17:01, Hauke Mehrtens wrote: From: Thomas Langer Change SCHED_MODULES_EXTRA to an explicit list of modules instead of taking everything that is not filtered out. This removes the need of updating the filter each time an extra sch_*, act_* or similar is added with an own kmod

Re: [PATCH 4/5] kernel: netsupport: Add kmod-sched-act-sample

2022-07-21 Thread Stijn Tintel
Hi, On 18/07/2022 17:01, Hauke Mehrtens wrote: From: Thomas Langer This adds the act_sample.ko and psample.ko kernel module which allows traffic sampling. Signed-off-by: Thomas Langer Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/netsupport.mk | 18 ++ 1

[PATCH] kernel: extract kmod-sched-act-ipt from kmod-sched

2022-08-11 Thread Stijn Tintel
There is only one module in kmod-sched that depends on iptables. Move it to its own kmod package so we can drop the kmod-ipt-core dependency from kmod-sched. This makes it possible to disable all kmod-ipt-* packages without having to disable kmod-sched. Signed-off-by: Stijn Tintel --- package

[PATCH] hostapd: add mbo flag to get_clients ubus method

2022-08-11 Thread Stijn Tintel
There is no WLAN_STA_MBO flag, but according to the hostapd source code, when an STA does not support MBO, cell_capa will be 0. Use this to indicate MBO support in the get_clients ubus method. Signed-off-by: Stijn Tintel --- package/network/services/hostapd/src/src/ap/ubus.c | 4 1 file

Re: [PATCH] build: always set CONFIG_IPV6

2022-08-18 Thread Stijn Tintel
. If we're always going to set it to yes, just drop the option entirely and enable it in the generic kernel configs. Aside from that: Acked-by: Stijn Tintel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwr

Re: [PATCH] build: always set CONFIG_IPV6

2022-08-18 Thread Stijn Tintel
On 18/08/2022 17:03, Thibaut wrote: >> Le 18 août 2022 à 15:40, Stijn Tintel a écrit : >> >> On 16/08/2022 20:00, Thibaut VARÈNE wrote: >>> Disabling this build tunable breaks build and seems unrealistically >>> likely to be fixed. >>> >>>

Re: [OpenWrt-Devel] [PATCH] ppp: activate PIE ASLR by default

2020-02-22 Thread Stijn Tintel
On 20/02/2020 11:56, Petr Štetiar wrote: > This activates PIE ASLR support by default when the regular option is > selected. > Unfortunately this seems to break build on x86/64: x86_64-openwrt-linux-musl-gcc -O2 -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wn

Re: [OpenWrt-Devel] [PATCH] ppp: activate PIE ASLR by default

2020-02-22 Thread Stijn Tintel
On 22/02/2020 11:10, Felix Fietkau wrote: > On 2020-02-22 09:54, Stijn Tintel wrote: >> On 20/02/2020 11:56, Petr Štetiar wrote: >>> This activates PIE ASLR support by default when the regular option is >>> selected. >>> >> Unfortunately this seems to b

[OpenWrt-Devel] [PATCH] libpcap: activate PIE ASLR by default

2020-02-22 Thread Stijn Tintel
This activates PIE ASLR support by default when the regular option is selected. This is required to enable PIE ASLR support by default in ppp, as it fails to build without it, on x86/64. The .so file size stays identical. Suggested-by: Felix Fietkau Signed-off-by: Stijn Tintel --- package

Re: [OpenWrt-Devel] [PATCH] kernel: can: add MCP251x CAN controller module support

2020-03-03 Thread Stijn Tintel
On 28/02/2020 18:56, Tim Harvey wrote: > Signed-off-by: Tim Harvey > --- > package/kernel/linux/modules/can.mk | 17 + > 1 file changed, 17 insertions(+) > > diff --git a/package/kernel/linux/modules/can.mk > b/package/kernel/linux/modules/can.mk > index c2c7411..3bf0359 100644 >

Re: [OpenWrt-Devel] [PATCH 2/2] kernel: add kernel module for Sensirion SPS30 PMS

2020-03-03 Thread Stijn Tintel
On 3/03/2020 17:21, Petr Štetiar wrote: > Adds into 4.19 backported kernel module from 5.1 for Sensirion SPS30 > particulate matter sensor, for kernel 5.4 backported dependency fix. > I have my doubts about the backport for 4.19. I would prefer to skip it, as we're moving master to 5.4. Stijn __

Re: [OpenWrt-Devel] [PATCH 1/2] kernel: iio: split buffer modules into separate packages

2020-03-03 Thread Stijn Tintel
On 3/03/2020 17:21, Petr Štetiar wrote: > Otherwise we would need to enable IIO_TRIGGERED_BUFFER symbol in all > kernels in order to be able to use any of the IIO modules which are > utilizing triggered buffer based data acquisition method. Acked-by: Sti

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 (o

[OpenWrt-Devel] [PATCH 2/4] ath79: enable wrgg MTD splitter

2020-06-08 Thread Stijn Tintel
This is required for the D-Link DAP-2695. Signed-off-by: Stijn Tintel --- target/linux/ath79/config-4.19 | 1 + target/linux/ath79/config-5.4 | 1 + 2 files changed, 2 insertions(+) diff --git a/target/linux/ath79/config-4.19 b/target/linux/ath79/config-4.19 index cfa0ebd759..81fd017aba

[OpenWrt-Devel] [PATCH 0/4] ath79: add support for D-Link DAP-2695-A1

2020-06-08 Thread Stijn Tintel
This series adds support for the D-Link DAP-2695-A1 to the ath79 target. Also available in my staging tree at [0]. Successfully tested sysupgrade from ar71xx to ath79. [0] https://git.openwrt.org/?p=openwrt/staging/stintel.git;a=summary Stijn Tintel (4): mtd: enable wrgg support for ath79

[OpenWrt-Devel] [PATCH 1/4] mtd: enable wrgg support for ath79

2020-06-08 Thread Stijn Tintel
This is required for the D-Link DAP-2695-A1. Signed-off-by: Stijn Tintel --- package/system/mtd/src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/system/mtd/src/Makefile b/package/system/mtd/src/Makefile index e504a04478..6da31a04a4 100644 --- a/package

[OpenWrt-Devel] [PATCH 3/4] ath79: use separate file for generic D-Link images

2020-06-08 Thread Stijn Tintel
Move the generic D-Link image definitions to a separate file, as is done for several other vendors. Signed-off-by: Stijn Tintel --- target/linux/ath79/image/Makefile | 1 + target/linux/ath79/image/generic-dlink.mk | 114 + target/linux/ath79/image/generic.mk

[OpenWrt-Devel] [PATCH 4/4] ath79: add support for D-Link DAP-2695-A1

2020-06-08 Thread Stijn Tintel
ition contains 4 MAC address labels: - lanmac - wanmac - wlanmac - wlanmac_a The first 3 all contain the same MAC address, which is also the one on the label. This MAC address is used for the 2.4GHz interface, eth0 uses this MAC+1, eth1 uses this MAC+2, as is done in ar71xx. Signed-off-by: Stijn T

[OpenWrt-Devel] [PATCH v2 1/3] mtd: enable wrgg support for ath79

2020-06-10 Thread Stijn Tintel
This is required for the D-Link DAP-2695-A1. Signed-off-by: Stijn Tintel --- package/system/mtd/src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/system/mtd/src/Makefile b/package/system/mtd/src/Makefile index e504a04478..6da31a04a4 100644 --- a/package

[OpenWrt-Devel] [PATCH v2 2/3] ath79: enable wrgg MTD splitter

2020-06-10 Thread Stijn Tintel
This is required for the D-Link DAP-2695-A1. Signed-off-by: Stijn Tintel --- target/linux/ath79/config-4.19 | 1 + target/linux/ath79/config-5.4 | 1 + 2 files changed, 2 insertions(+) diff --git a/target/linux/ath79/config-4.19 b/target/linux/ath79/config-4.19 index cfa0ebd759..81fd017aba

[OpenWrt-Devel] [PATCH v2 3/3] ath79: add support for D-Link DAP-2695-A1

2020-06-10 Thread Stijn Tintel
MAC address. Using untagged VLANs could solve this, but would still leave those extra snippets in /etc/config/network, and then the device VLAN setup would differ from the one used in ar71xx. Therefore, the MAC addresses of the ethernet interfaces are being set via preinit instead. Signed-off-b

[OpenWrt-Devel] [PATCH v2 0/3] ath79: add support for D-Link DAP-2695-A1

2020-06-10 Thread Stijn Tintel
uboot label. * Drop board from /etc/board.d/01_leds. * Add ath10k-ct and firmware to DEFAULT_PACKAGES. [0] https://git.openwrt.org/?p=openwrt/staging/stintel.git;a=summary Stijn Tintel (3): mtd: enable wrgg support for ath79 ath79: enable wrgg MTD splitter ath79: add support for D-Link D

[OpenWrt-Devel] [PATCH v3 1/3] mtd: enable wrgg support for ath79

2020-06-10 Thread Stijn Tintel
This is required for the D-Link DAP-2695-A1. Signed-off-by: Stijn Tintel --- package/system/mtd/src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/system/mtd/src/Makefile b/package/system/mtd/src/Makefile index e504a04478..6da31a04a4 100644 --- a/package

[OpenWrt-Devel] [PATCH v3 0/3] ath79: add support for D-Link DAP-2695-A1

2020-06-10 Thread Stijn Tintel
https://git.openwrt.org/?p=openwrt/staging/stintel.git;a=summary Stijn Tintel (3): mtd: enable wrgg support for ath79 ath79: enable wrgg MTD splitter ath79: add support for D-Link DAP-2695-A1 package/system/mtd/src/Makefile | 2 +- target/linux/ath79/config-4.19|

[OpenWrt-Devel] [PATCH v3 2/3] ath79: enable wrgg MTD splitter

2020-06-10 Thread Stijn Tintel
This is required for the D-Link DAP-2695-A1. Signed-off-by: Stijn Tintel --- target/linux/ath79/config-4.19 | 1 + target/linux/ath79/config-5.4 | 1 + 2 files changed, 2 insertions(+) diff --git a/target/linux/ath79/config-4.19 b/target/linux/ath79/config-4.19 index cfa0ebd759..81fd017aba

[OpenWrt-Devel] [PATCH v3 3/3] ath79: add support for D-Link DAP-2695-A1

2020-06-10 Thread Stijn Tintel
tition contains 4 MAC address labels: - lanmac - wanmac - wlanmac - wlanmac_a The first 3 all contain the same MAC address, which is also the one on the label. Signed-off-by: Stijn Tintel --- .../ath79/dts/qca9558_dlink_dap-2695-a1.dts | 176 ++ .../generic/base-files/etc/bo

[PATCH] kernel: add missing config symbol

2020-07-29 Thread Stijn Tintel
This symbol is exposed on ARM64 with EFI enabled in the kernel config. Currently this happens only on ipq807x, but as there might be new ARM64 targets with EFI in the future it is better to add the symbol to the generic config. Signed-off-by: Stijn Tintel --- target/linux/generic/config-4.14

[PATCH] kernel: fix missing TRANSPARENT_HUGEPAGE symbols

2020-08-01 Thread Stijn Tintel
force the user to use either of them, so add them as build-configurable kernel options. Fixes: d1a8217d87bf ("kernel: clean-up build-configurable kernel config symbols") Signed-off-by: Stijn Tintel --- config/Config-kernel.in | 12 target/linux/generic/config-5.4

Re: [PATCH] treewide: replace `which` with `command -v`

2020-08-09 Thread Stijn Tintel
compliant, and `which` is not, in the commit message. Acked-by: Stijn Tintel > > Signed-off-by: Paul Spooren > --- > include/rootfs.mk| 6 +++--- > package/base-files/files/lib/upgrade/stage2 | 2 +- > .../kernel/broadcom-wl/files

Re: [RFC] self-signed certificates for LuCI

2020-08-31 Thread Stijn Tintel
On 30/08/2020 10:57, Paul Spooren wrote: > The question came up if we really want RSA certificates for LuCI or if > the faster and "more modern" ECC P-256 wouldn't be a better choice. > > If px5g is added to the next release, certificates are generated on > first boot and most users are unlikely to

[PATCH] ath10k-ct: update to version 2018-08-25

2020-09-01 Thread Stijn Tintel
And since we are using mac80211 5.8, let's also switch the ath10k-ct driver to the new 5.8 version. Signed-off-by: Stijn Tintel --- package/kernel/ath10k-ct/Makefile | 10 +- .../164-ath10k-commit-rates-from-mac80211.patch| 6 +++--- ...GPIO-contro

[PATCH v2 2/2] ath10k-ct: switch to driver version 5.8

2020-09-02 Thread Stijn Tintel
other options for CT_KVER from the comment, as it is incorrect and there are too many versions to sum up and maintain there. Runtime-tested on ath79. Signed-off-by: Stijn Tintel --- package/kernel/ath10k-ct/Makefile | 6 +- ...64-ath10k-commit-rates-from-mac80211.patch | 24 ++-- ...ro

[PATCH v2 1/2] ath10k-ct: update to version 2018-08-25

2020-09-02 Thread Stijn Tintel
Runtime-tested on ath79. Signed-off-by: Stijn Tintel --- package/kernel/ath10k-ct/Makefile | 6 +++--- .../patches/164-ath10k-commit-rates-from-mac80211.patch | 6 +++--- ...-and-GPIO-controlling-support-for-various-chipsets.patch | 6 +++--- .../patches/202-ath10k

Re: Fate of kernel 4.19

2020-10-10 Thread Stijn Tintel
On 9/10/2020 15:19, Adrian Schmutzler wrote: Opinions? Is anybody still using 4.19 at least occasionally? +1 for removal Stijn ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: [PATCH firewall4] ruleset: unconditionally allow DNAT traffic

2023-03-09 Thread Stijn Tintel
On 10/03/2023 01:49, st...@linux-ipv6.be wrote: We currently only accept DNAT traffic if there is at least one DNAT rule configured in UCI. This leads to a problem for people wanting to use UPnP, and do not have any DNAT rules configured. In this case, the UPnP daemon sets up the DNAT rules, but

Re: Matter integration

2023-07-28 Thread Stijn Tintel
On 28/07/2023 00:11, Karsten Sperling via openwrt-devel wrote: Hello, Hi! I’m part of an effort by the Connectivity Standards Alliance to bring support for routers and access points into Matter. Matter is an open-source connectivity standard built to enable developers and device manufacture

Re: packages repos: libpcre

2023-10-28 Thread Stijn Tintel
On 28/10/2023 20:03, Paul D wrote: Hi, maybe some housekeeping process is nececssary, but I got this immediately after I did the usually recommended checkout procedures, and have been even after a git pull, every time I run make. The prce package was moved from the base repo to the packages,

Re: A Method of Breaking Git

2023-10-28 Thread Stijn Tintel
On 24/10/2023 15:25, Christian Marangi wrote: On Tue, Oct 24, 2023 at 02:21:35PM +0200, Bjørn Mork wrote: Christian Marangi writes: Anyway I have also found this [1]... if it does actually works, it might be THE solution to our specific problem. Wonder if someone can test it on a sample repos

Re: [PATCH] realtek/rtl839x: Edgecore ECS4100-12PH support

2024-04-04 Thread Stijn Tintel
On 4/04/2024 18:00, Paul D wrote: On 2024-04-04 16:28, st...@linux-ipv6.be wrote: -netgear,gs110tpp-v1) - ucidef_set_poe 130 "$(filter_port_list "$lan_list" "lan9 lan10")" - ;; If adding a device, surely these remove lines should not be there? Try looking closer. It's called mai

Re: [PATCH] realtek/rtl839x: Edgecore ECS4100-12PH support

2024-04-04 Thread Stijn Tintel
On 4/04/2024 17:28, st...@linux-ipv6.be wrote: Add support for the Edgecore ECS4100-12PH, an 8-port PoE Gigabit Ethernet switch with 2 combo RJ45/SFP and 2 SFP ports. FYI: this patch and WIP changes are also available in my staging tree: https://git.openwrt.org/?p=openwrt/staging/stintel.git;a

Re: [PATCH] realtek/rtl839x: Edgecore ECS4100-12PH support

2024-04-15 Thread Stijn Tintel
On 4/04/2024 19:42, INAGAKI Hiroshi wrote: Hi stijn, Hi Hiroshi, I have some comments below. Thanks for reviewing! On 2024/04/04 23:28, st...@linux-ipv6.be wrote: + +    reboot@0 { +    compatible = "edgecore,reboot"; Isn't this a "gpio-restart"? I can't find any informations about "

Re: [PATCH 2/2] realtek: add RTL821X_CHIP_ID

2024-05-07 Thread Stijn Tintel
On 27/04/2024 11:16, Bjørn Mork wrote: st...@linux-ipv6.be writes: phy_write_paged(phydev, 31, 27, 0x0002); val = phy_read_paged(phydev, 31, 28); .. phy_write_paged(phydev, 0x1f, 0x1b, 0x0002); val = phy_read_paged(phydev, 0x1f, 0x1c); While you're doing spri

[OpenWrt-Devel] [PATCH] lldpd: upgrade to 0.7.1

2013-02-24 Thread Stijn Tintel
Signed-off-by: Stijn Tintel --- package/network/services/lldpd/Makefile | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/package/network/services/lldpd/Makefile b/package/network/services/lldpd/Makefile index f0983f7..024116c 100644 --- a/package/network/services

[OpenWrt-Devel] [PATCH] [packages] hsflowd: fix compile for x86+uClibc

2012-06-16 Thread Stijn Tintel
Remove another call to backtrace_symbols_fd to make hsflowd compile for x86+uClibc targets. --- net/hsflowd/patches/200-uclibc-compat.patch | 10 +- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/net/hsflowd/patches/200-uclibc-compat.patch b/net/hsflowd/patches/200-ucli

[OpenWrt-Devel] [PATCH] optimize kernel config for kvm_guest

2012-06-16 Thread Stijn Tintel
This patch enables few extra kernel options for the kvm_guest subtarget: - Tickless kernel to avoid timer ticks in idle guests, reduces CPU usage - Enable paravirtualization steal time support Signed-off-by: Stijn Tintel --- target/linux/x86/kvm_guest/config-3.3 |4 +++- 1 files changed, 3

Re: [OpenWrt-Devel] [PATCH] [packages] hsflowd: fix compile for x86+uClibc

2012-06-16 Thread Stijn Tintel
On 16-06-12 19:27, Stijn Tintel wrote: > Remove another call to backtrace_symbols_fd to make hsflowd compile > for x86+uClibc targets. Signed-off-by: Stijn Tintel > --- > net/hsflowd/patches/200-uclibc-compat.patch | 10 +- > 1 files changed, 9 insertions(+), 1 deleti

[OpenWrt-Devel] [PATCH 1/3] x86/kvm_guest: add missing symbols for 3.3

2013-01-27 Thread Stijn Tintel
Signed-off-by: Stijn Tintel --- target/linux/x86/kvm_guest/config-3.3 | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/target/linux/x86/kvm_guest/config-3.3 b/target/linux/x86/kvm_guest/config-3.3 index 38f9db6..4cbbf1a 100644 --- a/target/linux/x86/kvm_guest/config

[OpenWrt-Devel] [PATCH 3/3] x86/kvm_guest: add support for 3.7

2013-01-27 Thread Stijn Tintel
Signed-off-by: Stijn Tintel --- target/linux/x86/kvm_guest/config-3.7 | 87 +++ 1 file changed, 87 insertions(+) create mode 100644 target/linux/x86/kvm_guest/config-3.7 diff --git a/target/linux/x86/kvm_guest/config-3.7 b/target/linux/x86/kvm_guest/config-3.7

<    1   2   3   4   >