Re: [PATCH] uboot-lantiq: danube: fix hanging lzma kernel uncompression

2021-11-02 Thread Mathias Kresin
11/2/21 11:52 PM, Hauke Mehrtens: On 11/2/21 11:35 PM, Mathias Kresin wrote: At least since gcc 7.3.0 (OpenWrt 18.06) lwr/lwl are used in the assembly  of LzmaProps_Decode. The instructions are using unaligned access, which locks up danube boards using memory mapped NOR flash. It isn't clear wh

Re: [PATCH] uboot-lantiq: danube: fix hanging lzma kernel uncompression

2021-11-02 Thread Hauke Mehrtens
On 11/2/21 11:35 PM, Mathias Kresin wrote: At least since gcc 7.3.0 (OpenWrt 18.06) lwr/lwl are used in the assembly of LzmaProps_Decode. The instructions are using unaligned access, which locks up danube boards using memory mapped NOR flash. It isn't clear whether it is a limitation of the fla

awk problem on pistachio (24kc+24kf)

2021-11-02 Thread Hauke Mehrtens
Hi, On pistachio sysupgrade in master fails and I got down to a problem with awk. This command returns different results on pistachio compared to other targets: echo "mtd2: 2000 1000 \"uEnv\"" | awk -F: '{print $1}' When I execute this on an lantiq/xrx200 or mt7622 device I get thi

[PATCH] uboot-lantiq: fix out of bounds cache invalidate

2021-11-02 Thread Mathias Kresin
If u-boot is compiled with gcc 10+ the relevant part of the memory is used as following: variable BootFile is at address: 0x83ffe4ec variable data is at address: 0x83ffdee2 variable data has len: 0x600 Within invalidate_dcache_range() the cache covering the data variable should be i

[PATCH] uboot-lantiq: danube: fix SPL boot

2021-11-02 Thread Mathias Kresin
On danube we only have 0x6800 bytes of usable SRAM. Everything behind can't be written to and a SPL u-boot locks up during boot. Since it's a hard to debug issue and took me more than two years to fix it, I consider it worth to include fix albeit SPL u-boots are not build in OpenWrt. I faced the

[PATCH] uboot-lantiq: danube: fix hanging lzma kernel uncompression

2021-11-02 Thread Mathias Kresin
At least since gcc 7.3.0 (OpenWrt 18.06) lwr/lwl are used in the assembly of LzmaProps_Decode. The instructions are using unaligned access, which locks up danube boards using memory mapped NOR flash. It isn't clear whether it is a limitation of the flash chip or a limitation of the EBU. Moving t

[PATCH] arc770: update kernel version to 5.10

2021-11-02 Thread Evgeniy via openwrt-devel
The sender domain has a DMARC Reject/Quarantine policy which disallows sending mailing list messages using the original "From" header. To mitigate this problem, the original message has been wrapped automatically by the mailing list software.--- Begin Message --- From: Evgeniy Didin Update confi

[PATCH v2] ramips: add support for Wavlink WL-WN576A2

2021-11-02 Thread dev . aldrian
From: Thomas Aldrian This commit adds support for the Wavlink WL-WN576A2 wall-plug wireles repeater / router. It is also sold under the name SilverCrest SWV 733 B1. Device specs: - CPU: MediaTek MT7628AN - Flash: 8MB - RAM: 64MB - Bootloader: U-Boot - Ethernet: 1x 10/100 Mbps - 2.4 GHz: b/g/n S

Re: RFC: layerscape: update to kernel 5.10

2021-11-02 Thread Hauke Mehrtens
On 11/2/21 11:49 AM, Martin Schiller wrote: I have now found the cause of my boot problems with linux 5.10. (see [1] for reference) By changing the TEXT_OFFSET to 0x0 (instead of 0x8 before) in the upstream commit [2] and deactivated kernel option CONFIG_RELOCATABLE the system could not b

Re: [PATCH] ramips: add support for Wavlink WL-WN576A2

2021-11-02 Thread dev . aldrian
Hi, Sorry for the delay, I will send the updated patch ASAP. Regards, Thomas On Sat, 2021-10-30 at 21:04 +0200, Adrian Schmutzler wrote: > Hi, > > Generally fine, a few remarks below. > > Should be good to merge after those are resolved. > > [..] > > Best > > Adrian > > ___

[PATCH] wireless: fix mode checking in for_each_interface

2021-11-02 Thread Jean-Pierre TOSONI
When searching through wifi-ifaces for specific modes, the mode string must be compared as a full word. So, add spaces around the searched name. Else, adding a future new mode like "newap" or "apdetector" which embed an existing "ap" mode string, will end in detecting the wrong interface. This wa

[PATCH] archs38: update kernel version to 5.10

2021-11-02 Thread Evgeniy via openwrt-devel
The sender domain has a DMARC Reject/Quarantine policy which disallows sending mailing list messages using the original "From" header. To mitigate this problem, the original message has been wrapped automatically by the mailing list software.--- Begin Message --- From: Evgeniy Didin Update confi

RFC: layerscape: update to kernel 5.10

2021-11-02 Thread Martin Schiller
I have now found the cause of my boot problems with linux 5.10. (see [1] for reference) By changing the TEXT_OFFSET to 0x0 (instead of 0x8 before) in the upstream commit [2] and deactivated kernel option CONFIG_RELOCATABLE the system could not boot. Thus, we now need to set the KERNEL_LOA