[OpenWrt-Devel] [PATCH 7/9] omap24xx: Remove unmaintained target

2019-03-25 Thread Hauke Mehrtens
recent and supported kernel version. Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/other.mk | 15 - package/kernel/mac80211/Makefile | 13 +- target/linux/omap24xx/Makefile| 26 -- .../omap24xx/base-files/etc/config/fstab | 13

[OpenWrt-Devel] [PATCH 4/9] mcs814x: Remove unmaintained target

2019-03-25 Thread Hauke Mehrtens
recent and supported kernel version. Signed-off-by: Hauke Mehrtens --- target/linux/mcs814x/Makefile | 31 - .../mcs814x/base-files/etc/board.d/01_leds| 27 - .../mcs814x/base-files/etc/board.d/02_network | 12 - .../linux/mcs814x/base-files/lib/mcs814x.sh | 33

Re: [OpenWrt-Devel] [PATCH] arc770: bump kernel to 4.19

2019-03-25 Thread Hauke Mehrtens
On 3/12/19 12:02 PM, Evgeniy Didin wrote: > Linux kernel 4.14 is not building with GCC 8.3 and binutils 2.32 for arc770 > Lets update it to 4.19. > > Signed-off-by: Evgeniy Didin > Cc: Alexey Brodkin > Cc: Hauke Mehrtens > Cc: John C

Re: [OpenWrt-Devel] [PATCH 01/11] tools/libaio: new package

2019-03-25 Thread Hauke Mehrtens
On 3/11/19 5:20 PM, Thomas Petazzoni wrote: > From: Thomas Petazzoni Does this email address still exists? > libaio for the host will be needed as a dependency of lvm2, itself a > dependency of cryptsetup. > > Signed-off-by: Thomas Petazzoni > --- > tools/Makefile| 1 + > tools/libai

Re: [OpenWrt-Devel] [PATCH 04/11] tools/cryptsetup: new package

2019-03-25 Thread Hauke Mehrtens
On 3/11/19 5:20 PM, Thomas Petazzoni wrote: > cryptsetup for the host will be needed to create the hash tree of a > dm-verity volume. > > Signed-off-by: Thomas Petazzoni > --- > tools/Makefile| 3 +- > tools/cryptsetup/Makefile | 28 ++

Re: [OpenWrt-Devel] [PATCH 07/11] include/image.mk: add support for building a dm-verity enabled squashfs image

2019-03-25 Thread Hauke Mehrtens
On 3/11/19 5:20 PM, Thomas Petazzoni wrote: > This commit adds a new TARGET_ROOTFS_SQUASHFS_HASHED option that asks > OpenWRT to generate a squashfs image suitable for usage with > dm-verity. The squashfs image is produced, and then passed through > "cryptsetup format" which appends the hash tree t

Re: [OpenWrt-Devel] [PATCH 08/11] target/linux/generic: add patches to support dm-verity volume at boot

2019-03-25 Thread Hauke Mehrtens
On 3/11/19 5:20 PM, Thomas Petazzoni wrote: > The upstream Linux kernel does not provide a mechanism to setup a DM > volume at boot time using the kernel command line: an initramfs with > user-space tools is strictly required. Since OpenWRT doesn't support > an initramfs as an intermediate step bef

Re: [OpenWrt-Devel] [PATCH 10/11] target/linux/mvebu/config-4.14: enable options needed for dm-verity

2019-03-25 Thread Hauke Mehrtens
On 3/11/19 5:20 PM, Thomas Petazzoni wrote: > This commit updates the Linux kernel configuration used on Marvell > platforms to support dm-verity. How much bigger is the kernel image getting when these options are activated? All mvebu devices I know of have a lot of memory so it does not really ma

Re: [OpenWrt-Devel] [PATCH 00/11] Proposal for dm-verity support

2019-03-25 Thread Hauke Mehrtens
Hi Thomas, On 3/11/19 5:20 PM, Thomas Petazzoni wrote: > Hello, > > This patch series is a proposal to add support for dm-verity to > OpenWRT. While I am familiar with build systems in general (I am one > of the core developers of Buildroot), this is my first ever > contribution to OpenWRT, so I

Re: [OpenWrt-Devel] [PATCH 00/11] Proposal for dm-verity support

2019-03-25 Thread Hauke Mehrtens
Hi Thomas, On 3/25/19 7:07 PM, Thomas Petazzoni wrote: > Hello Hauke, > > On Mon, 25 Mar 2019 18:31:19 +0100 > Hauke Mehrtens wrote: > >>> This "hash tree" is a bunch of metadata that needs to be stored on >>> non-volatile storage. It can be appended

Re: [OpenWrt-Devel] [PATCH 1/7] tegra: add new target

2019-03-25 Thread Hauke Mehrtens
Hi Tomasz, Soke small comments, this looks mostly ok. On 3/4/19 7:53 PM, Tomasz Maciej Nowak wrote: > New target introduces initial support for NVIDIA Tegra SoC based devices. > It focuses on Tegra 2 CPUs, for successors supporting NEON instruction > set the target should be split in two subtarge

Re: [OpenWrt-Devel] [RFC] [PATCH v4] lantiq: IRQ balancing, ethernet driver, wave300

2019-03-25 Thread Hauke Mehrtens
Hi Petr On 3/14/19 6:46 AM, Petr Cvek wrote: > Hello again, > > I've managed to enhance few drivers for lantiq platform. They are still > in ugly commented form (ethernet part especially). But I need some hints > before the final version. The patches are based on a kernel 4.14.99. > Copy them int

Re: [OpenWrt-Devel] [RFC] [PATCH v4] lantiq: IRQ balancing, ethernet driver, wave300

2019-03-25 Thread Hauke Mehrtens
On 3/26/19 12:24 AM, Hauke Mehrtens wrote: > Hi Petr > > On 3/14/19 6:46 AM, Petr Cvek wrote: >> Hello again, >> >> I've managed to enhance few drivers for lantiq platform. They are still >> in ugly commented form (ethernet part especially). But I need some

[OpenWrt-Devel] [PATCH] mvebu: Refresh kernel configuration

2019-03-25 Thread Hauke Mehrtens
This refreshes the current kernel configuration to remove needed options. The build did this automatically so the builds already used this configuration. Signed-off-by: Hauke Mehrtens --- target/linux/mvebu/config-4.14 | 7 +-- target/linux/mvebu/cortexa53/config-default | 1

Re: [OpenWrt-Devel] [RFC] [PATCH v4] lantiq: IRQ balancing, ethernet driver, wave300

2019-03-25 Thread Hauke Mehrtens
On 3/26/19 1:24 AM, Petr Cvek wrote: > > > Dne 26. 03. 19 v 0:45 Hauke Mehrtens napsal(a): >> On 3/26/19 12:24 AM, Hauke Mehrtens wrote: >>> Hi Petr >>> >>> On 3/14/19 6:46 AM, Petr Cvek wrote: >>>> Hello again, >>>> >>&g

Re: [OpenWrt-Devel] [PATCH] mvebu: Refresh kernel configuration

2019-03-26 Thread Hauke Mehrtens
On 3/26/19 2:34 PM, Paul Oranje wrote: > > >> Op 26 mrt. 2019, om 01:50 heeft Hauke Mehrtens het >> volgende geschreven: >> >> This refreshes the current kernel configuration to remove needed > Was unneeded meant here ? Yes, thanks for the information, I fixed

Re: [OpenWrt-Devel] [PATCH 1/7] tegra: add new target

2019-03-27 Thread Hauke Mehrtens
On 3/27/19 9:31 PM, Christian Lamparter wrote: > On Wednesday, March 27, 2019 3:07:58 PM CET Tomasz Maciej Nowak wrote: >> Hi Hauke, >> >> W dniu 25.03.2019 o 23:39, Hauke Mehrtens pisze: >>> Hi Tomasz, >>> >>> Soke small comments, this looks mostly

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

2019-03-28 Thread Hauke Mehrtens
Signed-off-by: Hauke Mehrtens --- package/kernel/mac80211/Makefile | 8 +- ...-only-mask-use_eeprom-on-of-noeeprom.patch | 73 .../patches/build/001-fix_build.patch | 12 +-- ...ratelimited-variants-of-err-and-warn.patch | 2 +- .../110

Re: [OpenWrt-Devel] ath10k-ct issues - IBSS mode

2019-03-29 Thread Hauke Mehrtens
On 3/29/19 1:43 PM, Ben Greear wrote: > > > On 03/29/2019 02:58 AM, Koen Vandeputte wrote: >> >> On 26.03.19 19:39, Ben Greear wrote: >>> On 3/26/19 6:59 AM, Koen Vandeputte wrote: On 26.03.19 14:50, Ben Greear wrote: > > > On 03/26/2019 03:09 AM, Koen Vandeputte wrote:

Re: [OpenWrt-Devel] [PATCH v3 4/7] uboot-tegra: add U-Boot for tegra boards

2019-03-30 Thread Hauke Mehrtens
On 3/28/19 5:20 PM, Tomasz Maciej Nowak wrote: > Add U-Boot for NVIDIA Tegra based boards, with the first being CompuLab > TrimSlice. This is part of initial support for this board. > > Signed-off-by: Tomasz Maciej Nowak > --- U-Boot uses binman for tegra and binman needs swig to build. In mainl

Re: [OpenWrt-Devel] [PATCH 5/7] kernel: can: add Xilinx CAN IP kernel module package

2019-04-06 Thread Hauke Mehrtens
On 4/1/19 5:33 AM, Luis Araneda wrote: > This driver is required to use the CAN IP on devices > from the zynq target > > Signed-off-by: Luis Araneda > --- > package/kernel/linux/modules/can.mk | 14 +- > 1 file changed, 13 insertions(+), 1 deletion(-) > > diff --git a/package/kernel

Re: [OpenWrt-Devel] [PATCH 5/7] kernel: can: add Xilinx CAN IP kernel module package

2019-04-06 Thread Hauke Mehrtens
On 4/6/19 2:37 PM, Hauke Mehrtens wrote: > On 4/1/19 5:33 AM, Luis Araneda wrote: >> This driver is required to use the CAN IP on devices >> from the zynq target >> >> Signed-off-by: Luis Araneda >> --- >> package/kernel/linux/modules/can.mk | 14 +

Re: [OpenWrt-Devel] [PATCH] kernel: enable CONFIG_IDE_TASK_IOCTL for 4.19

2019-04-08 Thread Hauke Mehrtens
On 4/8/19 9:57 PM, Rosen Penev wrote: > CONFIG_IDE_TASK_IOCTL is used by hdparm when erasing drives. Without it, > it errors with: > > Issuing SECURITY_ERASE command, password="PasSWorD", user=user > The running kernel lacks CONFIG_IDE_TASK_IOCTL support for this device. > SECURITY_ERASE: Invalid

[OpenWrt-Devel] [PATCH 07/10] kernel: Deactivate CONFIG_BINFMT_MISC

2019-05-03 Thread Hauke Mehrtens
something. Deactivate it for all targets for now. Signed-off-by: Hauke Mehrtens --- target/linux/gemini/config-4.14 | 1 - target/linux/gemini/config-4.19 | 1 - target/linux/omap/config-4.14 | 1 - target/linux/sunxi/config-4.14 | 1 - target/linux/sunxi/config-4.19 | 1 - target/linux/uml/config

[OpenWrt-Devel] [PATCH 00/10] kernel: Kernel Self Protection Project/Recommended Settings

2019-05-03 Thread Hauke Mehrtens
This activates and deactivates some of the options suggested on the Kernel Self Protection Project/Recommended Settings wiki page https://kernsec.org/wiki/index.php/Kernel_Self_Protection_Project/Recommended_Settings Hauke Mehrtens (10): Kernel: Activate CONFIG_HARDENED_USERCOPY kernel

[OpenWrt-Devel] [PATCH 09/10] cns3xxx: Activate CONFIG_CPU_SW_DOMAIN_PAN

2019-05-03 Thread Hauke Mehrtens
This is already activated for all other ARM targets Signed-off-by: Hauke Mehrtens --- target/linux/cns3xxx/config-4.14 | 1 - target/linux/cns3xxx/config-4.19 | 1 - 2 files changed, 2 deletions(-) diff --git a/target/linux/cns3xxx/config-4.14 b/target/linux/cns3xxx/config-4.14 index

[OpenWrt-Devel] [PATCH 10/10] gemini: Make kernel text and rodata read-only

2019-05-03 Thread Hauke Mehrtens
This is activate for all other targets except gemini, also activate it there. Signed-off-by: Hauke Mehrtens --- target/linux/gemini/config-4.14 | 2 -- target/linux/gemini/config-4.19 | 2 -- 2 files changed, 4 deletions(-) diff --git a/target/linux/gemini/config-4.14 b/target/linux/gemini

[OpenWrt-Devel] [PATCH 03/10] kernel: Remove CONFIG_DEBUG_RODATA and CONFIG_DEBUG_SET_MODULE_RONX

2019-05-03 Thread Hauke Mehrtens
These were renamed to CONFIG_STRICT_KERNEL_RWX and CONFIG_STRICT_MODULE_RWX and are activated in kernel 4.14 and later by default. Signed-off-by: Hauke Mehrtens --- target/linux/generic/config-4.14 | 2 -- target/linux/generic/config-4.19 | 2 -- 2 files changed, 4 deletions(-) diff --git a

[OpenWrt-Devel] [PATCH 06/10] kernel: Do not set CONFIG_DEVMEM or CONFIG_DEVKMEM

2019-05-03 Thread Hauke Mehrtens
This is deactivated by default and should be manually activated in the OpenWrt kernel configuration Signed-off-by: Hauke Mehrtens --- target/linux/layerscape/armv7/config-4.14 | 2 -- target/linux/layerscape/armv8_32b/config-4.14 | 2 -- target/linux/layerscape/armv8_64b/config-4.14 | 1

[OpenWrt-Devel] [PATCH 02/10] kernel: Activate CONFIG_ARM64_SW_TTBR0_PAN

2019-05-03 Thread Hauke Mehrtens
This activates "Emulate Privileged Access Never using TTBR0_EL1 switching" on ARM64. This should prevent the kernel from reading code from user space in kernel context. Signed-off-by: Hauke Mehrtens --- target/linux/armvirt/64/config-default| 1 - target/linux/brcm2708/bcm2

[OpenWrt-Devel] [PATCH 01/10] Kernel: Activate CONFIG_HARDENED_USERCOPY

2019-05-03 Thread Hauke Mehrtens
This adds additional checks to the copy_from_user() and copy_to_user() functions. The details are described in this article: https://lwn.net/Articles/695991/ This should only have a very small performance impact on system calls and should not affect routing performance. Signed-off-by: Hauke

[OpenWrt-Devel] [PATCH 08/10] x86: Activate CONFIG_X86_SMAP

2019-05-03 Thread Hauke Mehrtens
This activates "Supervisor Mode Access Prevention". modern CPUs will prevent the kernel code from accessing any data from the userspace without the usage of copy_to_user() or copy_from_user() Signed-off-by: Hauke Mehrtens --- target/linux/x86/config-4.14 | 2 +- target/linux/x86/confi

[OpenWrt-Devel] [PATCH 05/10] kernel: Activate CONFIG_SYN_COOKIES for all targets

2019-05-03 Thread Hauke Mehrtens
Some targets deactivated CONFIG_SYN_COOKIES, for unknown reasons, use the default setting from the generic configuration which activates CONFIG_SYN_COOKIES. This should prevent SYN flooding. Signed-off-by: Hauke Mehrtens --- target/linux/at91/config-4.9 | 1 - target/linux

[OpenWrt-Devel] [PATCH 04/10] kernel: Remove CONFIG_COMPAT

2019-05-03 Thread Hauke Mehrtens
on such systems and should also save some memory. Signed-off-by: Hauke Mehrtens --- target/linux/armvirt/64/config-default| 10 -- target/linux/brcm2708/bcm2710/config-4.14 | 1 - target/linux/generic/config-4.14 | 1 + target/linux/generic/config-4.19

Re: [OpenWrt-Devel] [PATCH] mvebu: add kmod-i2c-mux-pca954x for Turris Omnia

2019-05-03 Thread Hauke Mehrtens
On 5/3/19 2:44 PM, Petr Štetiar wrote: > Josef Schlehofer [2019-04-20 01:05:05]: > > Hi, > >> The driver is for the I2C mux. >> Schematic available at https://doc.turris.cz/doc/_media/rtrom01-schema.pdf >> >> Signed-off-by: Josef Schlehofer >> --- >> target/linux/mvebu/image/cortex-a9.mk | 2 +

Re: [OpenWrt-Devel] [PATCH 6/8] mvebu: add vendor to device names

2019-05-03 Thread Hauke Mehrtens
On 5/1/19 7:42 PM, Tomasz Maciej Nowak wrote: > Replace SoC names with vendors in device names, in few cases, and add > vendor to developemnt boards for easier identyfying potential firmware to > flash. Will sysupgrade still work after this rename? Isn't there some script which checks if the image

Re: [OpenWrt-Devel] [PATCH 7/8] mvebu: use device-tree board detection

2019-05-03 Thread Hauke Mehrtens
On 5/1/19 7:42 PM, Tomasz Maciej Nowak wrote: > Convert whole target to Device Tree based board detection instead of > identifying devices by dts file name. With this we can drop mvebu.sh > translation script and rely on common method for model detection. > > Signed-off-by: Tomasz Maciej Nowak >

Re: [OpenWrt-Devel] [PATCH 6/8] mvebu: add vendor to device names

2019-05-03 Thread Hauke Mehrtens
On 5/1/19 7:42 PM, Tomasz Maciej Nowak wrote: > Replace SoC names with vendors in device names, in few cases, and add > vendor to developemnt boards for easier identyfying potential firmware to > flash. > > Signed-off-by: Tomasz Maciej Nowak > diff --git a/target/linux/mvebu/image/cortex-a72.mk

Re: [OpenWrt-Devel] [PATCH 8/8] mvebu: add images for additional ESPRESSObin boards

2019-05-03 Thread Hauke Mehrtens
On 5/1/19 7:42 PM, Tomasz Maciej Nowak wrote: > This commit adds support for different iterations of ESPRESSObin. > The added variants are: > > ESPRESSObin with soldered eMMC, > > ESPRESSObin V7, compared to V5 some passive elements changed and ethernet > ports labels positions have been reversed

[OpenWrt-Devel] [PATCH 2/6] hostapd: backport some Fixes from upstream hostapd

2019-05-04 Thread Hauke Mehrtens
These two patches are fixing some problems which are fixed in hostapd master, but not in version 2.8. Signed-off-by: Hauke Mehrtens --- ...-in-storing-of-external_auth-SSID-BS.patch | 82 +++ ...-Fix-ENGINE-support-with-OpenSSL-1.1.patch | 39 + 2 files changed, 121

[OpenWrt-Devel] [PATCH 4/6] hostapd: Remove unneeded patch

2019-05-04 Thread Hauke Mehrtens
All the content of this function is proceeded by IEEE8021X_EAPOL no code accesses the ssid variable outside of this ifdef. Signed-off-by: Hauke Mehrtens --- .../hostapd/patches/110-no_eapol_fix.patch | 14 -- .../services/hostapd/patches/200-multicall.patch | 6

[OpenWrt-Devel] [PATCH 5/6] hostapd: use getrandom syscall

2019-05-04 Thread Hauke Mehrtens
hostapd will not use the getrandom() syscall and as a fallback use /dev/random, the syscall is supported since Linux 3.17 and in the musl, glibc and uclibc version used by OpenWrt. Signed-off-by: Hauke Mehrtens --- package/network/services/hostapd/files/hostapd-basic.config | 2 +- package

[OpenWrt-Devel] [PATCH 3/6] hostapd: use config option CONFIG_NO_LINUX_PACKET_SOCKET_WAR

2019-05-04 Thread Hauke Mehrtens
Instead of patching the workaround away, just use the config option. Signed-off-by: Hauke Mehrtens --- .../hostapd/files/wpa_supplicant-basic.config| 2 +- .../hostapd/files/wpa_supplicant-full.config | 2 +- .../hostapd/files/wpa_supplicant-mini.config | 2

[OpenWrt-Devel] [PATCH 6/6] hostapd: Remove ROBO switch support

2019-05-04 Thread Hauke Mehrtens
The driver was removed from OpenWrt a long time ago. Signed-off-by: Hauke Mehrtens --- package/network/services/hostapd/Makefile | 2 -- 1 file changed, 2 deletions(-) diff --git a/package/network/services/hostapd/Makefile b/package/network/services/hostapd/Makefile index 5f0e548742

Re: [OpenWrt-Devel] [PATCH 6/8] mvebu: add vendor to device names

2019-05-05 Thread Hauke Mehrtens
On 5/4/19 2:57 PM, Tomasz Maciej Nowak wrote: > Hi, > > W dniu 04.05.2019 o 00:04, Hauke Mehrtens pisze: >> On 5/1/19 7:42 PM, Tomasz Maciej Nowak wrote: >>> Replace SoC names with vendors in device names, in few cases, and add >>> vendor to developemnt boards

Re: [OpenWrt-Devel] [PATCH 1/6] hostapd: update to version 2.8

2019-05-05 Thread Hauke Mehrtens
On 5/5/19 6:59 AM, Stefan Lippers-Hollmann wrote: > Hi > > Successfully build-tested on: > - ath79 > - ipq806x > - lantiq > > Succeffully runtime tested on: > - ipq806x > > On 2019-05-04, Hauke Mehrtens wrote: >> This also syncs the configuration files

[OpenWrt-Devel] [PATCH 1/2] ar7: Refresh kernel configuration

2019-05-11 Thread Hauke Mehrtens
The configuration of the generic subtarget was used as the default configuration and then the subtarget configurations were adapted. Signed-off-by: Hauke Mehrtens --- target/linux/ar7/config-4.9 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/target/linux/ar7/config-4.9 b/target/linux

[OpenWrt-Devel] [PATCH 2/2] ar7: Update kernel to version 4.14

2019-05-11 Thread Hauke Mehrtens
This adds support for kernel 4.14 to the target and directly make it the default kernel version to use. Signed-off-by: Hauke Mehrtens --- .../patches-D7.04.03.00/270-4.14_fixes.patch | 51 +++ target/linux/ar7/Makefile | 2 +- target/linux/ar7/{config-4.9

[OpenWrt-Devel] [PATCH 0/2] ar7: Update kernel to version 4.14

2019-05-11 Thread Hauke Mehrtens
this branch: https://git.openwrt.org/?p=openwrt/staging/hauke.git;a=shortlog;h=refs/heads/kernel-4.14 Hauke Mehrtens (2): ar7: Refresh kernel configuration ar7: Update kernel to version 4.14 .../patches-D7.04.03.00/270-4.14_fixes.patch | 51 +++ target/linux/ar7/Makefile

[OpenWrt-Devel] [PATCH 1/2] ixp4xx: Refresh kernel configuration

2019-05-11 Thread Hauke Mehrtens
The configuration of the generic subtarget was used as the default configuration and then the subtarget configurations were adapted. Signed-off-by: Hauke Mehrtens --- target/linux/ixp4xx/config-4.9 | 7 +++ target/linux/ixp4xx/harddisk/config-default | 23

[OpenWrt-Devel] [PATCH 0/2] ixp4xx: Update kernel to version 4.14

2019-05-11 Thread Hauke Mehrtens
this branch: https://git.openwrt.org/?p=openwrt/staging/hauke.git;a=shortlog;h=refs/heads/kernel-4.14 Hauke Mehrtens (2): ixp4xx: Refresh kernel configuration ixp4xx: Update kernel to version 4.14 target/linux/ixp4xx/Makefile | 2 +- .../linux/ixp4xx/{config-4.9 => con

[OpenWrt-Devel] [PATCH 2/2] ixp4xx: Update kernel to version 4.14

2019-05-11 Thread Hauke Mehrtens
This adds support for kernel 4.14 to the target and directly make it the default kernel version to use. Signed-off-by: Hauke Mehrtens --- target/linux/ixp4xx/Makefile | 2 +- .../linux/ixp4xx/{config-4.9 => config-4.14} | 18 +--- target/linux/ixp4xx/harddisk/con

[OpenWrt-Devel] [PATCH 0/2] orion: Update kernel to version 4.14

2019-05-11 Thread Hauke Mehrtens
this branch: https://git.openwrt.org/?p=openwrt/staging/hauke.git;a=shortlog;h=refs/heads/kernel-4.14 Hauke Mehrtens (2): orion: Refresh kernel configuration orion: Update kernel to version 4.14 target/linux/orion/Makefile | 2 +- .../linux/orion/{config-4.9 => config-4

[OpenWrt-Devel] [PATCH 2/2] orion: Update kernel to version 4.14

2019-05-11 Thread Hauke Mehrtens
This adds support for kernel 4.14 to the target and directly make it the default kernel version to use. Signed-off-by: Hauke Mehrtens --- target/linux/orion/Makefile | 2 +- .../linux/orion/{config-4.9 => config-4.14} | 28 +-- target/linux/orion/hardd

[OpenWrt-Devel] [PATCH 1/2] orion: Refresh kernel configuration

2019-05-11 Thread Hauke Mehrtens
The configuration of the generic subtarget was used as the default configuration and then the subtarget configurations were adapted. Signed-off-by: Hauke Mehrtens --- target/linux/orion/config-4.9 | 40 +-- .../patches-4.9/210-wn802t_support.patch | 23

[OpenWrt-Devel] [PATCH 1/4] at91: Refresh kernel configuration

2019-05-11 Thread Hauke Mehrtens
The configuration of the sama5d4 subtarget was used as the default configuration and then the subtarget configurations were adapted. The resulting kernel configuration without any extra modules selected is still the same. Signed-off-by: Hauke Mehrtens --- target/linux/at91/config-4.9

[OpenWrt-Devel] [PATCH 2/4] at91: Clean up kernel configuration

2019-05-11 Thread Hauke Mehrtens
This removes some settings which are normally set by the generic configuration and should not be changed. Signed-off-by: Hauke Mehrtens --- target/linux/at91/config-4.9 | 19 +-- target/linux/at91/sama5d2/config-default | 3 --- 2 files changed, 1 insertion(+), 21

[OpenWrt-Devel] [PATCH 0/4] at91: Update kernel to version 4.14

2019-05-11 Thread Hauke Mehrtens
this branch: https://git.openwrt.org/?p=openwrt/staging/hauke.git;a=shortlog;h=refs/heads/kernel-4.14 Hauke Mehrtens (4): at91: Refresh kernel configuration at91: Clean up kernel configuration at91: Merge SAMA5 subtargets at91: Update kernel to version 4.14 package/boot/at91bootstrap

[OpenWrt-Devel] [PATCH 4/4] at91: Update kernel to version 4.14

2019-05-11 Thread Hauke Mehrtens
This adds support for kernel 4.14 to the target and directly make it the default kernel version to use. Signed-off-by: Hauke Mehrtens --- target/linux/at91/Makefile| 2 +- target/linux/at91/{config-4.9 => config-4.14} | 45 +- target/linux/at91/legacy/config-defa

[OpenWrt-Devel] [PATCH 3/4] at91: Merge SAMA5 subtargets

2019-05-11 Thread Hauke Mehrtens
Instead of maintaining 3 very similar subtargets merge them into one. This does not use the Arm NEON extension any more, because the SAMA5D3 does not support NEON. Signed-off-by: Hauke Mehrtens --- package/boot/at91bootstrap/Makefile | 26 - package/boot/uboot-at91/Makefile

[OpenWrt-Devel] [PATCH] kernel: Reorder generic configuration

2019-05-11 Thread Hauke Mehrtens
Signed-off-by: Hauke Mehrtens --- target/linux/generic/config-4.14 | 10 +- target/linux/generic/config-4.19 | 10 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/target/linux/generic/config-4.14 b/target/linux/generic/config-4.14 index 396139cb39..888401376c

Re: [OpenWrt-Devel] [PATCH 0/2] ixp4xx: Update kernel to version 4.14

2019-05-11 Thread Hauke Mehrtens
On 5/11/19 3:48 PM, Zoltan HERPAI wrote: > Hi Hauke, > > On Sat, 11 May 2019, Hauke Mehrtens wrote: > >> The next OpenWrt release will only contain support for kernel 4.14, to >> still support the ixp4xx target update it to kernel 4.14. >> >> This was only bui

Re: [OpenWrt-Devel] [PATCH] build: include BUILD_VARIANT in PKG_BUILD_DIR

2019-05-11 Thread Hauke Mehrtens
On 5/2/19 7:52 PM, Jeffery To wrote: > This changes the default PKG_BUILD_DIR to take BUILD_VARIANT into > account (if set), so that packages do not need to manually override > PKG_BUILD_DIR just to handle variants. > > This also updates most base packages with variants to use the updated > defaul

[OpenWrt-Devel] [PATCH] tools/mkimage: update U-Boot to version 2019.04

2019-05-11 Thread Hauke Mehrtens
: Hauke Mehrtens --- Could some please build test this change on MacOSX. tools/mkimage/Makefile| 5 +- .../patches/010-freebsd-ulong-fix.patch | 13 -- .../patches/020-include_compile_fix.patch | 10 - .../030-allow-to-use-different-magic.patch| 18

[OpenWrt-Devel] [PATCH] uboot-envtools: Update to U-Boot version 2019.04

2019-05-11 Thread Hauke Mehrtens
Signed-off-by: Hauke Mehrtens --- I would prefer to switch back to the tar.bz2 download again as we download the U-Boot as a tar.bz2 also in other places. package/boot/uboot-envtools/Makefile | 8 package/boot/uboot-envtools/patches/001-compile.patch | 6 +++--- 2

[OpenWrt-Devel] [PATCH] linux-firmware: update to version from 2019-05-02

2019-05-11 Thread Hauke Mehrtens
Signed-off-by: Hauke Mehrtens --- package/firmware/linux-firmware/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/firmware/linux-firmware/Makefile b/package/firmware/linux-firmware/Makefile index f460ac0ee6..20cea64f71 100644 --- a/package/firmware

[OpenWrt-Devel] [PATCH] iperf: update to version 2.0.13

2019-05-11 Thread Hauke Mehrtens
The removed patchesd are already inteagrted in the upstream version. Signed-off-by: Hauke Mehrtens --- package/network/utils/iperf/Makefile | 6 +- ...n-signal-handling-per-POSIX-calling-.patch | 43 - ...rtup-fix-daemon-mode-per-redirecting.patch | 161

[OpenWrt-Devel] [PATCH 1/2] octeon: Deactivate MIPS O32 and N32 support

2019-05-12 Thread Hauke Mehrtens
OpenWrt is completely compiled from sources using a 64 bit compiler, we do not need support for the old 32 bit MIPS interface on 64 Bit CPUs, deactivate it. Fixes: 46af22de16b2 ("kernel: Remove CONFIG_COMPAT") Signed-off-by: Hauke Mehrtens --- target/linux/octeon/config

[OpenWrt-Devel] [PATCH] strace: Update to version 5.0

2019-05-12 Thread Hauke Mehrtens
The removed patch was merged upstream. Signed-off-by: Hauke Mehrtens --- package/devel/strace/Makefile | 4 +- .../patches/001-mips-o32-fix-build.patch | 91 --- ...00-workaround--pt-reg-collisions-ppc.patch | 10 +- 3 files changed, 7 insertions(+), 98

[OpenWrt-Devel] [PATCH 1/2] valgrind: Update to version 3.15.0

2019-05-12 Thread Hauke Mehrtens
Signed-off-by: Hauke Mehrtens --- package/devel/valgrind/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/devel/valgrind/Makefile b/package/devel/valgrind/Makefile index d3844c2388..0c5b0cffd4 100644 --- a/package/devel/valgrind/Makefile +++ b/package

[OpenWrt-Devel] [PATCH 2/2] valgrind: Add support for ARM64 architecture

2019-05-12 Thread Hauke Mehrtens
valgrind also works on the ARM64 architecture, build it also for such CPUs. Signed-off-by: Hauke Mehrtens --- package/devel/valgrind/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/devel/valgrind/Makefile b/package/devel/valgrind/Makefile index 0c5b0cffd4

[OpenWrt-Devel] [PATCH 2/2] malta: Deactivate MIPS O32 and N32 support

2019-05-12 Thread Hauke Mehrtens
OpenWrt is completely compiled from sources using a 64 bit compiler, we do not need support for the old 32 bit MIPS interface on 64 Bit CPUs, deactivate it. Fixes: 46af22de16b2 ("kernel: Remove CONFIG_COMPAT") Signed-off-by: Hauke Mehrtens --- target/linux/malta/be64/config-d

[OpenWrt-Devel] [PATCH] kernel: Activate CONFIG_OPTIMIZE_INLINING

2019-05-12 Thread Hauke Mehrtens
d_dir/target-mips_24kc_musl/linux-ath79_tiny/vmlinux 1362051 build_dir/target-mips_24kc_musl/linux-ath79_tiny/tplink_tl-wr941-v4-kernel.bin This change is currently pending for kernel 5.2 and already in linux-next, this updates our patch to match the upstream version. Signed-off-by: Hauke Meh

[OpenWrt-Devel] [PATCH] kernel: Move some DSA config options to generic config

2019-05-12 Thread Hauke Mehrtens
This moves some new configuration options to the generic kernel configuration instead of configuring them for each target on our own. Signed-off-by: Hauke Mehrtens --- target/linux/gemini/config-4.19 | 4 target/linux/generic/config-4.19 | 4 target/linux/imx6/config-4.19| 3

Re: [OpenWrt-Devel] [PATCH 1/2] octeon: Deactivate MIPS O32 and N32 support

2019-05-13 Thread Hauke Mehrtens
Hi Daniel, On 5/12/19 10:24 PM, Daniel Engberg wrote: > Hi, > > This patch seems to touch more things that just that... (4.19) I did a "make kernel_oldconfig" to refresh the configuration. This was either not done when this configuration was added, the generic configuration changed or some new K

Re: [OpenWrt-Devel] Time to move on from 4.14 to 4.19?

2019-05-13 Thread Hauke Mehrtens
On 5/12/19 10:37 PM, Daniel Engberg wrote: > Hi, > > I'm not sure what the current release roadmap is but since 19.X release > seems to slipping perhaps it's time to move working targets to 4.19 as > 4.14 has barely 6 months away before EoL status since there seems to be > a rather strong opinion

Re: [OpenWrt-Devel] [RFC] [PATCH v4] lantiq: IRQ balancing, ethernet driver, wave300

2019-05-19 Thread Hauke Mehrtens
erals. The CPU path is only used to learn a flow which is then later offloaded to the hardware Hauke > > Best regards, > > Petr > > Dne 26. 03. 19 v 2:23 Hauke Mehrtens napsal(a): >> On 3/26/19 1:24 AM, Petr Cvek wrote: >>> >>> >>> Dne

Re: [OpenWrt-Devel] [PATCH 3/4] at91: Merge SAMA5 subtargets

2019-05-19 Thread Hauke Mehrtens
On 5/17/19 6:41 PM, sandeep.sheri...@microchip.com wrote: > Hi Hauke Mehrtens, > >      The reason I created different SAMA5 subtargets is: The additional subtargets cause us extra maintenance efforts and we also need more compute resources for our build bots because we have to build

Re: [OpenWrt-Devel] [PATCH v5] kernel: lantiq: add support for SMP IRQ routing

2019-05-19 Thread Hauke Mehrtens
Hi Petr, Thank you for the patch. On 5/17/19 5:44 AM, Petr Cvek wrote: > Some lantiq SoCs have multiple VPE support but no support for the IRQ > routing, so only the first VPE is receiving interrupts. This patch adds > support for rerouting interrupts to the other VPE. Basically it expands > the

Re: [OpenWrt-Devel] [PATCH 1/6] hostapd: update to version 2.8

2019-05-26 Thread Hauke Mehrtens
On 5/26/19 1:24 PM, Peter Lundkvist wrote: > Hi, > > On 2019-05-05 23:43, Hauke Mehrtens wrote: >> On 5/5/19 6:59 AM, Stefan Lippers-Hollmann wrote: >>> Hi >>> >>> Successfully build-tested on: >>> - ath79 >>> - ipq806x >>> - l

Re: [OpenWrt-Devel] [PATCH] kernel: Move some DSA config options to generic config

2019-05-26 Thread Hauke Mehrtens
get, on the ath79 target these options were not defined by the build system for kernel 4.19 at all. Are both switches found on some of the gemini board? I will add them again. Hauke > > On Sun, May 12, 2019 at 7:32 PM Hauke Mehrtens wrote: > >> diff --git a/target/linux/gemini/confi

Re: [OpenWrt-Devel] [OpenWrt-Devel, 2/7] at91bootstrap: bump v3.8.10 to v3.8.12

2019-05-30 Thread Hauke Mehrtens
On 5/28/19 7:21 PM, Sandeep Sheriker M wrote: > From: Sandeep Sheriker Mallikarjun > > 1. bump to v3.8.12 > 2. add support for at91sam9x5ek > 3. add sama5d27_som1_eksd1_uboot as default defconfig > > Signed-off-by: Sandeep Sheriker Mallikarjun > > Signed-off-by: Sandeep Sheriker M > --- > pa

Re: [OpenWrt-Devel] [OpenWrt-Devel, 3/7] at91: Generate sdcard images for at91sam9x5ek boards.

2019-05-30 Thread Hauke Mehrtens
On 5/28/19 7:21 PM, Sandeep Sheriker M wrote: > From: Sandeep Sheriker Mallikarjun > > Signed-off-by: Sandeep Sheriker Mallikarjun > > Signed-off-by: Sandeep Sheriker M > --- > target/linux/at91/image/Makefile | 8 +++- > target/linux/at91/image/sam9x.mk | 5 + > 2 files changed, 12 i

Re: [OpenWrt-Devel] [PATCH v1 7/7] MIPS: lantiq: Add SMP support for lantiq interrupt controller

2019-06-08 Thread Hauke Mehrtens
On 6/8/19 10:48 PM, petrcve...@gmail.com wrote: > From: Petr Cvek > > Some lantiq devices have two ICU controllers. Both are respectively > routed to the individual VPEs. The patch adds the support for the second > ICU. > > The patch changes a register definition of the driver. Instead of an > i

Re: [OpenWrt-Devel] [PATCH 1/2] mvebu: add kernel 4.19 support

2019-06-09 Thread Hauke Mehrtens
On 6/5/19 4:31 PM, Tomasz Maciej Nowak wrote: > From: Marko Ratkaj > > Cc: Vladimir Vid > Signed-off-by: Marko Ratkaj > [added sfp related patches from Russell King] > Signed-off-by: Marek Behún > [rebase; rework patches; separate and cleanup kernel configs; > add espessobin dts; adjust venom

Re: [OpenWrt-Devel] [PATCH 1/2] toolchain: add support for custom toolchains

2019-06-09 Thread Hauke Mehrtens
On 6/5/19 6:15 PM, John Crispin wrote: > The requirement for being able to add custom src toolchains to the build > system has been brought forward by the members of the prpl foundation. > This patch tries to address this requirement by allowing a ned folder to be > loaded into the tree call toolch

Re: [OpenWrt-Devel] [patch v1 00/11] at91 patch series.

2019-06-09 Thread Hauke Mehrtens
On 5/31/19 2:06 AM, Sandeep Sheriker M wrote: > Hi, > This patch series contains > > 1. rework in creating sdcard images for different subtarget. > 2. creating a fit images. > 3. add support for sam9x5ek soc > 4. add uboot env file. > 5. bump uboot & at91bootstrap to latest versions > > > San

Re: [OpenWrt-Devel] [patch v1 07/11] at91bootstrap: add sama5d27_som1_eksd1_uboot as default defconfig

2019-06-09 Thread Hauke Mehrtens
Hi, The description does not match the patch. As far as I understand the patch it is only fixing some indention problems. On 5/31/19 2:06 AM, Sandeep Sheriker M wrote: > Signed-off-by: Sandeep Sheriker M > --- > package/boot/at91bootstrap/Makefile | 6 +++--- > 1 file changed, 3 insertions(+),

Re: [OpenWrt-Devel] [patch v1 00/11] at91 patch series.

2019-06-09 Thread Hauke Mehrtens
On 5/31/19 2:06 AM, Sandeep Sheriker M wrote: > Hi, > This patch series contains > > 1. rework in creating sdcard images for different subtarget. > 2. creating a fit images. > 3. add support for sam9x5ek soc > 4. add uboot env file. > 5. bump uboot & at91bootstrap to latest versions > Hi, I

[OpenWrt-Devel] [PATCH] kernel: backport MIPS: Bounds check virt_addr_valid

2019-06-09 Thread Hauke Mehrtens
This fixes bugs in the copy_{to,from}_user hardening like this: usercopy: kernel memory exposure attempt detected from c0d173c1 (kmalloc-256) (71 bytes) Kernel bug detected[#1]: Fixes: 9b1239451d6 ("Kernel: Activate CONFIG_HARDENED_USERCOPY") Fixes: FS#2305 and FS#2297 Signed-off

Re: [OpenWrt-Devel] [patch v1 00/11] at91 patch series.

2019-06-16 Thread Hauke Mehrtens
On 6/10/19 5:27 PM, sandeep.sheri...@microchip.com wrote: > Hi Haukr Mehrten, > > Please ignore the patch v1 00/11. I will rework on this patch and > send a new patch soon. > > > if your ok with rest of the patches ? then, Please apply them. > > > Regards, > > Sandeep Sheriker M Hi, I

[OpenWrt-Devel] OpenWrt endorses Battlemesh v12

2019-07-02 Thread Hauke Mehrtens
The OpenWrt project supports this year's "Wireless Battle of the Mesh - Building Community Networks for Fun and Non-Profit". The event aims to bring together people from across the globe who are interested in community networks, including wireless mesh network technologies, fiber infrastructure, D

Re: [OpenWrt-Devel] [at91][patch v2 00/11] at91 patch series

2019-07-08 Thread Hauke Mehrtens
On 6/22/19 1:02 AM, Sandeep Sheriker M wrote: > > Hi, > This patch series contains > > 1. rework in creating sdcard images for different subtarget. > 2. creating a fit images. > 3. add support for sam9x5ek soc > 4. add uboot env file. > 5. bump uboot & at91bootstrap to latest versions > > ---

Re: [OpenWrt-Devel] [PATCH] gemini: Bring up DSA switches

2019-07-11 Thread Hauke Mehrtens
On 7/12/19 8:07 AM, Linus Walleij wrote: > First group the interfaces on the DSA switch into the > right LAN/WAN groups. Tested successfully on the Itian > Square One SQ201 and the SL93512 reference design > with the Vitesse DSA switches. > > The RTL8366RB on the DIR-685 is still under development

Re: [OpenWrt-Devel] "mac80211: Update to version 5.2-rc7" breaks batman-adv

2019-07-22 Thread Hauke Mehrtens
On 7/22/19 6:44 AM, Jeff Kletsky wrote: > > On 7/21/19 4:16 PM, Jeff Kletsky wrote: >> >> git bisect suggests  >> >> commit 0b2c42ced2 (HEAD, refs/bisect/bad) >> >>     mac80211: Update to version 5.2-rc7 >> >> as the problem behind the failure to compile batman-adv on July 21, >> 2019 and perhaps

[OpenWrt-Devel] [PATCH] toolchain: fix gcc depends on kernel headers

2019-07-23 Thread Hauke Mehrtens
the gcc already wants to use the kernel headers before they are available. This patch fixes this problem by adding the missing dependency. Signed-off-by: Hauke Mehrtens --- toolchain/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolchain/Makefile b/toolchain/Makefile

Re: [OpenWrt-Devel] ipq40xx: fails to boot with SMP on Mikrotik hAP ac² / RBD52G-5HacD2HnD (WIP)

2019-07-29 Thread Hauke Mehrtens
On 7/29/19 11:25 AM, Baptiste Jonglez wrote: > Hi, > > I am trying to finish the port of Mikrotik hAP ac², but I still can't get > it to boot properly with SMP. Adding "nosmp" to the cmdline makes the > initramfs boot fine. > > Here is the work-in-progress tree that Hauke based on the RB450Gx4 w

Re: [OpenWrt-Devel] [PATCH] lantiq: use gpio_hog instead of gpio-export

2019-08-02 Thread Hauke Mehrtens
e-direction functionality > to using gpio_hog instead > > Signed-off-by: Birger Koblitz Reviewed-by: Hauke Mehrtens I only reviewed this, it would be nice if someone could test this at least on one of the affected devices. Hauke ___ openwrt-devel

Re: [OpenWrt-Devel] atomic sleep bugs - 19.07 (and probably Master too)

2019-08-02 Thread Hauke Mehrtens
On 8/2/19 10:40 AM, Koen Vandeputte wrote: > > On 01.08.19 17:27, Koen Vandeputte wrote: >> Hi All, >> >> I've been playing around the last few days stresstesting latest 19.07 >> on different targets (ar71xx, cns3xxx, imx6, ...) with extra kernel >> debug features enabled. >> >> I'll post some res

Re: [OpenWrt-Devel] [PATCH] wireless-regdb: fix build when python2 from package feeds exists

2019-08-02 Thread Hauke Mehrtens
symlink) which leads to the build > failure of wireless-regdb, so this patch makes it explicit which python > should be used. > > Reported-by: Hauke Mehrtens > Tested-by: Kevin Darbyshire-Bryant > Signed-off-by: Petr Štetiar Tested-by: Hauke Mehrtens > --- > packa

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