Re: [OpenWrt-Devel] [PATCH 2/2] fstools: allow to customize the mount flags for the overlay

2018-05-21 Thread John Crispin
On 18/05/18 16:07, Pierre Lebleu wrote: In order to customize the mount flags, a new CMake option (eg: CMAKE_OVL_MOUNT_FLAGS) has been added. Example: cmake -DCMAKE_OVL_MOUNT_FLAGS="MS_RELATIME" Signed-off-by: Pierre Lebleu --- CMakeLists.txt | 6 ++

Re: [OpenWrt-Devel] [PATCH 1/2] fstools: allow to customize the mount option for the overlay

2018-05-21 Thread John Crispin
On 18/05/18 16:07, Pierre Lebleu wrote: In order to give some extra options (specific to the filesystem used), a new CMake option (eg: CMAKE_OVL_MOUNT_OPTION) has been added. Example: cmake -DCMAKE_OVL_MOUNT_OPTION="compr=zlib" Signed-off-by: Pierre Lebleu ---

Re: [OpenWrt-Devel] [PATCH] brcm2708: config files for 4.14 kernel

2018-05-21 Thread John Crispin
On 19/05/18 19:10, Christo Nedev wrote: when resending all your now properly annotated patches, please make sure to send them as a series clearly marked as V2.     John Signed-off-by: Christo Nedev --- target/linux/brcm2708/bcm2708/config-4.14 | 385

Re: [OpenWrt-Devel] [PATCH] brcm2708: Tethering by default

2018-05-21 Thread John Crispin
On 19/05/18 17:38, Christo Nedev wrote: usb0 interface is used by USB-to-ethernet adapters or smartph one tethering , and they need drivers to work. Just adding the interface does not have any effect. Do you mean these drivers -> kmod-usb-net kmod-usb-net-cdc-ether

Re: [OpenWrt-Devel] [PATCH] brcm2708: update brcm2708-gpu-fw

2018-05-21 Thread John Crispin
On 19/05/18 16:14, Christo Nedev wrote: Why? Because old one does not boot for Pi 3 b and Pi 3 b+. It is very old as well! please write a proper description     John Signed-off-by: Christo Nedev --- package/kernel/brcm2708-gpu-fw/Makefile | 30

Re: [OpenWrt-Devel] [PATCH] openssl: Upgrade to 1.1.0h

2018-05-21 Thread John Crispin
On 19/05/18 02:41, Eneas U de Queiroz 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 automatically by the mailing

Re: [OpenWrt-Devel] Why nftables does not work in OpenWrt ?

2018-05-21 Thread Hauke Mehrtens
On 05/20/2018 12:25 PM, Rosysong wrote: > I am using mips(ramips) target. > > I tested this with lantiq and with kernel 4.9 nftables was working like expected and with kernel 4.14 it does not work any more. I do not know if this is caused by the more recent kernel or the flow offloading. Hauke

[OpenWrt-Devel] [PATCH] libevent2: Make it build using OpenSSL 1.1.0

2018-05-21 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 is a backport of @kroeckx

[OpenWrt-Devel] [PATCH] arc770: remove source-only

2018-05-21 Thread Evgeniy Didin
In commit 8b9cdebc9c53 ("arc770: mark as source-only") arc770 was marked as source-only because of iproute2 compile issues. With uClibc-ng version 1.0.30 issues with iproute2 were fixed. Lets remove "source-only" for arc770 as soon as uClibc-ng version will be updated to 1.0.30. Patch for

[OpenWrt-Devel] (no subject)

2018-05-21 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 --- Since upgrading to 2.1.8 is a

[OpenWrt-Devel] [PATCH] ar71xx: Fix build for dap-1330-a1 board

2018-05-21 Thread Hauke Mehrtens
Using a version number of 16 character causes a buffer overflow in the version number overwriting the first bit of the signature in the mkdapimg2 tool. I am not sure if the version number should be null terminated or not. This patch reduces the size of the version number by removing the number of

Re: [OpenWrt-Devel] [PATCH] brcm2708: nvram file for 43455

2018-05-21 Thread Christo Nedev
There is already similar file for 43430. Actually it is no needed for all devices as well. I just fallow a model for now! Sent from iPhone! > On 21 May 2018, at 05:30, Rafał Miłecki wrote: > >> On 19 May 2018 at 19:20, Christo Nedev wrote: >>

[OpenWrt-Devel] [PATCH][ustream-ssl] mbedtls: Fix setting allowed cipher suites

2018-05-21 Thread Hauke Mehrtens
The cipher suites should be set after the default settings are done, otherwise the settings will be overwritten with the defaults later on again. Also make the list of supported cipher suites match what Chrome tries to use. Signed-off-by: Hauke Mehrtens --- ustream-mbedtls.c |

[OpenWrt-Devel] [PATCH][ustream-ssl] mbedtls: Add support for a session cache

2018-05-21 Thread Hauke Mehrtens
This allows the client to reuse the settings from a previous session and no full key exchange is needed. The partially key exchange takes less than 0.1 seconds compared to over a second needed for a full key exchange. Signed-off-by: Hauke Mehrtens --- ustream-mbedtls.c | 14

[OpenWrt-Devel] [PATCH 1/3] mbedtls: update to version 2.9.0

2018-05-21 Thread Hauke Mehrtens
The soversion was changed in this version again and is now aligned with the 2.7.2 version. The size of the ipkg file stayed mostly the same. Signed-off-by: Hauke Mehrtens --- package/libs/mbedtls/Makefile | 4 +- package/libs/mbedtls/patches/200-config.patch |

[OpenWrt-Devel] [PATCH 2/3] mbedtls: Activate the session cache

2018-05-21 Thread Hauke Mehrtens
This make sit possible to store informations about a session and reuse it later. When used by a server it increases the time to create a new TLS session from about 1 second to less than 0.1 seconds. The size of the ipkg file increased by about 800 Bytes. Signed-off-by: Hauke Mehrtens

[OpenWrt-Devel] [PATCH 3/3] mbedtls: Deactivate platform abstraction

2018-05-21 Thread Hauke Mehrtens
This makes mbedtls use the POSIX API directly and not use the own abstraction layer. The size of the ipkg decreased by about 100 bytes. Signed-off-by: Hauke Mehrtens --- package/libs/mbedtls/patches/200-config.patch | 9 + 1 file changed, 9 insertions(+) diff --git

[OpenWrt-Devel] [PATCH] adb: added patch for openssl 1.1.0 compatibility

2018-05-21 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 --- Signed-off-by: Eneas U de Queiroz

[OpenWrt-Devel] [PATCH] uClibc-ng: update to 1.0.30

2018-05-21 Thread Evgeniy Didin
uClibc-ng 1.0.28 does not provide PF_VSOCK/AF_VSOCK definitions, which causes iproute2 v4.16.0 compile errors. In commit 57f2f80383b5 ("bits/socket.h: add missing defines") necessary defines were included and iproute2 builds fine. This commit now is part of uClibc-ng 1.0.30. Lets update uClibc-ng

Re: [OpenWrt-Devel] [PATCH v2 2/2] modify the header of the mach-gl-ar750s.c

2018-05-21 Thread Hartmut Knaack
Hi, I don't see a reason why you would not put these changes into your first patch right away? Thanks, Hartmut Luochongjun schrieb am 21.05.2018 um 04:08: > --- > target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar750s.c | 6 ++ > 1 file changed, 2 insertions(+), 4 deletions(-) > > diff

[OpenWrt-Devel] [PATCH 3/3] ath25: drop 4.9 kernel support

2018-05-21 Thread Sergey Ryazanov
--- target/linux/ath25/config-4.9 | 156 -- .../linux/ath25/patches-4.9/107-ar5312_gpio.patch | 212 --- .../linux/ath25/patches-4.9/108-ar2315_gpio.patch | 363 .../ath25/patches-4.9/110-ar2313_ethernet.patch| 1734

[OpenWrt-Devel] [PATCH 1/3] ath25: add kernel 4.14 support

2018-05-21 Thread Sergey Ryazanov
Copy and refresh patches and config from 4.9, no more work is need. Signed-off-by: Sergey Ryazanov --- target/linux/ath25/config-4.14 | 171 ++ .../linux/ath25/patches-4.14/107-ar5312_gpio.patch | 212 +++

[OpenWrt-Devel] [PATCH 0/3] ath25: update kernel from 4.9 to 4.14

2018-05-21 Thread Sergey Ryazanov
Hello, this series switches ath25 to kernel v4.14. Almost copy'n'refresh work. The series depends on erlier submitted fixes for kernel configuration. The whole series is run-tested with the following boards: * Abicom FreedomCPE (AR5312 based) * D-Link DWL-2100AP (AR2312 based) * Fonera 2.0g

[OpenWrt-Devel] [PATCH 2/3] ath25: switch to 4.14 kernel

2018-05-21 Thread Sergey Ryazanov
Signed-off-by: Sergey Ryazanov --- target/linux/ath25/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ath25/Makefile b/target/linux/ath25/Makefile index 27c2639659..cb8b7ec1be 100644 --- a/target/linux/ath25/Makefile +++

[OpenWrt-Devel] [PATCH 6/6] kernel: enable THIN_ARCHIVES by default

2018-05-21 Thread Sergey Ryazanov
THIN_ARCHIVES option is enabled by default in the kernel configuration and no one target config disables it. So enable it by default and remove this symbol from target specific configs to keep them light. Signed-off-by: Sergey Ryazanov ---

[OpenWrt-Devel] [PATCH 3/6] kernel: disable DRM_LIB_RANDOM by default

2018-05-21 Thread Sergey Ryazanov
DRM_LIB_RANDOM config symbol selected only by DRM_DEBUG_MM_SELFTEST which is disable by default, so disable DRM_LIB_RANDOM by default too. Signed-off-by: Sergey Ryazanov --- target/linux/apm821xx/config-4.14 | 1 - target/linux/archs38/config-4.14 | 1 -

[OpenWrt-Devel] [PATCH 5/6] kernel: enable FUTEX_PI by default

2018-05-21 Thread Sergey Ryazanov
New FUTEX_PI configuration symbol enabled if FUTEX and RT_MUTEX symbols are enabled. Both of these symbols are enabled by default in the generic config, so enable FUTEX_PI by default too to keep platform specific configs minimal. Signed-off-by: Sergey Ryazanov ---

[OpenWrt-Devel] [PATCH 4/6] kernel: enable EXPORTFS by default

2018-05-21 Thread Sergey Ryazanov
OVERLAY_FS config symbol selects EXPORTFS since 4.12 kernel, we have OVERLAY_FS enabled by default, so enable EXPORTFS in the generic config of 4.14 and remove this option from platform specific configs. Signed-off-by: Sergey Ryazanov ---

[OpenWrt-Devel] [PATCH 1/6] kernel: disable ARCH_WANTS_THP_SWAP by default

2018-05-21 Thread Sergey Ryazanov
Only one arch (x86_64) enables this option. So disable ARCH_WANTS_THP_SWAP by default and remove referencies to it from all configs (except x86_64) to make them clean. Signed-off-by: Sergey Ryazanov --- target/linux/apm821xx/config-4.14 | 1 -

[OpenWrt-Devel] [PATCH 2/6] kernel: disable DMA_{NOOP|VIRT}_OPS by default

2018-05-21 Thread Sergey Ryazanov
These options do not used by any supported arch, so disable them by default to make arch configs a bit more clean. Signed-off-by: Sergey Ryazanov --- target/linux/apm821xx/config-4.14 | 2 -- target/linux/archs38/config-4.14 | 2 --

[OpenWrt-Devel] [PATCH 0/6] random kernel config fixes

2018-05-21 Thread Sergey Ryazanov
Hello, this series is a set of cosmetic fixes for kernel configuration, what were spotted during ath25 migration from kernel 4.9 to kernel 4.14. Sergey Ryazanov (6): kernel: disable ARCH_WANTS_THP_SWAP by default kernel: disable DMA_{NOOP|VIRT}_OPS by default kernel: disable DRM_LIB_RANDOM

[OpenWrt-Devel] [PATCH] kernel: bump kernel 4.4 to 4.4.132 for 17.01

2018-05-21 Thread Etienne Haarsma
* Refreshed patches Compile-tested: ar71xx Run-tested: ar71xx Signed-off-by: Etienne Haarsma --- include/kernel-version.mk | 4 ++-- ..._leds-convert-IDE-trigger-to-common-disk-trigger.patch | 2 +-