[OpenWrt-Devel] [RFC 14/27] kernel: Add dependencies for kernel 4.19

2018-11-27 Thread Hauke Mehrtens
These dependencies are needed on kernel 4.14 and kernel 4.19. Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/crypto.mk | 2 +- package/kernel/linux/modules/fs.mk | 2 +- package/kernel/linux/modules/other.mk | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff

[OpenWrt-Devel] [RFC 25/27] kernel: netfilter: Add nf_conncount.ko

2018-11-27 Thread Hauke Mehrtens
Some kernel modules from kmod-ipt-conntrack-extra depend on nf_conncount.ko, which was added in kernel 4.16, add it to the kmod. Signed-off-by: Hauke Mehrtens --- include/netfilter.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/include/netfilter.mk b/include/netfilter.mk index

[OpenWrt-Devel] [RFC 26/27] kernel: netfilter: Adapt merge ipv4/ipv6 masquerade code

2018-11-27 Thread Hauke Mehrtens
ill not be overwritten. Signed-off-by: Hauke Mehrtens --- include/netfilter.mk | 4 ++-- target/linux/generic/config-4.19 | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/netfilter.mk b/include/netfilter.mk index 2d232b5f5c..4b9cc20622 100644 --- a/include/ne

[OpenWrt-Devel] [RFC 04/27] kernel: Copy patches from kernel 4.14 to 4.19

2018-11-27 Thread Hauke Mehrtens
This just copies the files from the kernel 4.14 specific folders into the kernel 4.19 specific folder, no changes are done to the files in this commit. Signed-off-by: Hauke Mehrtens --- .../010-Kbuild-don-t-hardcode-path-to-awk-in-scripts-ld-vers.patch| 0 .../{backport-4.14 => backp

Re: [OpenWrt-Devel] [RFC 06/27] kernel: Add kmod-phy-realtek

2018-11-29 Thread Hauke Mehrtens
On 11/28/18 6:32 AM, Yousong Zhou wrote: > On Wed, 28 Nov 2018 at 07:17, Hauke Mehrtens wrote: >> >> The r8169 driver uses the phy lib with the realtek phy driver in kernel >> 4.19 instead of integrating the phy driver into the mac driver. >> Add the new phy driver and

Re: [OpenWrt-Devel] [RFC 26/27] kernel: netfilter: Adapt merge ipv4/ipv6 masquerade code

2018-11-29 Thread Hauke Mehrtens
On 11/28/18 6:53 AM, Yousong Zhou wrote: > On Wed, 28 Nov 2018 at 07:21, Hauke Mehrtens wrote: >> >> In kernel commit 0168e8b361 ("netfilter: nat: merge ipv4/ipv6 masquerade >> code into main nat module") the CONFIG_NF_NAT_MASQUERADE_IPV4 and >> CONFIG_NF_NAT

Re: [OpenWrt-Devel] [RFC 26/27] kernel: netfilter: Adapt merge ipv4/ipv6 masquerade code

2018-12-02 Thread Hauke Mehrtens
On 11/30/18 3:15 AM, Yousong Zhou wrote: > On Fri, 30 Nov 2018 at 06:26, Hauke Mehrtens wrote: >> >> On 11/28/18 6:53 AM, Yousong Zhou wrote: >>> On Wed, 28 Nov 2018 at 07:21, Hauke Mehrtens wrote: >>>> >>>> In kernel commit 0168e8b361 ("netf

[OpenWrt-Devel] [PATCH] mac80211: Update to version 4.19.7-1

2018-12-07 Thread Hauke Mehrtens
backports 4.19.7-1. Signed-off-by: Hauke Mehrtens --- package/kernel/mac80211/Makefile | 6 +- .../patches/ath/080-ath10k_thermal_config.patch| 2 +- .../patches/ath/402-ath_regd_optional.patch| 2 +- .../patches/ath/404-regd_no_assoc_hints.patch | 4

Re: [OpenWrt-Devel] Add support for kernel 4.19

2018-12-09 Thread Hauke Mehrtens
Hi Daniel, On 12/3/18 11:22 AM, Daniel Engberg wrote: > Hi Hauke! > > First of all, great work and also thanks to the others who contributed! Thanks for testing this Daniel, The target code still needs some work, I only added this to test the generic code. > I gave this a try on my Orange Pi P

[OpenWrt-Devel] [PATCH 09/29] i2c-gpio-custom: Adapt to moved include file

2018-12-09 Thread Hauke Mehrtens
The i2c-gpio.h file was moved in kernel 4.18. Signed-off-by: Hauke Mehrtens --- package/kernel/i2c-gpio-custom/src/i2c-gpio-custom.c | 5 + 1 file changed, 5 insertions(+) diff --git a/package/kernel/i2c-gpio-custom/src/i2c-gpio-custom.c b/package/kernel/i2c-gpio-custom/src/i2c-gpio

[OpenWrt-Devel] [PATCH 07/29] kernel: Add kmod-phy-realtek

2018-12-09 Thread Hauke Mehrtens
The r8169 driver uses the phy lib with the realtek phy driver in kernel 4.19 instead of integrating the phy driver into the mac driver. Add the new phy driver and add this missing dependency. Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/netdevices.mk | 18 +- 1

[OpenWrt-Devel] [PATCH 03/29] kernel: Move modifications of b53.h into patch

2018-12-09 Thread Hauke Mehrtens
. Signed-off-by: Hauke Mehrtens --- .../files/include/linux/platform_data/b53.h| 36 .../hack-4.14/700-swconfig_switch_drivers.patch| 12 +++ .../hack-4.9/700-swconfig_switch_drivers.patch | 12 +++ .../linux/generic/pending-3.18/730-phy_b53.patch | 39

[OpenWrt-Devel] [PATCH 13/29] kernel: extract asn1_decoder.ko

2018-12-09 Thread Hauke Mehrtens
The asn1_decoder.ko module is needed by the kmod-nf-nathelper-extra package in kernel 4.19, extract it and add the missing dependencies. Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/crypto.mk| 3 +-- package/kernel/linux/modules/lib.mk | 11 +++ package

[OpenWrt-Devel] [PATCH 01/29] kernel: Reorder configuration

2018-12-09 Thread Hauke Mehrtens
4 $ ./scripts/kconfig.pl '+' target/linux/generic/config-4.9 /dev/null > target/linux/generic/config-4.9-new $ mv target/linux/generic/config-4.9-new target/linux/generic/config-4.9 Signed-off-by: Hauke Mehrtens --- target/linux/generic/config-4.14 | 4 ++-- target/linux/generic/con

[OpenWrt-Devel] [PATCH 15/29] kernel: Use crypto_simd.ko instead of lrw.ko for x86

2018-12-09 Thread Hauke Mehrtens
The x86 optimized cryptographic algorithm kernel modules now mostly use crypto_simd.ko instead of lrw.ko in kernel 4.19. Add the new module to the kmod-crypto-misc package. Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/crypto.mk | 5 +++-- 1 file changed, 3 insertions(+), 2

[OpenWrt-Devel] [PATCH 06/29] kernel: Remove deprecated generic linux, part-probe patch

2018-12-09 Thread Hauke Mehrtens
This is now replaced by some other mtd partition parsing which was merged into upstream. Signed-off-by: Hauke Mehrtens --- ...t-add-generic-parsing-of-linux-part-probe.patch | 172 - .../400-mtd-add-rootfs-split-support.patch | 11 +- ...port-for-different-partition

[OpenWrt-Devel] [PATCH 16/29] kernel: Add dependencies for kernel 4.19

2018-12-09 Thread Hauke Mehrtens
These dependencies are needed on kernel 4.14 and kernel 4.19. Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/crypto.mk | 2 +- package/kernel/linux/modules/fs.mk | 2 +- package/kernel/linux/modules/other.mk | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff

[OpenWrt-Devel] [PATCH 14/29] kernel: Remove crypto/ablk_helper.ko on kernel 4.19

2018-12-09 Thread Hauke Mehrtens
This module was removed in kernel 4.17, all users are refactored to not need this any more. Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/crypto.mk | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package/kernel/linux/modules/crypto.mk b/package

[OpenWrt-Devel] [PATCH 00/29] Add support for kernel 4.19

2018-12-09 Thread Hauke Mehrtens
patch: * target/linux/generic/pending-4.19/161-mtd-part-add-generic-parsing-of-linux-part-probe.patch * removed dependency to kmod-libphy from r8169 * fixed kmod-cryto-mics package for x86_64 Hauke Mehrtens (29): kernel: Reorder configuration kernel: Replace ledtrig-netdev with upstream

[OpenWrt-Devel] [PATCH 21/29] kernel: Make video-gspca-core depend on vidobuf2

2018-12-09 Thread Hauke Mehrtens
This new dependency is needed for kernel 4.19. Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/video.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/kernel/linux/modules/video.mk b/package/kernel/linux/modules/video.mk index 37b3cc0bc7..7e300bf486

[OpenWrt-Devel] [PATCH 24/29] kernel: Make CONFIG_NVMEM tristate

2018-12-09 Thread Hauke Mehrtens
EM back to tristate we just have to make sure to build this in for all targets which select CONFIG_OF_NET. Signed-off-by: Hauke Mehrtens --- ...90-nvmem-make-CONFIG_NVMEM-tristate-again.patch | 33 ++ 1 file changed, 33 insertions(+) create mode 100644 target/linux/generic

[OpenWrt-Devel] [PATCH 18/29] kernel: Adapt to move of autofs4 in kernel 4.19

2018-12-09 Thread Hauke Mehrtens
autofs4 is now in the fs/autofs/ folder in kernel 4.19 Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/fs.mk | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/package/kernel/linux/modules/fs.mk b/package/kernel/linux/modules/fs.mk index 7080d9e4ae

[OpenWrt-Devel] [PATCH 27/29] kernel: netfilter: Add nf_conncount.ko

2018-12-09 Thread Hauke Mehrtens
Some kernel modules from kmod-ipt-conntrack-extra depend on nf_conncount.ko, which was added in kernel 4.16, add it to the kmod. Signed-off-by: Hauke Mehrtens --- include/netfilter.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/include/netfilter.mk b/include/netfilter.mk index

[OpenWrt-Devel] [PATCH 11/29] kernel: Adapt to moved kvaser_usb.ko in kernel 4.19

2018-12-09 Thread Hauke Mehrtens
In kernel 4.19 the kvaser_usb.ko file moved into its own directory. Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/can.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/kernel/linux/modules/can.mk b/package/kernel/linux/modules/can.mk index

[OpenWrt-Devel] [PATCH 08/29] kernel: Deactivate *-gpio-custom drivers for 4.19

2018-12-09 Thread Hauke Mehrtens
Kernel interface changed with kernel 4.19, it does not accept raw GPIO numbers any more. Deactivate these drivers on kernel 4.19 for now. Signed-off-by: Hauke Mehrtens --- package/kernel/i2c-gpio-custom/Makefile | 2 +- package/kernel/spi-gpio-custom/Makefile | 2 +- package/kernel/w1-gpio

[OpenWrt-Devel] [PATCH 20/29] kernel: Always activate CONFIG_HW_RANDOM_TPM

2018-12-09 Thread Hauke Mehrtens
CONFIG_HW_RANDOM_TPM does not activate a separate kernel module any more, but it only activates the random code in the tpm.ko. Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/other.mk | 2 +- target/linux/generic/config-4.19 | 2 +- 2 files changed, 2 insertions(+), 2

[OpenWrt-Devel] [PATCH 26/29] kernel: netfilter: Add nf_tproxy_ipv{4, 6} and nf_socket_ipv{4, 6}

2018-12-09 Thread Hauke Mehrtens
Pv4 and an IPv6 part. Signed-off-by: Hauke Mehrtens --- include/netfilter.mk | 4 1 file changed, 4 insertions(+) diff --git a/include/netfilter.mk b/include/netfilter.mk index 5bf3dbdb02..b73cc794b6 100644 --- a/include/netfilter.mk +++ b/include/netfilter.mk @@ -259,7 +259,11 @@ $(eval $(ca

[OpenWrt-Devel] [PATCH 17/29] kernel: Adapt to new location of video-videobuf2 in kernel 4.19

2018-12-09 Thread Hauke Mehrtens
The video-videobuf2 kernel modules were moved to a new folder in kernel 4.19. videobuf2-v4l2.ko is only available since kernel 4.4, blacklist this kmod completely on kernel 3.18. Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/video.mk | 14 +- 1 file changed, 9

[OpenWrt-Devel] [PATCH 23/29] kernel: tg3: Do not depend on kmod-hwmon-core on kernel 4.19

2018-12-09 Thread Hauke Mehrtens
Like on kernel 4.14 this dependency is deactivated in OpenWrt. Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/netdevices.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules

[OpenWrt-Devel] [PATCH 25/29] kernel: netfilter: Add nf_defrag_ipv6.ko to NF_CONNTRACK on 4.19

2018-12-09 Thread Hauke Mehrtens
f the main netfilter packages, so add nf_defrag_ipv6.ko also to the default netfilter packages on kernel 4.19 and later. Signed-off-by: Hauke Mehrtens --- include/netfilter.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/netfilter.mk b/include/netfilter.mk index

[OpenWrt-Devel] [PATCH 28/29] kernel: netfilter: Adapt merge ipv4/ipv6 masquerade code

2018-12-09 Thread Hauke Mehrtens
ill not be overwritten. Signed-off-by: Hauke Mehrtens --- include/netfilter.mk | 4 ++-- target/linux/generic/config-4.19 | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/netfilter.mk b/include/netfilter.mk index 2d232b5f5c..4b9cc20622 100644 --- a/include/ne

[OpenWrt-Devel] [PATCH 19/29] kernel: Make kmod-mpls depend on iptunnel in kernel 4.19

2018-12-09 Thread Hauke Mehrtens
This new dependency is needed with kernel 4.19. Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/netsupport.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/kernel/linux/modules/netsupport.mk b/package/kernel/linux/modules/netsupport.mk index

[OpenWrt-Devel] [PATCH 10/29] kernel: Use kmod-dax on kernel 4.19

2018-12-09 Thread Hauke Mehrtens
Like on kernel 4.14 kmod-dax is needed by kmod-dm also in kernel 4.19. Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/block.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/kernel/linux/modules/block.mk b/package/kernel/linux/modules/block.mk

[OpenWrt-Devel] [PATCH 22/29] kernel: Add missing dependency to kmod-regmap

2018-12-09 Thread Hauke Mehrtens
Like on kernel 4.14 some kernel modules depend now on regmap. Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/other.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk index

[OpenWrt-Devel] [PATCH 12/29] kernel: add missing dependency to kmod-crypto-acompress

2018-12-09 Thread Hauke Mehrtens
Like kernel on 4.14 some modules need the dependency to kmod-crypto-acompress on kernel 4.19. Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/crypto.mk | 2 +- package/kernel/linux/modules/lib.mk| 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package

[OpenWrt-Devel] [PATCH 29/29] kernel: netfilter: chain filters merged into nf_tables.ko

2018-12-09 Thread Hauke Mehrtens
rk them as build-in in the kernel 4.19 specific kernel configuration file which will then not be overwritten by the package specific settings which try to make them modular again. Signed-off-by: Hauke Mehrtens --- include/netfilter.mk | 10 +- package/kernel/lin

[OpenWrt-Devel] [PATCH 02/29] kernel: Replace ledtrig-netdev with upstream backport

2018-12-09 Thread Hauke Mehrtens
version with kernel 4.19, by just not applying this patch. Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/leds.mk | 2 +- .../009-adm5120_leds_switch_trigger.patch | 4 +- ...6-leds-trigger-Introduce-a-NETDEV-trigger.patch | 588

[OpenWrt-Devel] [PATCH] ath10k-ct: update and use version based on 4.19

2018-12-10 Thread Hauke Mehrtens
--- package/kernel/ath10k-ct/Makefile | 10 +- ...h-all-IEs-for-variant-before-falling-back.patch | 8 +- ...-controlling-support-for-various-chipsets.patch | 544 - ...02-ath10k-4.16-use-tpt-trigger-by-default.patch | 39 +- 4 files changed, 580 insertions

Re: [OpenWrt-Devel] [PATCH] ath10k-ct: update and use version based on 4.19

2018-12-10 Thread Hauke Mehrtens
On 12/10/18 10:46 PM, Ben Greear wrote: > On 12/10/18 1:35 PM, Hauke Mehrtens wrote: >> --- >>   package/kernel/ath10k-ct/Makefile  |  10 +- >>   ...h-all-IEs-for-variant-before-falling-back.patch |   8 +- >>   ...-controlling-support-for-v

Re: [OpenWrt-Devel] [PATCH 23/29] kernel: tg3: Do not depend on kmod-hwmon-core on kernel 4.19

2018-12-10 Thread Hauke Mehrtens
On 12/10/18 10:16 AM, Yousong Zhou wrote: > On Sun, 9 Dec 2018 at 23:21, Hauke Mehrtens wrote: >> >> Like on kernel 4.14 this dependency is deactivated in OpenWrt. >> >> Signed-off-by: Hauke Mehrtens >> --- >> package/kernel/linux/modules/netdevices.mk

[OpenWrt-Devel] [PATCH] gcc: update to version 7.4.0

2018-12-10 Thread Hauke Mehrtens
This updates the GCC to the next minor release which fixes 178 bugs. The two removed patches are included in gcc 7.4.0 Signed-off-by: Hauke Mehrtens --- toolchain/gcc/Config.version | 2 +- toolchain/gcc/common.mk| 4 +- ...81797-Add

Re: [OpenWrt-Devel] hostapd 2.7 released

2018-12-12 Thread Hauke Mehrtens
On 12/12/18 10:39 AM, Daniel Golle wrote: > Hi! > > hostapd 2.7 has been released on December 2nd: > http://w1.fi/cgit/hostap/plain/hostapd/ChangeLog > > I've updated the hostapd package to use the hostapd_2_7 tag with our > patches on top, find it in my staging tree: > https://git.openwrt.org/?p

[OpenWrt-Devel] [PATCH v2] ath10k-ct: Update to 2018-12-11 and use version based on 4.19

2018-12-12 Thread Hauke Mehrtens
This updates the ath10k-ct driver to the version from 2018-12-11 and selects the ath10k-ct version based on kernel 4.19 by default. CONFIG_ATH10K_CE was introduced between kernel 4.16 and 4.19 and is a mandatory option. Signed-off-by: Hauke Mehrtens --- changes since v1: * Add description

[OpenWrt-Devel] [PATCH] base-files: Fix netdev led trigger

2018-12-16 Thread Hauke Mehrtens
In the upstream netdev led trigger the one mode file was replaced by 3 files named rx, tx and link. Fix the netdev trigger configuration code to use the modified API. Fixes: aa3b6a08c56 ("kernel: Replace ledtrig-netdev with upstream backport") Signed-off-by: Hauke Mehrtens --- pa

[OpenWrt-Devel] [PATCH v2] base-files: Fix netdev led trigger

2018-12-16 Thread Hauke Mehrtens
In the upstream netdev led trigger the one mode file was replaced by 3 files named rx, tx and link. Fix the netdev trigger configuration code to use the modified API. Fixes: aa3b6a08c56 ("kernel: Replace ledtrig-netdev with upstream backport") Signed-off-by: Hauke Mehrtens --- pa

Re: [OpenWrt-Devel] MIPS stack security and other problems

2018-12-18 Thread Hauke Mehrtens
On 12/17/18 1:54 AM, Dave Taht wrote: > > A pretty deep look at home MIPS and arm routers, and a surprising bug in > Linux/MIPS - by mudge and co: > > https://cyber-itl.org/2018/12/07/a-look-at-home-routers-and-linux-mips.html > > I have no idea if current openwrt, or what prior releases... are

Re: [OpenWrt-Devel] MIPS stack security and other problems

2018-12-18 Thread Hauke Mehrtens
On 12/18/18 11:02 AM, Andre Heider wrote: > On 18/12/2018 01:44, Rosen Penev wrote: >> On Mon, Dec 17, 2018 at 4:34 PM Rosen Penev wrote: >>> >>> On Mon, Dec 17, 2018 at 3:40 PM Dave Taht wrote: John Crispin writes: > On 17/12/2018 23:18, Dave Taht wrote: >> Rosen Penev w

[OpenWrt-Devel] [PATCH] kernel: Deactivate CONFIG_COMPAT_BRK

2018-12-18 Thread Hauke Mehrtens
CONFIG_COMPAT_BRK disables the heap randomization which is only needed for very old and ancient user space applications, I am not aware that we run any of these, just deactivate this option for these targets to allow heap randomization. Signed-off-by: Hauke Mehrtens --- target/linux/at91/config

[OpenWrt-Devel] [PATCH procd] hotplug.c: Make sure hotplug buffer is NULL terminated

2018-12-19 Thread Hauke Mehrtens
Sets the final byte explicitly to NULL because we later do string operations on this buffer. Fixes Coverity issue 1430926 String not null terminated Signed-off-by: Hauke Mehrtens --- plug/hotplug.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plug/hotplug.c b/plug

[OpenWrt-Devel] [PATCH firewall3 2/2] utils: Free args in __fw3_command_pipe()

2018-12-19 Thread Hauke Mehrtens
args was not freed after leaving this function. Fixes Coverity issue 1412470 Resource leak Signed-off-by: Hauke Mehrtens --- utils.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utils.c b/utils.c index 4f892a7..684b2c3 100644 --- a/utils.c +++ b/utils.c @@ -252,6 +252,7

[OpenWrt-Devel] [PATCH firewall3 1/2] options.c, redirects.c: Fix possible buffer overflows

2018-12-19 Thread Hauke Mehrtens
This fixes two possible situations where strncpy() produces a not null terminated buffer. Coverity IDs: * 1412247 Buffer not null terminated * 1412279 Buffer not null terminated Signed-off-by: Hauke Mehrtens --- options.c | 2 +- redirects.c | 2 +- 2 files changed, 2 insertions(+), 2

[OpenWrt-Devel] [PATCH] kernel: Fix KERNEL_STACKPROTECTOR on kernel 4.19

2018-12-21 Thread Hauke Mehrtens
. Signed-off-by: Hauke Mehrtens --- config/Config-build.in | 8 target/linux/generic/config-4.19 | 6 ++ 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/config/Config-build.in b/config/Config-build.in index a082a5e0e2..8cbc16b5c8 100644 --- a/config/Config-build.in

[OpenWrt-Devel] [PATCH] kernel: Add compiler options to generic configuration

2018-12-21 Thread Hauke Mehrtens
With kernel 4.19 new configuration options for the compiler were added. These are automatically selected and set, instead of having them in each target configuration, put them into the generic configuration. Signed-off-by: Hauke Mehrtens --- target/linux/generic/config-4.19 | 6 ++ 1 file

Re: [OpenWrt-Devel] [PATCH] kernel: MIPS: math-emu Write-protect delay slot emulation pages

2018-12-22 Thread Hauke Mehrtens
On 12/22/18 10:26 AM, Yousong Zhou wrote: On Sat, 22 Dec 2018 at 16:03, Kevin 'ldir' Darbyshire-Bryant wrote: On 22 Dec 2018, at 04:04, Yousong Zhou wrote: On Sat, 22 Dec 2018 at 01:21, Kevin 'ldir' Darbyshire-Bryant wrote: Backport https://git.kernel.org/pub/scm/linux/kernel/git/mips

Re: [OpenWrt-Devel] [PATCH] mbedtls: update to 2.14.1 for 18.06

2018-12-23 Thread Hauke Mehrtens
n ARM < 6'. Signed-off-by: Daniel Engberg [Update to 2.14.1] Signed-off-by: Hauke Mehrtens [Adapted and squashed for 18.06.1+] Signed-off-by: Stijn Segers Acked-by: Hauke Mehrtens --- package/libs/mbedtls/Makefile | 4 +- package/libs/mbedtls/patches/200-conf

[OpenWrt-Devel] [PATCH] hostapd: update to version 2018-12-02 (2.7)

2018-12-24 Thread Hauke Mehrtens
This updates hostapd to version the git version from 2018-12-02 which matches the 2.7 release. The removed patches were are already available in the upstream code, one additional backport is needed to fix a compile problem. Signed-off-by: Hauke Mehrtens --- package/network/services/hostapd

[OpenWrt-Devel] [PATCH 3/7] sunxi: Refresh kernel 4.14 configuration

2018-12-27 Thread Hauke Mehrtens
Refresh the sunxi kernel configuration without doing any intentional changes. Signed-off-by: Hauke Mehrtens --- target/linux/sunxi/config-4.14 | 2 ++ target/linux/sunxi/cortexa53/config-4.14 | 7 +-- target/linux/sunxi/cortexa8/config-4.14 | 5 ++--- 3 files changed, 5

[OpenWrt-Devel] [PATCH 7/7] arm-trusted-firmware-sunxi: Replace with official ARM version

2018-12-27 Thread Hauke Mehrtens
Instead of using a fork of the ARM trusted firmware specifically for the Allwinner SoCs, use the official version from ARM now, this version supports the Allwinner SoCs now and the older ATF repository is deprecated. Signed-off-by: Hauke Mehrtens --- package/boot/arm-trusted-firmware-sunxi

[OpenWrt-Devel] [PATCH 6/7] uboot-sunxi: Update to version 2018.11

2018-12-27 Thread Hauke Mehrtens
This updates the uboot for the sunxi target to version 2018.11 The removed patches are applied upstream and not needed any more. Signed-off-by: Hauke Mehrtens --- package/boot/uboot-sunxi/Makefile | 4 +- .../003-add-theobroma-a31-pangolin.patch | 10 +- .../patches/062-A20

[OpenWrt-Devel] [PATCH 5/7] sunxi: Make sunxi patches apply with kernel 4.19

2018-12-27 Thread Hauke Mehrtens
This makes the patches and configuration copied from kernel 4.14 apply and work with kernel 4.19. Signed-off-by: Hauke Mehrtens --- target/linux/sunxi/Makefile | 2 +- target/linux/sunxi/config-4.19| 52 +- target/linux/sunxi/cortexa53/config-4.19 | 45

[OpenWrt-Devel] [PATCH 1/7] sunxi: Remove unneeded patches

2018-12-27 Thread Hauke Mehrtens
close to mainline, so if the device tree files from the mainline Linux kernel need this the mainline kernel will get support for this. Signed-off-by: Hauke Mehrtens --- .../115-musb-ignore-vbus-errors.patch | 26 -- .../131-reset-add-h3-resets.patch | 92 --- 2

[OpenWrt-Devel] [PATCH 2/7] sunxi: Use kernel specific sub target configuration

2018-12-27 Thread Hauke Mehrtens
To make it easier to support multiple kernel versions in parallel also copy the sub target specific kernel configurations into kernel specific files. Signed-off-by: Hauke Mehrtens --- target/linux/sunxi/cortexa53/{config-default => config-4.14} | 0 target/linux/sunxi/cortexa7/{config-defa

[OpenWrt-Devel] [PATCH 4/7] sunxi: copy for kernel 4.19

2018-12-27 Thread Hauke Mehrtens
No changes done compare to kernel 4.14. Signed-off-by: Hauke Mehrtens --- target/linux/sunxi/config-4.19| 597 ++ target/linux/sunxi/cortexa53/config-4.19 | 104 +++ target/linux/sunxi/cortexa7/config-4.19 | 10 + target/linux/sunxi/cortexa8/config

[OpenWrt-Devel] [PATCH v2 procd] hotplug.c: Make sure hotplug buffer is NULL terminated

2018-12-27 Thread Hauke Mehrtens
Sets the final byte explicitly to NULL because we later do string operations on this buffer. Fixes Coverity issue 1430926 String not null terminated Signed-off-by: Hauke Mehrtens --- plug/hotplug.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plug/hotplug.c b/plug

Re: [OpenWrt-Devel] MIPS stack security and other problems

2019-01-01 Thread Hauke Mehrtens
On 12/18/18 12:46 PM, Hauke Mehrtens wrote: On 12/17/18 1:54 AM, Dave Taht wrote: A pretty deep look at home MIPS and arm routers, and a surprising bug in Linux/MIPS - by mudge and co: https://cyber-itl.org/2018/12/07/a-look-at-home-routers-and-linux-mips.html I have no idea if current

[OpenWrt-Devel] [PATCH 1/4] x86: Use kernel specific subtarget configurations

2019-01-02 Thread Hauke Mehrtens
This makes it possible to use different sub target configurations for kernel 4.19 for example. To support kernel 4.9 and kernel 4.14 with the same configuration file already needed some extra work. Signed-off-by: Hauke Mehrtens --- target/linux/x86/64/{config-default => config-4.14}

[OpenWrt-Devel] [PATCH 2/4] x86: Refresh kernel 4.14 configuration

2019-01-02 Thread Hauke Mehrtens
generic configuration because it would have been automatically removed. Signed-off-by: Hauke Mehrtens --- target/linux/generic/config-4.14 | 1 + target/linux/x86/64/config-4.14 | 13 + target/linux/x86/config-4.14 | 4 ++-- target/linux/x86/generic/config-4.14 | 13

[OpenWrt-Devel] [PATCH 4/4] x86: Make patches 4.19 apply

2019-01-02 Thread Hauke Mehrtens
This refreshed the configuration and the patches on top of kernel 4.19. The legacy and the genode target will not support PAE any more because they use a CPU type which does not support PAE, the generic sub target still supports PAE. Signed-off-by: Hauke Mehrtens --- target/linux/x86/64/config

[OpenWrt-Devel] [PATCH 3/4] x86: Copy for kernel 4.19

2019-01-02 Thread Hauke Mehrtens
This copied to patches and the configuration for kernel 4.14 to kernel 4.19 without any manual modifications. Signed-off-by: Hauke Mehrtens --- target/linux/x86/64/config-4.19 | 433 +++ target/linux/x86/config-4.19 | 522 ++ target

[OpenWrt-Devel] [PATCH] gdb: The signal definitions of musl and gdb collide

2019-01-02 Thread Hauke Mehrtens
arch64-sve-linux-sigcontext.h does not provide the same headers as the kernel or musl. Fixes: FS#2040 Signed-off-by: Hauke Mehrtens --- .../gdb/patches/010-aarch64-headers.patch | 44 +++ 1 file changed, 44 insertions(+) create mode 100644 package/devel/gdb/patches/0

[OpenWrt-Devel] [PATCH 2/3] gcc: Activate hardening features for libgcc

2019-01-02 Thread Hauke Mehrtens
This includes the hardening.mk before the code gets compiled and then also sets the LDFLAGS for the libgcc and other applications. Signed-off-by: Hauke Mehrtens --- include/toolchain-build.mk | 1 + toolchain/gcc/common.mk| 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git

[OpenWrt-Devel] [PATCH 3/3] musl: Activate hardening features

2019-01-02 Thread Hauke Mehrtens
This activates the hardening features controlled over the LDFLAGS Signed-off-by: Hauke Mehrtens --- toolchain/musl/common.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/toolchain/musl/common.mk b/toolchain/musl/common.mk index 234709103c..d48212f625 100644 --- a/toolchain/musl/common.mk

[OpenWrt-Devel] [PATCH 1/3] bzip2: fix hardening build

2019-01-02 Thread Hauke Mehrtens
Set the LDFLAGS otherwise it will not get the target hardening flags or any other generic flags provided in the LDFLAGS Signed-off-by: Hauke Mehrtens --- package/utils/bzip2/Makefile | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package/utils/bzip2/Makefile b

[OpenWrt-Devel] [PATCH] kernel: Build: Split kmod-regmap

2019-01-11 Thread Hauke Mehrtens
separate packages to not require all these subsystems to build them, on an unmodified upstream kernel this also causes problems in some situations. Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/can.mk| 2 +- package/kernel/linux/modules/hwmon.mk | 10

Re: [OpenWrt-Devel] [PATCH 0/4] Update Gemini to kernel v4.19

2019-01-22 Thread Hauke Mehrtens
On 1/22/19 7:26 AM, Petr Štetiar wrote: > Linus Walleij [2019-01-21 23:17:50]: > > Hi, > >> I pushed it to the branch "gemini-v4.19" (with some more patches, >> but shouldn't make a difference) here: >> https://github.com/linusw/openwrt > > thanks, so I've just tried following build config: >

Re: [OpenWrt-Devel] MIPS stack security and other problems

2019-01-22 Thread Hauke Mehrtens
On 1/19/19 2:56 PM, Dave Taht wrote: > Hauke Mehrtens writes: > >> On 12/18/18 12:46 PM, Hauke Mehrtens wrote: >>> On 12/17/18 1:54 AM, Dave Taht wrote: >>>> >>>> A pretty deep look at home MIPS and arm routers, and a surprising bug in >>>&

Re: [OpenWrt-Devel] [PATCH 4/9] sunxi: switch to lzma compressed fit image

2019-01-26 Thread Hauke Mehrtens
On 1/14/19 6:54 PM, Oskari Lemmela wrote: > Use LZMA compressed fit image to load kernel and dtb. > Fit image can be used load kernel and dtb from SPI flash. > > Signed-off-by: Oskari Lemmela > --- > package/boot/uboot-sunxi/uEnv-a64.txt | 5 ++- > package/boot/uboot-sunxi/uEnv-default.txt

Re: [OpenWrt-Devel] [PATCH 6/9] uboot-sunxi: add spi driver for pine64 lts

2019-01-26 Thread Hauke Mehrtens
On 1/14/19 6:54 PM, Oskari Lemmela wrote: > Add support for SPI driver and booting from SPI. > > Signed-off-by: Oskari Lemmela > --- > ...i-allwinner-spi-driver-sun6i-support.patch | 311 ++ > ...er-sunxi-fix-spurious-timeout-issues.patch | 30 ++ > .../302-sunxi-add-spi-flash-b

Re: [OpenWrt-Devel] [RFC] lantiq: SMP interrupts and ethernet driver backport from vanilla v5

2019-02-01 Thread Hauke Mehrtens
On 1/31/19 9:30 PM, Mathias Kresin wrote: > 30/01/2019 11:38, Petr Cvek: >> Hello, >> >> I discovered the lantiq xrx200 lacks support for interrupts on secondary >> VPE, and I've managed to add this functionality to the kernel, the >> second icu controller lives on base address 0x1f880300 and works

Re: [OpenWrt-Devel] Issue with broaband led pppoa-wan device

2019-02-09 Thread Hauke Mehrtens
On 2/9/19 4:00 PM, Mauro Mozzarelli wrote: > I have BT Home Hub 5 routers. > > I have just built release 9290. > > Something happened to the broadband LED configuration between release > 8495 and 9290 > > In 9290 LED associated to device pppoa-wan no longer works (it remains > off once the pppoa

Re: [OpenWrt-Devel] [RFC] lantiq: SMP interrupts and ethernet driver backport from vanilla v5

2019-02-10 Thread Hauke Mehrtens
Hi Petr, Thank you for the tests. On 2/3/19 9:44 AM, Petr Cvek wrote: > I did an exhaustive ethernet measuring. Parameters: no wifi, no running > dsl connection, 1 cable (in 1G port with external phy), no USB, almost > vanilla openwrt (changes for rootfs on NFS, kernel command line and fix > for

Re: [OpenWrt-Devel] [RFC] lantiq: SMP interrupts and ethernet driver backport from vanilla v5

2019-02-10 Thread Hauke Mehrtens
On 2/10/19 5:28 PM, Petr Cvek wrote: > Hi, > > Dne 10. 02. 19 v 16:49 Hauke Mehrtens napsal(a): >> Hi Petr, >> >> Thank you for the tests. >> >> On 2/3/19 9:44 AM, Petr Cvek wrote: >>> I did an exhaustive ethernet measuring. Parameters: no wifi, no

Re: [OpenWrt-Devel] [RFC] lantiq: SMP interrupts and ethernet driver backport from vanilla v5

2019-02-10 Thread Hauke Mehrtens
On 2/1/19 12:36 PM, Petr Cvek wrote: > Dne 01. 02. 19 v 10:51 Hauke Mehrtens napsal(a):> On 1/31/19 9:30 PM, > Mathias Kresin wrote: >>> 30/01/2019 11:38, Petr Cvek: >>>> > > Hi, > > thank you both for the answer and sorry for "./" in the patch

[OpenWrt-Devel] [PATCH] build: Activate ASLR PIE by default

2019-02-13 Thread Hauke Mehrtens
:00 0 7fd1c000-7fd3d000 rw-p 00:00 0 [stack] 7fefb000-7fefc000 r-xp 00:00 0 7ff6-7ff61000 r--p 00:00 0 [vvar] 7ff61000-7ff62000 r-xp 00:00 0 [vdso] root@OpenWrt:/# Signed-off-by: Hauke Mehrtens --- I would like to get some comments

[OpenWrt-Devel] [PATCH] mac80211: update to version 4.19.23-1

2019-02-15 Thread Hauke Mehrtens
This updates mac80211 to backports version 4.19.23-1 which includes all the stable fixes from kernel 4.19.23. The removed patches are included in this version. Signed-off-by: Hauke Mehrtens --- package/kernel/mac80211/Makefile | 8 +- ...fix-tx99-with-monitor-mode-interface.patch

Re: [OpenWrt-Devel] [PATCH] Honour NO_COLOR in include/scan.mk

2019-02-17 Thread Hauke Mehrtens
On 1/30/19 3:01 PM, R. Diez wrote: > >> Could you please send a V2 with the requested change >> to print $(1) without ANSII escape sequences? > > Here it goes: > > Honour NO_COLOR in Makefile function 'progress' in include/scan.mk, in > the same way that include/verbose.mk does. > > > Signed-o

[OpenWrt-Devel] OpenWrt 19.03 plans

2019-02-22 Thread Hauke Mehrtens
Hi, We missed January to branching off the next release, but we plan to do this in March now. ;-) The next release is planned to be branched off between 7. and 17. March and 19.03-rc3 should be released between 2 and 4 weeks later, the final release will then probably happen sometime in April. I

Re: [OpenWrt-Devel] [PATCH] mac80211: update to version 4.19.23-1

2019-02-22 Thread Hauke Mehrtens
in and also update the stable versions. I plan to update OpenWrt to the wireless system from Linux kernel 5.1 after the 19.03 release. Hauke > > On Fri, Feb 15, 2019 at 09:38:47PM +0100, Hauke Mehrtens wrote: >> This updates mac80211 to backports version 4.19.23-1 which includes all &

Re: [OpenWrt-Devel] [PATCH] build: Activate ASLR PIE by default

2019-02-22 Thread Hauke Mehrtens
On 2/13/19 11:51 PM, Felix Fietkau wrote: > On 2019-02-13 23:15, Hauke Mehrtens wrote: >> This will build all executable as Position Independent Executables (PIE) >> by default. PIE executable can make full use of Address Space Layout >> Randomization (ASLR) because all sect

Re: [OpenWrt-Devel] [PATCH] build: Activate ASLR PIE by default

2019-02-23 Thread Hauke Mehrtens
On 2/23/19 4:36 PM, Dave Taht wrote: > Hauke Mehrtens writes: > >> On 2/13/19 11:51 PM, Felix Fietkau wrote: >>> On 2019-02-13 23:15, Hauke Mehrtens wrote: >>>> This will build all executable as Position Independent Executables (PIE) >>>> by default

Re: [OpenWrt-Devel] [LEDE-DEV] Project proposal: The GNUnet of autonomous Things

2016-11-18 Thread Hauke Mehrtens
Hi Daniel, This sounds interesting. I have some questions regarding phase 1. 1. Do you want to have an API to switch for example a smart plug on and off and an other call to get the temperature from a temperature sensor? 2. Should this more focus on local IoT sensors line a temperature sensor c

Re: [OpenWrt-Devel] [LEDE-DEV] [OpenWrt] Project proposal: The GNUnet of autonomous Things

2016-12-05 Thread Hauke Mehrtens
On 2016-12-05 11:57, Daniel Golle wrote: Hi Felix, On Thu, Dec 01, 2016 at 04:51:30PM +0100, Felix Fietkau wrote: On 2016-12-01 16:38, Daniel Golle wrote: > Hi Felix, > > On Thu, Dec 01, 2016 at 04:12:38PM +0100, Felix Fietkau wrote: >> On 2016-12-01 16:05, Daniel Golle wrote: >> > I was follow

[OpenWrt-Devel] Talks between OpenWrt and LEDE

2016-12-21 Thread Hauke Mehrtens
We had multiple meetings to find a solution to solve the problems between the OpenWrt and the LEDE project and to discuss a possible merge. Everyone with commit access to LEDE and all OpenWrt core developers were invited to these meetings. We had productive and friendly discussions about the proble

Re: [OpenWrt-Devel] [PATCH oldpackage/eventlog oldpackage/syslog-ng3] version bump to latest

2017-01-06 Thread Hauke Mehrtens
Please do not send a mail with just an attachment, oldpackage is frozen since some years, please send add the package to the official openwrt package repository, add yourself as a maintainer and send a pull request on github. On 01/06/2017 08:19 PM, Philip Prindeville wrote: __

[OpenWrt-Devel] OpenWrt/LEDE summit dates

2017-03-15 Thread Hauke Mehrtens
This year's OpenWrt/LEDE summit should take place in Prague in October around Embedded Linux Conference Europe (ELCE). OpenWrt/LEDE summit 2017 will not be collocated with ELCE and be free of charge as of the current planning. This event is in the early planning phase, see the website of last years

Re: [OpenWrt-Devel] [LEDE-DEV] openwrt and lede - remerge proposal

2017-05-10 Thread Hauke Mehrtens
On 05/09/2017 10:12 AM, Hans Dedecker wrote: > On Tue, May 9, 2017 at 9:50 AM, John Crispin wrote: >> >> >> On 09/05/17 09:49, Rafał Miłecki wrote: >>> >>> On 8 May 2017 at 15:19, John Crispin wrote: *) domain - transfer owner ship to SPI for openwrt.org and lede-project.org (

Re: [OpenWrt-Devel] openwrt and lede - remerge proposal

2017-05-10 Thread Hauke Mehrtens
Thanks for moving this forward. On 05/08/2017 03:19 PM, John Crispin wrote: > *) github . > > - obsolete the lede github org after a grace period of 3-6 months As long as it does not cost us effort I would like to keep the lede domains and github project up running for longer. > *) landing

Re: [OpenWrt-Devel] [LEDE-DEV] openwrt and lede - remerge proposal V2

2017-05-23 Thread Hauke Mehrtens
On 05/22/2017 09:40 AM, John Crispin wrote: > Hi, > > here is a V2 of the remerge proposal, I tried to fold all the comments > people made into it, if anything is missing let me know. > > > John . > *) SPI > - nominate a new liaison team (imre and john offer to do this, if anyone >

Re: [OpenWrt-Devel] openwrt and lede - remerge proposal V3

2017-05-29 Thread Hauke Mehrtens
On 05/29/2017 09:03 AM, John Crispin wrote: > (resend, this time as plain text) > > Hi, > > here is a V3 of the remerge proposal, I tried to fold all the comments > people made into it, if anything is missing let me know. Please remeber > that post remerge anything can be voted on, so cluttering

[OpenWrt-Devel] LEDE call for vote on remerge proposal V3

2017-06-10 Thread Hauke Mehrtens
Hi, As many already acknowledged this proposal I would like to call for an official vote among the LEDE committers till 14.6.2017 on this proposal. I counted the following replays to the proposal already as an acknowledgment: Steven, Matthias, Stijn, Hauke, Florian, Daniel, Hans, John, Rafał, Feli

<    1   2   3   4   5   6   7   8   9   10   >