[OpenWrt-Devel] [PATCH 2/2] uboot-imx6: Bump to 2019.01

2019-01-23 Thread Petr Štetiar
Build tested: apalis, mx6sabresd, nitrogen6dl, nitrogen6dl2g, nitrogen6q, nitrogen6q2g, nitrogen6s, nitrogen6s1g, wandboard Run tested: apalis (pending PR #1595) Cc: Felix Fietkau Cc: Vladimir Vid Cc: Koen Vandeputte Signed-off-by: Petr Štetiar ---

[OpenWrt-Devel] [PATCH 1/2] u-boot.mk: Fix building of recent U-Boot sources

2019-01-23 Thread Petr Štetiar
This patch fixes following error with U-Boot 2019.01 on imx6: In file included from tools/lib/crc16.c:1:0: ./tools/../lib/crc16.c: In function 'crc16_ccitt': ./tools/../lib/crc16.c:70:2: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < len; i++)

[OpenWrt-Devel] [PATCH] lantiq: Add support for 2nd USB port on Fritz!Box 7320 and 7330

2019-01-23 Thread Petr Štetiar
From: Robert Resch This patch enables support for 2nd USB port, which is available on Fritz!Box 7320 and 7330. It was run-tested on 7320 and 7330 as well. It's just rework of previous Robert's patch email attempt[1], this time in proper format. 1.

[OpenWrt-Devel] [PATCH 1/4 v2] gemini: Add v4.19 kernel patches

2019-01-23 Thread Linus Walleij
This is the remainder of kernel patches for the v4.19 kernel. A whole slew of the previous patch stack is now upstream, so this mainly contains the stuff that was added upstream between v4.19 and v5.0-rc1, and then the USB FOTG201 patches from Hans. Signed-off-by: Linus Walleij --- ChangeLog

[OpenWrt-Devel] [PATCH 4/4 v2] gemini: Add SL93512R Support

2019-01-23 Thread Linus Walleij
This generates images for the StorLink SL93512R reference design which is supported in kernel v4.19. Signed-off-by: Linus Walleij --- ChangeLog v1->v2: - Resend. --- target/linux/gemini/image/Makefile | 21 + 1 file changed, 21 insertions(+) diff --git

[OpenWrt-Devel] [PATCH 2/4 v2] gemini: Switch to kernel v4.19

2019-01-23 Thread Linus Walleij
This adds a config and augments the gemini makefile to use kernel v4.19. These devices work so much better with v4.19 so let's immediately make it the default. Signed-off-by: Linus Walleij --- ChangeLog v1->v2: - Run the config through OpenWrt make kernel_oldconfig and inspect the result.

[OpenWrt-Devel] [PATCH 3/4 v2] gemini: Drop switch kmod and swconfig

2019-01-23 Thread Linus Walleij
The DIR-685 needs this module compiled in for safety (it is facing the LAN ports) and it is now using the DSA switch architecture so swconfig is not needed. Signed-off-by: Linus Walleij --- ChangeLog v1->v2: - Resend. --- target/linux/gemini/image/Makefile | 1 - 1 file changed, 1 deletion(-)

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

2019-01-23 Thread Linus Walleij
This updates the Gemini platform to use kernel v4.19. Since many of the in-flight patches are upstream in v4.19 we cut down a bit on the patch burden with this, and we also invented and patched some new stuff. As the Gemini platforms use DSA switches as of v4.19 we don't need the switch kmod or

Re: [OpenWrt-Devel] [RFT] toolchain/musl: update to version 1.1.21

2019-01-23 Thread Christian Lamparter
On Wednesday, January 23, 2019 2:26:20 PM CET Koen Vandeputte wrote: > Hi Christian, > > fwiw, I've been using every musl git bump up to this release on my > devices offshore. It has been running on ~65 devices covering multiple > arches. (armv6k-mpcore, armv7, mips24, mips74, x86_64) > >

Re: [OpenWrt-Devel] [PATCH] wireguard: bump to 0.0.20190123

2019-01-23 Thread Hans Dedecker
On Wed, Jan 23, 2019 at 2:50 PM Jason A. Donenfeld wrote: > > * tools: curve25519: handle unaligned loads/stores safely > > This should fix sporadic crashes with `wg pubkey` on certain architectures. > > * netlink: auth socket changes against namespace of socket > > In WireGuard, the underlying

[OpenWrt-Devel] [PATCH] wireguard: bump to 0.0.20190123

2019-01-23 Thread Jason A. Donenfeld
* tools: curve25519: handle unaligned loads/stores safely This should fix sporadic crashes with `wg pubkey` on certain architectures. * netlink: auth socket changes against namespace of socket In WireGuard, the underlying UDP socket lives in the namespace where the interface was created and

Re: [OpenWrt-Devel] [RFT] toolchain/musl: update to version 1.1.21

2019-01-23 Thread Koen Vandeputte
Hi Christian, fwiw, I've been using every musl git bump up to this release on my devices offshore. It has been running on ~65 devices covering multiple arches. (armv6k-mpcore, armv7, mips24, mips74, x86_64) Looks really ok to me, and I statistically do see a drop in weird one-time issues

Re: [OpenWrt-Devel] Current "OpenWrt Style Guide for DTS"?

2019-01-23 Thread Rafał Miłecki
On Tue, 22 Jan 2019 at 23:06, Jeff Kletsky wrote: > Use of CPP #include vs. Device Tree /include/ > = > > * It appears that the CPP #include is preferred. Is this correct? Yes. That one is commonly used by DTS in Linux's sources and we try to match it

Re: [OpenWrt-Devel] Current "OpenWrt Style Guide for DTS"?

2019-01-23 Thread Rafał Miłecki
Thank you Chuanhong for handling this so well! Few minor comments below. On Wed, 23 Jan 2019 at 04:09, Chuanhong Guo wrote: > On Wed, Jan 23, 2019 at 6:07 AM Jeff Kletsky wrote: > ... > > > > Choice of Node Naming for Partitions > > > > > > In some DTS