[PATCH openwrt-19.07] feeds: add freifunk feed

2020-11-05 Thread Daniel Golle
Read the freifunk packages, that have been moved from the LuCI feed into its own feed in January 2019. Use openwrt-19.07 branch of that repository for openwrt-19.07. Signed-off-by: Sven Roederer (cherry picked from commit 221f97ff4737f012c90feb086bc1c2ed86c6001b) Signed-off-by: Daniel Golle

[PATCH 2/2] target: select procd-seccomp if kernel support is present

2020-11-07 Thread Daniel Golle
Install ld-preload hooks allowing to add seccomp filters for arbitrary services if kernel support for seccomp is present. Signed-off-by: Daniel Golle --- include/target.mk | 5 + 1 file changed, 5 insertions(+) diff --git a/include/target.mk b/include/target.mk index 7a74aceb59..d8cb0e6e58

[PATCH 1/2] target: select procd-ujail if !SMALL_FLASH

2020-11-07 Thread Daniel Golle
Add procd-ujail to DEFAULT_PACKAGES if not building for space-constraint (FEATURES:=small_flash) targets. Signed-off-by: Daniel Golle --- include/target.mk | 5 + 1 file changed, 5 insertions(+) diff --git a/include/target.mk b/include/target.mk index a2e76f8149..7a74aceb59 100644 --- a

[PATCH 0/2] enable procd security features by default

2020-11-07 Thread Daniel Golle
t back and voice any concens, it'd be great to have this included in OpenWrt 20.xx (xx == 11?) [1]: commit fcb41decf6 ("config: enable some useful features on !SMALL_FLASH devices") Daniel Golle (2): target: select procd-ujail if !SMALL_FLASH target: select procd-seccomp if

[PATCH] uqmi: use UUCP-style locking on control device

2020-11-24 Thread Daniel Golle
Use UUCP-style locking to avoid interfering with running commands, eg. by running 'ifup wwan' while 'ifdown wwan' has not completed yet, multiple parallel instances of uqmi would occur and mess things up. Signed-off-by: Daniel Golle --- package/network/utils/uqmi/Make

Re: [PATCH 0/2] enable procd security features by default

2020-11-26 Thread Daniel Golle
On Thu, Nov 26, 2020 at 05:43:53PM +0100, Petr Štetiar wrote: > Daniel Golle [2020-11-07 14:17:12]: > > Hi, > > > Please report back > > testing now the latest master on rtl8382 booted from initramfs and seeing > following: > > Thu Nov 26 14:45:35 2020 u

Re: [PATCH] hostapd: enable airtime policy for the -basic variants

2020-11-27 Thread Daniel Golle
t limited > of the variants. > > Size of the hostapd-basic-openssl binary (mipsel 24Kc -O2): > 543944 bytes (airtime policy disabled) > 548040 bytes (airtime policy enabled) > > Signed-off-by: Rui Salvaterra Acked-by: Daniel Golle Are there any new UCI options to be added to

Re: [RFC PATCH 0/4] mac80211: Update to version 5.10-rc6

2020-12-02 Thread Daniel Golle
On Wed, Dec 02, 2020 at 08:56:50PM +0300, Andrey Jr. Melnikov wrote: > Adrian Schmutzler wrote: > > [-- multipart/signed, encoding 7bit, 56 lines --] > > > > > Hauke Mehrtens (4): > > > > mac80211: Update to version 5.8.18-test2 > > > > mac80211: Update to version 5.9.11-test3 > > > > mac80

Re: [PATCH] ramips: Adds support for Comfast CF-E538AC

2020-12-03 Thread Daniel Golle
Hi Sven, On Thu, Dec 03, 2020 at 06:56:47AM +0100, Sven Danner wrote: > From: Sven Danner >   > Comfast CF-E538AC is a wall mounted access point with an additional > Ethernet LAN access port. It supports 802.11AC Wave2 MU-MIMO. >   > Serial port access for debricking requires simple soldering of

[PATCH 2/2] mac80211: also make use of wpa_supplicant's getpid ubus method

2020-12-07 Thread Daniel Golle
Use the new 'getpid' method of hostapd instead of querying procd for the PID of hostapd. Signed-off-by: Daniel Golle --- package/kernel/mac80211/Makefile | 2 +- package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh | 2 +- 2 files changed, 2

[PATCH 1/2] hostapd: run as user 'network'

2020-12-07 Thread Daniel Golle
licant and hostapd introduce a new ubus method 'getpid' for both of them and make use of that instead of querying procd (which will not work, as procd will return the PID of ujail) Signed-off-by: Daniel Golle --- package/network/services/hostapd/Makefile | 9 ++-- .../network/se

Re: [PATCH 1/2] hostapd: run as user 'network'

2020-12-07 Thread Daniel Golle
On Mon, Dec 07, 2020 at 08:57:05PM +0100, Hauke Mehrtens wrote: > On 12/7/20 7:14 PM, Daniel Golle wrote: > > Granting capabilities CAP_NET_ADMIN and CAP_NET_RAW allows running > > hostapd and wpa_supplicant without root priviledges. > > Add ubus acl allowing the necessary

Re: [PATCH] ustream-ssl: openssl: fix bio memory leak

2020-12-08 Thread Daniel Golle
On Mon, Nov 02, 2020 at 09:53:28AM +0800, serial115...@outlook.com wrote: > From: Pan Chen > > free memory of bio method when ustream be freed Looked good on the first view, but doesn't compile: ustream-io-openssl.c: In function 's_ustream_free': ustream-io-openssl.c:45:17: error: dereferencing

Re: [PATCH ustream] ustream-openssl: fix bio memory leak

2020-12-09 Thread Daniel Golle
On Wed, Dec 09, 2020 at 05:44:48PM +0100, Petr Štetiar wrote: > Eneas U de Queiroz [2020-12-09 13:06:45]: > > Hi, > > > Using the patch by Pan Chen as inspiration, this avoids a memory leak by > > using a global BIO_METHOD pointer that doesn't ordinarily need to be > > freed. > > this sounds we

[PATCH 1/3] kernel: update and clean kernel keyring options

2020-12-12 Thread Daniel Golle
quot;) Signed-off-by: Daniel Golle --- config/Config-kernel.in | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/config/Config-kernel.in b/config/Config-kernel.in index 1cd9da4d12..b5eba78719 100644 --- a/config/Config-kernel.in +++ b/config/Config-kernel.i

[PATCH 2/3] kernel: package kmod-keys-encrypted and kmod-keys-trusted

2020-12-12 Thread Daniel Golle
Add kernel module packages for handling encrypted and TPM trusted keys on the kernel chain. Signed-off-by: Daniel Golle --- package/kernel/linux/modules/other.mk | 41 +++ 1 file changed, 41 insertions(+) diff --git a/package/kernel/linux/modules/other.mk b/package

[PATCH 3/3] kernel: enable kernel keyring by default on !SMALL_FLASH

2020-12-12 Thread Daniel Golle
Enable CONFIG_KEYS by default on systems which are not flash-space constraint. Adds about 50kB to vmlinux on ath79/generic (~18kB compressed) Signed-off-by: Daniel Golle --- config/Config-kernel.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/Config-kernel.in b

Re: [PATCH] procd: add info json output

2020-12-14 Thread Daniel Golle
Hi Florian, On Mon, Dec 14, 2020 at 01:36:27PM +0100, Florian Eckert wrote: > By adding the extra command `info` it is now possible to retrieve all > relevant data from a procd started service directly via the init script. > > Until now, you have to query the ubus with the command: > ubus call se

Re: [PATCH] mvebu/cortexa53: add targz rootfs feature

2020-12-14 Thread Daniel Golle
On Mon, Dec 14, 2020 at 10:10:32PM +0100, Josef Schlehofer wrote: > > On 14. 12. 20 21:59, Paul Spooren wrote: > > The rootfs is required to create rootfs Docker containers. With this > > feature enable a new runtime test can happen for the aarch64_cortex-a53 > > architecture. > > > > CC: Josef Sc

Re: [PATCH] pkg_hash: pkg_hash_check_unresolved: fix segfault

2020-12-24 Thread Daniel Golle
Thanks a lot. Applied. On Thu, Dec 24, 2020 at 04:10:17PM +0800, Yousong Zhou wrote: > Signed-off-by: Yousong Zhou > --- > libopkg/pkg_hash.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libopkg/pkg_hash.c b/libopkg/pkg_hash.c > index 879c0ec..dbed3fe 100644 > --- a/

Re: [RFC PATCH v2 1/3] ramips: add support for the RT6855A SoC

2020-12-28 Thread Daniel Golle
On Mon, Dec 28, 2020 at 02:16:29PM +0100, Adrian Schmutzler wrote: > Hi, > > some additional (general) remarks below. > > > -Original Message- > > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] > > On Behalf Of Rafaël Carré > > Sent: Montag, 28. Dezember 2020 01:25 >

Re: [PATCH] state: check return value of chown

2021-01-02 Thread Daniel Golle
On Sat, Jan 02, 2021 at 10:01:36PM +0800, yehol...@outlook.com wrote: > From: Ye Holmes > > Output warning in case changing the ownership of ubus' home > directory has failed. Besides, this avoids treating unused > result warning as error by GCC (with glibc-2.31, version 10.2): > > procd-2020-12

Re: [PATCH] state: check return value of chown

2021-01-04 Thread Daniel Golle
On Mon, Jan 04, 2021 at 05:08:22PM -, Karl Palsson wrote: > > Daniel Golle wrote: > > On Sat, Jan 02, 2021 at 10:01:36PM +0800, yehol...@outlook.com > > wrote: > > > > - chown(p->pw_dir, p->pw_uid, p->pw_gid); > > > +

Re: [PATCH v2 1/2] mac80211: add 802.11ad-support

2021-01-04 Thread Daniel Golle
Hi Paul, Hi Gary, On Mon, Jan 04, 2021 at 08:27:49PM +0300, Paul Fertser wrote: > From: Gary Cooper > > This adds some logic to properly populate defaults in /etc/config/wireless > and support for WPA*-GCMP. TP-Link AD7200, Mikrotik WAP60g, LHGG-60ad, etc I've split this thing up a bit more and

Re: [PATCH v2 1/2] mac80211: add 802.11ad-support

2021-01-05 Thread Daniel Golle
Hi Adrian, On Tue, Jan 05, 2021 at 01:26:34PM +0100, Adrian Schmutzler wrote: > > A few remarks on the device-support part: > > Or lets just merge the current crappy state ... Whooops, sorry for that. I didn't notice your reply in my inbox while working on the 11ad stuff with lynxis. I've addres

[PATCH 1/2 iwinfo] iwinfo: add support for GCMP cipher

2021-01-05 Thread Daniel Golle
Extend support for WPA ciphers by GCMP which is required for 802.11ad. Breaks ABI as ciphers now needs to be a field of 16 bits instead of 8. Signed-off-by: Daniel Golle --- include/iwinfo.h | 7 --- include/iwinfo/utils.h | 2 +- iwinfo_cli.c | 3 +++ iwinfo_lua.c

[PATCH 2/2 rpcd] iwinfo: add support for 802.11ad and GCMP

2021-01-05 Thread Daniel Golle
Add support for 802.11ad hardware mode as well as the GCMP WPA chipher (which is commonly used with 802.11ad). Signed-off-by: Daniel Golle --- iwinfo.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/iwinfo.c b/iwinfo.c index 1849196..a09f251 100644 --- a/iwinfo.c +++ b/iwinfo.c

Re: [PATCH 1/2 iwinfo] iwinfo: add support for GCMP cipher

2021-01-05 Thread Daniel Golle
On Tue, Jan 05, 2021 at 03:52:40PM +0100, Ansuel Smith wrote: > > > > Extend support for WPA ciphers by GCMP which is required for 802.11ad. > > Breaks ABI as ciphers now needs to be a field of 16 bits instead of 8. > > > > If this gets accepted and we are changing the ABI, can we also add my > ch

Re: [PATCH] base-files: sysupgrade: store status of system-services

2021-01-09 Thread Daniel Golle
On Sat, Jan 09, 2021 at 01:56:13PM +0200, Reiner Karlsberg wrote: > Am 09.01.2021 um 13:28 schrieb Stijn Segers: > > > Currently all services get enabled during image creation. This can cause > > issues after upgrade with services explicitly disabled by the user. > > With this created list sourced

Re:

2021-01-12 Thread Daniel Golle
Hi Etan, On Tue, Jan 12, 2021 at 01:22:16PM +0100, Etan Kissling (IC) via openwrt-devel wrote: > 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 wr

Re:

2021-01-12 Thread Daniel Golle
Hi Etan, patches look good now, they apply cleanly and don't break the build :) One minor comment below: On Wed, Jan 13, 2021 at 01:02:05AM +0100, Etan Kissling via openwrt-devel wrote: > The sender domain has a DMARC Reject/Quarantine policy which disallows > sending mailing list messages using

Re:

2021-01-17 Thread Daniel Golle
On Thu, Jan 14, 2021 at 02:29:31PM +0100, Etan Kissling via openwrt-devel wrote: > 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 > automati

Re: Job board support on openwrt.org?

2021-01-22 Thread Daniel Golle
Hi Philip, On Fri, Jan 22, 2021 at 11:23:42AM -0700, Philip Prindeville wrote: > Hi, > > Is anyone interested in adding a page to the openwrt.org site about > developers willing to do commercial work? > > It could be as simple as: > > * name > * email address > * mobile (if wanted) > * package

Re: ntpd problem if procd-ujail is enabled

2021-01-27 Thread Daniel Golle
On Wed, Jan 27, 2021 at 05:17:48PM +0100, e9hack wrote: > Hi, > > if procd-ujail is enabled, /etc/hotplug.d/25-dnsmasqsec isn't executed after > time synchronization. It should be executed (i've tried), but as user 'ntp', hence the added ACLs. I've recently reworked support for non-root hotplug

Re: [PATCH 0/2] enable procd security features by default

2021-02-09 Thread Daniel Golle
Hi! On Tue, Feb 09, 2021 at 10:28:32AM +0100, Petr Štetiar wrote: > > Daniel Golle [2020-11-07 14:17:12]: > > Hi, > > > Please report back > > FYI just noticed following on imx6q latest master: Thank you for reporting! This indeed looks like a problem. > >

Re: [PATCH] mpc85xx-p1010: add Kernel 5.10 support

2021-02-16 Thread Daniel Golle
On Tue, Feb 16, 2021 at 11:48:04PM +0100, David Bauer wrote: > Tested on: Sophos RED 15W > > The TP-Link WL-WDR4900 needs to be disabled when 5.10 becomes the > default kernel. That's sad. Why? ___ openwrt-devel mailing list openwrt-devel@lists.openwrt

Re: [PATCH 5/5] mediatek: fix bpi-r64 default switch config

2021-02-24 Thread Daniel Golle
On Wed, Feb 24, 2021 at 09:10:39PM +0200, Oskari Lemmela wrote: > bananapi r64 uses mediatek,mt753x gsw switch device. > configure network defaults accordingly. > > Signed-off-by: Oskari Lemmela > --- > target/linux/mediatek/image/mt7622.mk | 6 -- > .../linux/mediatek/

Re: [PATCH] tools: add xxd (from vim)

2021-03-01 Thread Daniel Golle
Hi Petr, On Mon, Mar 01, 2021 at 09:12:46AM +0100, Petr Štetiar wrote: > Daniel Golle [2021-02-28 19:26:07]: > > Hi Daniel, > > > U-Boot requires xxd to create the default environment from an external file > > as done in uboot-mediatek. > > it's not essenti

Re: [PATCH 0/6] firmware-utils/ptgen: improvements

2021-03-03 Thread Daniel Golle
Hi Oskari, On Tue, Mar 02, 2021 at 09:42:05PM +0200, Oskari Lemmela wrote: > - Clean compile warnings > - Fix GPT guid and EFI System Partition naming > - Add support for hybrid MBR partitions > - Use LBA addressing for GPT and don't leave >gaps between partitions. > - use hybrid partiti

Re: [PATCH 0/2] Fix OpenWrt images in current U-boot

2021-03-04 Thread Daniel Golle
Hi Robert, On Thu, Mar 04, 2021 at 12:37:20PM +0100, Robert Marko wrote: > U-boot will reject the nodes with @ for the address since > commit: > https://gitlab.denx.de/u-boot/u-boot/-/commit/79af75f7776fc20b0d7eb6afe1e27c00fdb4b9b4 > > This in turn will cause the failure to boot with OpenWrt > ge

Re: [PATCH procd] inittab: detect active console from kernel if no console= specified

2021-03-07 Thread Daniel Golle
Hi Mathew, On Fri, Mar 05, 2021 at 12:54:15AM +, Mathew McBride wrote: > The default serial console can be set in the device tree > using the linux,stdout-path parameter (or equivalent from ACPI). > > This is important for universal booting (EFI/EBBR) on ARM platforms > where the default con

Re: [PATCH opkg] libopkg: pkg_hash: prefer original packages to satisfy dependencies

2021-03-12 Thread Daniel Golle
, where "foo" provides "bar". > The current code will sort all candidates by name and use the last entry > by default, so "foo" would be used to satisfy a dependency on "bar". > Change the logic to prefer the actual package "bar" in this

Re: RT3662 NAND support

2021-03-18 Thread Daniel Golle
Hi Andreas, On Thu, Mar 18, 2021 at 10:42:35PM +0100, Andreas Böhler wrote: > Hi, > > I'm trying to add support for an older ZWave bridge, the MiCasaVerde Vera > Lite (similar or equal to SERCOMM NA300). It's based on RT3662, 64MB RAM and > 32MB NAND flash - and this is where I'm currently stuck.

[PATCH] mwlwifi: remove target dependency

2021-03-21 Thread Daniel Golle
to use Marvell mPCIe Wifi on non-mvebu platforms). As a result, the missing 'mwlwifi-firmware-'* packages should become available for arm/cortex-a9 (and all other platforms). Signed-off-by: Daniel Golle --- See also: https://forum.openwrt.org/t/recent-imagebuilder-build-issues-for-w

Re: [PATCH] procd: Adding support to detect Pantavisor Container Platform

2021-03-22 Thread Daniel Golle
On Mon, Mar 22, 2021 at 03:38:25PM +0530, Gaurav Pathak wrote: > Hi John, > > I missed your message, seems like it didn't land in inbox or spam folder of > my e-mail. > > > as it runs a custom modified version > > of LXC > > > I assume that if this is a custom downstream version then th

Re: [PATCH] procd: Adding support to detect Pantavisor Container Platform

2021-03-22 Thread Daniel Golle
On Mon, Mar 22, 2021 at 05:00:06PM +0530, Gaurav Pathak wrote: > On Mon, Mar 22, 2021 at 10:42:25AM +0000, Daniel Golle wrote: > > On Mon, Mar 22, 2021 at 03:38:25PM +0530, Gaurav Pathak wrote: > > > > I assume that if this is a custom downstream version then the change &g

Re: [PATCH] build: artifacts add dependency for builded images

2021-03-22 Thread Daniel Golle
On Mon, Mar 22, 2021 at 04:44:47PM +0200, Oskari Lemmelä wrote: > Hi, > > On 21.3.2021 11.55, Paul Spooren wrote: > > On Sat Mar 20, 2021 at 10:58 PM HST, Oskari Lemmela wrote: > > > Add possibility to use images and initramfs in artifacts. > > > > > > Signed-off-by: Oskari Lemmela > > > --- > >

Re: [PATCH] mwlwifi: remove target dependency

2021-03-22 Thread Daniel Golle
ther trivial) change, but I thought it might be good to reach out and see if anyone has objections (because you wouldn't add dependencies just for the modest amount of fun in doing so, usually) Cheers Daniel > > > Imre > > >

Re: [PATCH] procd: Adding support to detect Pantavisor Container Platform

2021-03-22 Thread Daniel Golle
On Mon, Mar 22, 2021 at 09:09:03PM +0530, Gaurav Pathak wrote: > On Mon, Mar 22, 2021 at 11:53:35AM +0000, Daniel Golle wrote: > > On Mon, Mar 22, 2021 at 05:00:06PM +0530, Gaurav Pathak wrote: > > > On Mon, Mar 22, 2021 at 10:42:25AM +, Daniel Golle wrote: > > > &

Re: [PATCH] mwlwifi: remove target dependency

2021-03-22 Thread Daniel Golle
On Mon, Mar 22, 2021 at 11:14:39PM +0100, Hauke Mehrtens wrote: > On 3/21/21 10:17 PM, Daniel Golle wrote: > > Users complained that building images for various mvebu Linksys devices > > fails when using the ImageBuilder, it complains about the package > > 'mwlwifi-f

Re: ujail: bug or feature ?

2021-03-26 Thread Daniel Golle
On Fri, Mar 26, 2021 at 09:32:33AM +0100, e9hack wrote: > Hi, > > a program run by ujail gets a PID of 1. The real PID is different. If such a > program generates a PID file by its own and the PID from that file is used by > a script that is not run by ujail, then any operation will be performed

Re: ujail: bug or feature ?

2021-03-26 Thread Daniel Golle
On Fri, Mar 26, 2021 at 10:54:32AM +0100, e9hack wrote: > Am 26.03.2021 um 10:17 schrieb Daniel Golle: > > On Fri, Mar 26, 2021 at 09:32:33AM +0100, e9hack wrote: > > > Hi, > > > > > > a program run by ujail gets a PID of 1. The real PID is different. If

Re: ujail: bug or feature ?

2021-03-26 Thread Daniel Golle
On Fri, Mar 26, 2021 at 01:06:33PM +0100, e9hack wrote: > Am 26.03.2021 um 12:09 schrieb Daniel Golle: > > > > On Fri, Mar 26, 2021 at 10:54:32AM +0100, e9hack wrote: > > > Am 26.03.2021 um 10:17 schrieb Daniel Golle: > > > > On Fri, Mar 26, 2021 at 09:32:33

Re: [PATCH 2/3] ramips/mt7621: drop the timer recalibration patch

2021-03-30 Thread Daniel Golle
On Tue, Mar 30, 2021 at 10:52:35PM +0100, Rui Salvaterra wrote: > Hi, Ilya, > > On Tue, 30 Mar 2021 at 20:56, Ilya Lipnitskiy > wrote: > > > > "config MIPS_CPS_CPUIDLE" has "select GENERIC_CLOCKEVENTS_BROADCAST if > > SMP", so it doesn't seem necessary to force it in a dedicated patch. > > Oh,

Re: [PATCH 4/4] mediatek: mt7622: add snand support for bananapi bpi-r64

2021-04-05 Thread Daniel Golle
Hi Oskari, Thank you for submitting this patch series. Generally it looks very good, please see some minor comments inline: On Mon, Apr 05, 2021 at 08:53:17PM +0300, Oskari Lemmela wrote: > Signed-off-by: Oskari Lemmela > --- > package/boot/uboot-mediatek/Makefile | 12 + > .../403-ad

Re: [PATCH 3/4] mediatek: mt7622: add ubi support for bananapi bpi-r64

2021-04-05 Thread Daniel Golle
On Mon, Apr 05, 2021 at 08:38:13PM +0200, Adrian Schmutzler wrote: > Hi, > > > -Original Message- > > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] > > On Behalf Of Oskari Lemmela > > Sent: Montag, 5. April 2021 19:53 > > To: openwrt-devel@lists.openwrt.org > > Cc:

Re: Regression in auto-mounting mtd squashfs partitions

2021-04-10 Thread Daniel Golle
;t break devices that are actually making of the new external-data FIT images (as ROOT_DEV is then set by the FIT block partition parser in a generic way and no 'rootfs' MTD partition exists in that case). Acked-by: Daniel Golle > > - Felix > > --- a/drivers/mtd/mtd

Re: umdns bug

2021-04-10 Thread Daniel Golle
Hi Nick, On Sat, Apr 10, 2021 at 01:31:21PM +0200, Nick wrote: > There is an error in the current umds project: "UMDNS: does not start on > master with seccomp" > https://bugs.openwrt.org/index.php?do=details&task_id=3355 > > It is affecting several other projects that make use of umdns. > Is som

Re: [PATCH v2 3/4] mediatek: mt7622: add ubi support for bananapi bpi-r64

2021-04-10 Thread Daniel Golle
On Sat, Apr 10, 2021 at 08:16:07PM +0300, Oskari Lemmela wrote: > Default to nand upgrade if root device is not mmc block device. > Change default uboot environment same way. > > Signed-off-by: Oskari Lemmela > --- > package/boot/uboot-envtools/files/mediatek| 14 ++-- > .../mt7622/base-

Re: Regression: commit 2809d0000744 ("kernel: support FIT partition parser on mtdblock devices") breaks mtd-concat

2021-04-12 Thread Daniel Golle
On Mon, Apr 12, 2021 at 10:45:14PM +0800, DENG Qingfang wrote: > After the commit, devices with mtd-concat such as HC5962 no longer work. > Several "sysfs: cannot create duplicate filename '/devices/..." warnings > can be seen in kernel log. I'm working on it, currently preparing to reproduce this

Re: Regression: commit 2809d0000744 ("kernel: support FIT partition parser on mtdblock devices") breaks mtd-concat

2021-04-12 Thread Daniel Golle
On Mon, Apr 12, 2021 at 06:03:30PM +0200, Koen Vandeputte wrote: > > On 12.04.21 17:31, Daniel Golle wrote: > > On Mon, Apr 12, 2021 at 10:45:14PM +0800, DENG Qingfang wrote: > > > After the commit, devices with mtd-concat such as HC5962 no longer work. > > >

Re: [PATCH] ramips: mt7621: HW-NAT typo fix

2021-04-16 Thread Daniel Golle
On Fri, Apr 16, 2021 at 03:44:06PM +0300, Lucian Cristian wrote: > This fixes Hardware Offload on MT7621 I have already applied the fix for it in pending-5.10: https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=7f703716ae0e4cb4810eff37605b7594cef1edb8 For the future, and to still give you

Re: [PATCH] ramips: mt7621: HW-NAT typo fix

2021-04-17 Thread Daniel Golle
On Sat, Apr 17, 2021 at 11:58:12AM -0700, Ilya Lipnitskiy wrote: > On Fri, Apr 16, 2021 at 6:06 AM Daniel Golle wrote: > > > > On Fri, Apr 16, 2021 at 03:44:06PM +0300, Lucian Cristian wrote: > > > This fixes Hardware Offload on MT7621 > > > > I have already ap

[OpenWrt-Devel] [PATCH] modules: package l2tp_ip6.ko in kmod-l2tp-ip6

2015-04-30 Thread Daniel Golle
The module doesn't have a Kconfig symbol of it's own and is being built if both, CONFIG_L2TP_IP and CONFIG_IPV6 are set, see https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=a32e0eec7042b21ccb52896cf715e3e2641fed93 Signed-off-by: Daniel Golle --- packa

[OpenWrt-Devel] [PATCH] modules: package l2tp_ip6.ko in kmod-l2tp-ip6

2015-05-02 Thread Daniel Golle
r the most atomic packaging possible. Signed-off-by: Daniel Golle --- package/kernel/linux/modules/netsupport.mk | 23 +++ 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/package/kernel/linux/modules/netsupport.mk b/package/kernel/linux/modules/netsupport.mk ind

Re: [OpenWrt-Devel] [PATCH] modules: package l2tp_ip6.ko in kmod-l2tp-ip6

2015-05-03 Thread Daniel Golle
Hi Steven, On Sun, May 03, 2015 at 10:28:16AM +0200, Steven Barth wrote: > On 02.05.2015 13:33, Daniel Golle wrote: > >r45593 includes l2tp_ip6 in the kmod-l2tp-ip package. > >This is not feasible for several reasons: > > - in a given setup one usually uses either l2tp_ip or

[OpenWrt-Devel] [PATCH] generic/4.0: update to 4.0.1

2015-05-03 Thread Daniel Golle
Also refresh one patch. Signed-off-by: Daniel Golle --- include/kernel-version.mk| 4 ++-- .../generic/patches-4.0/773-bgmac-add-srab-switch.patch | 12 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/include/kernel

[OpenWrt-Devel] Archer VR200v GPL code

2015-05-04 Thread Daniel Golle
firmware version 2015-03-31_09.02.51. Thank you! Best regards Daniel Golle ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] Intermittent Ethernet failure

2015-05-04 Thread Daniel Golle
Hi Bill! On Mon, May 04, 2015 at 05:53:21PM -0700, Bill wrote: > I have finally been able to reproduce the problem here at home by setting up > a bridge and leaving it alone for a few days. When it failed, this is what > dmesg told me: > [ 409.38] eth0: link up (100Mbps/Full duplex) > > [

[OpenWrt-Devel] [PATCH] netsupport: l2tp-ip: only depend on IPv6 if IPv6 support is enabled

2015-05-05 Thread Daniel Golle
not. Change this so L2TP over IPv6 and the resulting dependency to kmod-ipv6 is only included in kmod-l2tp-ip if IPv6 support is enabled. Signed-off-by: Daniel Golle --- package/kernel/linux/modules/netsupport.mk | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a

[OpenWrt-Devel] [PATCH 0/3] procd: add support for seccomp on ARM

2015-05-16 Thread Daniel Golle
This series adds support for syscall tracing and seccomp filters on the ARM architecture to procd. Daniel Golle (3): trace: add support for ARM architecture jail: add support for ARM architecture jail: respect byte order when setting AUDIT_ARCH jail/seccomp-bpf.h | 14

[OpenWrt-Devel] [PATCH 1/3] trace: add support for ARM architecture

2015-05-16 Thread Daniel Golle
Signed-off-by: Daniel Golle --- trace/trace.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/trace/trace.c b/trace/trace.c index d70957d..5941f90 100644 --- a/trace/trace.c +++ b/trace/trace.c @@ -42,6 +42,8 @@ # define EF_REG2 8 # endif #define reg_syscall_nr (EF_REG2 / 4

[OpenWrt-Devel] [PATCH 2/3] jail: add support for ARM architecture

2015-05-16 Thread Daniel Golle
ectures as well. Signed-off-by: Daniel Golle --- jail/seccomp-bpf.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/jail/seccomp-bpf.h b/jail/seccomp-bpf.h index 1cc2908..40fe7b9 100644 --- a/jail/seccomp-bpf.h +++ b/jail/seccomp-bpf.h @@ -68,6 +68,9 @@ struct seccomp_data { #elif d

[OpenWrt-Devel] [PATCH 3/3] jail: respect byte order when setting AUDIT_ARCH

2015-05-16 Thread Daniel Golle
AUDIT_ARCH on ARM and MIPS differs depending on the byte order. Thus set AUDIT_ARCH to the respective endian-specific variants. Signed-off-by: Daniel Golle --- jail/seccomp-bpf.h | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/jail/seccomp-bpf.h b/jail/seccomp

[OpenWrt-Devel] [PATCH] uClibc: add signal info for seccomp related SIGSYS

2015-05-17 Thread Daniel Golle
y set si_value.sival_int as the syscall number. To fix this, import the definitions and macros needed from glibc. Signed-off-by: Daniel Golle --- .../995-add-sigsys-to-siginfo_t-union.patch| 145 + 1 file changed, 145 insertions(+) create mode 100644 toolchain/uClibc/pa

[OpenWrt-Devel] [PATCH] generic/4.0: update to 4.0.4

2015-05-19 Thread Daniel Golle
Update kernel sources and refresh some patches. Signed-off-by: Daniel Golle --- include/kernel-version.mk | 4 ++-- ...2-15-bgmac-fix-requests-for-extra-polling-calls-from-NAPI.patch | 7 +-- target/linux/generic/patches-4.0/102

[OpenWrt-Devel] [PATCH] musl: update to version 1.1.9

2015-05-21 Thread Daniel Golle
The fixes previously contained in 001-git-2015-03-28.patch are all part of the upstream release, thus the patch can be removed. All other patches apply cleanly. Signed-off-by: Daniel Golle --- toolchain/musl/Config.version | 2 +- toolchain/musl/common.mk

Re: [OpenWrt-Devel] Chaos Calmer 15.05-rc1

2015-05-21 Thread Daniel Golle
Hi Thomas, On Thu, May 21, 2015 at 12:37:35PM +, thomas.lan...@lantiq.com wrote: > I checked the downloads, e.g here > http://downloads.openwrt.org/chaos_calmer/15.05-rc1/lantiq/xrx200/ > and saw that only one image per subtarget is built. > As the image-creation is tied to the profiles, the

[OpenWrt-Devel] [PATCH] procd: update sources

2015-05-22 Thread Daniel Golle
Adds seccomp support in procd also for ARM-based systems. Signed-off-by: Daniel Golle --- package/system/procd/Makefile | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package/system/procd/Makefile b/package/system/procd/Makefile index 758f0a4..a9f1059 100644 --- a

[OpenWrt-Devel] [PATCH v2] musl: update to version 1.1.9

2015-05-23 Thread Daniel Golle
Plus changes up to 2015-05-22 to fix ldso related regression on PPC. Signed-off-by: Daniel Golle --- toolchain/musl/Config.version | 2 +- toolchain/musl/common.mk| 2 +- toolchain/musl/patches/001-git-2015-03-28.patch | 93 toolchain/musl

[OpenWrt-Devel] [PATCH v2] generic/4.0: update to 4.0.4

2015-05-23 Thread Daniel Golle
Update kernel sources and refresh some patches. Signed-off-by: Daniel Golle --- v2: rebase on current HEAD since r45711 broke the patch. include/kernel-version.mk | 4 ++-- ...2-15-bgmac-fix-requests-for-extra-polling-calls-from-NAPI.patch | 7

[OpenWrt-Devel] [PATCH] netifd: bump to current HEAD

2015-05-24 Thread Daniel Golle
This introduces a new config parameter "no-proto-task" useful for xl2tpd. Signed-off-by: Daniel Golle --- package/network/config/netifd/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/network/config/netifd/Makefile b/package/network/con

[OpenWrt-Devel] [PATCH] musl: update to version 1.1.9

2015-05-25 Thread Daniel Golle
Patch to 2015-05-25 to fix ldso related regressions on PPC and MIPS. Signed-off-by: Daniel Golle --- toolchain/musl/Config.version | 2 +- toolchain/musl/common.mk| 2 +- toolchain/musl/patches/001-git-2015-03-28.patch | 93 --- toolchain/musl

Re: [OpenWrt-Devel] [PATCH 3/6] kernel: add stmmac as a new kernel package

2015-05-29 Thread Daniel Golle
Please note that the sunxi and oxnas targets already use stmmac. However, in your patch the selected config symbols do not apply to stmmac in general but are specific to the hardware you are using. Please either make the module depend on the target platforms it is meant to be used on or fix it so

[OpenWrt-Devel] [PATCH] malta: add default network configuration

2015-05-30 Thread Daniel Golle
I didn't figure out how to achieve this using uci-defaults-new.sh, so use old-school uci-defaults script as that's what is used on realview as well. Signed-off-by: Daniel Golle --- target/linux/malta/base-files/etc/uci-defaults/02-network | 6 ++ 1 file changed, 6 insertions(+) c

[OpenWrt-Devel] folder for snapshot builds missing for ipq806x

2015-06-01 Thread Daniel Golle
Hi! Someone with the needed access rights, please make sure all buildbot targets also have their folder on downloads.openwrt.org Looks like at least ipq806x is missing and cannot upload the packages made: http://buildbot.openwrt.org:8010/builders/ipq806x/builds/17/steps/shell_11/logs/stdio Che

[OpenWrt-Devel] automated builds with hardening features enabled

2015-06-11 Thread Daniel Golle
Hi! Thinking about how we could improve automated QA, I was wondering if we could have buildbot also run builds with hardening features enabled? For the beginning, it'd be enough if every 10th build would have SSP, seccomp/jails, RELRO, ... as well as LXC-related features enabled. Then we could h

Re: [OpenWrt-Devel] Chaos Calmer 15.05-rc2

2015-06-14 Thread Daniel Golle
On Sat, Jun 13, 2015 at 04:21:55PM +0200, Steven Barth wrote: > ** Highlights since Barrier Breaker ** > ... > * Platform and Driver Support > ... > - New sunxi target for AllWinner A10/A13/A20 family and various boards Please also mention: - New oxnas target for Oxford/PLXTECH NAS782x family

[OpenWrt-Devel] [PATCH] oxnas: change file extension of u-boot+initramfs image

2015-06-14 Thread Daniel Golle
The *u-boot-initramfs* images are not ITB/FIT images but are rather supposed to be loaded to RAM and jumped-into. To avoid confusion, change the file extension from itb to bin. Signed-off-by: Daniel Golle --- target/linux/oxnas/image/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion

Re: [OpenWrt-Devel] [PATCH 2/2] ar71xx: add 4.0 support

2015-06-15 Thread Daniel Golle
On Mon, Jun 15, 2015 at 06:15:58PM +0300, Roman Yeryomin wrote: > On 14 June 2015 at 20:15, Roman Yeryomin wrote: > > Tested on UAP-PRO > > > > Please discard this, it's broken because of 45954. > I will send rebased version. Yes, I saw that and manually fixed it to test on TL-WDR3500. Apart fro

[OpenWrt-Devel] [PATCH] kernel: mitigate cgroups config dependency changes

2015-06-16 Thread Daniel Golle
Memory Resource Controller no longer depends on Resource counters since Kernel version 4.0. Signed-off-by: Daniel Golle --- config/Config-kernel.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/Config-kernel.in b/config/Config-kernel.in index cc8df5a..86753ca 100644

Re: [OpenWrt-Devel] Renaming trunk to Dxx Dxx ?

2015-06-16 Thread Daniel Golle
On Tue, Jun 16, 2015 at 03:58:34PM +0300, Hannu Nyman wrote: > Please rename trunk to Dxxx Dxxx something. > > It is a bit confusing when both trunk and CC15.05 claim to be Chaos Calmer. > The clear identification of the two got more important now when trunk has > started to use musl, and trunk an

[OpenWrt-Devel] [PATCH v2] kernel: mitigate cgroups config dependency changes

2015-06-17 Thread Daniel Golle
Memory Resource Controller no longer depends on Resource counters since Kernel version 4.0. 3.18 is the only still supported version needing Resource counters for MEMCG, thus declare the dependency only for that version. Signed-off-by: Daniel Golle --- config/Config-kernel.in | 2 +- 1 file

[OpenWrt-Devel] SSL/TLS crypto library headaches

2015-06-28 Thread Daniel Golle
Hi everybody! I believe we all agree that the world is a mess. Thus it's not very surprising that the currente state of crypto- libraries *and their packaging* is just as messy as everything else. However, especially in case of those libraries, one might want to be very careful and choose a single

[OpenWrt-Devel] [PATCH 1/3] kernel: add Ricoh RS5C372 RTC module support

2015-07-14 Thread Daniel Golle
Signed-off-by: Daniel Golle --- package/kernel/linux/modules/other.mk | 15 +++ 1 file changed, 15 insertions(+) diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk index 473f063..b4907f4 100644 --- a/package/kernel/linux/modules/other.mk

[OpenWrt-Devel] [PATCH 2/3] mvebu: add support for BUFFALO LS42x

2015-07-14 Thread Daniel Golle
wired to a USB 3.0 socket at the front as well as the in-SoC USB 2.0 host wired to a port on the back of the device. Still missing/not working: * poweroff/reset * Wake-on-LAN * easy and non-intrusive way to flash via factory ROM Signed-off-by: Daniel Golle --- target/linux/mvebu/base-files/etc

[OpenWrt-Devel] [PATCH 3/3] uboot-envtools: add support for BUFFALO LS42x

2015-07-14 Thread Daniel Golle
Signed-off-by: Daniel Golle --- package/boot/uboot-envtools/files/mvebu | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/boot/uboot-envtools/files/mvebu b/package/boot/uboot-envtools/files/mvebu index 13b48fd..bed3b23 100644 --- a/package/boot/uboot-envtools/files/mvebu +++ b

Re: [OpenWrt-Devel] Chaos Calmer 15.05-rc3

2015-07-16 Thread Daniel Golle
On Thu, Jul 16, 2015 at 04:39:58PM +0200, Steven Barth wrote: > The OpenWrt developers are proud to announce the third release candidate of > OpenWrt Chaos Calmer. > ... > ** Improvements since RC 2 ** > * brcmfmac: support for BCM43602 > * mt76: updated version with new firmware support, TX & DMA

[OpenWrt-Devel] Chaos Calmer 15.05 package build failures in SDK

2015-07-16 Thread Daniel Golle
On Thu, Jul 16, 2015 at 04:39:58PM +0200, Steven Barth wrote: > The OpenWrt developers are proud to announce the third release candidate of > OpenWrt Chaos Calmer. > ... > CHAOS CALMER (15.05 RC3) I also noticed that the SDK is still broken: * feeds.conf.default is missing git-src base git:/

Re: [OpenWrt-Devel] Chaos Calmer 15.05 package build failures in SDK

2015-07-16 Thread Daniel Golle
On Thu, Jul 16, 2015 at 07:06:34PM +0200, Daniel Golle wrote: > On Thu, Jul 16, 2015 at 04:39:58PM +0200, Steven Barth wrote: > > The OpenWrt developers are proud to announce the third release candidate of > > OpenWrt Chaos Calmer. > > ... > > CHAOS CALMER (15.05 RC

  1   2   3   4   5   6   7   8   9   10   >