[PATCH] libubox: remove support for jsoncpp

2020-12-24 Thread Rosen Penev
jsoncpp requires a C++ compiler instead of a C one. Fixes the following build error: fatal error: cstddef: No such file or directory '#include Issue was discovered on the buildbots where an SDK contained a broken pkgconf. Make json-c required in order to not even attempt compilation when json-c

[PATCH] pkgconf: disable building shared libraries

2020-12-24 Thread Rosen Penev
pkgconf uses libpkgconf. disabling shared libraries makes it be linked statically. Helps to avoid issues regarding finding the library with a wrong rpath. Nothing uses libpkgconf anyway. Signed-off-by: Rosen Penev --- tools/pkgconf/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/

[PATCH] glibc: add arc700 patch

2020-12-24 Thread Rosen Penev
glibc does not officially support ARC700 so this adds the missing pieces. I looked at uClibc-ng and a patch by Synopsis for glibc. ran make toolchain/glibc/refresh to clean up fuzz. Signed-off-by: Rosen Penev --- toolchain/glibc/common.mk | 2 +- ...use-of-DES-encryption-fu

New ath10k-ct driver available

2020-12-24 Thread Ben Greear
I just pushed this commit. I'm interested in feedback if anyone tests it. It could fix some of the strange tx issues, and for the 5.10 kernel, at least, it fixes very obvious tx-path issues. commit b753e8bf22b94297acbaa370b4cb0be87e3da4b8 (HEAD -> master, origin/master) Author: Ben Greear Date

[PATCH] cryptodev-linux: bump to 1.11, fix build against kernel 5.10.

2020-12-24 Thread Stijn Segers
This patch bumps cryptodev-linux to the latest stable release (1.11) and fixes compilation against the next LTS (and likely OpenWrt) kernel 5.10. Signed-off-by: Stijn Segers --- package/kernel/cryptodev-linux/Makefile | 6 +-- ...x-module-loading-with-Linux-v5.0-rc5.patch | 50 ---

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: [PATCH 3/3] ramips: add RT6855A SoC Linux support patches

2020-12-24 Thread Adrian Schmutzler
Hi, > -Original Message- > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] > On Behalf Of Rafaël Carré > Sent: Donnerstag, 24. Dezember 2020 09:33 > To: Chuanhong Guo > Cc: OpenWrt Development List > Subject: Re: [PATCH 3/3] ramips: add RT6855A SoC Linux support patc

Re: arc700 + glibc fails

2020-12-24 Thread Alexey Brodkin
Hi Rosen, > From: Rosen Penev > Sent: Thursday, December 24, 2020 8:07 AM > To: Alexey Brodkin > Cc: Hauke Mehrtens ; openwrt-de...@openwrt.org > ; Evgeniy Didin ; > arc-...@synopsys.com > Subject: Re: arc700 + glibc fails [snip] > --- a/sysdeps/arc/atomic-machine.h > +++ b/sysdeps/arc/a

Re: [PATCH 3/3] ramips: add RT6855A SoC Linux support patches

2020-12-24 Thread Rafaël Carré
Hi, On 12/24/20 03:12, Chuanhong Guo wrote: Hi! On Thu, Dec 24, 2020 at 12:52 AM Rafaël Carré wrote: TODO: the spi-mt7621 patches will break support for other targets And please try your best to finish the TODOs before sending them for review. Or send it as RFC instead. No problem. Sh

Re: [PATCH 2/3] ramips: add RT6855A support to ethernet driver

2020-12-24 Thread Rafaël Carré
Hello, On 12/24/20 03:52, Chuanhong Guo wrote: Hi! On Thu, Dec 24, 2020 at 12:52 AM Rafaël Carré wrote: TODO: document offsets in rt305x_mii_write ? Please do so if you know what they mean. Unfortunately I don't. I could copy the existing definitions and give them a rt6855a-specific nam

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

2020-12-24 Thread Rafaël Carré
Hello, Thank you for your comments, they are very much appreciated! On 12/24/20 04:09, Chuanhong Guo wrote: Hi! On Thu, Dec 24, 2020 at 12:51 AM Rafaël Carré wrote: Add Linksys WAP300N target +ethernet: ethernet@5{ +compatible = "ralink,rt6855-eth"; This doesn't

[PATCH] pkg_hash: pkg_hash_check_unresolved: fix segfault

2020-12-24 Thread Yousong Zhou
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/libopkg/pkg_hash.c +++ b/libopkg/pkg_hash.c @@ -263,7 +263,7 @@ pkg_hash_check_unresolved(pkg_t *maybe