[OpenWrt-Devel] [PATCH 7/7] ath79: image: disable sysupgrade images for routerstations and ja76pf2

2019-08-22 Thread Tomasz Maciej Nowak
s create rootfs fis load -l linux exec -c "" For RouterStations use TFTP recovery procedure. Ref: FS#2428 Cc: Matt Merhar Signed-off-by: Tomasz Maciej Nowak --- target/linux/ath79/image/generic-ubnt.mk | 2 +- target/linux/ath79/image/generic.mk | 3 +++ 2 files changed, 4

[OpenWrt-Devel] [PATCH 5/7] ath79: image: add supported string for routerstations and ja76pf2

2019-08-22 Thread Tomasz Maciej Nowak
Now that the md5 check is fixed and metadata present, sysupgrade on ar71xx will complain about device not being supported by the image. Since the cause is not matching strings for supported devices add them accordingly. Signed-off-by: Tomasz Maciej Nowak --- target/linux/ath79/image/generic

[OpenWrt-Devel] [PATCH v2 1/7] ath79: dts: fix ja76pf2 spi frequency

2019-08-23 Thread Tomasz Maciej Nowak
. Fixes: b3a0c97 ("ath79: add support for jjPlus JA76PF2") Signed-off-by: Tomasz Maciej Nowak --- target/linux/ath79/dts/ar7161_jjplus_ja76pf2.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ath79/dts/ar7161_jjplus_ja76pf2.dts b/target/linux

[OpenWrt-Devel] [PATCH v2 3/7] ar71xx: sysupgrade: accept ath79 combined-image

2019-08-23 Thread Tomasz Maciej Nowak
metadata before calculating md5 sum for whole image. Signed-off-by: Tomasz Maciej Nowak --- target/linux/ar71xx/base-files/lib/upgrade/platform.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx

[OpenWrt-Devel] [PATCH v2 2/7] ath79: image: retire combined-image for Adtran/Bluesocket devices

2019-08-23 Thread Tomasz Maciej Nowak
images for now so no reression should occur. Cc: Brian Gonyer Cc: Daniel Gimpelevich Signed-off-by: Tomasz Maciej Nowak --- target/linux/ath79/image/generic.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ath79/image/generic.mk b/target/linux/ath79/image/

[OpenWrt-Devel] [PATCH v2 0/7] ath79: fixes for devices with RedBoot bootloader

2019-08-23 Thread Tomasz Maciej Nowak
h79: image: disable sysupgrade images for routerstations and ja76pf2" Tomasz Maciej Nowak (7): ath79: dts: fix ja76pf2 spi frequency ath79: image: retire combined-image for Adtran/Bluesocket devices ar71xx: sysupgrade: accept ath79 combined-image ath79: image: append metadata to routersta

[OpenWrt-Devel] [PATCH v2 7/7] ath79: image: disable sysupgrade images for routerstations and ja76pf2

2019-08-23 Thread Tomasz Maciej Nowak
s create rootfs fis load -l linux exec -c "" For RouterStations use TFTP recovery procedure. Ref: FS#2428 Cc: Matt Merhar Signed-off-by: Tomasz Maciej Nowak --- target/linux/ath79/image/generic-ubnt.mk | 4 +--- target/linux/ath79/image/generic.mk | 5 +++-- 2 files change

[OpenWrt-Devel] [PATCH v2 4/7] ath79: image: append metadata to routerstations and ja76pf2 images

2019-08-23 Thread Tomasz Maciej Nowak
This target enforces metadata check so add the necessary information. It was previously removed because md5 sum check. When using these sysupgrade images on ar71xx target the check would complain about them not matching. Signed-off-by: Tomasz Maciej Nowak --- target/linux/ath79/image/generic

[OpenWrt-Devel] [PATCH v2 5/7] ath79: image: add supported string for routerstations and ja76pf2

2019-08-23 Thread Tomasz Maciej Nowak
Now that the md5 check is fixed and metadata present, sysupgrade on ar71xx will complain about device not being supported by the image. Since the cause is not matching strings for supported devices add them accordingly. Signed-off-by: Tomasz Maciej Nowak --- target/linux/ath79/image/generic

[OpenWrt-Devel] [PATCH v2 6/7] ath79: fix FIS partition detection for 4.19 kernel

2019-08-23 Thread Tomasz Maciej Nowak
When bumping to 4.19 the patch responsible for scaning flash for FIS partition got left out. Without it devices with RedBoot bootloader using automatic partitions detection in dts won't boot with the new kernel. Fixes: 3771176 ("ath79: add support for linux 4.19") Signed-off-by

[OpenWrt-Devel] [PATCH] sdk: expose part of advanced configuration options

2018-10-25 Thread Tomasz Maciej Nowak
These option can be useful in developement/packagig applications for OpenWrt. Instead of searching them by hand in Config-build.in lets expose them for easier access. Signed-off-by: Tomasz Maciej Nowak --- target/sdk/files/Config.in | 57 ++ 1 file changed

[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/Mak

[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 a

[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 0/6] intel-microcode: load as early as possible

2018-10-31 Thread Tomasz Maciej Nowak
inst/prerm scripts and install microcode directly to /boot: intel-microcode: create early load microcode image - no changes: intel-microcode: remove dependency on iucode-tool All changes in v2 sugested by Matthias Schiffer and Philip Prindeville. Tomasz Maciej Nowak (6): include/rootf

[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 --- target/linu

[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 a/target

[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 b/target/linux/x86

[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/Makefi

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

2018-10-31 Thread Tomasz Maciej Nowak
rub config - no changes: amd64-microcode: create early load microcode image Tomasz Maciej Nowak (2): x86: add amd microcode entries to grub config amd64-microcode: create early load microcode image package/firmware/amd64-microcode/Makefile| 10 -- .../x86/base

[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 target/linux/x86/image

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

2018-11-07 Thread Tomasz Maciej Nowak
W dniu 01.11.2018 o 18:03, Philip Prindeville pisze: > Inline > >> On Oct 31, 2018, at 11:02 AM, Tomasz Maciej Nowak wrote: >> >> Add files to bootfs image from selected as built-in packages, which want >> to install files to targets boot file system. >> &

Re: [OpenWrt-Devel] [PATCH 5/5] mesongx: new target

2018-11-07 Thread Tomasz Maciej Nowak
Hi Stijn, comments inline (disclaimer: I don't own such device). W dniu 19.10.2018 o 19:37, Stijn Tintel pisze: > This target supports Amlogic S9 SoCs. > > Signed-off-by: Stijn Tintel > --- > target/linux/mesongx/Makefile | 36 ++ > target/linux/mesongx/base-files/etc/init

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

2018-11-20 Thread Tomasz Maciej Nowak
uggested by Matthias Schiffer and Philip Prindeville. Tomasz Maciej Nowak (6): include/rootfs.mk: remove boot directory x86: mount writable bootfs x86: add packages files to image bootfs intel-microcode: remove dependency on iucode-tool x86: add intel microcode entries to grub config inte

[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

[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

[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/linu

[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/Mak

[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

[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

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

2018-11-25 Thread Tomasz Maciej Nowak
W dniu 24.11.2018 o 14:15, Hauke Mehrtens pisze: > On 11/20/18 5:20 PM, Tomasz Maciej Nowak wrote: >> 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 she

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

2018-11-25 Thread Tomasz Maciej Nowak
W dniu 24.11.2018 o 14:17, Hauke Mehrtens pisze: > On 11/20/18 5:20 PM, Tomasz Maciej Nowak wrote: >> Create initrd image with packed microcode. This'll allow to load it at >> early boot stage. >> >> Signed-off-by: Tomasz Maciej Nowak >> --- >> pa

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

2018-11-25 Thread Tomasz Maciej Nowak
W dniu 24.11.2018 o 14:15, Hauke Mehrtens pisze: > On 11/20/18 5:20 PM, Tomasz Maciej Nowak wrote: >> 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 she

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

2018-11-26 Thread Tomasz Maciej Nowak
W dniu 26.11.2018 o 21:44, Lucian Cristian pisze: > On 20.11.2018 18:20, Tomasz Maciej Nowak wrote: >> 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

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

2018-11-26 Thread Tomasz Maciej Nowak
W dniu 26.11.2018 o 22:47, Lucian Cristian pisze: > On 26.11.2018 23:11, Tomasz Maciej Nowak wrote: >> W dniu 26.11.2018 o 21:44, Lucian Cristian pisze: >>> On 20.11.2018 18:20, Tomasz Maciej Nowak wrote: >>>> This small series addresses current problem with late load

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

2018-11-27 Thread Tomasz Maciej Nowak
W dniu 27.11.2018 o 14:47, Lucian Cristian pisze: > On 26.11.2018 23:58, Tomasz Maciej Nowak wrote: >> W dniu 26.11.2018 o 22:47, Lucian Cristian pisze: >>> On 26.11.2018 23:11, Tomasz Maciej Nowak wrote: >>>> W dniu 26.11.2018 o 21:44, Lucian Cristian pisze: >

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

2018-11-27 Thread Tomasz Maciej Nowak
W dniu 27.11.2018 o 18:04, John Crispin pisze: > > On 27/11/2018 16:11, Tomasz Maciej Nowak wrote: >> W dniu 27.11.2018 o 14:47, Lucian Cristian pisze: >>> On 26.11.2018 23:58, Tomasz Maciej Nowak wrote: >>>> W dniu 26.11.2018 o 22:47, Lucian Cristian pisze:

[OpenWrt-Devel] [PATCH] x86: make sysupgrade.tgz reachable again

2018-11-28 Thread Tomasz Maciej Nowak
Moving binding mount before check for saved sysupgrade configuration made it unreachable. Fix it by moving binding mount after the check. Fixes: f78b2616 (x86: mount writable bootfs) Reported-by: Lucian Cristian Signed-off-by: Tomasz Maciej Nowak --- target/linux/x86/base-files/lib/preinit

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

2018-11-28 Thread Tomasz Maciej Nowak
W dniu 28.11.2018 o 20:34, Lucian Cristian pisze: > On 27.11.2018 19:59, John Crispin wrote: >> >> On 27/11/2018 18:15, Tomasz Maciej Nowak wrote: >>> W dniu 27.11.2018 o 18:04, John Crispin pisze: >>>> On 27/11/2018 16:11, Tomasz Maciej Nowak wrote: >

[OpenWrt-Devel] [PATCH 2/2] mvebu: remove default profile

2019-01-13 Thread Tomasz Maciej Nowak
ckages are specified in DEVICE_PACKAGES array for each device. Signed-off-by: Tomasz Maciej Nowak --- target/linux/mvebu/image/Makefile | 1 - target/linux/mvebu/profiles/000-Default.mk | 18 -- 2 files changed, 19 deletions(-) delete mode 100644 target/linux/mvebu/pr

[OpenWrt-Devel] [PATCH 1/2] mvebu: move HARDEN_BRANCH_PREDICTOR to common config

2019-01-13 Thread Tomasz Maciej Nowak
This symbol is enabled in all subtargets, move it to common kernel config. Signed-off-by: Tomasz Maciej Nowak --- target/linux/mvebu/config-4.14 | 1 + target/linux/mvebu/cortexa53/config-default | 1 - target/linux/mvebu/cortexa72/config-default | 1 - target/linux/mvebu/cortexa9

[OpenWrt-Devel] [PATCH 1/3] mvebu: sort armada 37xx upstream patches chronologically

2019-01-13 Thread Tomasz Maciej Nowak
Signed-off-by: Tomasz Maciej Nowak --- ... => 500-arm64-dts-marvell-Fix-A37xx-UART0-register-size.patch} | 0 ...01-spi-a3700-Change-SPI-mode-before-asserting-chip-sele.patch} | 0 ...tch => 502-arm64-dts-marvell-armada-37xx-add-UART-clock.patch} | 0 ...ch => 503-clk-mvebu-armada-37

[OpenWrt-Devel] [PATCH 3/3] mvebu: backport upstream fixes for armada 37xx

2019-01-13 Thread Tomasz Maciej Nowak
Upstream patches for processor frequency scaling, which fix possible system hard lockups. Signed-off-by: Tomasz Maciej Nowak --- ...-37xx-periph-Fix-switching-CPU-rate-.patch | 92 +++ ...-37xx-periph-Fix-wrong-return-value-.patch | 33 +++ ...-37xx-periph-Remove-unused-var

[OpenWrt-Devel] [PATCH 2/3] mvebu: espressobin: correct spi node in dts

2019-01-13 Thread Tomasz Maciej Nowak
Drop customizations in: 508-arm64-dts-armada-3720-espressobin-wire-up-spi-flash.patch and move them to separate patch, with broader explanation. Signed-off-by: Tomasz Maciej Nowak --- ...a-3720-espressobin-wire-up-spi-flash.patch | 27 ++--- ...da-3720-espressobin-correct-spi-node.patch

[OpenWrt-Devel] [PATCH] build: remove leftovers from previous x86 commits

2019-01-13 Thread Tomasz Maciej Nowak
those symbols since x86_64 is subtarget of x86: 196fb76 x86: make x86_64 a subtarget instead of a standalone target Unreachable config symbols, so remove GRUB_ROOT: 371b382 x86: remove the xen_domu subtarget Signed-off-by: Tomasz Maciej Nowak --- config/Config-images.in | 9

[OpenWrt-Devel] [PATCH] x86: image: add test module to bootloader

2019-01-13 Thread Tomasz Maciej Nowak
is needed for early microcode load and transition to this needs to be done step by step, enable the test module now, so that every newly created image has it already embedded. Signed-off-by: Tomasz Maciej Nowak --- target/linux/x86/image/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2

[OpenWrt-Devel] [RFC 5/6] x86/grub2: add bootloader upgrade on sysupgrade

2019-01-13 Thread Tomasz Maciej Nowak
Maciej Nowak --- package/boot/grub2/Makefile | 42 ++- target/linux/x86/64/target.mk | 2 +- .../x86/base-files/lib/upgrade/platform.sh| 27 +++- target/linux/x86/generic/target.mk| 2 +- target/linux/x86/geode/target.mk

[OpenWrt-Devel] [RFC 3/6] x86: remove obsolete profiles

2019-01-13 Thread Tomasz Maciej Nowak
Rely on device profiles instead for packages selection. Signed-off-by: Tomasz Maciej Nowak --- target/linux/x86/64/profiles/000-Generic.mk | 15 -- .../linux/x86/generic/profiles/000-Generic.mk | 18 - .../linux/x86/geode/profiles/000-Generic.mk | 20

[OpenWrt-Devel] [RFC 2/6] x86: switch image generation to new code

2019-01-13 Thread Tomasz Maciej Nowak
redefining them. * For subtargets create device definitions with basic packages set. Signed-off-by: Tomasz Maciej Nowak --- config/Config-images.in | 22 +-- include/image.mk | 1 - target/linux/x86/Makefile | 4 +- target/linux

[OpenWrt-Devel] [RFC 4/6] x86: geode: shrink amount of default packages

2019-01-13 Thread Tomasz Maciej Nowak
Drop excesive amount of default packages, instead, rely on packages specified in device definitions. Signed-off-by: Tomasz Maciej Nowak --- target/linux/x86/geode/target.mk | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/target/linux/x86/geode/target.mk b/target

[OpenWrt-Devel] [RFC 0/6] x86: switch to generic image generation code and

2019-01-13 Thread Tomasz Maciej Nowak
ch is used in most of the OpenWrt targets. Both of the chages are rather intrusive hence te RFC tag. Please voice Your concerns and opinions. https://patchwork.ozlabs.org/cover/1000625 Tomasz Maciej Nowak (6): x86/grub2: move grub2 image creation to grub2 package x86: switch image generation t

[OpenWrt-Devel] [RFC 1/6] x86/grub2: move grub2 image creation to grub2 package

2019-01-13 Thread Tomasz Maciej Nowak
Let the grub2 package take care of creating installable grub2 images, this will allow creating grub2 images without first calling x86 image generation recipe. Also as side effect, since those images are now shared, it'll reduce the number of calling grub-mkimage. Signed-off-by: Tomasz M

[OpenWrt-Devel] [RFC 6/6] grub2: add preinit hook for bootloader upgrade

2019-01-13 Thread Tomasz Maciej Nowak
The current OpenWrt installations lack the necessary bits to upgrade bootloader on sysupgrade, therefore add preinit hook which will perform upgrade of bootloader on first boot. Signed-off-by: Tomasz Maciej Nowak --- package/boot/grub2/Makefile | 6 ++ .../boot/grub2

Re: [OpenWrt-Devel] [RFC 0/6] x86: switch to generic image generation code and

2019-01-14 Thread Tomasz Maciej Nowak
Title of this series got halved, should be: x86: switch to generic image generation code and add update bootloader on sysupgrade Also forgot to mention, for anyone who wants to test it needs to be applied after https://patchwork.ozlabs.org/patch/1024153 -- TMN ___

Re: [OpenWrt-Devel] [RFC 4/6] x86: geode: shrink amount of default packages

2019-01-14 Thread Tomasz Maciej Nowak
Hi Philip W dniu 14.01.2019 o 21:10, Philip Prindeville pisze: > Why is the hwclock being dropped everywhere? It's provided by busybox and installed by default, also greping for its usage in target/linux/x86/base-files returned nothing. Am I missing something, is the full fledged one used some

Re: [OpenWrt-Devel] [RFC 4/6] x86: geode: shrink amount of default packages

2019-01-16 Thread Tomasz Maciej Nowak
W dniu 16.01.2019 o 02:25, Philip Prindeville pisze: > Inline > >> On Jan 15, 2019, at 12:40 AM, Tomasz Maciej Nowak wrote: >> >> Hi Philip >> >> W dniu 14.01.2019 o 21:10, Philip Prindeville pisze: >> >>> Why is the hwclock being dropped every

[OpenWrt-Devel] [PATCH v2] mvebu: remove default profile

2019-01-17 Thread Tomasz Maciej Nowak
ckages are specified in DEVICE_PACKAGES array for each device. Signed-off-by: Tomasz Maciej Nowak --- Changes in v2: - restore PROFILES := Default, as this change caused selecting all divece profiles even when only one was selected to build, which lead to broken build Reported by Rosen Penev

Re: [OpenWrt-Devel] [PATCH 2/2] mvebu: remove default profile

2019-01-17 Thread Tomasz Maciej Nowak
W dniu 17.01.2019 o 09:08, Rosen Penev pisze: > On Wed, Jan 16, 2019 at 11:51 PM Mathias Kresin wrote: >> >> 17/01/2019 05:38, Rosen Penev: >>> On Sun, Jan 13, 2019 at 12:28 PM Tomasz Maciej Nowak wrote: >>>> >>>> When using Image Builder and buil

Re: [OpenWrt-Devel] [RFC 6/6] grub2: add preinit hook for bootloader upgrade

2019-01-17 Thread Tomasz Maciej Nowak
Hi Dustin, find my answers inline. W dniu 17.01.2019 o 06:02, Dustin Howett pisze: > I'm somewhat apprehensive about this applying to all targets that consume > GRUB2. All images which employ GRUB2 use the same recipe to create image, I see no reason exempt any x86 subtarget. > > On x86 and x

Re: [OpenWrt-Devel] [RFC 0/6] x86: switch to generic image generation code and

2019-02-06 Thread Tomasz Maciej Nowak
W dniu 04.02.2019 o 09:29, Lucian Cristian pisze: > On 13.01.2019 23:49, Tomasz Maciej Nowak wrote: >> This is aftermath of partially failed series [1]. >> When I was searching for ways to upgrade of bootloader on existing >> OpenWrt installations, I noticed that it'l

[OpenWrt-Devel] [PATCH] kernel: make kmod-fbcon a built-in of kmod-fb

2018-03-30 Thread Tomasz Maciej Nowak
h are on kernel 4.14 so no fallback for other kernels is introduced. Being at that this commit also fixes autoload of fbdev for x86. Signed-off-by: Tomasz Maciej Nowak --- package/kernel/linux/modules/video.mk | 50 ++- 1 file changed, 14 insertions(+), 36 dele

[OpenWrt-Devel] [PATCH v2] kernel: merge kmod-fbcon with kmod-fb

2018-03-30 Thread Tomasz Maciej Nowak
6 and geode, both are on kernel 4.14 so no fallback for other kernels is introduced. Being at that this commit also fixes autoload of fbdev for x86. Signed-off-by: Tomasz Maciej Nowak --- Changes in v2: - more suitable title - fixed spelling in message --- package/kernel/linux/modules/video.mk

Re: [OpenWrt-Devel] [PATCH] kernel: make kmod-fbcon a built-in of kmod-fb

2018-03-30 Thread Tomasz Maciej Nowak
2018-03-30 23:39 GMT+02:00, Tomasz Maciej Nowak : > As of commit 6104c37094 fbcon: Make fbcon a built-time depency for fbdev > framebuffer console is build in into framebuffer module and there's no > standalone fbcon module. Therfore drop the kmod-fbcon and enable console > in

[OpenWrt-Devel] [PATCH 2/3] mvebu: reduce speed to gen1 for armada 37xx devices pcie

2018-06-09 Thread Tomasz Maciej Nowak
lan-cards-are-supported Signed-off-by: Tomasz Maciej Nowak --- Please also cherry-pick this to OpenWrt 18.06. --- .../527-pci-aardvark-reduce-speed-to-gen1.patch | 15 +++ 1 file changed, 15 insertions(+) create mode 100644 target/linux/mvebu/patches-4.14/527-pci-aardvark-reduce-sp

[OpenWrt-Devel] [PATCH 1/3] mvebu: add fix for armada 37xx cpufreq driver

2018-06-09 Thread Tomasz Maciej Nowak
Backport from stable kernel tree fixing clock leak. Signed-off-by: Tomasz Maciej Nowak --- Please also cherry-pick this to OpenWrt 18.06. --- ...8-cpufreq-armada-37xx-Fix-clock-leak.patch | 35 +++ 1 file changed, 35 insertions(+) create mode 100644 target/linux/mvebu/patches

[OpenWrt-Devel] [PATCH 3/3] mvebu: replace espressobin spi patch with upstream one

2018-06-09 Thread Tomasz Maciej Nowak
For easier future kernel bumps replace spi patch with upstream version slightly modified. The modification removes partition definitions which has been diffrent for some U-Boot versions. Also this removes unnecessary i2c definition which was in the old patch. Signed-off-by: Tomasz Maciej Nowak

Re: [OpenWrt-Devel] [PATCH 2/3] mvebu: reduce speed to gen1 for armada 37xx devices pcie

2018-06-09 Thread Tomasz Maciej Nowak
W dniu 09.06.2018 o 19:02, Martin Blumenstingl pisze: > On Sat, Jun 9, 2018 at 4:15 PM Tomasz Maciej Nowak wrote: >> >> Since the beginning there's been an issue with initializing the Atheros >> based MiniPCIe wlan cards. Here's an example of kerenel log: >> &

[OpenWrt-Devel] [PATCH v2 2/3] mvebu: reduce speed to gen1 for espressobin pcie

2018-06-14 Thread Tomasz Maciej Nowak
t since OpenWrt focuses on wireless connectivity, fixing compatibility with wireless cards should be a priority. For the record, the iwlwifi and mt76 cards were not affected by this issue. 1. http://espressobin.net/forums/topic/which-pcie-wlan-cards-are-supported Signed-off-by: Tomasz Maciej No

Re: [OpenWrt-Devel] [PATCH 2/3] mvebu: reduce speed to gen1 for armada 37xx devices pcie

2018-06-14 Thread Tomasz Maciej Nowak
W dniu 10.06.2018 o 15:23, Martin Blumenstingl pisze: > On Sat, Jun 9, 2018 at 11:09 PM Tomasz Maciej Nowak wrote: >> >> W dniu 09.06.2018 o 19:02, Martin Blumenstingl pisze: >>> On Sat, Jun 9, 2018 at 4:15 PM Tomasz Maciej Nowak wrote: >>>> >>>>

[OpenWrt-Devel] [PATCH 3/4 openwrt-19.07] ath79: image: append metadata to routerstations and ja76pf2 images

2019-09-06 Thread Tomasz Maciej Nowak
This target enforces metadata check so add the necessary information. It was previously removed because md5 sum check. When using these sysupgrade images on ar71xx target the check would complain about them not matching. Signed-off-by: Tomasz Maciej Nowak (cherry picked from commit

[OpenWrt-Devel] [PATCH 2/4 openwrt-19.07] ar71xx: sysupgrade: accept ath79 combined-image

2019-09-06 Thread Tomasz Maciej Nowak
metadata before calculating md5 sum for whole image. Signed-off-by: Tomasz Maciej Nowak (cherry picked from commit 8b4109c2b4d60495d046157d1baca9b1cdbf8dc8) --- target/linux/ar71xx/base-files/lib/upgrade/platform.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux

[OpenWrt-Devel] [PATCH 1/4 openwrt-19.07] ath79: dts: fix ja76pf2 spi frequency

2019-09-06 Thread Tomasz Maciej Nowak
. Fixes: b3a0c97 ("ath79: add support for jjPlus JA76PF2") Signed-off-by: Tomasz Maciej Nowak (cherry picked from commit c1db564cbc7cad88606f3caedf81d07b0a60931f) --- target/linux/ath79/dts/ar7161_jjplus_ja76pf2.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/l

[OpenWrt-Devel] [PATCH 4/4 openwrt-19.07] ath79: image: add supported string for routerstations and ja76pf2

2019-09-06 Thread Tomasz Maciej Nowak
Now that the md5 check is fixed and metadata present, sysupgrade on ar71xx will complain about device not being supported by the image. Since the cause is not matching strings for supported devices add them accordingly. Signed-off-by: Tomasz Maciej Nowak (cherry picked from commit

[OpenWrt-Devel] [PATCH] ath79: base-files: disable sysupgrade for routerstations and ja76pf2

2019-09-06 Thread Tomasz Maciej Nowak
te. Signed-off-by: Tomasz Maciej Nowak --- target/linux/ath79/base-files/lib/upgrade/platform.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/ath79/base-files/lib/upgrade/platform.sh b/target/linux/ath79/base-files/lib/upgrade/platform.sh index f7e6214

[OpenWrt-Devel] [PATCH] ath79: image: pad kernel for Adtran/Bluesocket devices

2019-09-17 Thread Tomasz Maciej Nowak
r Cc: Daniel Gimpelevich Signed-off-by: Tomasz Maciej Nowak --- target/linux/ath79/image/generic.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/ath79/image/generic.mk b/target/linux/ath79/image/generic.mk index dffb4bf577..4e824e7d6d 100644 --- a/target/l

[OpenWrt-Devel] [PATCH] ath79: add support for Sitecom WLR-7100

2019-10-12 Thread Tomasz Maciej Nowak
eful for creating backup of original firmware. Signed-off-by: Tomasz Maciej Nowak --- .../ath79/base-files/etc/board.d/02_network | 6 + .../etc/hotplug.d/firmware/10-ath9k-eeprom| 3 +- .../etc/hotplug.d/firmware/11-ath10k-caldata | 3 +- .../ath79/dts/ar1022_sitecom_wlr-7100.dts

[OpenWrt-Devel] [PATCH v2] ath79: add support for Sitecom WLR-7100

2019-10-15 Thread Tomasz Maciej Nowak
comSenao useful for creating backup of original firmware. There is also another revision of this device (v1 001), which may or may not work with introduced images. Signed-off-by: Tomasz Maciej Nowak --- v1 -> v2 - rebase on top of master - metion about another revision in commit message .../ath79

Re: [OpenWrt-Devel] [PATCH v2] imx6: Adding Ka-Ro electronics TX6U-8033 Module on MB7 baseboard support

2019-12-04 Thread Tomasz Maciej Nowak
Hi, small nit at the end. W dniu 04.12.2019 o 19:14, Linus Lüssing pisze: > From: Linus Lüssing > > This adds support for the Ka-Ro MB7 board with a TX6U-8033 module. > > Specification, according to Linux DTS commit: > > TX6U-8033: > ProcessorFreescale i.MX 6 Dual Lite, 800MHz >

Re: [OpenWrt-Devel] [PATCH 2/2] sunxi: construct DTS name from device node name and SOC

2019-12-10 Thread Tomasz Maciej Nowak
Hi Adrian. W dniu 07.12.2019 o 23:28, Adrian Schmutzler pisze: > The device part in the SUNXI_DTS variable always corresponds to > device node name. This is another redundancy that can be removed > by calculating the DTS name from a newly introduced SUNXI_SOC > variable and the node name. > > Sig

Re: [OpenWrt-Devel] [PATCH 2/2] sunxi: construct DTS name from device node name and SOC

2019-12-13 Thread Tomasz Maciej Nowak
W dniu 11.12.2019 o 11:42, Adrian Schmutzler pisze: > Hi, > >> -Original Message----- >> From: Tomasz Maciej Nowak [mailto:tome...@o2.pl] >> Sent: Dienstag, 10. Dezember 2019 14:39 >> To: Adrian Schmutzler ; openwrt- >> de...@lists.openwrt.org >> Subj

[OpenWrt-Devel] [PATCH] ath79: wlr-7100: use ath10k-ct smallbuffers package variant

2020-01-14 Thread Tomasz Maciej Nowak
The memory hacks got removed from ath10k with 1e27bef ("mac80211: remove ath10k_pci memory hacks"). As this device has low amount of RAM, switch to ath-10k-ct small buffers variant, to avoid the OOM Reaper. Signed-off-by: Tomasz Maciej Nowak --- target/linux/ath79/image/generic.mk

[OpenWrt-Devel] [PATCH v3 0/3] x86: upgrade bootloader on sysupgrade

2020-01-14 Thread Tomasz Maciej Nowak
ader upgrade on sysupgrade: move bootloader upgrade to function as suggested by Petr ??tetiar, extend commit message x86: add preinit hook for bootloader upgrade rewrite commit message Tomasz Maciej Nowak (3): x86: image: cleanup before creating image x86: add bootloader upgrade on sysupg

[OpenWrt-Devel] [PATCH v3 1/3] x86: image: cleanup before creating image

2020-01-14 Thread Tomasz Maciej Nowak
There can be some leftovers from other image recipes, if the same directory names are used and multiply image types are selected. Therefore remove directories used in the recipe, before contents for the image are prepared. Signed-off-by: Tomasz Maciej Nowak --- target/linux/x86/image/Makefile

[OpenWrt-Devel] [PATCH v3 3/3] x86: add preinit hook for bootloader upgrade

2020-01-14 Thread Tomasz Maciej Nowak
ersion and from there sysupgrade routine will be sufficient. Signed-off-by: Tomasz Maciej Nowak --- .../lib/preinit/81_upgrade_bootloader | 19 +++ .../x86/base-files/lib/upgrade/platform.sh| 3 ++- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 t

[OpenWrt-Devel] [PATCH v3 2/3] x86: add bootloader upgrade on sysupgrade

2020-01-14 Thread Tomasz Maciej Nowak
: Tomasz Maciej Nowak --- package/boot/grub2/Makefile | 5 .../x86/base-files/lib/upgrade/platform.sh| 24 +++ target/linux/x86/image/Makefile | 7 +++--- 3 files changed, 33 insertions(+), 3 deletions(-) diff --git a/package/boot/grub2

[OpenWrt-Devel] [PATCH] kernel: replace SUBDIRS wih M in package recipes

2020-01-20 Thread Tomasz Maciej Nowak
The SUBDIRS variable has been removed in kernel 5.4, and was deprecated since the beginnig of kernel git history in favour of M or KBUILD_EXTMOD. Signed-off-by: Tomasz Maciej Nowak --- package/kernel/acx-mac80211/Makefile| 2 +- package/kernel/ath10k-ct/Makefile | 2

[OpenWrt-Devel] [PATCH v2] kernel: replace SUBDIRS with M in package recipes

2020-01-20 Thread Tomasz Maciej Nowak
The SUBDIRS variable has been removed in kernel 5.4, and was deprecated since the beginnig of kernel git history in favour of M or KBUILD_EXTMOD. Signed-off-by: Tomasz Maciej Nowak --- v1 -> v2 fix commit title package/kernel/acx-mac80211/Makefile| 2 +- package/kernel/ath10k

Re: [OpenWrt-Devel] [PATCH 1/2] mvebu: move subtarget image Makefile switch to parent Makefile

2020-01-20 Thread Tomasz Maciej Nowak
finitions. > > Signed-off-by: Adrian Schmutzler Acked-by: Tomasz Maciej Nowak > --- > target/linux/mvebu/image/Makefile | 8 > target/linux/mvebu/image/cortex-a53.mk | 4 > target/linux/mvebu/image/cortex-a72.mk | 4 > target/linux/mvebu/image/c

Re: [OpenWrt-Devel] [PATCH] mvebu: split base-files across subtargets

2020-01-20 Thread Tomasz Maciej Nowak
ey belong to. > > While at it, consolidate 01_leds by using the model part of > the board name as variable. > > Signed-off-by: Adrian Schmutzler Acked-by: Tomasz Maciej Nowak > --- > .../mvebu/base-files/etc/board.d/01_leds | 55 - > .../mvebu/base

Re: [OpenWrt-Devel] [PATCH 2/2] mvebu: use SOC to derive DEVICE_DTS

2020-01-20 Thread Tomasz Maciej Nowak
in upstream it's upper case. So it makes no sense. For the rest Acked-by: Tomasz Maciej Nowak > > Signed-off-by: Adrian Schmutzler > --- > .../{armada-3720-uDPU.dts => armada-3720-udpu.dts} | 0 > target/linux/mvebu/image/Makefile

[PATCH 2/2] x86: add Roqos Core RC10 ethernet interfaces

2021-05-24 Thread Tomasz Maciej Nowak
firmware, there are no downloadable copies. Signed-off-by: Tomasz Maciej Nowak --- target/linux/x86/base-files/etc/board.d/02_network | 3 +++ 1 file changed, 3 insertions(+) diff --git a/target/linux/x86/base-files/etc/board.d/02_network b/target/linux/x86/base-files/etc/board.d/02_network

[PATCH 1/2] kernel: package Synopsys Designware PCI to I2C controller

2021-05-24 Thread Tomasz Maciej Nowak
This is present on Roqos Core RC10 and needed to control LED matrix. Signed-off-by: Tomasz Maciej Nowak --- package/kernel/linux/modules/i2c.mk | 29 + 1 file changed, 29 insertions(+) diff --git a/package/kernel/linux/modules/i2c.mk b/package/kernel/linux/modules

[PATCH] mvebu: armada-37xx: remove ethernet alias patch

2021-05-25 Thread Tomasz Maciej Nowak
: Tomasz Maciej Nowak --- ...ts-marvell-armada37xx-Add-eth0-alias.patch | 20 --- ...itch-PHY-operation-mode-to-2500base.patch} | 0 ...mada-xp-linksys-mamba-resize-kernel.patch} | 0 ...16-armada-370-dts-fix-crypto-engine.patch} | 0 4 files changed, 20 deletions(-) delete mode

[PATCH] ipq40xx: add uboot-envtools to default packages

2021-05-25 Thread Tomasz Maciej Nowak
ff-by: Tomasz Maciej Nowak --- Please also backport to 21.02 branch. target/linux/ipq40xx/Makefile | 3 ++- target/linux/ipq40xx/image/generic.mk | 28 --- 2 files changed, 14 insertions(+), 17 deletions(-) diff --git a/target/linux/ipq40xx/Makefile b/target/linux/ip

Re: [PATCH] cn913x: add support for iEi Puzzle-M901/Puzzle-M902

2021-05-25 Thread Tomasz Maciej Nowak
Hi. W dniu 25.05.2021 o 10:22, Daniel Golle pisze: > Hi! > > thank you for submitting support for this interesting hardware. > There are some minor style issues which need to be addressed before > the patch can be merged into our tree. > It would also be better to split this into at least two pat

[PATCH 1/5] tegra: refresh kernel config

2021-06-13 Thread Tomasz Maciej Nowak
Recent filtering rules alow to trim the kernel configuration in size, do that to reduce the diff between current config and upcoming one. Signed-off-by: Tomasz Maciej Nowak --- target/linux/tegra/config-5.4 | 90 +-- 1 file changed, 2 insertions(+), 88 deletions

[PATCH 5/5] tegra: make target source-only

2021-06-13 Thread Tomasz Maciej Nowak
Looking at OpenWrt downloading statistics this target has non-existent userbase apart from me. Mark it as source-only to skip the build by buildbots and not waste further the resources. Signed-off-by: Tomasz Maciej Nowak --- I'll keep this target in good condition in forseable future. If a

[PATCH 4/5] kernel: move some drm symbols to generic config

2021-06-13 Thread Tomasz Maciej Nowak
These are architecture independent, so move them to generic config. Signed-off-by: Tomasz Maciej Nowak --- target/linux/at91/sama5/config-default | 1 - target/linux/generic/config-5.10 | 2 ++ target/linux/generic/config-5.4| 1 + target/linux/omap/config-5.4 | 1

[PATCH 2/5] tegra: copy files for kernel 5.10

2021-06-13 Thread Tomasz Maciej Nowak
Dumb copy of current kernel 5.4 config and patches. Signed-off-by: Tomasz Maciej Nowak --- target/linux/tegra/config-5.10| 479 ++ ...interrupts-due-to-tegra2-silicon-bug.patch | 77 +++ ...enable-front-panel-leds-in-TrimSlice.patch | 46 ++ 3 files changed

[PATCH 3/5] tegra: add support for kernel 5.10

2021-06-13 Thread Tomasz Maciej Nowak
Mark it as testing for now. Signed-off-by: Tomasz Maciej Nowak --- target/linux/tegra/Makefile | 2 +- target/linux/tegra/config-5.10| 26 +++ ...enable-front-panel-leds-in-TrimSlice.patch | 4 +-- 3 files changed, 24 insertions(+), 8

<    1   2   3   4   5   6   >