[PATCH] mediatek: Fix writing U-Boot env on Buffalo WSR-2533DHP2

2021-03-15 Thread Hauke Mehrtens
This fixes writing to the U-Boot environment by making the partition writable and setting the correct flash sector size of 128K. Signed-off-by: Hauke Mehrtens --- package/boot/uboot-envtools/files/mediatek| 2 +- target/linux/mediatek/dts/mt7622-buffalo-wsr-2533dhp2.dts | 1 - 2

Re: [PATCH 2/2] kernel: add exfat again

2021-03-16 Thread Hauke Mehrtens
On 3/13/21 6:52 AM, Rosen Penev wrote: With kernel 5.10, exfat is out of staging and in tree. Added small hack to make it work with kernel 5.4 as well. Signed-off-by: Rosen Penev --- package/kernel/linux/modules/fs.mk | 20 1 file changed, 20 insertions(+) When build

[PATCH 2/2] uhttpd: Execute uci commit and reload_config once

2021-03-20 Thread Hauke Mehrtens
Instead of doing uci commit and reload_config for each setting do it only once when one of these options was changed. This should make it a little faster when both conditions are taken. Signed-off-by: Hauke Mehrtens --- package/network/services/uhttpd/files/ubus.default | 10 ++ 1 file

[PATCH 1/2] uhttpd: Reload config after uhttpd-mod-ubus was added

2021-03-20 Thread Hauke Mehrtens
accessing it without reloading uhttpd. There is another bug in uhttpd that it does not discard the request data when it returned a http error 404 for a post request and interpret it as part of the next request on the same TCP connection. Signed-off-by: Hauke Mehrtens --- package/network/services

Re: [PATCH 1/2] uhttpd: Reload config after uhttpd-mod-ubus was added

2021-03-20 Thread Hauke Mehrtens
On 3/20/21 1:32 PM, Hauke Mehrtens wrote: Without this change the config is only committed, but the uhttpd daemon is not reloaded. This reload is needed to apply the config. Without the reload of uhttpd, the ubus server is not available over http and returns a Error 404. This caused problems

[PATCH uhttpd] client: Always close connection with request body in case of error

2021-03-20 Thread Hauke Mehrtens
. This should be easier than trying to recover the state. We saw this problem when /ubus/ was not installed, but the browser tried to access it. Then uhttpd returned a 404, but the next request done in this connection also failed with a HTTP 400, bad request. Signed-off-by: Hauke Mehrtens

Re: [PATCH uhttpd] client: Always close connection with request body in case of error

2021-03-20 Thread Hauke Mehrtens
On 3/20/21 8:28 PM, Hauke Mehrtens wrote: When we run into an error like a 404 Not Found the request body is not read and will be parsed as part of the next request. The next Request will then fail because there is unexpected data in it. When we run into such a problem with a request body close

[PATCH v2 2/2] uhttpd: Execute uci commit and reload_config once

2021-03-20 Thread Hauke Mehrtens
Instead of doing uci commit and reload_config for each setting do it only once when one of these options was changed. This should make it a little faster when both conditions are taken. Signed-off-by: Hauke Mehrtens --- package/network/services/uhttpd/files/ubus.default | 10 ++ 1 file

Re: [PATCH 1/2] uhttpd: Reload config after uhttpd-mod-ubus was added

2021-03-20 Thread Hauke Mehrtens
On 3/20/21 2:05 PM, Jo-Philipp Wich wrote: Hi Hauke, thanks for looking into it! I have a couple of remarks... [...] [ "$(uci -q get uhttpd.main.ubus_socket)" = "/var/run/ubus.sock" ] && { uci set uhttpd.main.ubus_socket='/var/run/ubus/ubus.sock' uci commit uhttpd + re

[PATCH v2 1/2] uhttpd: Reload config after uhttpd-mod-ubus was added

2021-03-20 Thread Hauke Mehrtens
accessing it without reloading uhttpd. Signed-off-by: Hauke Mehrtens --- package/network/services/uhttpd/Makefile | 2 +- package/network/services/uhttpd/files/ubus.default | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/package/network/services/uhttpd/Makefile b

[PATCH uhttpd v2] client: Always close connection with request body in case of error

2021-03-21 Thread Hauke Mehrtens
. This should be easier than trying to recover the state. We saw this problem when /ubus/ was not installed, but the browser tried to access it. Then uhttpd returned a 404, but the next request done in this connection also failed with a HTTP 400, bad request. Fixes: FS#3378 Signed-off-by: Hauke

Re: [PATCH] mwlwifi: remove target dependency

2021-03-22 Thread Hauke Mehrtens
On 3/21/21 10:17 PM, Daniel Golle wrote: Users complained that building images for various mvebu Linksys devices fails when using the ImageBuilder, it complains about the package 'mwlwifi-firmware-88w8964' not being found. Turns out the package builds fine in mvebu/cortex-a9 images build, but is

[PATCH 1/2] kernel: Deactivate CONFIG_VFIO in generic kernel config

2021-03-25 Thread Hauke Mehrtens
Instead of deactivating this in every target config, deactivate it once in the generic kernel config. I was asked for this config option in a x86 64 build in OpenWrt 21.02. Signed-off-by: Hauke Mehrtens --- target/linux/generic/config-5.10| 1 + target/linux/generic/config-5.4

[PATCH 2/2] kernel: Move CONFIG_USERIO to generic config

2021-03-25 Thread Hauke Mehrtens
The CONFIG_USERIO option is unset in multiple target configurations. On the sunxi target it is activated. Move the kernel configuration option to the generic kernel configuration. Signed-off-by: Hauke Mehrtens --- target/linux/gemini/config-5.4 | 1 - target/linux/generic/config

Re: [PATCH keyring] usign: drop personal + outdated keys except 21.02

2021-03-30 Thread Hauke Mehrtens
commit should add a "next release" key, which is later renamed to the next release name (e.g. 21.08). This approach should allow secure upgrade between releases. Signed-off-by: Paul Spooren Acked-by: Hauke Mehrtens --- This commit should be merged into a `openwrt-21.02` branch whi

Re: [21.02] cherry-pick missing kernel-symbol "RTC_DRV_JZ4740"

2021-04-03 Thread Hauke Mehrtens
On 4/3/21 4:53 PM, Sven Roederer wrote: Happy easter all and thanks for branching 21.02. Holidays and lockdown give me some time to keep-up with OpenWrt. During this I found that 21.02 is still missing the kernel-CONFIG for RTC_DRV_JZ4740 Can someone cherry-pick 55ed4bf6d7bf80b705d015c3b73f772d

Re: [PATCH keyring] usign: drop personal + outdated keys except 21.02

2021-04-03 Thread Hauke Mehrtens
On 3/30/21 10:53 AM, Paul Spooren wrote: The ./usign folder is added to every OpenWrt image, it should only contain the most necessary keys. At this point it contains both a selection of personal developer keys and keys of EOL releases. Remove them all and only keep the 21.02 key. A future comm

Re: [PATCH] umdns: fix compilation with GCC 10

2021-04-04 Thread Hauke Mehrtens
On 8/31/20 10:51 PM, Rosen Penev wrote: On Aug 31, 2020, at 9:41 AM, Hauke Mehrtens wrote: On 8/31/20 11:35 AM, Petr Štetiar wrote: Rosen Penev [2020-08-31 02:06:50]: I compile with target GCC 10, not host. Then as you can see its probably some issue with GCC 10 for that target

Re: [PATCH] mvebu: armada 370: dts: fix the crypto engine

2021-04-05 Thread Hauke Mehrtens
On 4/4/21 11:06 PM, Daniel González Cabanelas wrote: The crypto engine in Armada 370 SoCs is currently broken. It can be checked installing the required packages for testing openssl with hw acceleration: opkg install openssl-util opkg install kmod-cryptodev opkg install libopenssl-devcr

Re: [PATCH 0/4] import libcap from packages feed

2021-04-05 Thread Hauke Mehrtens
eader libcap: bump to 2.48 lldpd: add libcap dependency Acked-by: Hauke Mehrtens I am not a lldpd user so I can not say if we should make it depend on libcap, but I saw some packages which has implicit dependencies. Hauke ___ openwrt-devel mailing

OpenWrt 21.02-rc1

2021-04-06 Thread Hauke Mehrtens
Hi, How do we want to go forward with OpenWrt 21.02-rc1? * I think the base system is ok. * The http (original wolfssl) problem reported by jow is fixed * LuCI in the 21.02 branch still misses DSA support, this was merged into master some time ago as far as I understood. Jow reported this end

Re: OpenWrt 21.02-rc1 - realtek and mediatek targets

2021-04-07 Thread Hauke Mehrtens
On 4/7/21 12:29 AM, Hauke Mehrtens wrote: Hi, How do we want to go forward with OpenWrt 21.02-rc1? * I think the base system is ok. * The http (original wolfssl) problem reported by jow is fixed * LuCI in the 21.02 branch still misses DSA support, this was merged into master some time ago as

Re: OpenWrt 21.02-rc1 (backport request, WireGuard, DSA roaming, iproute2 5.11)

2021-04-07 Thread Hauke Mehrtens
On 4/7/21 12:29 AM, Hauke Mehrtens wrote: Hi, How do we want to go forward with OpenWrt 21.02-rc1? * I think the base system is ok. * The http (original wolfssl) problem reported by jow is fixed * LuCI in the 21.02 branch still misses DSA support, this was merged into master some time ago as

[PATCH] kernel: Activate FORTIFY_SOURCE for MIPS kernel 5.4

2021-04-07 Thread Hauke Mehrtens
removed with kernel 5.10, probably because of the same problems. I think it is not needed anyway as the compiler should automatically optimize the calls to memset(), memcpy() and memmove() even when not explicitly telling the compiler to use the build in variant. Signed-off-by: Hauke Mehrtens --- I

[PATCH] toolchain: gcc: Update to version 10.3.0

2021-04-10 Thread Hauke Mehrtens
Signed-off-by: Hauke Mehrtens --- toolchain/gcc/Config.version| 2 +- toolchain/gcc/common.mk | 4 ++-- .../patches/{10.2.0 => 10.3.0}/002-case_insensitive.patch | 0 .../gcc/patches/{10.2.0 => 10.3.0}/010-documentation

[PATCH] valgrind: Fix compile problem with MIPS soft float

2021-04-11 Thread Hauke Mehrtens
valgrind does not compile any more when using a GCC 10 for MIPS with soft float. Just remove the parts which are generating assembler which would not work. Signed-off-by: Hauke Mehrtens --- .../patches/130-mips_fix_soft_float.patch | 68 +++ 1 file changed, 68 insertions

Re: lantiq: upstream Linux efforts

2021-04-11 Thread Hauke Mehrtens
Hi, On 4/11/21 7:51 PM, Martin Blumenstingl wrote: Hello everyone, you are included in this email because you have previously worked on patches for the Lantiq SoCs upstream. In the past updating the kernel version for the lantiq target in OpenWrt was an unpleasant task. There are many out-of-t

Re: [PATCH 1/3] realtek: revert to "standard" management configuration

2021-04-12 Thread Hauke Mehrtens
Signed-off-by: Bjørn Mork Acked-by: Hauke Mehrtens --- .../realtek/base-files/etc/board.d/02_network | 14 +- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/target/linux/realtek/base-files/etc/board.d/02_network b/target/linux/realtek/base-files/etc/board.d/0

Re: [PATCH] gemini: Bump to kernel v5.10

2021-04-13 Thread Hauke Mehrtens
On 4/13/21 10:02 AM, Linus Walleij wrote: On Mon, Apr 12, 2021 at 8:32 PM Christian Lamparter wrote: Hmm, when building this with the BUILDBOT config (CONFIG_BUILDBOT) and throw in the CONFIG_ALL_* for userspace + kernel modules for good measure. It fails with the default world build (without

Re: [PATCH] fortify-headers: fix compilation with GCC 10.3

2021-04-13 Thread Hauke Mehrtens
On 4/13/21 6:03 AM, Rosen Penev wrote: For some reason, fortified mempcpy does not work with GCC 10.3. It worked with GCC 10.2. Some output with tvheadend: error: 'mempcpy' undeclared here (not in a function); did you mean 'memccpy'? 144 | _FORTIFY_FN(mempcpy) void *mempcpy(void *__d, const voi

Re: [PATCH v2] netfilter: remove no-op kconfig symbols

2021-04-17 Thread Hauke Mehrtens
On 4/9/21 5:48 PM, Rui Salvaterra wrote: These have long been obsolete. For reference, here's the Linux version where each symbol has been dropped: CONFIG_IP6_NF_QUEUE - 3.5 CONFIG_IP6_NF_TARGET_LOG - 3.4 CONFIG_IP_NF_MATCH_DSCP - 2.6.19 CONFIG_NF_CONNTRACK_IPV4 - 4.19 CONFIG_NF_CONNTRACK_IPV6 -

Re: OpenWrt 21.02-rc1

2021-04-18 Thread Hauke Mehrtens
On 4/7/21 12:29 AM, Hauke Mehrtens wrote: Hi, How do we want to go forward with OpenWrt 21.02-rc1? * I think the base system is ok. * The http (original wolfssl) problem reported by jow is fixed * LuCI in the 21.02 branch still misses DSA support, this was merged into master some time ago as

Re: [OpenWrt-Devel] [PATCH] generic: add linux 4.1-rc1 support

2015-05-01 Thread Hauke Mehrtens
x27;possible_read_pnet' > (introduced by > https://git.kernel.org/cgit/linux/kernel/git/backports/backports.git/tree/patches/collateral-evolutions/network/0053-possible_net_t.patch > ) > Hi, This looks like a bug in backports, I haven't tested this image against kernel 4.1. Plea

Re: [OpenWrt-Devel] [PATCH] generic: add linux 4.1-rc1 support

2015-05-06 Thread Hauke Mehrtens
On 05/02/2015 10:49 AM, Dirk Neukirchen wrote: > On 01.05.2015 11:21, Hauke Mehrtens wrote: >> On 05/01/2015 10:59 AM, Dirk Neukirchen wrote: >>> On 28.04.2015 23:08, Álvaro Fernández Rojas wrote: >>>> Boot tested: http://pastebin.com/L6aAb9xj >>>>

Re: [OpenWrt-Devel] [PATCH] generic: add linux 4.1-rc1 support

2015-05-10 Thread Hauke Mehrtens
On 05/01/2015 10:59 AM, Dirk Neukirchen wrote: > On 28.04.2015 23:08, Álvaro Fernández Rojas wrote: >> Boot tested: http://pastebin.com/L6aAb9xj >> >> Signed-off-by: Álvaro Fernández Rojas > > Great work ! > > 2. any(?) mac80211 does not built > > Error: include/net/cfg80211.h:3249:25: error: '

Re: [OpenWrt-Devel] [PATCH 4/6] bcm53xx: bcm47xxpart: add support for parsing device tree partitions

2015-05-16 Thread Hauke Mehrtens
On 05/16/2015 12:53 PM, Álvaro Fernández Rojas wrote: > Signed-off-by: Álvaro Fernández Rojas > --- > ...-bcm47xxpart-parse-device-tree-partitions.patch | 156 > + > 1 file changed, 156 insertions(+) > create mode 100644 > target/linux/bcm53xx/patches-3.18/401-mtd-bcm47xxpa

Re: [OpenWrt-Devel] [PATCH] tools/mkimage: backport gcc5 compatibility, patch

2015-05-19 Thread Hauke Mehrtens
On 04/23/2015 11:27 AM, Dirk Neukirchen wrote: > > Fedora 22 includes gcc5 by default > build leads to error: > include/linux/compiler-gcc.h:114:30: fatal error: linux/compiler-gcc5.h: No > such file or directory > > backport upstream patch: "Add linux/compiler-gcc5.h to fix builds with gcc5" >

Re: [OpenWrt-Devel] [PATCH] cyassl: version bump

2015-05-20 Thread Hauke Mehrtens
On 05/20/2015 11:42 PM, Daniel Gimpelevich wrote: > This patch introduces a new build error into coova-chilli, but > coova-chilli already fails to build even without it anyway. CyaSSL is > now called wolfSSL, and all the API's have been renamed, and > backward-compatibility headers added. Does thi

Re: [OpenWrt-Devel] [PATCH] Snort version bump 2.9.7.2 to 2.9.7.3

2015-05-23 Thread Hauke Mehrtens
Hi, this package is maintained in our package feed at github, please send a pull request on github at https://github.com/openwrt/packages Hauke On 05/23/2015 02:26 PM, Derek Werthmuller wrote: > Signed-off-by:Derek Werthmuller > > > > > diff -rupN a/Makefile b/M

Re: [OpenWrt-Devel] [PATCH 1/1] Fix bridge-utils file offset handling

2015-05-23 Thread Hauke Mehrtens
On 05/22/2015 11:01 PM, Nikolay Martynov wrote: > Hi. > > Thanks for you response! > > Please forgive my noobiness but I wasn't able to find brigde-utils > in https://github.com/openwrt/packages. Is it supposed to be somo > other feed? I would really appreciate if you could clarify. brigde-u

Re: [OpenWrt-Devel] [PATCH] ncurses: Fix building with gcc 5.1

2015-06-02 Thread Hauke Mehrtens
On 05/24/2015 06:32 PM, Martin Blumenstingl wrote: > This patch is taken from the gentoo guys who extracted this from a large > upstream commit (with many unrelated changes). > > Signed-off-by: Martin Blumenstingl > --- > package/libs/ncurses/Makefile | 2 +- > .../ncurses/

Re: [OpenWrt-Devel] Linux 4.x

2015-06-06 Thread Hauke Mehrtens
On 06/06/2015 08:21 AM, Dirk Neukirchen wrote: > On 05.06.2015 16:00, Baptiste Clenet wrote: >> Hi OpenWRT developers, >> >> Is there any plan to port OPENWRT on Linux 4.x? (Or is it already done?) >> >> > > There is a patch available for Kernel 4.1-rc1 [1] > it does not apply cleanly anymore, hav

Re: [OpenWrt-Devel] [PATCH 6/6] bcm53xx: R8000 handle PEX8603 switch

2015-06-22 Thread Hauke Mehrtens
On 06/22/2015 02:51 AM, Ian Kent wrote: > On Sun, 2015-06-21 at 19:19 +0200, Rafał Miłecki wrote: >> On 10 March 2015 at 04:30, Ian Kent wrote: >>> The Netgear R8000 has a PEX8603 connected to the BCM53012 and if >>> it isn't configured during the bus scan the PCI layer goes crazy >>> trying to

Re: [OpenWrt-Devel] [PATCH] [brcm47xx] Belkin F7DXXXX (BCM47XX based) support for Linux 3.18

2015-06-22 Thread Hauke Mehrtens
On 06/22/2015 02:25 PM, Joseph East wrote: > Patch didn't seem to mail properly, trying again. > > From: Joseph East > > Patchset based on previous work by Cody Schafer and Luc Forcier to allow > TRX images with Belkin IDs to be compiled as part of the BRCM47XX > platform for Linux 3.18. > >

Re: [OpenWrt-Devel] [PATCH 6/6] bcm53xx: R8000 handle PEX8603 switch

2015-06-22 Thread Hauke Mehrtens
On 03/10/2015 04:30 AM, Ian Kent wrote: > The Netgear R8000 has a PEX8603 connected to the BCM53012 and if > it isn't configured during the bus scan the PCI layer goes crazy > trying to configure phantom devices. Could you provide some diagram how this is connected? My current assumption is tha

Re: [OpenWrt-Devel] How to add 6LoWPAN to OpenWRT

2015-07-09 Thread Hauke Mehrtens
On 07/09/2015 04:51 PM, Firas wrote: > When I tried to compile the kernel and configure it I found only 6LoWPAN > over Bluetooth support, and I need to add 6LoWPAN to work over RF module > like Jenic JN51xx. > > > > I’m using OpenWRT Kernel 3.18! > > So how can I implement that please can you

Re: [OpenWrt-Devel] How to get higher version (>2.0) of radvd package

2015-07-09 Thread Hauke Mehrtens
On 07/09/2015 02:32 PM, Pratik Prajapati wrote: > Hi, > > I want to build radvd (>2.0 version) on OpenWrt but it supports radvd > 1.9 version. > > I have two options: > > 1) either configure OpenWrt to download radvd's 2.0 version instead of 1.9 > or > 2) disable radvd in oldpackages and create

Re: [OpenWrt-Devel] Build errors when activating the Device Tree flag for Raspberry Pi

2015-07-12 Thread Hauke Mehrtens
'm working on the master of git://openwrt.org/openwrt.git > > Thanks, > Michael Somehow CONFIG_MTD is not activate in your config, please try the attached patch t make OpenWrt still build in such cases. Hauke >From f98ce9c7abf1e13443d129aba0e01fe63265445f Mon Sep 17 00:00

Re: [OpenWrt-Devel] [PATCH] Make virtualization guests built for pentium4 with SMP

2015-07-12 Thread Hauke Mehrtens
On 07/11/2015 05:37 AM, Daniel Gimpelevich wrote: > Signed-off-by: Daniel Gimpelevich > --- > include/target.mk | 1 + > target/linux/x86/kvm_guest/config-default | 15 ++- > target/linux/x86/kvm_guest/target.mk | 1 + > target/linux/x86/xen_domu/target.

Re: [OpenWrt-Devel] Hyper-V Support for X86 or X86_64

2015-07-12 Thread Hauke Mehrtens
On 01/21/2015 08:04 PM, Ning Ye wrote: > This is the latest Hyper-V patch to support Linux 3.14. Could you rebase it to current trunk. You should probably create a subtarget like target/linux/x86/kvm_guest/ for Hyper-V and activate there CONFIG_HYPERV=y and CONFIG_HYPERV_STORAGE=y > > Signed-off

Re: [OpenWrt-Devel] [PATCHv2 5/7] mac80211/linux-firmware: include firmware for brcmfmac-sdio

2015-08-03 Thread Hauke Mehrtens
On 07/30/2015 06:34 PM, Rafał Miłecki wrote: > On 30 July 2015 at 10:52, Daniel Golle wrote: >> @@ -2000,6 +2000,50 @@ endef >> >> define KernelPackage/brcmfmac/install >> $(INSTALL_DIR) $(1)/lib/firmware/brcm >> +ifneq ($(CONFIG_BRCMFMAC_SDIO),) >> + $(INSTALL_DATA) \ >> +

Re: [OpenWrt-Devel] [PATCH 6/6] bcm53xx: R8000 handle PEX8603 switch

2015-08-12 Thread Hauke Mehrtens
On 07/15/2015 12:11 PM, Ian Kent wrote: > On Tue, 2015-07-14 at 18:19 +0200, Rafał Miłecki wrote: >> On 28 June 2015 at 05:37, Ian Kent wrote: >>> Let me rework this using the bus number as you recommend. >>> I'll repost my updated patch series once I've done that. >> >> Hi Ian, >> >> Is there any

Re: [OpenWrt-Devel] [PATCH 6/6] bcm53xx: R8000 handle PEX8603 switch

2015-08-14 Thread Hauke Mehrtens
On 08/14/2015 06:03 AM, Ian Kent wrote: > On Wed, 2015-08-12 at 22:01 +0200, Hauke Mehrtens wrote: >> On 07/15/2015 12:11 PM, Ian Kent wrote: >>> On Tue, 2015-07-14 at 18:19 +0200, Rafał Miłecki wrote: >>>> On 28 June 2015 at 05:37, Ian Kent wrote: >>>>&g

Re: [OpenWrt-Devel] [PATCH 1/1] [kernel] Fix kmod-v4l2 modules have missing symbols due to lack of clk support

2015-08-15 Thread Hauke Mehrtens
On 08/02/2015 04:34 PM, Daniel Dickinson wrote: > The v4l kernel modules fail to compile on latest kernels due to a new > dependency on a clock source. Since most routers won't have a suitable > clock source, I have added a kernel config option that omits the functionality > that requires the cloc

Re: [OpenWrt-Devel] [PATCH] kmod-crypto-manager: autoload aead module

2015-08-15 Thread Hauke Mehrtens
On 08/05/2015 03:30 PM, Doug Goldstein wrote: > This package provides the aead module which other modules need loaded > when they depend on this package. > > Signed-off-by: Doug Goldstein > --- > package/kernel/linux/modules/crypto.mk | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/pac

Re: [OpenWrt-Devel] [PATCH 1/1] [buildroot] Fix for liblzma breaks redhat-like systems

2015-08-15 Thread Hauke Mehrtens
On 08/09/2015 05:50 AM, Daniel Dickinson wrote: > On RedHat/Fedora and derivatives we must use the system liblzma > from xz-devel because the liblzma in tools/xz breaks these > systems due to system tools (which use liblzma) having > missing symbols when staging_dir/host/lib has liblzma > (because

Re: [OpenWrt-Devel] [PATCH 1/5] kernel: move linux, part-probe dt parsing in generic code

2015-08-15 Thread Hauke Mehrtens
24 deletions(-) > delete mode 100644 > target/linux/bcm53xx/patches-4.1/095-mtd-part-add-generic-parsing-of-linux-part-probe.patch > create mode 100644 > target/linux/generic/patches-3.18/140-mtd-part-add-generic-parsing-of-linux-part-probe.patch > create mode 100644 > targe

Re: [OpenWrt-Devel] [PATCH 6/6] bcm53xx: R8000 handle PEX8603 switch

2015-08-15 Thread Hauke Mehrtens
On 08/15/2015 05:05 AM, Ian Kent wrote: > On Sat, 2015-08-15 at 09:55 +0800, Ian Kent wrote: >> On Fri, 2015-08-14 at 19:55 +0200, Hauke Mehrtens wrote: >>> On 08/14/2015 06:03 AM, Ian Kent wrote: >>>> On Wed, 2015-08-12 at 22:01 +0200, Hauke Mehrtens wrote: >>

[OpenWrt-Devel] [PATCH][procd] fix generating syscall-names.h

2015-08-15 Thread Hauke Mehrtens
(__NR_timer_create+1) With this patch the resulting array looks like this: [259] = "timer_create", [(__NR_timer_create+1)] = "timer_settime", This fixes this bug from OpenWrt: https://dev.openwrt.org/ticket/20195 Signed-off-by: Hauke Mehrtens --- make_syscall_h.sh | 2 +- 1 file

Re: [OpenWrt-Devel] [PATCH v2] mac80211: add mt7601u driver

2015-08-16 Thread Hauke Mehrtens
On 08/16/2015 09:54 AM, Dirk Neukirchen wrote: > Signed-off-by: Dirk Neukirchen > --- > v2: fix TITLE c/p error > > package/kernel/mac80211/Makefile | 13 - > 1 file changed, 12 insertions(+), 1 deletion(-) Doesn't this need some firmware? I see that this driver loads mt7601u.bin H

Re: [OpenWrt-Devel] Linux kernel config options handling in OpenWRT

2015-08-17 Thread Hauke Mehrtens
On 08/17/2015 10:43 AM, Alexey Brodkin wrote: > Hello, > > I'm playing with OpenWRT for a new platform and have a question on > how OpenWRT handles KCONFIG kernel options. > > For example I select "KernelPackage/crypto-core" in OpenWRT's menuconfig > then KCONFIG is populated with: >

Re: [OpenWrt-Devel] [PATCH 1/1] [kernel] Fix kmod-v4l2 modules have missing symbols due to lack of clk support

2015-08-21 Thread Hauke Mehrtens
On 08/20/2015 01:30 AM, Daniel Dickinson wrote: > Your patch resolves the issue of compiling - I have not yet tested the > functionality of the resulting v4l module. I suspect the disadvantage > of this patch is that it will silently fail to work for the types of > devices (DV primarily) that de

Re: [OpenWrt-Devel] [PATCH 1/1] [kernel] Fix kmod-v4l2 modules have missing symbols due to lack of clk support

2015-08-21 Thread Hauke Mehrtens
On 08/20/2015 01:30 AM, Daniel Dickinson wrote: > Your patch resolves the issue of compiling - I have not yet tested the > functionality of the resulting v4l module. I suspect the disadvantage > of this patch is that it will silently fail to work for the types of > devices (DV primarily) that de

Re: [OpenWrt-Devel] [PATCH 6/6] bcm53xx: R8000 handle PEX8603 switch

2015-08-21 Thread Hauke Mehrtens
On 08/16/2015 06:19 AM, Ian Kent wrote: > On Tue, 2015-06-23 at 07:58 +0800, Ian Kent wrote: >> On Mon, 2015-06-22 at 18:42 +0200, Hauke Mehrtens wrote: >>> >>> On 03/10/2015 04:30 AM, Ian Kent wrote: >>>> The Netgear R8000 has a PEX8603 connected to the B

Re: [OpenWrt-Devel] [PATCH 4/7] mac80211: refresh Intel firmware

2015-08-23 Thread Hauke Mehrtens
On 08/23/2015 12:56 PM, Dirk Neukirchen wrote: > - sort firmware > - add newer firmware for Intel chipsets > - newer Intel MVM require firmware > - ucode 13 requires Kernel 4.1+ > > only compile tested Have you looked if this would close any open feature requests / issues in OpenWrt trac? > Si

Re: [OpenWrt-Devel] [PATCH] target/linux/generic: allow up to 4 8250-compatible UARTS

2015-08-24 Thread Hauke Mehrtens
dts/axs101.dts > > So having expected default value allows usage of kernel configs that are > closer to their upstream versions. > > Cc: Jonas Gorski > Cc: Zoltan HERPAI > Cc: Hauke Mehrtens > Cc: Dirk Neukirchen > Signed-off-by: Alexey Brodkin > --- Nack. Mos

Re: [OpenWrt-Devel] [PATCH] Add 'traceroute6' to busybox default features

2015-09-11 Thread Hauke Mehrtens
On 09/03/2015 11:51 AM, Hannu Nyman wrote: > This patch adds 'traceroute6' to the default features of Busybox. > > Signed-off-by: Hannu Nyman > --- > > Reference to earlier discussion: > https://lists.openwrt.org/pipermail/openwrt-devel/2015-August/034828.html > > On Sat Aug 1 16:47:02 CEST 201

Re: [OpenWrt-Devel] Questions about "binutils: add binutils 2.25.1"

2015-09-15 Thread Hauke Mehrtens
ils: add binutils 2.25.1 > > This adds binutils 2.25.1 as an option to OpenWrt. > > Signed-off-by: Hauke Mehrtens > > git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46874 > 3c298f89-4303-0410-b956-a3cf2f4a3e73 > ->8- > > First of all

Re: [OpenWrt-Devel] [PATCH] brcm47xx: Mark broken; no working images

2016-01-14 Thread Hauke Mehrtens
argets for this > architecture. Therefore mark this arch broken and maybe remove > unless someone decides to fix it. > > Signed-off-by: Daniel Dickinson NACK: Hauke Mehrtens The devices with 32 MB ram are working normal, they are just old. On devices with 16MB RAM LUCI does not really wor

Re: [OpenWrt-Devel] WNDR4500 developers

2016-02-15 Thread Hauke Mehrtens
On 02/15/2016 03:29 PM, Mauro M. wrote: > Hello, > > I would like to get in touch with developers who currently or previously > worked on the WNDR4500 router. > > I would like to collaborate to port OpenWRT to this model. > > Thank you. Hi, This dpends on the revision of the device. Version 1

Re: [OpenWrt-Devel] Introducing new IP Virtual Server package and kernel modules

2016-02-15 Thread Hauke Mehrtens
Hi, On 02/13/2016 03:47 PM, Mauro M. wrote: > Hello, > > I am new to this list and this is my first post. This was a replay to the " downloads.openwrt.org NOT accessible!!!" thread and your mail is totally unrelated to that. When you want to start a new thread next time just send a new mail to t

[OpenWrt-Devel] [PATCH 2/5] ltq-vdsl-app: load the vrx200 firmware or patch it

2016-02-27 Thread Hauke Mehrtens
This checks for the VRX firmware provided in the OpenWrt package. Signed-off-by: Hauke Mehrtens --- .../network/config/ltq-vdsl-app/files/dsl_control | 41 ++ 1 file changed, 41 insertions(+) diff --git a/package/network/config/ltq-vdsl-app/files/dsl_control b/package

[OpenWrt-Devel] [PATCH 3/5] lantiq: do not set default firmware file

2016-02-27 Thread Hauke Mehrtens
We are now shipping a DSL firmware, do not set it by default to some file name. Signed-off-by: Hauke Mehrtens --- package/base-files/files/lib/functions/uci-defaults.sh | 6 ++ target/linux/lantiq/base-files/etc/board.d/02_network | 2 +- 2 files changed, 3 insertions(+), 5 deletions

[OpenWrt-Devel] [PATCH 4/5] lantiq: add dsl firmware to default packages

2016-02-27 Thread Hauke Mehrtens
Signed-off-by: Hauke Mehrtens --- target/linux/lantiq/xrx200/profiles/lantiq.mk | 4 ++-- target/linux/lantiq/xrx200/profiles/tplink.mk | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/target/linux/lantiq/xrx200/profiles/lantiq.mk b/target/linux/lantiq/xrx200/profiles

[OpenWrt-Devel] [PATCH 5/5] ltq-vdsl-app: make the dsl_control application stop cleanly.

2016-02-27 Thread Hauke Mehrtens
Signed-off-by: Hauke Mehrtens --- package/network/config/ltq-vdsl-app/files/dsl_control | 1 + 1 file changed, 1 insertion(+) diff --git a/package/network/config/ltq-vdsl-app/files/dsl_control b/package/network/config/ltq-vdsl-app/files/dsl_control index d7ba622..2241422 100644 --- a/package

[OpenWrt-Devel] [PATCH 1/5] dsl-vrx200-firmware-xdsl: create Lantiq vrx200 firmware patches

2016-02-27 Thread Hauke Mehrtens
Instead of having two big binaries only add one binary and then a patch to create the other one when needed at runtime. This is easier to handle in one Makeifle for both firmware files. Signed-off-by: Hauke Mehrtens --- .../lantiq/dsl-vrx200-firmware-xdsl-a/Makefile | 47

Re: [OpenWrt-Devel] [PATCH 2/5] ltq-vdsl-app: load the vrx200 firmware or patch it

2016-02-28 Thread Hauke Mehrtens
On 02/28/2016 08:53 AM, John Crispin wrote: > > > On 28/02/2016 08:44, Felix Fietkau wrote: >> On 2016-02-28 08:42, Felix Fietkau wrote: >>> On 2016-02-28 08:40, Felix Fietkau wrote: >>>> On 2016-02-27 23:59, Hauke Mehrtens wrote: >>>>> This

[OpenWrt-Devel] [PATCH 1/5] base-files: change type of adsl and vdsl to dsl only

2016-02-28 Thread Hauke Mehrtens
Instead of having two different types adsl and vdsl just create one dsl type. This way we can use the same luci code for adsl and vdsl and the config parameters are not so different. Signed-off-by: Hauke Mehrtens --- package/base-files/files/lib/functions/uci-defaults.sh | 4 ++-- 1 file

[OpenWrt-Devel] [PATCH 4/5] ltq-vdsl-app: make it possible to configure ADSL/VDSL independently

2016-02-28 Thread Hauke Mehrtens
There are some cases where ISPs are running ATM over VDSL or PTM over ADSL, this is not the common case, but these cases exist. Make it possible to configure OpenWrt for such cases by adding a new config option line_mode. Signed-off-by: Hauke Mehrtens --- .../network/config/ltq-vdsl-app/files

[OpenWrt-Devel] [PATCH 5/5] ltq-vdsl-app: do not set the reserved bit 4 in the xTSE 8

2016-02-28 Thread Hauke Mehrtens
I do not know if this causes any problems now, but we should not set it, because it is reserved. Some more recent versions of the Lantiq DSL API driver and Control is checking if only valid bits are set. Signed-off-by: Hauke Mehrtens --- package/network/config/ltq-vdsl-app/files/dsl_control | 6

[OpenWrt-Devel] [PATCH 3/5] ltq-vdsl-app: sync annex option between from ADSL package

2016-02-28 Thread Hauke Mehrtens
The detailed annex option were only available in the danube DSL app including the activation of G.992.2 Annex A (ADSL Lite). This is now also added to the vdsl app for the vrx200. Signed-off-by: Hauke Mehrtens --- .../network/config/ltq-vdsl-app/files/dsl_control | 44 -- 1

[OpenWrt-Devel] [PATCH 2/5] ltq-adsl-app: sync annex option between from VDSL package

2016-02-28 Thread Hauke Mehrtens
-by: Hauke Mehrtens --- package/network/config/ltq-adsl-app/files/dsl_control | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package/network/config/ltq-adsl-app/files/dsl_control b/package/network/config/ltq-adsl-app/files/dsl_control index 0c7221c..cf945ac 100644 --- a

[OpenWrt-Devel] [PATCH v2 00/11] Lantiq dsl improvements

2016-02-28 Thread Hauke Mehrtens
This is the v2 of the lantiq patches I send yesterday and today base on trunk. This was tested on a TP-Link vr200v connected to a Deutsche Telekom line. Some testes with a Danube based device would be nice. Hauke Mehrtens (11): dsl-vrx200-firmware-xdsl: create Lantiq vrx200 firmware patches

[OpenWrt-Devel] [PATCH v2 01/11] dsl-vrx200-firmware-xdsl: create Lantiq vrx200 firmware patches

2016-02-28 Thread Hauke Mehrtens
Instead of having two big binaries only add one binary and then a patch to create the other one when needed at runtime. This is easier to handle in one Makeifle for both firmware files. Signed-off-by: Hauke Mehrtens --- .../lantiq/dsl-vrx200-firmware-xdsl-a/Makefile | 47

[OpenWrt-Devel] [PATCH v2 02/11] ltq-vdsl-app: load the vrx200 firmware or patch it

2016-02-28 Thread Hauke Mehrtens
This checks for the VRX firmware provided in the OpenWrt package. Signed-off-by: Hauke Mehrtens --- .../network/config/ltq-vdsl-app/files/dsl_control | 41 ++ 1 file changed, 41 insertions(+) diff --git a/package/network/config/ltq-vdsl-app/files/dsl_control b/package

[OpenWrt-Devel] [PATCH v2 03/11] lantiq: do not set default firmware file

2016-02-28 Thread Hauke Mehrtens
We are now shipping a DSL firmware, do not set it by default to some file name. Signed-off-by: Hauke Mehrtens --- package/base-files/files/lib/functions/uci-defaults.sh | 6 ++ target/linux/lantiq/base-files/etc/board.d/02_network | 2 +- 2 files changed, 3 insertions(+), 5 deletions

[OpenWrt-Devel] [PATCH v2 04/11] lantiq: add dsl firmware to default packages

2016-02-28 Thread Hauke Mehrtens
Signed-off-by: Hauke Mehrtens --- target/linux/lantiq/xrx200/profiles/lantiq.mk | 4 ++-- target/linux/lantiq/xrx200/profiles/tplink.mk | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/target/linux/lantiq/xrx200/profiles/lantiq.mk b/target/linux/lantiq/xrx200/profiles

[OpenWrt-Devel] [PATCH v2 05/11] ltq-vdsl-app: make the dsl_control application stop cleanly

2016-02-28 Thread Hauke Mehrtens
I am not calling dsl_cmd because I want to ignore the lock, quit should also be send when someone else is accessing it. I saw that some other call was stuck here and all following calls were stuck in the dsl_cmd lock. Signed-off-by: Hauke Mehrtens --- package/network/config/ltq-vdsl-app/files

[OpenWrt-Devel] [PATCH v2 07/11] ltq-adsl-app: sync annex option between from VDSL package

2016-02-28 Thread Hauke Mehrtens
-by: Hauke Mehrtens --- package/network/config/ltq-adsl-app/files/dsl_control | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package/network/config/ltq-adsl-app/files/dsl_control b/package/network/config/ltq-adsl-app/files/dsl_control index 0c7221c..cf945ac 100644 --- a

[OpenWrt-Devel] [PATCH v2 09/11] ltq-vdsl-app: make it possible to configure ADSL/VDSL independently

2016-02-28 Thread Hauke Mehrtens
There are some cases where ISPs are running ATM over VDSL or PTM over ADSL, this is not the common case, but these cases exist. Make it possible to configure OpenWrt for such cases by adding a new config option line_mode. Signed-off-by: Hauke Mehrtens --- .../network/config/ltq-vdsl-app/files

[OpenWrt-Devel] [PATCH v2 10/11] ltq-vdsl-app: do not set the reserved bit 4 in the xTSE 8

2016-02-28 Thread Hauke Mehrtens
I do not know if this causes any problems now, but we should not set it, because it is reserved. Some more recent versions of the Lantiq DSL API driver and Control is checking if only valid bits are set. Signed-off-by: Hauke Mehrtens --- package/network/config/ltq-vdsl-app/files/dsl_control | 6

[OpenWrt-Devel] [PATCH v2 11/11] base-files: print profile name in dsl lucistat

2016-02-28 Thread Hauke Mehrtens
Signed-off-by: Hauke Mehrtens --- target/linux/lantiq/base-files/lib/functions/lantiq_dsl.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/lantiq/base-files/lib/functions/lantiq_dsl.sh b/target/linux/lantiq/base-files/lib/functions/lantiq_dsl.sh index ece614b..aefefcd 100755

[OpenWrt-Devel] [PATCH v2 06/11] base-files: change type of adsl and vdsl to dsl only

2016-02-28 Thread Hauke Mehrtens
Instead of having two different types adsl and vdsl just create one dsl type. This way we can use the same luci code for adsl and vdsl and the config parameters are not so different. Signed-off-by: Hauke Mehrtens --- package/base-files/files/bin/config_generate | 2 +- 1 file changed, 1

[OpenWrt-Devel] [PATCH v2 08/11] ltq-vdsl-app: sync annex option between from ADSL package

2016-02-28 Thread Hauke Mehrtens
The detailed annex option were only available in the danube DSL app including the activation of G.992.2 Annex A (ADSL Lite). This is now also added to the vdsl app for the vrx200. Signed-off-by: Hauke Mehrtens --- .../network/config/ltq-vdsl-app/files/dsl_control | 44 -- 1

Re: [OpenWrt-Devel] [PATCH v2 05/11] ltq-vdsl-app: make the dsl_control application stop cleanly

2016-02-29 Thread Hauke Mehrtens
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 02/29/2016 06:08 AM, Alexander Couzens wrote: > On Sun, 28 Feb 2016 19:44:28 +0100 Hauke Mehrtens > wrote: > >> I am not calling dsl_cmd because I want to ignore the lock, quit >> should also be send when someone else i

[OpenWrt-Devel] [PATCH v3 00/11] Lantiq dsl improvements

2016-03-04 Thread Hauke Mehrtens
This was tested on a TP-Link vr200v connected to a Deutsche Telekom line. Some testes with a Danube based device would be nice. changes since v2: * added some comments to the code Hauke Mehrtens (11): dsl-vrx200-firmware-xdsl: create Lantiq vrx200 firmware patches ltq-vdsl-app: load the

[OpenWrt-Devel] [PATCH v3 01/11] dsl-vrx200-firmware-xdsl: create Lantiq vrx200 firmware patches

2016-03-04 Thread Hauke Mehrtens
Instead of having two big binaries only add one binary and then a patch to create the other one when needed at runtime. This is easier to handle in one Makeifle for both firmware files. Signed-off-by: Hauke Mehrtens --- .../lantiq/dsl-vrx200-firmware-xdsl-a/Makefile | 47

[OpenWrt-Devel] [PATCH v3 02/11] ltq-vdsl-app: load the vrx200 firmware or patch it

2016-03-04 Thread Hauke Mehrtens
This checks for the VRX firmware provided in the OpenWrt package. Signed-off-by: Hauke Mehrtens --- package/network/config/ltq-vdsl-app/Makefile | 2 +- .../network/config/ltq-vdsl-app/files/dsl_control | 42 ++ 2 files changed, 43 insertions(+), 1 deletion(-) diff

[OpenWrt-Devel] [PATCH v3 03/11] lantiq: do not set default firmware file

2016-03-04 Thread Hauke Mehrtens
We are now shipping a DSL firmware, do not set it by default to some file name. Signed-off-by: Hauke Mehrtens --- package/base-files/files/lib/functions/uci-defaults.sh | 6 ++ target/linux/lantiq/base-files/etc/board.d/02_network | 2 +- 2 files changed, 3 insertions(+), 5 deletions

[OpenWrt-Devel] [PATCH v3 07/11] ltq-adsl-app: sync annex option between from VDSL package

2016-03-04 Thread Hauke Mehrtens
-by: Hauke Mehrtens --- package/network/config/ltq-adsl-app/files/dsl_control | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package/network/config/ltq-adsl-app/files/dsl_control b/package/network/config/ltq-adsl-app/files/dsl_control index 0c7221c..cf945ac 100644 --- a

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