Re: [OpenWrt-Devel] cns3xxx + gcc8 = compile error

2018-07-30 Thread Syrone Wong
> /home/kvdp/firmware/builds/generic_cns3xxx/tmp/ccuGhaLZ.s: Assembler > messages: > /home/kvdp/firmware/builds/generic_cns3xxx/tmp/ccuGhaLZ.s:401: Error: > selected processor does not support `sev' in ARM mode Similar to https://github.com/openwrt/openwrt/pull/1203 __

Re: [OpenWrt-Devel] [PATCH] kernel: modules: fix kmod-regmap

2018-07-30 Thread John Crispin
On 30/07/18 22:33, Christian Lamparter wrote: This patch fixes the a compile issue that was triggered by apm821xx/sata when kmod-regmap was selected. The CONFIG_REGMAP is declared in drivers/base/regmap/Kconfig as type "bool" and not "tristate". Hence the symbol should never be set to module,

[OpenWrt-Devel] [PATCH] kernel: modules: fix kmod-regmap

2018-07-30 Thread Christian Lamparter
This patch fixes the a compile issue that was triggered by apm821xx/sata when kmod-regmap was selected. The CONFIG_REGMAP is declared in drivers/base/regmap/Kconfig as type "bool" and not "tristate". Hence the symbol should never be set to module, as this confuses the #if CONFIG_REGMAP guards in i

[OpenWrt-Devel] [PATCH 1/2] kernel: bump 4.9 to 4.9.116 for 18.06

2018-07-30 Thread Stijn Segers
* Refreshed patches. * Removed patches: - target/linux/ar71xx/patches-4.9/103-MIPS-ath79-fix-register-address-in-ath79_ddr_wb_flus.patch superseded by upstream - target/linux/ar71xx/patches-4.9/403-mtd_fix_cfi_cmdset_0002_status_check.patch superseded by upstream - target/linux/brcm63xx/

[OpenWrt-Devel] [PATCH 2/2] kernel: bump 4.14 to 4.14.59 for 18.06

2018-07-30 Thread Stijn Segers
* Refreshed patches. * Patches made redundant by changes upstream: - target/linux/ramips/patches-4.14/0036-mtd-fix-cfi-cmdset-0002-erase-status-check.patch * Patches accepted upstream: - target/linux/apm821xx/patches-4.14/020-0001-crypto-crypto4xx-remove-bad-list_del.patch - target/linux/a

Re: [OpenWrt-Devel] [PATCH] kernel/generic: (try) fixing MAP-E patch misbehaving in 4.0

2018-07-30 Thread Daniel Golle
Hi Axel, Can you make a pull-request towards gh.com/openwrt/openwrt (master)? We can then backport this to 18.06, so it's a bit urgent. Cheers Daniel On Thu, May 24, 2018 at 08:17:23PM +0200, Axel Neumann wrote: > I meanwhile created another patch in a openwrt fork at github here > https://git

[OpenWrt-Devel] [PATCH] ustream-ssl: mbedtls: use chacha-poly ciphersuites

2018-07-30 Thread Eneas U de Queiroz 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 --- These ciphersuites were added in m

Re: [OpenWrt-Devel] [PATCH v2 2/4] ramips: fix RBM33G partitioning

2018-07-30 Thread Daniel F. Dickinson
On 2018-07-30 04:09 AM, Thibaut wrote: > > >> Le 30 juil. 2018 à 08:40, John Crispin a écrit : >> >> >> >> On 29/07/18 11:07, Thibaut VARÈNE wrote: >>> This patch improves 5684d087418d176cfdef4e045e1950ca7ba3b09f by correcting >>> the partition scheme for the "RouterBoot" section of the flash. >

Re: [OpenWrt-Devel] [PATCH] [18.06] ar71xx: define switch for rb-952ui-5ac2nd

2018-07-30 Thread John Crispin
On 30/07/18 17:37, Thibaut VARÈNE wrote: QCA9533 built-in switch can be configured is this a backport ? if so, please reference the master commit hash.     John Tested-by: Thibaut VARÈNE Signed-off-by: Thibaut VARÈNE --- target/linux/ar71xx/base-files/etc/board.d/02_network | 4 ++-- 1

[OpenWrt-Devel] [PATCH] [18.06] ar71xx: define switch for rb-952ui-5ac2nd

2018-07-30 Thread Thibaut VARÈNE
QCA9533 built-in switch can be configured Tested-by: Thibaut VARÈNE Signed-off-by: Thibaut VARÈNE --- target/linux/ar71xx/base-files/etc/board.d/02_network | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network b/target/lin

Re: [OpenWrt-Devel] Multi build failures using today's master

2018-07-30 Thread Koen Vandeputte
On 2018-07-30 15:05, Jo-Philipp Wich wrote: Hi Koen, In function 'ath10k_dfs_radar_report': /mnt/ramdisk/koen/firmware/builds/generic_glmifi/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/ath10k-ct-2018-05-30-127f9818/ath10k-4.13/wmi.c:3993:7: error: too few arguments to function 'ar->d

Re: [OpenWrt-Devel] Multi build failures using today's master

2018-07-30 Thread Koen Vandeputte
On 2018-07-30 14:55, Rafał Miłecki wrote: On Mon, 30 Jul 2018 at 11:46, Koen Vandeputte wrote: I started building today's master this morning for 7 different targets, and most of them failed. (some 4.9 and some 4.14 kernels) On ar71xx (Rocket M5) :(Added Rafał in CC as I noticed he work

[OpenWrt-Devel] cns3xxx + gcc8 = compile error

2018-07-30 Thread Koen Vandeputte
Hi Syrone, Hi Felix, I've just been playing around validating some archs using GCC 8. Using this version on cns3xxx target shows following error: make[2]: Entering directory '/home/kvdp/firmware/builds/generic_cns3xxx/scripts/config' make[2]: Leaving directory '/home/kvdp/firmware/builds/ge

Re: [OpenWrt-Devel] Disclaimer for user documentation?

2018-07-30 Thread Magnus Kroken
Hi 2018-07-30 12:30 GMT+02:00 Jo-Philipp Wich : > My personal approach would be picking one of these, swapping "software" > with "documentation" and put that in fine print into the wiki footer, > somewhere next to the license remark. > > Having this is yellow warning banner on top of every documen

[OpenWrt-Devel] [PATCH] wolfssl: remove myself as maintainer

2018-07-30 Thread Alexandru Ardelean
I no longer have the time, nor the desire to maintain this package. Remove myself as maintainer. Signed-off-by: Alexandru Ardelean --- package/libs/wolfssl/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/package/libs/wolfssl/Makefile b/package/libs/wolfssl/Makefile index e08b6f3929..

[OpenWrt-Devel] [PATCH] kernel: add kmod-iio-htu21

2018-07-30 Thread Torbjörn Jansson
This adds support for the htu21 humidity and temperature sensor. To get it to work you have to do something like this: echo "htu21 0x40" >/sys/class/i2c-dev/i2c-1/device/new_device for example by adding it to rc.local Compile tested on brcm2708 and I have used an earlier version of this patch for

Re: [OpenWrt-Devel] Multi build failures using today's master

2018-07-30 Thread Jo-Philipp Wich
Hi Koen, > In function 'ath10k_dfs_radar_report': > /mnt/ramdisk/koen/firmware/builds/generic_glmifi/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/ath10k-ct-2018-05-30-127f9818/ath10k-4.13/wmi.c:3993:7: > error: too few arguments to function 'ar->dfs_detector->add_pulse' >   if (!ar->dfs_de

Re: [OpenWrt-Devel] Multi build failures using today's master

2018-07-30 Thread Rafał Miłecki
On Mon, 30 Jul 2018 at 11:46, Koen Vandeputte wrote: > I started building today's master this morning for 7 different targets, > and most of them failed. (some 4.9 and some 4.14 kernels) > > > On ar71xx (Rocket M5) :(Added Rafał in CC as I noticed he worked on > this) a3d2448fae54 ("kernel: a

[OpenWrt-Devel] [PATCH 1/1] libevent2: Don't build tests and samples

2018-07-30 Thread Eneas U de Queiroz 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 --- This reduces build time significan

[OpenWrt-Devel] [PATCH 0/1] libevent2: Don't build tests and samples

2018-07-30 Thread Eneas U de Queiroz 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 --- This reduces build time significan

Re: [OpenWrt-Devel] Second RGMII ethernet on MT7621?

2018-07-30 Thread Bjørn Mork
Torbjorn Jansson writes: > On 2018-05-01 12:17, Bjørn Mork wrote: >> John Crispin writes: >> >>> making gmac2 work s not trivial with the current driver. >> >> Thanks for confirming. Then I guess I can just wrap up what I have and >> make it public. Just want to figure out how the LEDs are conn

Re: [OpenWrt-Devel] Disclaimer for user documentation?

2018-07-30 Thread Maksym Ruchko
There are few documentation specific licenses with disclaimers, you might consider those: 1. CC license Documentation/books/images are often published under some variant of Creative Commons license. For example Wikipedia uses CreativeCommons Attribution - ShareAlike variant https://creativecomm

Re: [OpenWrt-Devel] Disclaimer for user documentation?

2018-07-30 Thread Jo-Philipp Wich
Hi, maybe it would make sense to copy one of the standard boilerplate liability remarks from one of the OSS licenses and put that as generic statement into the wiki footer. Example from Apache 2.0: "Unless required by applicable law or agreed to in writing, software distributed under the License

Re: [OpenWrt-Devel] Multi build failures using today's master

2018-07-30 Thread Koen Vandeputte
On 2018-07-30 11:46, Koen Vandeputte wrote: Hi All, I started building today's master this morning for 7 different targets, and most of them failed. (some 4.9 and some 4.14 kernels) On ar71xx (Rocket M5) :    (Added Rafał in CC as I noticed he worked on this) touch /mnt/ramdisk/koen/f

[OpenWrt-Devel] Multi build failures using today's master

2018-07-30 Thread Koen Vandeputte
Hi All, I started building today's master this morning for 7 different targets, and most of them failed. (some 4.9 and some 4.14 kernels) On ar71xx (Rocket M5) :    (Added Rafał in CC as I noticed he worked on this) touch /mnt/ramdisk/koen/firmware/builds/generic_rocketm/build_dir/target

Re: [OpenWrt-Devel] how to add/package kernel module?

2018-07-30 Thread Torbjorn Jansson
On 2018-07-30 08:24, John Crispin wrote: On 27/07/18 17:26, Torbjorn Jansson wrote: Hello. Probably over a year ago i built a rasperry pi and made a custom build of openwrt and added a small patch for myself to make module for htu21 temp and humidity sensor available. the patch i made i'm

Re: [OpenWrt-Devel] [PATCH v2 2/4] ramips: fix RBM33G partitioning

2018-07-30 Thread Thibaut
> Le 30 juil. 2018 à 08:40, John Crispin a écrit : > > > > On 29/07/18 11:07, Thibaut VARÈNE wrote: >> This patch improves 5684d087418d176cfdef4e045e1950ca7ba3b09f by correcting >> the partition scheme for the "RouterBoot" section of the flash. >> >> This section is subdivided in several seg

[OpenWrt-Devel] [PATCH procd 1/2] trace: Use properly sized type for PTRACE_GETEVENTMSG

2018-07-30 Thread Michal Sojka
From: Michal Sojka Without this, on 64-bit systems, ptrace call corrupts memory because it stores 64bit value to 32bit pid_t variable. Signed-off-by: Michal Sojka --- trace/trace.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/trace/trace.c b/trace/trace.c index 27cf10

[OpenWrt-Devel] [PATCH procd 2/2] Allow disabling seccomp or changing the whitelist

2018-07-30 Thread Michal Sojka
From: Michal Sojka Without this change, once a service is started with seccomp, it is impossible to restart it without seccomp or change the whitelist file name. This commit fixes that. Disabling seccomp is as easy as commenting out the "procd_set_param seccomp" line in init.d script. Signed-off

[OpenWrt-Devel] [PATCH procd 1/2] trace: Use properly sized type for PTRACE_GETEVENTMSG

2018-07-30 Thread Michal Sojka
From: Michal Sojka Without this, on 64-bit systems, ptrace call corrupts memory because it stores 64bit value to 32bit pid_t variable. Signed-off-by: Michal Sojka --- trace/trace.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/trace/trace.c b/trace/trace.c index 27cf10