[OpenWrt-Devel] [PATCH] kernel: remove symbols from 5.10 no longer present on upstream

2021-03-03 Thread Luis Araneda
REFCOUNT_FULL was removed for linux 5.5: commit fb041bb7c0a9 (locking/refcount: Consolidate implementations of refcount_t) COMMON_CLK_VERSATILE was removed on linux 5.8: commit 5f55f1fb187d (clk: versatile: Fix kconfig dependency on COMMON_CLK_VERSATILE) Signed-off-by: Luis Araneda --- target

[PATCH] iproute2: fix build with a newer toolchain

2021-03-03 Thread Rui Salvaterra
GCC 10.2.0 complains loudly of missing limits.h. Add a patch to fix this. Signed-off-by: Rui Salvaterra --- .../050-fix-build-include-limits.patch| 23 +++ 1 file changed, 23 insertions(+) create mode 100644 package/network/utils/iproute2/patches/050-fix-build-include-l

[PATCH] generic: config-5.10: add missing symbols

2021-03-03 Thread Ilya Lipnitskiy
Add symbols missing after latest crypto.mk and WireGuard changes. Signed-off-by: Ilya Lipnitskiy --- target/linux/generic/config-5.10 | 7 +++ 1 file changed, 7 insertions(+) diff --git a/target/linux/generic/config-5.10 b/target/linux/generic/config-5.10 index 1aa015a2b5..f4947766b7 100644

[PATCH 5/6] mediatek: mt7622: use ptgen generated MBR header

2021-03-03 Thread Oskari Lemmela
mt7622 uses MBR partition for booting from SD card. Add hybrid MBR entry with boot flag after PMBR entry. Signed-off-by: Oskari Lemmela --- target/linux/mediatek/image/mt7622.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/mediatek/image/mt7622.mk b/targe

[PATCH 1/6] firmware-utils/ptgen: fix compile warnings

2021-03-03 Thread Oskari Lemmela
remove extra arguments from printf message Signed-off-by: Oskari Lemmela --- tools/firmware-utils/src/ptgen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/firmware-utils/src/ptgen.c b/tools/firmware-utils/src/ptgen.c index 93c2d32a3f..a55f2e7a14 100644 --- a/tool

[PATCH] bmips: add NAND devices from bcm63xx

2021-03-03 Thread Daniel González Cabanelas
Add devices from the bcm63xx NAND subtarget: - Sercomm AD1018 v1 / v2 - Sercomm H500-s lowi - Sercomm H500-s vfes - Comtrend VG-8050 - Huawei HG253s v2 They're all already supported, just adapt them for the new WiP bmips target. Signed-off-by: Daniel González Cabanelas --- .../dts/bcm63167

Re: [PATCH 0/6] firmware-utils/ptgen: improvements

2021-03-03 Thread Daniel Golle
Hi Oskari, On Tue, Mar 02, 2021 at 09:42:05PM +0200, Oskari Lemmela wrote: > - Clean compile warnings > - Fix GPT guid and EFI System Partition naming > - Add support for hybrid MBR partitions > - Use LBA addressing for GPT and don't leave >gaps between partitions. > - use hybrid partiti

[PATCH 6/6] mediatek: mt7622: change image generation

2021-03-03 Thread Oskari Lemmela
- set only one EFI system partition - use shorter path for DEVICE_DTS file Signed-off-by: Oskari Lemmela --- target/linux/mediatek/image/mt7622.mk | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/target/linux/mediatek/image/mt7622.mk b/target/linux/mediatek/imag

[PATCH] generic: config-5.10: add missing symbol

2021-03-03 Thread Ilya Lipnitskiy
Signed-off-by: Ilya Lipnitskiy --- target/linux/generic/config-5.10 | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/generic/config-5.10 b/target/linux/generic/config-5.10 index 1aa015a2b5..61c591a00a 100644 --- a/target/linux/generic/config-5.10 +++ b/target/linux/generic/config-

Re: [RFC PATCH] ext-toolchain: add C wrapper for external toolchain

2021-03-03 Thread Ye Holmes
This is an update of original RFC, it changes the added configuration option from TOOLCHAIN_LTO_AR_RANLIB to TOOLCHAIN_LTO_ARCHIVE_FIXUP, and simplifies the C implementation of external toolchain wrapper. I've tested a pair of external toolchains, one from ARM, another from linaro.org, they both

Re: Unnecessary extension of default packeges for x86 generic

2021-03-03 Thread Alberto Bursi
On 02/03/21 08:27, Florian Eckert wrote: Hello Alberto, Thank you for the explanation. If that is so then we should also remove the vmware driver as a kmod package [1]. That makes no sense if this is then already in the kernel enabled [2]. Kind Regards Florian [1] https://github.com/ope

[PATCH v2] bmips: add NAND devices from bcm63xx

2021-03-03 Thread Daniel González Cabanelas
Add NAND based devices from the bcm63xx target: - Sercomm AD1018 v1 / v2 - Sercomm H500-s lowi - Sercomm H500-s vfes - Comtrend VG-8050 - Huawei HG253s v2 They're all already supported, just adapt them for the new WiP bmips target. Signed-off-by: Daniel González Cabanelas --- Changes in v2:

RE: Circular dependency due to backport from master

2021-03-03 Thread Adrian Schmutzler
Hi, > -Original Message- > From: Henrique de Moraes Holschuh [mailto:henri...@nic.br] > Sent: Dienstag, 2. März 2021 12:55 > To: Adrian Schmutzler > Cc: 'OpenWrt Development List' > Subject: Re: Circular dependency due to backport from master > > On 01/03/2021 18:35, Adrian Schmutzler w

Lists moved

2021-03-03 Thread David Woodhouse
After another disk failure on the box previously hosting lists.infradead.org, This time, I have backups! I have shifted mailman service to a new machine. The DNS for lists.openwrt.org has been updated and has a fairly short TTL so should be working everywhere within about half an hour. Please let

[PATCH v2] kernel/modules: fix CDC NCM dependencies

2021-03-03 Thread Rui Salvaterra
CDC NCM support only depends on CDC Ethernet with Linux 5.10. Fix thusly. Signed-off-by: Rui Salvaterra --- v2: Invert the kernel version check. package/kernel/linux/modules/usb.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/kernel/linux/modules/usb.mk b/package

[PATCH 4/6] firmware-utils/ptgen: change GPT to LBA addressing

2021-03-03 Thread Oskari Lemmela
Do not align partitions with sectors. Only kb align for GPT is supported. Use 254 heads and 63 sectors for PMBR. Signed-off-by: Oskari Lemmela --- tools/firmware-utils/src/ptgen.c | 33 +++- 1 file changed, 20 insertions(+), 13 deletions(-) diff --git a/tools/firmwa

[PATCH 0/6] firmware-utils/ptgen: improvements

2021-03-03 Thread Oskari Lemmela
- Clean compile warnings - Fix GPT guid and EFI System Partition naming - Add support for hybrid MBR partitions - Use LBA addressing for GPT and don't leave gaps between partitions. - use hybrid partitions for mt7622 image generation Oskari Lemmela (6): firmware-utils/ptgen: fix compil

[PATCH 2/6] firmware-utils/ptgen: fix partition guid and name

2021-03-03 Thread Oskari Lemmela
guid and name function should be called before storing partition info. Signed-off-by: Oskari Lemmela --- tools/firmware-utils/src/ptgen.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/firmware-utils/src/ptgen.c b/tools/firmware-utils/src/ptgen.c index a55f2e7a14.

[PATCH 3/6] firmware-utils/ptgen: add support for hybrid MBR

2021-03-03 Thread Oskari Lemmela
Adding -H option copies partition to MBR after pmbr entry. Max 3 partitions can be copied to MBR. Hybrid MBR is needed only in special cases. For example mt7622 SD card boot needs MBR entry with boot flag enabled. Signed-off-by: Oskari Lemmela --- tools/firmware-utils/src/ptgen.c | 39 +

Re: Circular dependency due to backport from master

2021-03-03 Thread Henrique de Moraes Holschuh
On 01/03/2021 18:35, Adrian Schmutzler wrote: Thanks for reporting, I was completely unaware. Thanks for the quick response! I've simply reverted my patch, since I don't think it's worth messing with the dependencies further given the age of 19.07, and 21.02 implements it properly. I am not