Re: [OpenWrt-Devel] [PATCH] scons: move to packages feed

2019-08-02 Thread Hauke Mehrtens
which would need > scons, yet scons is build always as part of host tools, just in order to > satisfy host build dependency of few packages in the packages feeds. > > Signed-off-by: Petr Štetiar Acked-by: Hauke Mehrtens > --- > tools/Makefile

Re: [OpenWrt-Devel] [PATCH 1/2] base-files: make USE_PROCD=1 default

2019-08-02 Thread Hauke Mehrtens
ably be affected most, but I think we do not have to care and there were many years to convert. Acked-by: Hauke Mehrtens Hauke signature.asc Description: OpenPGP digital signature ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https

[OpenWrt-Devel] hostapd: Allow CONFIG_IEEE80211W for all but mini variant

2019-08-09 Thread Hauke Mehrtens
This commit will activate CONFIG_IEEE80211W for all, but the mini variant when at least one driver supports it. This will add ieee80211w support for the mesh variant for example. Fixes: FS#2397 Signed-off-by: Hauke Mehrtens --- package/network/services/hostapd/Makefile | 8 ++-- 1 file

[OpenWrt-Devel] [PATCH v2 2/2] mac80211: Update to version 4.19.66-1

2019-08-15 Thread Hauke Mehrtens
Signed-off-by: Hauke Mehrtens --- package/kernel/mac80211/Makefile | 6 +++--- .../350-ath9k_hw-reset-AHB-WMAC-interface-on-AR91xx.patch | 2 +- .../351-ath9k_hw-issue-external-reset-for-QCA955x.patch | 4 ++-- ...rt-ath9k-interpret-requested-txpower-in-EIRP-dom.patch

[OpenWrt-Devel] [PATCH 1/2] mac80211: Update to version 5.2.8-1

2019-08-15 Thread Hauke Mehrtens
This contains multiple fixes from the upstream kernel. The removed patch was merged upstream. Signed-off-by: Hauke Mehrtens --- package/kernel/mac80211/Makefile | 6 +-- ...w-reset-AHB-WMAC-interface-on-AR91xx.patch | 2 +- ..._hw-issue-external-reset-for-QCA955x.patch | 4

[OpenWrt-Devel] [PATCH 2/2] mac80211: Update to mac80211 5.3-rc4-1

2019-08-15 Thread Hauke Mehrtens
The removed patches were applied upstream. The type of the RT2X00_LIB_EEPROM config option was changed to bool, because boolean is an invalid value and the new kconfig system complained about this. Signed-off-by: Hauke Mehrtens --- package/kernel/mac80211/Makefile |8

Re: [OpenWrt-Devel] [PATCH v2 2/2] mac80211: Update to version 4.19.66-1

2019-08-15 Thread Hauke Mehrtens
On 8/15/19 3:24 PM, Hauke Mehrtens wrote: > Signed-off-by: Hauke Mehrtens > --- > package/kernel/mac80211/Makefile | 6 +++--- > .../350-ath9k_hw-reset-AHB-WMAC-interface-on-AR91xx.patch | 2 +- > .../351-ath9k_hw-issue-external-reset-for-QCA9

[OpenWrt-Devel] [PATCH 2/2] uboot-envtools: Update to U-Boot version 2019.07

2019-09-01 Thread Hauke Mehrtens
Signed-off-by: Hauke Mehrtens --- package/boot/uboot-envtools/Makefile | 8 package/boot/uboot-envtools/patches/001-compile.patch | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package/boot/uboot-envtools/Makefile b/package/boot/uboot

[OpenWrt-Devel] [PATCH 1/2] tools/mkimage: Update U-Boot to version 2019.07

2019-09-01 Thread Hauke Mehrtens
: Hauke Mehrtens --- tools/mkimage/Makefile| 6 +- .../patches/010-freebsd-ulong-fix.patch | 13 -- .../patches/020-include_compile_fix.patch | 10 - .../030-allow-to-use-different-magic.patch| 18 +- .../patches/050-image_h_portability.patch | 182

Re: [OpenWrt-Devel] [lantiq] general help on AR10 platform

2019-09-02 Thread Hauke Mehrtens
On 9/2/19 6:26 AM, Enrico Mioso wrote: > BTW, in vendor's cgu_init, seems the "enablement" part is commented out. > > static int __init cgu_init(void) > { >     int ret; >     char ver_str[128] = {0}; > >     ret = register_chrdev(IFX_CGU_MAJOR, "ifx_cgu", &cgu_fops); >     if ( ret != 0 ) { >   

Re: [OpenWrt-Devel] [lantiq] general help on AR10 platform

2019-09-02 Thread Hauke Mehrtens
On 9/2/19 5:38 AM, Enrico Mioso wrote: > Hello guys, > Hello Hauke, > > Sorry for the amount of mails. Did you had a look at this vendor device tree file: https://gitlab.com/gplmirror/telekom-speedport-w925v/blob/master/w925_1.5.001.7_opensource/extern/lantiq-bsp/ugw711-grx550/UGW-7.1.1-SW-CD/Sou

[OpenWrt-Devel] [PATCH] firewall3: Fix some format string problems

2019-09-02 Thread Hauke Mehrtens
This adds annotations for the format strings to the print functions and fixes the newly found problems. One of them is a format security problem. Coverity: #1412532 Signed-off-by: Hauke Mehrtens --- defaults.c | 2 +- includes.c | 2 +- redirects.c | 5 ++--- utils.h | 15

[OpenWrt-Devel] [PATCH] usign: fix some resource leaks

2019-09-02 Thread Hauke Mehrtens
This fixes some resources leaks mostly in error patches. Coverity: #1330236, #1330237, #1330238 Signed-off-by: Hauke Mehrtens --- main.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index 3536443..ef47b28 100644 --- a/main.c +++ b/main.c

[OpenWrt-Devel] [PATCH] odhcpd: router: Fix out of scope memory access

2019-09-02 Thread Hauke Mehrtens
A pointer to search_buf is accessed by search_domain outside of the if branch which defines search_buf. The compiler could already reuse this memory. Coverity: #1445747 Signed-off-by: Hauke Mehrtens --- src/router.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src

[OpenWrt-Devel] [PATCH] fstools: mkdev: Avoid out of bounds read

2019-09-02 Thread Hauke Mehrtens
readlink() truncates and does not null terminate the string when more bytes would be written than available. Just increase the char array by one and assume that there is a problem when all bytes are needed. Coverity: #1330087, #1329991 Signed-off-by: Hauke Mehrtens --- libblkid-tiny/mkdev.c | 4

[OpenWrt-Devel] build: Unset CDPATH to avoid problems

2018-08-17 Thread Hauke Mehrtens
From: Thomas Langer In some places the output of commands, which include "cd" are used. In case of CDPATH the new path is printed, which might not be expected. Disable the variable to avoid these problem. Signed-off-by: Thomas Langer Signed-off-by: Hauke Mehrtens --- Makefile | 2

[OpenWrt-Devel] [PATCH v2] build: Unset CDPATH to avoid problems

2018-08-20 Thread Hauke Mehrtens
e not found Try 'tar --help' or 'tar --usage' for more information. . To avoid this, this patch makes the build system unset CDPATH inside the build system, so the build system will still work even when the user set this variable in his local environment. Signed-off

[OpenWrt-Devel] [PATCH] iproute2: update to version 4.18.0

2018-08-25 Thread Hauke Mehrtens
Signed-off-by: Hauke Mehrtens --- package/network/utils/iproute2/Makefile| 6 ++-- .../001-rdma-sync-some-IP-headers-with-glibc.patch | 37 -- 2 files changed, 3 insertions(+), 40 deletions(-) delete mode 100644 package/network/utils/iproute2/patches/001-rdma

[OpenWrt-Devel] [PATCH] strace: update strace to version 4.24

2018-08-25 Thread Hauke Mehrtens
Signed-off-by: Hauke Mehrtens --- package/devel/strace/Makefile | 4 ++-- .../devel/strace/patches/100-workaround--pt-reg-collisions-ppc.patch | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/devel/strace/Makefile b/package

Re: [OpenWrt-Devel] [PATCH] mvebu: fix the cortex-a9 fpu configure

2018-08-30 Thread Hauke Mehrtens
Hi, On 08/30/2018 09:29 AM, Ayaka wrote: > > > Sent from my iPad > >>> On Aug 30, 2018, at 2:26 PM, Jonas Gorski wrote: >>> >>> On 30 August 2018 at 04:31, ayaka wrote: >>> Both Marvell Armada 37x and 38x support NEON and VFPv3, >>> so we enable the NEON FPU with the SIMD aliases. >> >> But t

[OpenWrt-Devel] OpenWrt/LEDE v17.01.6 service release

2018-09-04 Thread Hauke Mehrtens
The OpenWrt Community is proud to announce the sixth service release of the stable OpenWrt/LEDE 17.01 series. OpenWrt/LEDE 17.01.6 “Reboot” incorporates a fair number of fixes back ported from the development branch during the last 2 months. Some selected highlights of the service release are:

[OpenWrt-Devel] OpenWrt summit 2018 in Lisbon

2018-09-13 Thread Hauke Mehrtens
Hi all, The OpenWrt summit 2018 is taking place at the Communications Museum in Lisbon, Portugal on October 29th & 30th. The schedule with many interesting talks is available now: https://openwrtsummit.wordpress.com/schedule-2018/ The OpenWrt summit requires a registration, please register here:

Re: [OpenWrt-Devel] [PATCH] kernel: re-enable MIPS VDSO

2018-09-21 Thread Hauke Mehrtens
; > Remove our force disable patch: > > pending-4.14/206-mips-disable-vdso.patch > > Signed-off-by: Kevin Darbyshire-Bryant Acked-by: Hauke Mehrtens This will also get fixed in kernel 4.9 and 4.4, so we can later remove this patch also for these kernel versions. > --- >

Re: [OpenWrt-Devel] [LEDE-DEV][PATCH 1/1] at91: bump kernel 4.9 to 4.14.67

2018-09-21 Thread Hauke Mehrtens
On 09/06/2018 05:48 PM, Sandeep Sheriker Mallikarjun wrote: > Refreshed at91 patches and its configs files. > > Signed-off-by: Sandeep Sheriker Mallikarjun > > --- > target/linux/at91/Makefile | 5 +- > target/linux/at91/{config-4.9 => config-4.14} | 284 ++- >

[OpenWrt-Devel] OpenWrt 19.01 plans

2018-09-22 Thread Hauke Mehrtens
Hi, We talked about plans for the next OpenWrt releases in this mail thread: http://lists.infradead.org/pipermail/openwrt-adm/2018-July/000849.html This mail is more or less a summary of the conclusions, this is still open for change especially the dates as this depends on people having time to do

Re: [OpenWrt-Devel] OpenWrt 19.01 plans

2018-09-23 Thread Hauke Mehrtens
On 09/23/2018 08:20 PM, Rosen Penev wrote: > On Sat, Sep 22, 2018 at 3:43 PM Hauke Mehrtens wrote: >> >> Hi, >> >> We talked about plans for the next OpenWrt releases in this mail thread: >> http://lists.infradead.org/pipermail/openwrt-adm/2018-July/000849.ht

Re: [OpenWrt-Devel] RFT: ar71xx/mac80211 update

2018-09-24 Thread Hauke Mehrtens
On 08/13/2018 05:14 PM, John Crispin wrote: > Hi, > > as 19.01 will probably use v4.14 as baseline and ath79 wont be a full > replacement for ar71xx by then we decided to bump ar71xx to v4.14. This > is available for testing inside my staging tree -> > > https://git.openwrt.org/?p=openwrt/staging

Re: [OpenWrt-Devel] RFT: ar71xx/mac80211 update

2018-09-25 Thread Hauke Mehrtens
On 09/24/2018 10:47 PM, Hauke Mehrtens wrote: > On 08/13/2018 05:14 PM, John Crispin wrote: >> Hi, >> >> as 19.01 will probably use v4.14 as baseline and ath79 wont be a full >> replacement for ar71xx by then we decided to bump ar71xx to v4.14. This >> is availa

Re: [OpenWrt-Devel] OpenWrt 19.01 plans

2018-09-27 Thread Hauke Mehrtens
On 09/26/2018 09:38 AM, Koen Vandeputte wrote: > > > On 2018-09-23 00:42, Hauke Mehrtens wrote: >> Hi, >> >> We talked about plans for the next OpenWrt releases in this mail thread: >> http://lists.infradead.org/pipermail/openwrt-adm/2018-July/000849.html >&

[OpenWrt-Devel] ar71xx/tiny broken since: "image: use ucert to append signature"

2018-09-29 Thread Hauke Mehrtens
Hi, The build of the ar71xx/tiny subtarget is broken since this commit: https://git.openwrt.org/848b455d2e9441361f6e010f9b95ab8a7dccbae1 see here for the error message in build bot: http://phase1.builds.lede-project.org/builders/ar71xx%2Ftiny When I revert the following commits it builds again: h

Re: [OpenWrt-Devel] ar71xx/tiny broken since: "image: use ucert to append signature"

2018-09-30 Thread Hauke Mehrtens
On 09/30/2018 03:53 AM, Daniel Golle wrote: > Hi! > > On Sun, Sep 30, 2018 at 12:27:07AM +0200, Hauke Mehrtens wrote: >> Hi, >> >> The build of the ar71xx/tiny subtarget is broken since this commit: >> https://git.openwrt.org/848b455d2e9441361f6e010f9b95ab8a7

Re: [OpenWrt-Devel] RFT: ar71xx/mac80211 update

2018-09-30 Thread Hauke Mehrtens
On 09/26/2018 12:01 AM, Daniel Golle wrote: > On Tue, Sep 25, 2018 at 11:15:14PM +0200, Hauke Mehrtens wrote: >> ... >> With that update I am fine with squashing the mac80211 updates and >> pushing them to OpenWrt master. >> >> I checked the removed patches and co

[OpenWrt-Devel] [PATCH] image: ignore usign build errors

2018-10-02 Thread Hauke Mehrtens
error is not ignored. This patch makes make ignore errors in the signing which is the case for too big images because then the needed file is not created in the previous process. Fixes: 848b455d2e94 ("image: use ucert to append signature") Signed-off-by: Hauke Mehrtens --- inc

[OpenWrt-Devel] [RFC 0/6] hostapd: Add WPA3 support

2018-10-05 Thread Hauke Mehrtens
hostapd, are there any other clients available? This can also be found here: https://git.openwrt.org/?p=openwrt/staging/hauke.git;a=shortlog;h=refs/heads/hostapd I will update the branch more often than these mails. Hauke Mehrtens (6): hostapd: sync config with default configuration hostapd

[OpenWrt-Devel] [RFC 1/6] hostapd: sync config with default configuration

2018-10-05 Thread Hauke Mehrtens
Signed-off-by: Hauke Mehrtens --- .../services/hostapd/files/hostapd-full.config | 8 .../services/hostapd/files/hostapd-mini.config | 8 .../hostapd/files/wpa_supplicant-full.config | 20 +++- .../hostapd/files/wpa_supplicant-mini.config

[OpenWrt-Devel] [RFC 2/6] hostapd: backport build fix when OWE is activated

2018-10-05 Thread Hauke Mehrtens
Signed-off-by: Hauke Mehrtens --- ...-unauthenticated-encrypted-EAPOL-Key-data.patch | 7 +- ...ld-error-in-AP-code-without-CONFIG_IEEE80.patch | 29 ++ .../patches/380-disable_ctrl_iface_mib.patch | 4 +-- .../patches/381-hostapd_cli_UNKNOWN-COMMAND.patch | 4

[OpenWrt-Devel] [RFC 6/6] netifd: Add support for wireless OWE authentication

2018-10-05 Thread Hauke Mehrtens
Signed-off-by: Hauke Mehrtens --- .../config/netifd/patches/002-wireless-owe.patch | 23 ++ 1 file changed, 23 insertions(+) create mode 100644 package/network/config/netifd/patches/002-wireless-owe.patch diff --git a/package/network/config/netifd/patches/002-wireless

[OpenWrt-Devel] [RFC 4/6] hostapd: Activate Opportunistic Wireless Encryption (OWE)

2018-10-05 Thread Hauke Mehrtens
OWE is defined in RFC 8110 and provides encryption and forward security for open networks. Signed-off-by: Hauke Mehrtens --- package/network/services/hostapd/Makefile | 4 ++-- package/network/services/hostapd/files/hostapd.sh | 8 +++- 2 files changed, 9 insertions(+), 3 deletions

[OpenWrt-Devel] [RFC 5/6] netifd: Add support for wireless SAE authentication

2018-10-05 Thread Hauke Mehrtens
Signed-off-by: Hauke Mehrtens --- .../config/netifd/patches/001-wireless-sae.patch | 26 ++ 1 file changed, 26 insertions(+) create mode 100644 package/network/config/netifd/patches/001-wireless-sae.patch diff --git a/package/network/config/netifd/patches/001-wireless

[OpenWrt-Devel] [RFC 3/6] hostapd: Activate Simultaneous Authentication of Equals (SAE)

2018-10-05 Thread Hauke Mehrtens
in SAE only mode Protected Management Frames (PMF) is required, in mixed mode with WPA2-PSK PMF should be required for clients using SAE, and optional for clients using WPA2-PSK. The defaults are set now accordingly. Signed-off-by: Hauke Mehrtens --- package/network/services/hostapd/Makefile

Re: [OpenWrt-Devel] [PATCH] image: ignore usign build errors

2018-10-07 Thread Hauke Mehrtens
On 10/05/2018 12:09 PM, Felix Fietkau wrote: > On 2018-10-02 22:50, Hauke Mehrtens wrote: >> The tl-wa850re-v2 images from the ar71xx/tiny target are getting too big >> with the default packages. The size check is done before the meta data >> is added so there is no file to a

[OpenWrt-Devel] [PATCH 4/9] hostapd: Activate Simultaneous Authentication of Equals (SAE)

2018-10-12 Thread Hauke Mehrtens
Bytes Signed-off-by: Hauke Mehrtens --- package/network/services/hostapd/Makefile | 4 +- package/network/services/hostapd/files/hostapd.sh | 43 ++ .../hostapd/src/src/utils/build_features.h | 4 ++ 3 files changed, 42 insertions(+), 9 deletions(-) diff --git

[OpenWrt-Devel] [PATCH 2/9] hostapd: backport build fix when OWE is activated

2018-10-12 Thread Hauke Mehrtens
Signed-off-by: Hauke Mehrtens --- ...-unauthenticated-encrypted-EAPOL-Key-data.patch | 7 +- ...ld-error-in-AP-code-without-CONFIG_IEEE80.patch | 29 ++ .../patches/380-disable_ctrl_iface_mib.patch | 4 +-- .../patches/381-hostapd_cli_UNKNOWN-COMMAND.patch | 4

[OpenWrt-Devel] [PATCH 8/9] netifd: Add support for wireless OWE authentication

2018-10-12 Thread Hauke Mehrtens
Signed-off-by: Hauke Mehrtens --- ...Add-Opportunistic-Wireless-Encryption-OWE.patch | 31 ++ 1 file changed, 31 insertions(+) create mode 100644 package/network/config/netifd/patches/002-wireless-Add-Opportunistic-Wireless-Encryption-OWE.patch diff --git a/package

[OpenWrt-Devel] [PATCH 3/9] hostapd: SAE: Do not ignore option sae_require_mfp

2018-10-12 Thread Hauke Mehrtens
Signed-off-by: Hauke Mehrtens --- ...-SAE-Do-not-ignore-option-sae_require_mfp.patch | 26 ++ 1 file changed, 26 insertions(+) create mode 100644 package/network/services/hostapd/patches/130-SAE-Do-not-ignore-option-sae_require_mfp.patch diff --git a/package/network

[OpenWrt-Devel] [PATCH 0/9] hostapd: Add wupport for SAE / OWE / WPA3

2018-10-12 Thread Hauke Mehrtens
version number should be increased. I tested all of these modes. Hauke Mehrtens (9): hostapd: sync config with default configuration hostapd: backport build fix when OWE is activated hostapd: SAE: Do not ignore option sae_require_mfp hostapd: Activate Simultaneous Authentication of Equals (SAE

[OpenWrt-Devel] [PATCH 1/9] hostapd: sync config with default configuration

2018-10-12 Thread Hauke Mehrtens
Signed-off-by: Hauke Mehrtens --- .../services/hostapd/files/hostapd-full.config | 8 .../services/hostapd/files/hostapd-mini.config | 8 .../hostapd/files/wpa_supplicant-full.config | 20 +++- .../hostapd/files/wpa_supplicant-mini.config

[OpenWrt-Devel] [PATCH 7/9] netifd: Add support for wireless SAE authentication

2018-10-12 Thread Hauke Mehrtens
Signed-off-by: Hauke Mehrtens --- ...d-Simultaneous-Authentication-of-Equals-S.patch | 36 ++ 1 file changed, 36 insertions(+) create mode 100644 package/network/config/netifd/patches/001-wireless-Add-Simultaneous-Authentication-of-Equals-S.patch diff --git a/package

[OpenWrt-Devel] [PATCH 9/9] netifd: Add support for wireless EAP-Suite-B-192 authentication

2018-10-12 Thread Hauke Mehrtens
Signed-off-by: Hauke Mehrtens --- ...s-Add-WPA-EAP-SUITE-B-192-WPA3-Enterprise.patch | 34 ++ 1 file changed, 34 insertions(+) create mode 100644 package/network/config/netifd/patches/003-wireless-Add-WPA-EAP-SUITE-B-192-WPA3-Enterprise.patch diff --git a/package/network

[OpenWrt-Devel] [PATCH 5/9] hostapd: Activate Opportunistic Wireless Encryption (OWE)

2018-10-12 Thread Hauke Mehrtens
to configure the OWE transission mode which allows it operate an open and an OWE BSSID in parallel and the client should only show one network. This increases the ipkg size by 5.800 Bytes. Old: 402.541 Bytes New: 408.341 Bytes Signed-off-by: Hauke Mehrtens --- package/network/services/hostapd

[OpenWrt-Devel] [PATCH 6/9] hostapd: Add WPA-EAP-SUITE-B-192 (WPA3-Enterprise)

2018-10-12 Thread Hauke Mehrtens
. Signed-off-by: Hauke Mehrtens --- package/network/services/hostapd/Makefile | 4 ++-- package/network/services/hostapd/files/hostapd.sh | 15 --- .../services/hostapd/src/src/utils/build_features.h | 4 3 files changed, 18 insertions(+), 5 deletions

Re: [OpenWrt-Devel] [PATCH] patch: apply upstream cve fixes

2018-10-14 Thread Hauke Mehrtens
On 10/14/2018 03:55 PM, Magnus Kroken wrote: > Hi Russell, Kevin > > On 14.10.2018 11:34, Russell Senior wrote: >> >> Apply two upstream patches to address two CVEs: >> >>   * CVE-2018-1000156 >>   * CVE-2018-6952 >> >> Add PKG_CPE_ID to Makefile. >> >> Build tested on apm821xx and ar71xx. >> >> S

Re: [OpenWrt-Devel] Right 02_network script for DSA switched boards (v4.19)

2018-10-14 Thread Hauke Mehrtens
On 10/13/2018 08:31 PM, Linus Walleij wrote: > Hi, > > I'm having trouble figuring out how to get a proper DSA switch > up with a 02_network script. NB: this is on a newer kernel > v4.19+patches just using DSA for the switches, no switchdev! > > These platforms (gemini) have eth0 and eth1, someti

Re: [OpenWrt-Devel] Right 02_network script for DSA switched boards (v4.19)

2018-10-14 Thread Hauke Mehrtens
On 10/14/2018 11:25 PM, Linus Walleij wrote: > On Sun, Oct 14, 2018 at 10:47 PM Hauke Mehrtens wrote: > >> There is a typo in your script, it should be >> ucidef_set_interfaces_lan_wan, with an s and not >> ucidef_set_interface_lan_wan. > > Yeah I noticed too, t

Re: [OpenWrt-Devel] [RFC PATCH 0/2] wpad basic variant

2018-10-14 Thread Hauke Mehrtens
On 10/12/2018 05:26 PM, Kevin Darbyshire-Bryant wrote: > Peoples! > > I've had these two commits lurking in my tree for ages, never having > quite got the courage up to commit the darn things as I feel well out of > my depth & comfort zone. > > They're as a result of https://patchwork.ozlabs.org/

Re: [OpenWrt-Devel] [openwrt-devel][PATCH 8/8] at91: Add uboot environment's

2018-10-20 Thread Hauke Mehrtens
On 10/13/2018 12:41 AM, Sandeep Sheriker Mallikarjun wrote: > Add uboot environment's to sdcard image. > > Signed-off-by: Sandeep Sheriker Mallikarjun > > --- > target/linux/at91/image/Makefile | 16 ++-- > target/linux/at91/image/uboot-env.txt | 14 ++ > 2 files ch

Re: [OpenWrt-Devel] [openwrt-devel][PATCH 5/8] uboot-at91: bump linux4sam_5.8 to linux4sam_6.0

2018-10-20 Thread Hauke Mehrtens
On 10/13/2018 12:41 AM, Sandeep Sheriker Mallikarjun wrote: > 1. add support to build u-boot binaries for at91sam9x5ek socs > 2. removed sama5d27_som1_ek_spiflash defconfig since this is >removed in linux4sam_6.0 release > 3. add -Wno-format-security in cflags for build success. > > Signed-off

Re: [OpenWrt-Devel] [openwrt-devel][PATCH 2/8] at91: bump kernel 4.9 to 4.14

2018-10-20 Thread Hauke Mehrtens
On 10/13/2018 12:41 AM, Sandeep Sheriker Mallikarjun wrote: > Refreshed at91 patches and its configs files. > > Signed-off-by: Sandeep Sheriker Mallikarjun > Please refresh the patches on top of kernel 4.14 with this command: make target/linux/{clean,refresh} V=99 Please update the con

Re: [OpenWrt-Devel] [PATCH] kernel: tolerate using UBI/UBIFS on MLC flash (FS#1830)

2018-10-20 Thread Hauke Mehrtens
On 10/18/2018 02:28 PM, Koen Vandeputte wrote: > starting from upstream commit 577b4eb23811 ("ubi: Reject MLC NAND") > it is not allowed to use UBI and UBIFS on a MLC flavoured NAND flash chip. [1] > > According to David Oberhollenzer [2]: > > The real problem is that on MLC NAND, pages come in p

Re: [OpenWrt-Devel] [PATCH] kernel: tolerate using UBI/UBIFS on MLC flash (FS#1830)

2018-10-27 Thread Hauke Mehrtens
e devices are currently advertised as supported by OpenWrt, > we should at least maintain the original state during the lifecycle > of the current releases. > > Support can be gracefully ended when a new release-branch is created. > > Signed-off-by: Koen Vandeputte Acked-by: H

[OpenWrt-Devel] OpenWrt Roadmap

2018-11-05 Thread Hauke Mehrtens
Hi all, We had a discussion about the future OpenWrt Roadmap in July here: http://lists.infradead.org/pipermail/openwrt-adm/2018-July/000849.html The outcome from my perspective is the following. The next release would be done in January 2019 and named 19.01, this release will probably have code

Re: [OpenWrt-Devel] OpenWrt Roadmap

2018-11-05 Thread Hauke Mehrtens
On 11/05/2018 09:53 PM, Robert Marko wrote: > On Mon, 5 Nov 2018 at 21:46, Hauke Mehrtens wrote: >> >> Hi all, >> >> We had a discussion about the future OpenWrt Roadmap in July here: >> http://lists.infradead.org/pipermail/openwrt-adm/2018-July/000849.html >

[OpenWrt-Devel] CCC and OpenWrt: Technical guideline of German BSI for secure routers insufficient

2018-11-19 Thread Hauke Mehrtens
The recently released technical guideline for secure broadband routers is simply a disservice to customers. This guideline will not prevent widespread malfunction of routers and their security problems in the future. The consumers will not get a useful way to distinguish secure and long living devi

Re: [OpenWrt-Devel] [PATCHv2] Allow VLAN filtering if needed.

2018-11-21 Thread Hauke Mehrtens
On 11/21/18 5:01 PM, Jonathan Thibault wrote: > On 21/11/18 09:13 AM, Daniel Golle wrote: >> Hi! >> >> On Thu, Nov 15, 2018 at 07:58:07PM +0100, Daniel Golle wrote: >>> Hi Jonathan, >>> >>> On Thu, Nov 15, 2018 at 11:12:54AM -0500, Jonathan Thibault wrote: Greetings, I would like to

Re: [OpenWrt-Devel] [PATCH] build: Add append-uboot-spl command

2018-11-24 Thread Hauke Mehrtens
On 11/23/18 10:52 AM, Petr Štetiar wrote: > Example usage: > > Define Device/apalis >... >UBOOT_PATH := $$(STAGING_DIR_IMAGE)/$$(UBOOT)-u-boot.img >UBOOT_SPL_PATH := $$(STAGING_DIR_IMAGE)/$$(UBOOT)-SPL >ARTIFACTS := spl-uboot.bin >ARTIFACT/spl-uboot.bin := append-uboot-spl | p

Re: [OpenWrt-Devel] [PATCH v4 5/6] x86: add intel microcode entries to grub config

2018-11-24 Thread Hauke Mehrtens
On 11/20/18 5:20 PM, Tomasz Maciej Nowak wrote: > Create initrd enries for x86 images, that'll load intel microcode as > early as possible. To achieve that the test module for grub is enabled > which provides shell-like conditionals. Also restrict the late load of > microcode to AMD processors. >

Re: [OpenWrt-Devel] [PATCH v4 6/6] intel-microcode: create early load microcode image

2018-11-24 Thread Hauke Mehrtens
On 11/20/18 5:20 PM, Tomasz Maciej Nowak wrote: > Create initrd image with packed microcode. This'll allow to load it at > early boot stage. > > Signed-off-by: Tomasz Maciej Nowak > --- > package/firmware/intel-microcode/Makefile | 14 -- > 1 file changed, 8 insertions(+), 6 deletion

Re: [OpenWrt-Devel] [PATCH] Add generic actions to sched-core

2018-11-24 Thread Hauke Mehrtens
On 11/16/18 4:38 PM, Jonathan Thibault wrote: > Greetings, > > Next in my series of 'OpenWRT as a network swiss army knife' patches, I > suggest having the ability to accept/drop frames with TC as part of > sched-core.  This can be useful in cases where you need very fast (if > simplistic) packet

Re: [OpenWrt-Devel] [PATCH] cryptodev-linux: move from packages feed

2018-11-24 Thread Hauke Mehrtens
On 11/9/18 6:06 PM, Eneas U de Queiroz wrote: > This is actually a build dependency for /dev/crypto support in openssl. > Since it is a kernel module, it belongs here anyway. > > Acked-by: Ansuel Smith > Signed-off-by: Eneas U de Queiroz > > diff --git a/package/kernel/cryptodev-linux/Makefile

Re: [OpenWrt-Devel] [PATCH] rtl8812au: Add out-of-tree driver.

2018-11-24 Thread Hauke Mehrtens
On 11/10/18 1:32 AM, gree...@candelatech.com wrote: > From: Ben Greear > > It loads now, at least. Previosly worked on x86 when not trying > to do backports build. Had to hack on the driver's include files > and some related stuff a bit to get it to compile for OpenWRT. Having fun with Realtek

Re: [OpenWrt-Devel] [PATCH] packages/python-idna: Add missing dependency on python(3)-codecs

2018-11-24 Thread Hauke Mehrtens
On 11/5/18 3:06 AM, Daniel Santos wrote: > Signed-off-by: Daniel Santos > --- > lang/python/python-idna/Makefile | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > Hi, This package is maintained in the packages feed at github, see here: https://github.com/openwrt/packages Please crea

Re: [OpenWrt-Devel] [PATCH 5/5] mesongx: new target

2018-11-24 Thread Hauke Mehrtens
On 10/19/18 7:37 PM, Stijn Tintel wrote: > This target supports Amlogic S9 SoCs. > > Signed-off-by: Stijn Tintel > --- > target/linux/mesongx/Makefile | 36 ++ > target/linux/mesongx/base-files/etc/inittab| 5 + > .../mesongx/base-files/lib/preinit/79_move_config

Re: [OpenWrt-Devel] [PATCH] jffs2: Fix use of uninitialized delayed_work, lockdep breakage

2018-11-24 Thread Hauke Mehrtens
On 10/19/18 10:59 AM, Daniel Santos wrote: > I've sent this one upstream. This patch is critical if you want to run > with "prove lock correctness" (lockdep) and you happen to have certain > mtd devices. The misuse of the uninitialized object is undefined > behaviour, but being zeroed it does not

Re: [OpenWrt-Devel] [PATCH] build: Introduce building of artifacts

2018-11-24 Thread Hauke Mehrtens
>ARTIFACT/recovery.scr := recovery-scr > endef > > Which would produce target binaries with following filenames: > > openwrt-imx6-apalis-recovery.scr > openwrt-imx6-apalis-spl-uboot.bin > > Signed-off-by: Petr Štetiar Acked-by: Hauke Mehrtens I think this feat

Re: [OpenWrt-Devel] [PATCH v2] octeon: Allow sysupgrade restore on ER

2018-11-24 Thread Hauke Mehrtens
On 11/13/18 3:48 PM, Jonathan Thibault wrote: > This is a very simple patch that completes sysupgrade functionality on > UBNT ER8. > > Default layout leaves about 128MB free on the kernel partition so there > is plenty of space for temporary config backups. > > This version checks board names in

Re: [OpenWrt-Devel] [PATCH] kernel: add option to root .config for /proc/config.gz

2018-11-24 Thread Hauke Mehrtens
On 11/5/18 12:17 AM, Daniel Santos wrote: > Exports CONFIG_IKCONFIG and CONFIG_IKCONFIG_PROC to the kernel .config > based upon menu choices under Global build settings --> Kernel build > options. For simplicity, /proc/config.gz support is assumed, but if > kernel_menuconfig has disabled CONFIG_PR

Re: [OpenWrt-Devel] [PATCH] valgrind: enable LTO and refresh patches

2018-11-24 Thread Hauke Mehrtens
On 11/24/18 3:00 AM, Syrone Wong wrote: > Signed-off-by: Syrone Wong > --- > package/devel/valgrind/Makefile | 1 + > package/devel/valgrind/patches/100-fix_configure_check.patch| 2 +- > package/devel/valgrind/patches/130-fix_arm_arch_detection.patch | 2 +- >

[OpenWrt-Devel] [RFC 15/27] kernel: Adapt to new location of video-videobuf2 in kernel 4.19

2018-11-27 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] [RFC 07/27] kernel: Deactivate *-gpio-custom drivers for 4.19

2018-11-27 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] [RFC 08/27] i2c-gpio-custom: Adapt to moved include file

2018-11-27 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] [RFC 16/27] kernel: Adapt to move of autofs4 in kernel 4.19

2018-11-27 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] [RFC 11/27] kernel: add missing dependency to kmod-crypto-acompress

2018-11-27 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] [RFC 03/27] kernel: Move modifications of b53.h into patch

2018-11-27 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] [RFC 06/27] kernel: Add kmod-phy-realtek

2018-11-27 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] [RFC 00/27] Add support for kernel 4.19

2018-11-27 Thread Hauke Mehrtens
other comments so I can improve these patches. This started with the patches from this pull request, but then I did a lot of other improvement to reach our expected quality: https://github.com/openwrt/openwrt/pull/1386 Hauke Mehrtens (27): kernel: Reorder configuration kernel: Replace ledtrig

[OpenWrt-Devel] [RFC 01/27] kernel: Reorder configuration

2018-11-27 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] [RFC 02/27] kernel: Replace ledtrig-netdev with upstream backport

2018-11-27 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] [RFC 13/27] kernel: Remove crypto/ablk_helper.ko on kernel 4.19

2018-11-27 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/kernel/linux/modules/crypto.mk b/package/kernel

[OpenWrt-Devel] [RFC 12/27] kernel: extract asn1_decoder.ko

2018-11-27 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] [RFC 09/27] kernel: Use kmod-dax on kernel 4.19

2018-11-27 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] [RFC 21/27] kernel: tg3: Do not depend on kmod-hwmon-core on kernel 4.19

2018-11-27 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] [RFC 27/27] kernel: netfilter: chain filters merged into nf_tables.ko

2018-11-27 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] [RFC 23/27] kernel: netfilter: Add nf_defrag_ipv6.ko to NF_CONNTRACK on 4.19

2018-11-27 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] [RFC 20/27] kernel: Add missing dependency to kmod-regmap

2018-11-27 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] [RFC 17/27] kernel: Make kmod-mpls depend on iptunnel in kernel 4.19

2018-11-27 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] [RFC 18/27] kernel: Always activate CONFIG_HW_RANDOM_TPM

2018-11-27 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] [RFC 22/27] kernel: Make CONFIG_NVMEM tristate

2018-11-27 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] [RFC 19/27] kernel: Make video-gspca-core depend on vidobuf2

2018-11-27 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] [RFC 10/27] kernel: Adapt to moved kvaser_usb.ko in kernel 4.19

2018-11-27 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] [RFC 24/27] kernel: netfilter: Add nf_tproxy_ipv{4, 6} and nf_socket_ipv{4, 6}

2018-11-27 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

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