[OpenWrt-Devel] [PATCH] uboot-envtools: mxs: add support for olimex, imx23-olinuxino

2020-03-04 Thread Michael Heimpold
Add ubootenv uci config for Olimex OLinuXino boards. Signed-off-by: Michael Heimpold --- package/boot/uboot-envtools/Makefile | 2 +- package/boot/uboot-envtools/files/mxs | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/package/boot/uboot-envtools/Makefile b/package/boot

[OpenWrt-Devel] [PATCH] uboot-mxs: bump to v2020.01

2020-03-04 Thread Michael Heimpold
Also update the U-Boot BSP patch for I2SE Duckbill devices. Run tested on I2SE Duckbill and Olimex OLinuXino Maxi boards. Signed-off-by: Michael Heimpold --- package/boot/uboot-mxs/Makefile | 4 ++-- .../patches/001-add-i2se-duckbill.patch | 24 +-- 2 files

[OpenWrt-Devel] ethernet broken on ath79/tl-wr2543nd since upgrade to kernel 5.4

2020-03-04 Thread Luiz Angelo Daros de Luca
Hello, Since upgrade to kernel 5.4, I got no network with tp-link tl-wr2543nd. It failed to initialize ethernet driver: With 5.4: [0.747634] rtl8367 rtl8367: cannot find mdio node phandle [0.753186] rtl8367 rtl8367: using GPIO pins 1 (SDA) and 6 (SCK) [0.759900] rtl8367 rtl8367: RTL8

[OpenWrt-Devel] hostapd menuconfig selection

2020-03-04 Thread Kevin Mahoney
I'm trying to enable building hostapd-full-openssl however, I'm a little confused by the menu options for hostapd. I've checked and this seems to be the same in 18.06, 19.07 and master. The option to build hostapd-openssl is under hostapd-mini and the option to build hostapd-basic is under hostapd.

[OpenWrt-Devel] [PATCH] ncurses: update to 6.2

2020-03-04 Thread DENG Qingfang
Update ncurses to 6.2 Signed-off-by: DENG Qingfang --- package/libs/ncurses/Makefile | 6 +++--- .../100-ncurses-5.6-20080112-urxvt.patch | 2 +- .../101-ncurses-5.6-20080628-kbs.patch| 20 +-- .../patches/102-ncurses-5.9-gcc-5.patch | 2 +-

Re: [OpenWrt-Devel] Security implications for consideration [Was: Re: [openwrt/openwrt] rpcd: add respawn param]

2020-03-04 Thread Florian Eckert
> > procd_open_instance > > procd_set_param command "$PROG" ${socket:+-s "$socket"} > > ${timeout:+-t "$timeout"} > > + procd_set_param respawn ${respawn_retry:-0} > > > > IMHO this is probably not correct as well, that respawn param is > "array" of > [threshold, timeout, retry] params, so this

Re: [OpenWrt-Devel] Security implications for consideration [Was: Re: [openwrt/openwrt] rpcd: add respawn param]

2020-03-04 Thread Petr Štetiar
Mar 4, 2020 12:08:18 Florian Eckert : > Hi Petr > > thanks for your investigation > > > > I simply would like to bring one important aspect for consideration. > > > > By respawning any network facing service indefinitely we're giving > > adversary > > infinite attempts for figuring out the way

Re: [OpenWrt-Devel] Security implications for consideration [Was: Re: [openwrt/openwrt] rpcd: add respawn param]

2020-03-04 Thread Florian Eckert
Hi Petr thanks for your investigation I simply would like to bring one important aspect for consideration. By respawning any network facing service indefinitely we're giving adversary infinite attempts for figuring out the way in, decreasing the purpose of (expensive) ASLR etc. See "Remotel

Re: [OpenWrt-Devel] [PATCH v2] build: refactor JSON info files to `profiles.json`

2020-03-04 Thread Petr Štetiar
Paul Spooren [2020-03-03 17:02:07]: > On 02.03.20 23:12, Petr Štetiar wrote: > > Paul Spooren [2020-03-02 16:19:05]: > > > > > -  .IGNORE: $(BIN_DIR)/$(call IMAGE_NAME,$(1),$(2)) > > > > > > [...] > > > > > >    $(BIN_DIR)/$(call IMAGE_NAME,$(1),$(2)): $(KDIR)/tmp/$(call > > > IMAGE_NAME,$(1

Re: [OpenWrt-Devel] Security implications for consideration [Was: Re: [openwrt/openwrt] rpcd: add respawn param]

2020-03-04 Thread Jo-Philipp Wich
Hi, > [...] feel free to revert it. ~ Jo signature.asc Description: OpenPGP digital signature ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] Security implications for consideration [Was: Re: [openwrt/openwrt] rpcd: add respawn param]

2020-03-04 Thread Petr Štetiar
LEDE Commits [2020-03-04 03:17:06]: Hi, sorry for such late post-review :-), but I've somehow missed it previously (probably because of commit subject?), just noticed it now via content of Jo's commit email. > jow pushed a commit to openwrt/openwrt.git, branch openwrt-19.07: > Author: Florian E

[OpenWrt-Devel] [PATCH 4/4] malta: switch to kernel 5.4 by default

2020-03-04 Thread Yousong Zhou
--- target/linux/malta/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/malta/Makefile b/target/linux/malta/Makefile index 05969c8bff..3a1f50b77f 100644 --- a/target/linux/malta/Makefile +++ b/target/linux/malta/Makefile @@ -13,7 +13,7 @@ SUBTARGETS:=le be

[OpenWrt-Devel] [PATCH 3/4] malta: update kernel config-5.4

2020-03-04 Thread Yousong Zhou
With malta/be selected make kernel_menuconfig CONFIG_TARGET=subtarget_platform Signed-off-by: Yousong Zhou --- target/linux/malta/config-5.4 | 50 --- 1 file changed, 29 insertions(+), 21 deletions(-) diff --git a/target/linux/malta/config-5.4 b/target/l

[OpenWrt-Devel] [PATCH 0/4] malta: kernel 5.4 support

2020-03-04 Thread Yousong Zhou
First patch in this series tries to move some common 5.4 options to generic config. Then it moves on to switching malta target to using 5.4 kernel by default Yousong Zhou (4): kernel: 5.4: move some kconfig options to generic malta: add kernel 5.4 config malta: update kernel config-5.4 ma

[OpenWrt-Devel] [PATCH 1/4] kernel: 5.4: move some kconfig options to generic

2020-03-04 Thread Yousong Zhou
CONFIG_64BIT_TIME=y CONFIG_KASAN_STACK=1 CONFIG_UBSAN_ALIGNMENT=y CONFIG_UNIX_SCM=y CONFIG_DMA_DECLARE_COHERENT=y CONFIG_OF_RESERVED_MEM=y --- target/linux/apm821xx/config-5.4| 6 -- target/linux/ath79/config-5.4 | 6 -- t

[OpenWrt-Devel] [PATCH 2/4] malta: add kernel 5.4 config

2020-03-04 Thread Yousong Zhou
Copied from config-4.19 Signed-off-by: Yousong Zhou --- target/linux/malta/config-5.4 | 336 ++ 1 file changed, 336 insertions(+) create mode 100644 target/linux/malta/config-5.4 diff --git a/target/linux/malta/config-5.4 b/target/linux/malta/config-5.4 new file

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

2020-03-04 Thread Petr Štetiar
Stijn Tintel [2020-03-04 01:48:37]: > 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've asked the s