[OpenWrt-Devel] [PATCH v4 0/6] intel-microcode: load as early as possible

2018-11-20 Thread Tomasz Maciej Nowak
This small series addresses current problem with late loading of Intel microcode in OpenWrt. Following the commit messages [1] and later discussion, late loading off the microcode can be ineffective for some processors [2] and for others disabled [3]. Also it is discouraged for any processor starti

Re: [OpenWrt-Devel] Moving Ubiquity Nanostation M (XW) from ar71xx to ath79 [Was: openwrt-devel Digest, Vol 31, Issue 43]

2018-11-20 Thread Petr Štetiar
Joe Ayers [2018-11-19 19:40:34]: Thank you for testing. > 1) Physical ports not functional. frames are TX out, but RX not > received back. Switch configured out-of-box OK. Ok, at least some progress. > 2) wlan0 is functional and works correctly. However, default for > wifi-device is option

[OpenWrt-Devel] [PATCH v4 2/6] x86: mount writable bootfs

2018-11-20 Thread Tomasz Maciej Nowak
Mount boot file system with rw option to allow installation of packages which install files to /boot directory. Signed-off-by: Tomasz Maciej Nowak --- .../linux/x86/base-files/lib/preinit/79_move_config | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/target/linu

[OpenWrt-Devel] [PATCH v4 4/6] intel-microcode: remove dependency on iucode-tool

2018-11-20 Thread Tomasz Maciej Nowak
It is not necessary to have iucode-tool present on target system to have functional intel-microcode package. The build time dependency is kept. Signed-off-by: Tomasz Maciej Nowak --- package/firmware/intel-microcode/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pac

[OpenWrt-Devel] [PATCH v4 5/6] x86: add intel microcode entries to grub config

2018-11-20 Thread Tomasz Maciej Nowak
Create initrd enries for x86 images, that'll load intel microcode as early as possible. To achieve that the test module for grub is enabled which provides shell-like conditionals. Also restrict the late load of microcode to AMD processors. Signed-off-by: Tomasz Maciej Nowak --- target/linux/x86/

[OpenWrt-Devel] [PATCH v4 6/6] intel-microcode: create early load microcode image

2018-11-20 Thread Tomasz Maciej Nowak
Create initrd image with packed microcode. This'll allow to load it at early boot stage. Signed-off-by: Tomasz Maciej Nowak --- package/firmware/intel-microcode/Makefile | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/package/firmware/intel-microcode/Makefile

[OpenWrt-Devel] [PATCH v4 1/6] include/rootfs.mk: remove boot directory

2018-11-20 Thread Tomasz Maciej Nowak
Currently every file in boot directory is copied over target /boot on root file system and is usually inaccessible because appropriate boot file system is mounted on top of it. Therefore remove /boot, which in result will also save space on target root file system. Signed-off-by: Tomasz Maciej Now

[OpenWrt-Devel] [PATCH v4 3/6] x86: add packages files to image bootfs

2018-11-20 Thread Tomasz Maciej Nowak
Add files to bootfs image from selected as built-in packages, which want to install files to targets boot file system. Signed-off-by: Tomasz Maciej Nowak --- target/linux/x86/image/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/target/linux/x86/image/Makefile b/target/linux/x86/i

[OpenWrt-Devel] [PATCH] kernel: drop unused arch_split_mtd_part()

2018-11-20 Thread Rafał Miłecki
From: Rafał Miłecki No single target/arch uses it and most likely there is no need to make such a potential code target/arch specific. Signed-off-by: Rafał Miłecki --- .../400-mtd-add-rootfs-split-support.patch | 22 ++ ...port-for-different-partition-parser-types.p

[OpenWrt-Devel] [PATCH] lantiq: add support for Fritz!Box 7360v2

2018-11-20 Thread Reinhard Max
This patch adds support for Fritz!Box 7360 v2 (pollin.de currently sells these as refurbished). It has 32 MiB of flash compared to the 16 MiB of v1 and SL. Signed-off-by: Reinhard Max Reviewed-by: Torsten Duwe --- .../arch/mips/boot/dts/FRITZ7360.dtsi | 201 ++ .../arch

Re: [OpenWrt-Devel] [PATCH] ath79: Add support for Ubiquity

2018-11-20 Thread Joe Ayers
Nanostation M5 XW testing results on ath79 > > > [0.444718] libphy: Fixed MDIO Bus: probed > > [0.786402] libphy: ag71xx_mdio: probed > > [0.793193] switch0: Atheros AR8236 rev. 1 switch registered on > > mdio-bus.0 > > [1.137115] ag71xx 1900.eth: connected to PHY at mdio-bus.

Re: [OpenWrt-Devel] ath79 ascii mac + led open drain

2018-11-20 Thread Sebastian Kemper
Hello all, I seem to have found the ways around this. So never mind. I'll send the dts file when I'm happy with it. Regards, Seb ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel