Re: [OpenWrt-Devel] [PATCH] ath79: use downstream ag71xx for Kernel 5.4

2020-03-12 Thread Steve Brown
Hi David, On Fri, 2020-03-13 at 01:07 +0100, David Bauer wrote: > The ag71xx driver from Linux 5.4 currently has various shortcomings > when used with OpenWrt compared to our downstream version. > > For example, the upstream driver does not support modifying the > ethernet > clock and

[OpenWrt-Devel] [PATCH 3/3] zynq: switch to kernel 5.4

2020-03-12 Thread Luis Araneda
Use kernel 5.4 by default compile-tested: all devices from target run-tested: Digilent Zybo Z7-20 Signed-off-by: Luis Araneda --- target/linux/zynq/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/zynq/Makefile b/target/linux/zynq/Makefile index

[OpenWrt-Devel] [PATCH 1/3] zynq: copy config from kernel 4.19 to 5.4

2020-03-12 Thread Luis Araneda
Refreshed kernel 4.19 config before copying the file Signed-off-by: Luis Araneda --- target/linux/zynq/config-5.4 | 655 +++ 1 file changed, 655 insertions(+) create mode 100644 target/linux/zynq/config-5.4 diff --git a/target/linux/zynq/config-5.4

[OpenWrt-Devel] [PATCH 2/3] zynq: refresh kernel 5.4 config

2020-03-12 Thread Luis Araneda
By running make kernel_oldconfig and selecting relevant options Signed-off-by: Luis Araneda --- target/linux/zynq/config-5.4 | 50 +--- 1 file changed, 30 insertions(+), 20 deletions(-) diff --git a/target/linux/zynq/config-5.4 b/target/linux/zynq/config-5.4

[OpenWrt-Devel] [PATCH 0/3] zynq: add support for kernel 5.4

2020-03-12 Thread Luis Araneda
This series adds support for kernel 5.4 to zynq target. Compile-tested: all devices from target Run-tested: Digilent Zybo Z7-20 Luis Araneda (3): zynq: copy config from kernel 4.19 to 5.4 zynq: refresh kernel 5.4 config zynq: switch to kernel 5.4 target/linux/zynq/Makefile | 2 +-

[OpenWrt-Devel] [PATCH] ath79: use downstream ag71xx for Kernel 5.4

2020-03-12 Thread David Bauer
The ag71xx driver from Linux 5.4 currently has various shortcomings when used with OpenWrt compared to our downstream version. For example, the upstream driver does not support modifying the ethernet clock and configuring RGMII delays on the MAC side. While we should certainly switch to the

Re: [OpenWrt-Devel] [PATCH v6] build: refactor JSON info files to `profiles.json`

2020-03-12 Thread Paul Spooren
On Thu Mar 12, 2020 at 2:55 AM PST, Paul Spooren wrote: > JSON info files contain machine readable information of built profiles > and resulting images. These files where added via 881ed09ee6e2. They are > useful for firmware wizards and script checking for reproducibility. > > Currently all JSON

[OpenWrt-Devel] [PATCH v6] build: refactor JSON info files to `profiles.json`

2020-03-12 Thread Paul Spooren
JSON info files contain machine readable information of built profiles and resulting images. These files where added via 881ed09ee6e2. They are useful for firmware wizards and script checking for reproducibility. Currently all JSON files are stored next to the built images, resulting in up to 168

[OpenWrt-Devel] cyclic dependency for /lib/functions.sh and /lib/functions/system.sh in special case

2020-03-12 Thread Adrian Schmutzler
Hi, I just wanted to source /lib/functions.sh in /lib/functions/system.sh (base-files package), as several functions in the latter require the former and it's annoying (and untidy) to have to include both files in several places. However, I realized that currently /lib/functions/system.sh is

[OpenWrt-Devel] mtd-split, spi-nor, squashfs and jffs2

2020-03-12 Thread Andrey Melnikov
Hello. Can someone explain me logic of generic/pending-4.14/411-mtd-partial_eraseblock_write.patch memory management? hardware: tp-link mr3040 v2 with 16Mb spi-nor flash and 32Mb DDR memory (u-boot by pepe2k), kernel-4.14.171 (OpenWrt GCC 9.2.0 r12470-dfb7a4ce5d) flash organisation: [

Re: [OpenWrt-Devel] [PATCH] kernel: drop downstream support for mtd unaligned writes

2020-03-12 Thread Tomasz Maciej Nowak
Hi Rafał. W dniu 09.03.2020 o 12:43, Rafał Miłecki pisze: > From: Rafał Miłecki > > This code was developed 10+ years ago to support few specific devices. > It doesn't match current mtd architecture and is probably/hopefully not > needed anymore. Unfortunately it is needed for currently

Re: [OpenWrt-Devel] [PATCH v2 00/12] dm-verity support

2020-03-12 Thread Thomas Petazzoni
Hello, I have received absolutely no feedback on this v2. Would it be possible to get these patches reviewed or merged ? Thanks a lot, Thomas Petazzoni On Fri, 20 Dec 2019 15:04:32 +0100 Thomas Petazzoni wrote: > Hello, > > On Thu, 21 Nov 2019 17:23:10 +0100 > Thomas Petazzoni wrote: > >

Re: [OpenWrt-Devel] [PATCH 2/5] toolchain/gcc: make GCC9 by default for archs38

2020-03-12 Thread Hauke Mehrtens
On 3/12/20 2:34 PM, Evgeniy Didin wrote: > It is necessary to use GCC9 for building Linux 5.4.x version for > archs38, in GCC8 the critical fixes are missing and ICE appears > during building. Is this problem specific to OpenWrt or is there a general problem with arc Linux and gcc 8.3? Should it

Re: [OpenWrt-Devel] [PATCH 4/5] archs38: remove ath9k-htc package

2020-03-12 Thread Adrian Schmutzler
> -Original Message- > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] On > Behalf Of Evgeniy Didin > Sent: Donnerstag, 12. März 2020 14:35 > To: openwrt-devel@lists.openwrt.org > Cc: Evgeniy Didin ; Hauke Mehrtens > ; Petr Štetiar ; Alexey Brodkin > ; John Crispin >

[OpenWrt-Devel] [PATCH 2/5] toolchain/gcc: make GCC9 by default for archs38

2020-03-12 Thread Evgeniy Didin
It is necessary to use GCC9 for building Linux 5.4.x version for archs38, in GCC8 the critical fixes are missing and ICE appears during building. Signed-off-by: Evgeniy Didin Cc: Alexey Brodkin Cc: Petr Štetiar Cc: Hauke Mehrtens Cc: John Crispin --- toolchain/gcc/Config.version | 1 + 1

[OpenWrt-Devel] [PATCH 1/5] archs38: add kernel 5.4 config

2020-03-12 Thread Evgeniy Didin
Signed-off-by: Evgeniy Didin Cc: Alexey Brodkin Cc: Petr Štetiar Cc: Hauke Mehrtens Cc: John Crispin --- target/linux/archs38/config-5.4 | 309 1 file changed, 309 insertions(+) create mode 100644 target/linux/archs38/config-5.4 diff --git

[OpenWrt-Devel] [PATCH 5/5] kernel: update arc-specific patch

2020-03-12 Thread Evgeniy Didin
This patch updates arc-specific patch by moving declaration of struct object before it's usage. Signed-off-by: Evgeniy Didin --- .../332-arc-add-OWRTDTB-section.patch | 31 --- 1 file changed, 20 insertions(+), 11 deletions(-) diff --git

[OpenWrt-Devel] [PATCH 3/5] archs38: switch to kernel 5.4 by default

2020-03-12 Thread Evgeniy Didin
Signed-off-by: Evgeniy Didin Cc: Alexey Brodkin Cc: Petr Štetiar Cc: Hauke Mehrtens Cc: John Crispin --- target/linux/archs38/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/archs38/Makefile b/target/linux/archs38/Makefile index

[OpenWrt-Devel] [PATCH 0/5] archs38: kernel 5.4 support

2020-03-12 Thread Evgeniy Didin
This patch switches kernel version to 5.4 for archs38. Evgeniy Didin (5): archs38: add kernel 5.4 config toolchain/gcc: make GCC9 by default for archs38 archs38: switch to kernel 5.4 by default archs38: remove ath9k-htc package kernel: update arc-specific patch

[OpenWrt-Devel] [PATCH 4/5] archs38: remove ath9k-htc package

2020-03-12 Thread Evgeniy Didin
Signed-off-by: Evgeniy Didin Cc: Alexey Brodkin Cc: Petr Štetiar Cc: Hauke Mehrtens Cc: John Crispin --- target/linux/archs38/generic/profiles/00-default.mk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/target/linux/archs38/generic/profiles/00-default.mk