[OpenWrt-Devel] [PATCH 3/3] gemini: Fix MAC address assignment for DIR-685

2019-05-24 Thread Linus Walleij
The DIR-685 has the MAC addresses in the RedBoot code just like DNS-313. Check some magic numbers to determine that the MAC address is where we want it and extract it from RedBoot. Signed-off-by: Linus Walleij --- .../lib/preinit/05_set_ether_mac_gemini | 15 +++ 1 file

[OpenWrt-Devel] [PATCH 2/3] gemini: Fix possible hexdump error on MAC assignment

2019-05-24 Thread Linus Walleij
If a MAC address is for example 00:50:c2:11:11:11 using hexdump to extract this from raw bytes in the flash will yield "00:50:c2:11*" with the asterisk indicating "more of the same". This will inhibit the MAC address from being assigned correctly, so fix it by passing -v to hexdump.

[OpenWrt-Devel] [PATCH 1/3] gemini: Make a per-board case for ethernet MAC

2019-05-24 Thread Linus Walleij
The DNS-313 isn't the only special board so let's bite the bullet and create a case ladder in preparation for DIR-685. Signed-off-by: Linus Walleij --- .../lib/preinit/05_set_ether_mac_gemini | 30 --- 1 file changed, 19 insertions(+), 11 deletions(-) diff --git

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

2019-05-24 Thread Linus Walleij
Hi Hauke, this patch regresses my Gemini systems because I really need these switches to come up and this patch: On Sun, May 12, 2019 at 7:32 PM Hauke Mehrtens wrote: > diff --git a/target/linux/gemini/config-4.19 b/target/linux/gemini/config-4.19 > CONFIG_NET_DSA=y > -#

[OpenWrt-Devel] [PATCH] gemini: Make root filesystem writeable

2019-05-24 Thread Linus Walleij
The squashfs+jffs2 root filesystem only came up as read-only and the config would not take: [ 25.600237] mount_root: Could not open mtd device: /dev/mtd4 [ 25.634674] mount_root: reading rootfs_data failed [ 25.665346] mount_root: Could not open mtd device: /dev/mtd3 [ 25.699802]

Re: [OpenWrt-Devel] [PATCH 1/2] procd: add docker support

2019-05-24 Thread Petr Štetiar
Paul Spooren [2019-05-23 18:57:09]: > root@dawn:/home/a# docker -v > Docker version 18.09.6, build 481bc77 Latest seems to be 19.03.0-beta4[1]. > root@f62c16ac8fa3:/# ls -a .dockerenv > .dockerenv > > root@f62c16ac8fa3:/# cat /proc/1/environ >