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

2018-10-31 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 ---

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

2018-10-31 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

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

2018-10-31 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

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

2018-10-31 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

[OpenWrt-Devel] [PATCH v2 2/2] amd64-microcode: create early load microcode image

2018-10-31 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/amd64-microcode/Makefile | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/package/firmware/amd64-microcode/Makefile

[OpenWrt-Devel] [PATCH v2 0/2] amd-microcode: load as early as possible

2018-10-31 Thread Tomasz Maciej Nowak
This series is continuation of previous atempt [1]. AFAIK there are no caveats for late loading of microcode for AMD processors, so it makes this series completely optional, but as kernel folks consider late load of microcode legacy method [2] lets switch to early one. Loading of microcode was

[OpenWrt-Devel] [PATCH v2 1/2] x86: add amd microcode entries to grub config

2018-10-31 Thread Tomasz Maciej Nowak
Create initrd enries for x86 images, that'll load amd microcode as early as possible. Also remove the preinit script responsible for late load of microcode. Signed-off-by: Tomasz Maciej Nowak --- .../x86/base-files/lib/preinit/02_load_x86_ucode | 12

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

2018-10-31 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

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

2018-10-31 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 v3 4/6] intel-microcode: remove dependency on iucode-tool

2018-10-31 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

[OpenWrt-Devel] [PATCH] ath79: add support for Archer C58/C59 v1

2018-10-31 Thread David Bauer
This commit adds support for the Archer C58 v1 and C59 v1, previously supported in the ar71xx target. CPU: Qualcomm QCA9561 RAM: 64M (C58) / 128M (C59) FLASH: 8M (C58) / 16M (C59) WiFi: QCA9561 bgn 3x3:3 QCA9888 nac 2x2:2 LED: Power, WiFi 2.4, WiFi 5, WAN green, WAN amber, LAN, WPS

Re: [OpenWrt-Devel] [PATCH] bzip2: Fix download URL

2018-10-31 Thread Rosen Penev
On Wed, Oct 31, 2018 at 1:26 AM Syrone Wong wrote: > > It's default behavior according to > https://github.com/openwrt/openwrt/blob/master/scripts/download.pl#L263 The idea is to eliminate the dead URL. A solution like this is already used in multiple places throughout the tree. > > Best Regards,

[OpenWrt-Devel] [PATCH] tools/patch: Add fedora patch for crashing git style patches

2018-10-31 Thread Rosen Penev
https://lists.gnu.org/archive/html/bug-patch/2018-10/msg0.html I assume a CVE number will be assigned soon. Signed-off-by: Rosen Penev --- tools/patch/Makefile | 2 +- ...rror-handling-with-git-style-patches.patch | 58 +++ 2 files changed, 59

Re: [OpenWrt-Devel] [PATCH] bzip2: Fix download URL

2018-10-31 Thread Syrone Wong
It's default behavior according to https://github.com/openwrt/openwrt/blob/master/scripts/download.pl#L263 Best Regards, Syrone Wong On Tue, Oct 30, 2018 at 1:18 AM Rosen Penev wrote: > > Main website went down. Use openwrt sources for it. > > Matches a similar buildroot commit. > >

[OpenWrt-Devel] [PATCH] libiwinfo: nl80211: add mesh stats on assoclist.

2018-10-31 Thread Daniel Danzberger
Signed-off-by: Daniel Danzberger --- include/iwinfo.h | 6 + iwinfo_nl80211.c | 76 2 files changed, 82 insertions(+) diff --git a/include/iwinfo.h b/include/iwinfo.h index 49ee7f0..02ad623 100644 --- a/include/iwinfo.h +++