[OpenWrt-Devel] Random data on rootfs_data for tp-wr2543nd-v1 only with ath79

2020-01-30 Thread Luiz Angelo Daros de Luca
Hello, I'm trying to debug https://bugs.openwrt.org/index.php?do=details_id=2742. So far, what I discovered: 1) it happens only in master, 19.07 is fine on both ath79 and ar71xx 2) it happens only in ath79. ar71xx is fine in master 3) rootfs_data (mtd4) contents keeps changing on each read. Each

Re: [OpenWrt-Devel] ath79: NAND bad eraseblocks in MikroTik RouterBOARD 922UAGS-5HPacD

2020-01-30 Thread Michal Cieslakiewicz
On Thu, 30 Jan 2020 21:40:43 +0100 "Roger Pueyo Centelles | Guifi.net" wrote: > Hi Michal, > > El 29/1/20 a les 20:07, Michal Cieslakiewicz ha escrit: > > Please try adding 'qca,nand-swap-dma;' to '' section in > > router dts file. This in theory should fix endianness problem. > Yes, that

Re: [OpenWrt-Devel] Netgear R6260 EEPROM location

2020-01-30 Thread David Bauer
Hello Piotr, On 1/30/20 12:57 PM, Piotr Dymacz wrote: >> I'm still waiting for him to send ma a photo of the routers backside, but it >> seems >> we have to dynamically detect the partition map of the devices. I'll look >> into the >> SC_PART_MAP partition and the routers GPL code to find a

[OpenWrt-Devel] [PATCH] iwinfo: add device id for Qualcomm Atheros QCA9990

2020-01-30 Thread Robert Marko
From: Robert Marko Lets add the PCI ID for QCA9990 Signed-off-by: Robert Marko --- hardware.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/hardware.txt b/hardware.txt index c1fe8f3..4c6f3fe 100644 --- a/hardware.txt +++ b/hardware.txt @@ -159,6 +159,7 @@ 0x168c 0x003c 0x168c 0x3223

Re: [OpenWrt-Devel] ath79: NAND bad eraseblocks in MikroTik RouterBOARD 922UAGS-5HPacD

2020-01-30 Thread Roger Pueyo Centelles | Guifi.net 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 --- Hi Michal, El 29/1/20 a les

[OpenWrt-Devel] [RFC/RFT PATCH] ath9k: implement kthread entropy collection for AR5008 and AR9002 PHYs.

2020-01-30 Thread Rui Salvaterra
The mainline ath9k driver is able to provide a hardware random number generator by collecting radio noise from the PHY ADC (using a kthread to fill up the entropy pool as needed). Nevertheless, this feature has only been implemented for the more recent AR9003 PHYs. Meanwhile, OpenWrt has been

Re: [OpenWrt-Devel] [PATCH] ath9k: allow enabling hardware random number generator support.

2020-01-30 Thread Rui Salvaterra
Please ignore this patch too. I'm going to send a more complete one (against master), implementing ath9k-rng support for both AR5008 and AR9002 (in addition to the already supported AR9003). A terça, 28/01/2020, 12:58, Rui Salvaterra escreveu: > Changes since RFC: keep the current entropy patch

[OpenWrt-Devel] [PATCH] mediatek: mt7623: remove left-over fragments of mt7623a-rfb-emmc

2020-01-30 Thread Adrian Schmutzler
The image creation for the mt7623a-rfb-emmc has been removed during a patch refresh without specific comment. The corresponding base-files entries and DTS patches for 4.14 are still there. Since mt7623 is pretty dead and nobody has missed this device, let's just remove the rest. Fixes:

[OpenWrt-Devel] [PATCH procd] instance: Improve missing jail binary message

2020-01-30 Thread Kevin Darbyshire-Bryant
Signed-off-by: Kevin Darbyshire-Bryant --- service/instance.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/service/instance.c b/service/instance.c index e872ba0..b78a65f 100644 --- a/service/instance.c +++ b/service/instance.c @@ -824,7 +824,8 @@

[OpenWrt-Devel] [PATCH v2] firewall3: utils: create a common helper to find strings in files

2020-01-30 Thread Rui Salvaterra
v2: Actually make it work. Use strncmp instead of strcmp (strangely enough, strcmp fails for the ip*names case, but I don't understand why). Both fw3_has_table and fw3_has_target do the same thing. Factor out the common code into a separate function. Signed-off-by: Rui Salvaterra --- utils.c |

Re: [OpenWrt-Devel] Netgear R6260 EEPROM location

2020-01-30 Thread Piotr Dymacz
Hi David, On 30.01.2020 12:36, David Bauer wrote: Hello again, [...] So I'm waiting on feedback from other owners of these boards and using this (more or less) strange fix in the meantime. Robert complained in the meantime, that my fix broke his R6260. He also sent me the partition map of

Re: [OpenWrt-Devel] Netgear R6260 EEPROM location

2020-01-30 Thread David Bauer
Hello again, On 1/30/20 1:11 AM, David Bauer wrote: > Yes, I've checked the partitioning (and it is off). However, I still opted to > push the > other fix, as I'm unsure whether or not the partition mapping is off for all > boards or only > my specific R6260, as the partition map seems to

Re: [OpenWrt-Devel] [PATCH] ramips: ethernet: turn off flow control

2020-01-30 Thread Bjørn Mork
Rosen Penev writes: > On Wed, Jan 29, 2020 at 3:14 PM Rosen Penev wrote: >> > On Jan 29, 2020, at 8:22 AM, Petr Štetiar wrote: >> > >> > I just quickly skimmed through the code and it seems like we've that >> > information already in dmesg: >> > >> > SoC Type: MediaTek MT7688 ver:1 eco:2=