Re: [OpenWrt-Devel] [PATCH] ath79: add support for ZyXEL NWA1123-NI

2019-10-25 Thread Adrian Schmutzler
Hi, > + partition@5 { > + compatible = "denx,uimage"; > + label = "firmware"; > + reg = <0x05 0xF5>; I'd prefer lower-case for the address (and for consistency with your other

[OpenWrt-Devel] [PATCH v4] ramips: add support for Xiaomi Mi Wi-Fi Router 3G v2

2019-10-25 Thread Paul Fertser
- CMIIT ID: 2019AP2581 - SoC: MediaTek MT7621 - Flash:16MiB NOR SPI (GigaDevice GD25Q128B) - RAM: 128MiB DDR3 (ESMT M15T1G1664A) - Serial: As marked on PCB, 3V3 logic, baudrate is 115200, 8n1 - Ethernet: 3x 10/100/1000 Mbps (switched, 2xLAN + WAN) - WIFI0:MT7603E 2.4GHz

[OpenWrt-Devel] [PATCH] ath79: remove redundant mtd-mac-address for wmac

2019-10-25 Thread Adrian Schmutzler
For several devices, wmac MAC address is set from art 0x1002 explicitly by using mtd-mac-address although mtd-cal-data is pulled from art 0x1000. With the MAC address in 0x1002, the driver should automatically use it when reading caldata from 0x1000. Thus, remove the redundant mtd-mac-address for

Re: [OpenWrt-Devel] [PATCH] ath79: remove redundant mtd-mac-address for wmac

2019-10-25 Thread Adrian Schmutzler
> Adrian Schmutzler wrote: > > For several devices, wmac MAC address is set from art 0x1002 > > explicitly by using mtd-mac-address although mtd-cal-data is > > pulled from art 0x1000. > > > > With the MAC address in 0x1002, the driver should automatically > > use it when reading caldata

Re: [OpenWrt-Devel] [PATCH v3] ramips: add support for Xiaomi Mi Wi-Fi Router 3G v2

2019-10-25 Thread Paul Fertser
Hi Roger, Thank you for the review! On Fri, Oct 11, 2019 at 07:14:25PM +0200, Roger Pueyo Centelles | Guifi.net wrote: > + xiaomi,mir3g-v2) > + wan_mac=$(mtd_get_mac_binary factory 0xe006) > + ;; > > You may want to add "label_mac=$wan_mac" there, if the

Re: [OpenWrt-Devel] procd: Increase zram memory allocated for tmpfs

2019-10-25 Thread John Crispin
On 25/10/2019 14:08, alex1...@gmx.net wrote: Dear all, dear John, I have an issue with tmpfs on zram: according to this remark: https://git.openwrt.org/?p=project/procd.git;a=commitdiff;h=7676df3226da5391c2dfda2ed29a40500e04e15b Nathan (incl. in CC of this email) has a hardcoded value for

Re: [OpenWrt-Devel] [PATCH v3] ramips: add support for Xiaomi Mi Wi-Fi Router 3G v2

2019-10-25 Thread Paul Fertser
Hi, On Sat, Aug 31, 2019 at 11:32:33PM +0200, m...@adrianschmutzler.de wrote: > > + xiaomi,mir3g-v2) > > + ucidef_add_switch "switch0" \ > > + "2:lan:2" "3:lan:1" "4:wan" "6t@eth0" > > + ;; > > "6t@eth0" and "6@eth0" should be the same, so this can be

[OpenWrt-Devel] [PATCH fstools] block: use fsck.fat instead of dosfsck

2019-10-25 Thread Yousong Zhou
Dosfsck is only available when --enable-compat-symlinks was given when configuring dosfstools. These symlinks are not enabled in OpenWrt dosfstools package Suggested by Reiner Otto in FS#2408 Signed-off-by: Yousong Zhou --- block.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[OpenWrt-Devel] procd: Increase zram memory allocated for tmpfs

2019-10-25 Thread alex1452
Dear all, dear John,   I have an issue with tmpfs on zram: according to this remark: https://git.openwrt.org/?p=project/procd.git;a=commitdiff;h=7676df3226da5391c2dfda2ed29a40500e04e15b Nathan (incl. in CC of this email) has a hardcoded value for zram0 for tmp.   With inreasing RAM sizes

Re: [OpenWrt-Devel] [PATCH v3] ramips: add support for Xiaomi Mi Wi-Fi Router 3G v2

2019-10-25 Thread Adrian Schmutzler
Hi, > > > + xiaomi,mir3g-v2) > > > + wan_mac=$(mtd_get_mac_binary factory 0xe006) > > > + ;; > > > > This can be merged with elecom,wrc-1167ghbk2-s|\ etc. > > I rebased to current master and added label_mac (as per Roger's > suggestion), and since I can not be sure about all the

[OpenWrt-Devel] [PATCH 1/2] ramips: remove redundant mtd-mac-address for WiFi

2019-10-25 Thread Adrian Schmutzler
When caldata locations are defined with mediatek,mtd-eeprom the MAC address is automatically read from offset +4. Thus, specifying that location explicitly is redundant. This patch removes those redundant definitions. Signed-off-by: Adrian Schmutzler --- Not tested on device. ---

[OpenWrt-Devel] [PATCH 2/2] ramips: remove redundant mtd-eeprom in mt76x8 DTS files

2019-10-25 Thread Adrian Schmutzler
In mt7628an.dtsi, calibration data for wmac is already defined: mediatek,mtd-eeprom = < 0x0>; Thus, this patch removes redundant entries of this property in derived DTS files. Signed-off-by: Adrian Schmutzler --- Question: While this is mediatek, several DTS files contained ralink,mtd-eeprom

Re: [OpenWrt-Devel] [PATCH] ramips: add support for Asus RT-AC65P

2019-10-25 Thread Adrian Schmutzler
Hi, > + led_power: power { > + label = "rt-ac85p:blue:power"; > + gpios = < 4 GPIO_ACTIVE_LOW>; > + linux,default-trigger = "phy0tpt"; > + }; just found this, set for RT-AC65P and RT-AC85P. Any reason why the

[OpenWrt-Devel] [PATCH fstools v2] libblkid-tiny: ntfs: fix use-after-free

2019-10-25 Thread Yousong Zhou
The memory pointed to by ns can be reallocated when checking mft records Fixes FS#2129 Signed-off-by: Yousong Zhou --- v2 <- v1 -Fix bad DBG() call in previous patch missing volume_serial as arg libblkid-tiny/ntfs.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff

Re: [OpenWrt-Devel] [PATCH] ramips: add support for Asus RT-AC65P

2019-10-25 Thread Birger Koblitz
No. I think this is a bug. Birger On 25 October 2019 12:26:34 CEST, Adrian Schmutzler wrote: >Hi, > >> +led_power: power { >> +label = "rt-ac85p:blue:power"; >> +gpios = < 4 GPIO_ACTIVE_LOW>; >> +linux,default-trigger =

[OpenWrt-Devel] [PATCH] ramips: remove phy0tpt trigger from RT-AC65P/RT-AC85P power LED

2019-10-25 Thread Adrian Schmutzler
This patch removes a phy0tpt trigger from the power LED, which seems to have been added by mistake. WiFi LEDs using phy0radio and phy1radio triggers are present and used correctly. Cc: Birger Koblitz Signed-off-by: Adrian Schmutzler --- target/linux/ramips/dts/mt7621_asus_rt-acx5p.dtsi | 1 -

[OpenWrt-Devel] [PATCH fstools] libblkid-tiny: ntfs: fix use-after-free

2019-10-25 Thread Yousong Zhou
The memory pointed to by ns can be reallocated when checking mft records Signed-off-by: Yousong Zhou --- libblkid-tiny/ntfs.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/libblkid-tiny/ntfs.c b/libblkid-tiny/ntfs.c index 3a9d5cb..dfe22e2 100644 ---

Re: [OpenWrt-Devel] [PATCH] ath79: remove redundant mtd-mac-address for wmac

2019-10-25 Thread Jeff Kletsky
On 10/25/19 4:38 AM, Adrian Schmutzler wrote: For several devices, wmac MAC address is set from art 0x1002 explicitly by using mtd-mac-address although mtd-cal-data is pulled from art 0x1000. With the MAC address in 0x1002, the driver should automatically use it when reading caldata from

Re: [OpenWrt-Devel] [PATCH] ath79: add support for ZyXEL NWA1123-NI

2019-10-25 Thread 'Patrick Supper'
Hello, thank you for reviewing. I just changed the address and ART-Label to lowercase in my source => fixed. ### Regarding the cal-data of the pcie-wifi (AR9382): It seems to me it has some kind of EEPROM, from OEM-BootLog: wmac-wifi: "Using Cal data from Flash 0xbfff" pcie-wifi: "Using

[OpenWrt-Devel] Radiologists Database.

2019-10-25 Thread Amber Burns
Hi, I wanted to check if you'd be interested in procuring records of Radiologists? If you are interested let me know your target geography so, that I can revert with counts and pricing. Awaiting for your quick response. Regards, Amber Burns Marketing Manager If you do not

[OpenWrt-Devel] [PATCH] octeontx: fix thunderx BGX underflow irq name

2019-10-25 Thread Tim Harvey
request_irq requires irq names to be static/allocated and not on the stack Signed-off-by: Tim Harvey --- ...1-net-thunderx-workaround-BGX-TX-Underflow-issue.patch | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git

Re: [OpenWrt-Devel] [PATCH] ath79: remove redundant mtd-mac-address for wmac

2019-10-25 Thread mail
> -Original Message- > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] > On Behalf Of Adrian Schmutzler > Sent: Freitag, 25. Oktober 2019 13:39 > To: openwrt-devel@lists.openwrt.org > Subject: [OpenWrt-Devel] [PATCH] ath79: remove redundant mtd-mac- > address for wmac