Re: [OpenWrt-Devel] Booting D-Link DNS-313, kernel requirements for OpenWRT?

2018-02-20 Thread Linus Walleij
On Tue, Feb 20, 2018 at 9:49 PM, Linus Walleij wrote: > On Wed, Feb 14, 2018 at 5:20 PM, Hans Ulli Kroll > wrote: >> On Tue, 13 Feb 2018, Linus Walleij wrote: >>> On Sun, Feb 11, 2018 at 11:56 PM, Linus Walleij >>>

Re: [OpenWrt-Devel] Booting D-Link DNS-313, kernel requirements for OpenWRT?

2018-02-20 Thread Linus Walleij
On Wed, Feb 14, 2018 at 5:20 PM, Hans Ulli Kroll wrote: > On Tue, 13 Feb 2018, Linus Walleij wrote: >> On Sun, Feb 11, 2018 at 11:56 PM, Linus Walleij >> wrote: >> > On Mon, Feb 5, 2018 at 11:38 PM, Linus Walleij >>

[OpenWrt-Devel] [PATCH 8/8] kernel: add missing symbol

2018-02-20 Thread Tim Harvey
Signed-off-by: Tim Harvey --- target/linux/generic/config-4.14 | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/generic/config-4.14 b/target/linux/generic/config-4.14 index f7d9cca..6d3a207 100644 --- a/target/linux/generic/config-4.14 +++

[OpenWrt-Devel] [PATCH 6/8] octeontx: remove unnecessary CONFIG_DEBUG_INFO

2018-02-20 Thread Tim Harvey
Cc: Hauke Mehrtens Signed-off-by: Tim Harvey --- target/linux/octeontx/config-4.14 | 1 - 1 file changed, 1 deletion(-) diff --git a/target/linux/octeontx/config-4.14 b/target/linux/octeontx/config-4.14 index 2efac7c..a6f762c 100644 ---

[OpenWrt-Devel] [PATCH 7/8] octeontx: remove undefs of CONFIG_NET_VENDOR_*

2018-02-20 Thread Tim Harvey
Signed-off-by: Tim Harvey --- target/linux/octeontx/config-4.14 | 52 --- 1 file changed, 52 deletions(-) diff --git a/target/linux/octeontx/config-4.14 b/target/linux/octeontx/config-4.14 index a6f762c..114fc38 100644 ---

[OpenWrt-Devel] [PATCH 4/8] octeontx: remove CFLAGS

2018-02-20 Thread Tim Harvey
You should not define CFLAGS for the toolchain as this will also leak into other targets if they share the same toolchain. Cc: Hauke Mehrtens Signed-off-by: Tim Harvey --- target/linux/octeontx/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git

[OpenWrt-Devel] [PATCH 3/8] octeontx: add FAT FS support to kernel

2018-02-20 Thread Tim Harvey
The CN80XX Boot firmware uses an embedded FAT12 filesystem. For some reason busybox can't mount this unless its enabled static in the kernel. Signed-off-by: Tim Harvey --- target/linux/octeontx/config-4.14 | 2 ++ 1 file changed, 2 insertions(+) diff --git

[OpenWrt-Devel] [PATCH 2/8] octeontx: remove static EXT2/3/4 FS support

2018-02-20 Thread Tim Harvey
We are using F2FS as our overlay read/write FS. Others can be supported as modules. Signed-off-by: Tim Harvey --- target/linux/octeontx/config-4.14 | 9 - 1 file changed, 9 deletions(-) diff --git a/target/linux/octeontx/config-4.14

[OpenWrt-Devel] [PATCH 1/8] octeontx: add USB_PCI support

2018-02-20 Thread Tim Harvey
The CN80XX XHCI is supported through PCI Signed-off-by: Tim Harvey --- target/linux/octeontx/config-4.14 | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/target/linux/octeontx/config-4.14 b/target/linux/octeontx/config-4.14 index

[OpenWrt-Devel] How to enable the zImage and squashfs files, rather than packaged as 'bin' for sys upgrade

2018-02-20 Thread John Clark
I have been using OpenWRT for years, and always created the zImage and squashfs files separately, as this allows me to use uboot to write these images separately. However, in the latest ‘git’ that I have done, and configured, the directory structure of the ‘bin’ directory seems to have changed,

Re: [OpenWrt-Devel] [LEDE-DEV] kernel version status

2018-02-20 Thread Zoltan HERPAI
Hi, Michael Heimpold wrote: Hi, Am Sonntag, 18. Februar 2018, 22:43:42 CET schrieb Hauke Mehrtens: ... The following targets are on kernel 4.9 and are fine: ... * mxs ... a few weeks ago, I was in contact with Zoltan who started working on 4.14 support for mxs. I found some patches

[OpenWrt-Devel] [PATCH v3 6/7] uclient-utils: Handle memory allocation failure for url file name

2018-02-20 Thread Tobias Schramm
Add null pointer check to allocation of url filename Signed-off-by: Tobias Schramm --- uclient-utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uclient-utils.c b/uclient-utils.c index a375eea..3eaf2d5 100644 --- a/uclient-utils.c +++

[OpenWrt-Devel] [PATCH v3 4/7] uclient-http: Implement error handling for header-sending

2018-02-20 Thread Tobias Schramm
Add some error handling for errors during assembly of headers Signed-off-by: Tobias Schramm --- uclient-http.c | 35 +++ 1 file changed, 23 insertions(+), 12 deletions(-) diff --git a/uclient-http.c b/uclient-http.c index 20b8a9a..1762299

[OpenWrt-Devel] [PATCH v3 0/7] uclient: Handle memory allocation failures

2018-02-20 Thread Tobias Schramm
Hi John, I've implemented Philip's suggested improvement and changed the codestyle as per your request. Tobias Changes since v2: Replace manual allocation and strcpy by strndup Fix codestyle Changes since v1: Fix codestyle Fix memory leak in uclient_http_add_auth_digest Honour return value of

Re: [OpenWrt-Devel] [PATCH 1/1] uqmi: uim: add support for Get Card Status request

2018-02-20 Thread John Crispin
On 20/02/18 09:15, Daniele Palmas wrote: Hi John, 2018-02-18 10:44 GMT+01:00 John Crispin : On 14/08/17 12:02, Daniele Palmas wrote: This patch adds support for UIM Get Card Status request Signed-off-by: Daniele Palmas --- Hi Daniele, sorry for the

Re: [OpenWrt-Devel] [PATCH 1/1] uqmi: uim: add support for Get Card Status request

2018-02-20 Thread Daniele Palmas
Hi John, 2018-02-18 10:44 GMT+01:00 John Crispin : > > > On 14/08/17 12:02, Daniele Palmas wrote: >> >> This patch adds support for UIM Get Card Status request >> >> Signed-off-by: Daniele Palmas >> --- > > > Hi Daniele, > > sorry for the late reply, nitpicks

[OpenWrt-Devel] [PATCH v2 1/1] uqmi: uim: add support for Get Card Status request

2018-02-20 Thread Daniele Palmas
This patch adds support for UIM Get Card Status request Signed-off-by: Daniele Palmas --- v2: modified sanity checks in order to reduce indenting commands-uim.c | 139 + commands-uim.h | 4 +- 2 files changed, 142