[OpenWrt-Devel] [PATCH] ath79: sort device definitions in image/*

2019-08-22 Thread Adrian Schmutzler
This applies alphabetic sorting to devices in image/* files. For certain cases, this patch deviates from strict sorting, e.g. to ensure that v10 comes after v9. While at it, fix an indent and remove some useless empty lines. Signed-off-by: Adrian Schmutzler --- It would be nice if this was

[OpenWrt-Devel] [PATCH] lantiq: sort device definitions in image/Makefile

2019-08-22 Thread Adrian Schmutzler
This sorts the device definitions in image/Makefile alphabetically for each subtarget/block. The order of blocks has not been touched. Signed-off-by: Adrian Schmutzler --- During updating lantiq to DEVICE_VENDOR/DEVICE_MODEL scheme, it became obvious that there is almost no sorting left in

[OpenWrt-Devel] [PATCH] ramips: remove RAM size from device name for UniElec devices

2019-08-16 Thread Adrian Schmutzler
igned-off-by: Adrian Schmutzler --- target/linux/ramips/base-files/etc/board.d/01_leds| 2 +- target/linux/ramips/base-files/etc/board.d/02_network | 6 +++--- ...6-256m-16m.dts => mt7621_unielec_u7621-06-16m.dts} | 4 ++-- ...6-512m-64m.dts => mt7621_unielec_u7621-06-64m.dts} | 4 ++

[OpenWrt-Devel] Introduce label MAC address

2019-08-15 Thread Adrian Schmutzler
Hi, some time ago, I've started an attempt to bring MAC addresses typically found on "router" device labels/stickers to OpenWrt. As for the MAC address setup itself, this is based on DTS for all the devices where it can be exploited, and on 02_network for the rest. Since the patches are "ready

[OpenWrt-Devel] MAC addresses read by ralink,mtd-eeprom

2019-08-15 Thread Adrian Schmutzler
Hi, just a simple question: My current understanding of ralink,mtd-eeprom for &wmac is that this reads the MAC address "automatically" if it's in the correct location (start+4). Does this mean that e.g. in the following configuration I can tell that &wmac and ðernet have the _same_ MAC address

[OpenWrt-Devel] [PATCH] ath79: remove SUPPORTED_DEVICES for TP-Link Archer D50 v1

2019-08-14 Thread Adrian Schmutzler
This device has not been supported in ar71xx, so there is no need for an explicit SUPPORTED_DEVICES entry. Signed-off-by: Adrian Schmutzler --- target/linux/ath79/image/generic-tp-link.mk | 1 - 1 file changed, 1 deletion(-) diff --git a/target/linux/ath79/image/generic-tp-link.mk b/target

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

2019-08-13 Thread Adrian Schmutzler
> -Original Message- > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] On > Behalf Of Paul Fertser > Sent: Dienstag, 13. August 2019 18:59 > To: John Crispin > Cc: Paul Fertser ; openwrt-devel@lists.openwrt.org > Subject: [OpenWrt-Devel] [PATCH] ramips: add support fo

Re: [OpenWrt-Devel] [PATCH v6] ath79: add support of Netgear WNDR3800CH

2019-08-13 Thread Adrian Schmutzler
dd support of Netgear WNDR3800CH > > Add support for the ar71xx supported Netgear WNDR3800CH to ath79. > The device is identical to WNDR3800 except NETGEAR_BOARD_ID. > > Signed-off-by: Dmitry Tunin Reviewed-by: Adrian Schmutzler Simple patch, no need to have this lying around foreve

Re: [OpenWrt-Devel] [PATCH v4 0/5] ath79: add support for some Netgear WNR routers

2019-08-13 Thread Adrian Schmutzler
> -Original Message- > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] On > Behalf Of Michal Cieslakiewicz > Sent: Dienstag, 13. August 2019 10:47 > To: openwrt-devel@lists.openwrt.org > Cc: Adrian Schmutzler > Subject: [OpenWrt-Devel] [PAT

Re: [OpenWrt-Devel] [PATCH v4 4/5] ath79: add support for Netgear WNR1000 v2

2019-08-13 Thread Adrian Schmutzler
Hi, > + keys { > + compatible = "gpio-keys-polled"; > + poll-interval = <20>; > + I'd use "ath9k-keys" here and also in 5/5 ... Best Adrian openpgp-digital-signature.asc Description: PGP signature ___ openwrt-devel mailin

Re: [OpenWrt-Devel] [PATCH v4 3/5] ath79: add support for Netgear WNR2000 v3

2019-08-13 Thread Adrian Schmutzler
> -Original Message- > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] On > Behalf Of Michal Cieslakiewicz > Sent: Dienstag, 13. August 2019 10:52 > To: openwrt-devel@lists.openwrt.org > Cc: Adrian Schmutzler > Subject: [OpenWrt-Devel] [PAT

Re: [OpenWrt-Devel] [PATCH v3 5/5] ath79: add support for Netgear WNR2200

2019-08-12 Thread Adrian Schmutzler
> -Original Message- > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] On > Behalf Of Michal Cieslakiewicz > Sent: Sonntag, 11. August 2019 22:48 > To: openwrt-devel@lists.openwrt.org > Cc: Adrian Schmutzler > Subject: [OpenWrt-Devel] [PAT

Re: [OpenWrt-Devel] [PATCH v3 4/5] ath79: add support for Netgear WNR1000 v2

2019-08-12 Thread Adrian Schmutzler
> -Original Message- > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] On > Behalf Of Michal Cieslakiewicz > Sent: Sonntag, 11. August 2019 22:46 > To: openwrt-devel@lists.openwrt.org > Cc: Adrian Schmutzler > Subject: [OpenWrt-Devel] [PAT

Re: [OpenWrt-Devel] [PATCH v3 3/5] ath79: add support for Netgear WNR2000 v3

2019-08-12 Thread Adrian Schmutzler
Hi, comments below, too: > diff --git > a/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom > b/target/linux/ath79/base- > files/etc/hotplug.d/firmware/10-ath9k-eeprom > index ec597dd1d4..747c1aab58 100644 > --- a/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-e

Re: [OpenWrt-Devel] [PATCH v3 2/5] ath79: WNR612v2: improve device support

2019-08-12 Thread Adrian Schmutzler
Hi, just two annotations below. > - uboot: partition@0 { > + partition@0 { You could also just keep it. But that's just a matter of taste. > &pcie { > @@ -116,6 +122,8 @@ > ath9k: wifi@0,0 { > compatible = "pci168c,002b"; >

[OpenWrt-Devel] [PATCH v2] ath79: convert devices to interrupt-driven gpio-keys

2019-08-10 Thread Adrian Schmutzler
This converts all remaining devices to use interrupt-driven gpio-keys compatible instead of gpio-keys-polled. The poll-interval is removed. Only ar7240_netgear_wnr612-v2 is kept at gpio-keys-polled, as this one is using ath9k keys. Signed-off-by: Adrian Schmutzler --- Changed in v2: - Rebased

[OpenWrt-Devel] [PATCH v3 2/2] treewide: convert WiFi caldata size and offset to hexadecimal

2019-08-09 Thread Adrian Schmutzler
has to convert back to decimal by simple $(($hexnum)). Acked-by: Alexander Couzens Signed-off-by: Adrian Schmutzler --- Changes in v2/v3: - Rebase --- .../etc/hotplug.d/firmware/10-ath9k-eeprom| 22 +++--- .../etc/hotplug.d/firmware/10-ath9k-eeprom| 46 ++-- .../etc/hotplug.d

[OpenWrt-Devel] [PATCH v3 1/2] treewide: convert MAC address location offsets to hexadecimal

2019-08-09 Thread Adrian Schmutzler
useful than 4102 and 20486) Acked-by: Alexander Couzens Signed-off-by: Adrian Schmutzler --- Changes in v2/v3: - Rebase --- .../etc/hotplug.d/firmware/10-ath9k-eeprom| 4 +- .../lib/preinit/05_set_iface_mac_apm821xx | 2 +- .../ar71xx/base-files/etc/board.d/02_network | 10

[OpenWrt-Devel] [PATCH] ath79: add missing IMAGE_SIZE for Comfast WR650AC v1/v2

2019-08-09 Thread Adrian Schmutzler
When adding support in 9ed272fe9500 ("ath79: add support for Comfast WR650AC v1/v2"), IMAGE_SIZE has not been added to device definition. Signed-off-by: Adrian Schmutzler --- target/linux/ath79/image/generic.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/target/linux/a

[OpenWrt-Devel] [PATCH v2 1/2] treewide: convert MAC address location offsets to hexadecimal

2019-08-09 Thread Adrian Schmutzler
useful than 4102 and 20486) Acked-by: Alexander Couzens Signed-off-by: Adrian Schmutzler --- Changes in v2: - Rebase --- .../etc/hotplug.d/firmware/10-ath9k-eeprom| 4 +- .../lib/preinit/05_set_iface_mac_apm821xx | 2 +- .../ar71xx/base-files/etc/board.d/02_network | 10 ++--- .../etc

[OpenWrt-Devel] [PATCH v2 2/2] treewide: convert WiFi caldata size and offset to hexadecimal

2019-08-09 Thread Adrian Schmutzler
has to convert back to decimal by simple $(($hexnum)). Acked-by: Alexander Couzens Signed-off-by: Adrian Schmutzler --- Changes in v2: - Rebase --- .../etc/hotplug.d/firmware/10-ath9k-eeprom| 22 +++--- .../etc/hotplug.d/firmware/10-ath9k-eeprom| 46 ++-- .../etc/hotplug.d

[OpenWrt-Devel] [PATCH] ath79: fix whitespace errors from adding D-Link DIR-842 C3

2019-08-09 Thread Adrian Schmutzler
We completely overlooked whitespace errors when reviewing 796ad2f7ef6f ("ath79: add support for D-Link DIR-842 C3"). Fix them and and also fix Makefile indent for C1/C2. Signed-off-by: Adrian Schmutzler --- .../ath79/base-files/etc/board.d/02_network| 4 ++-- .../etc/hotplug.d/f

[OpenWrt-Devel] [PATCH] build: fix indent in image-commands.mk

2019-08-09 Thread Adrian Schmutzler
Convert leading spaces to tab to match rest of the file. Signed-off-by: Adrian Schmutzler --- include/image-commands.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/image-commands.mk b/include/image-commands.mk index 06c084c48b..89c17aec5b 100644 --- a/include

[OpenWrt-Devel] [PATCH] ath79: add missing IMAGE_SIZE for Comfast E314N-v2

2019-08-09 Thread Adrian Schmutzler
When adding support in abbbecaa73dc ("ath79: add support for Comfast E314N-v2"), IMAGE_SIZE has not been added to device definition. Signed-off-by: Adrian Schmutzler --- target/linux/ath79/image/generic.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/ath79/image/

Re: [OpenWrt-Devel] [PATCH 1/2] treewide: convert MAC address location offsets to hexadecimal

2019-08-08 Thread Adrian Schmutzler
> From: Alexander Couzens [mailto:lyn...@fe80.eu] > Sent: Montag, 5. August 2019 23:24 > To: Adrian Schmutzler > Cc: openwrt-devel@lists.openwrt.org > Subject: Re: [OpenWrt-Devel] [PATCH 1/2] treewide: convert MAC address > location offsets to hexadecimal > > On Mon,  5

Re: [OpenWrt-Devel] [PATCH 2/3] ath79: fix IMAGE_SIZE for common TP-Link definitions

2019-08-08 Thread Adrian Schmutzler
> > Correct me if I'm wrong but I thought all the data beyond IMAGE_SIZE > > remain intact by OpenWrt on firstboot. Experimenting with Archer C7 v1 > > recently I was able to flash OpenWrt image (ar71xx) and after reflashing > > tplink fw previous settings were still valid indicating config part

Re: [OpenWrt-Devel] [PATCH] ath79: add support of Netgear WNR3800 (Ch)

2019-08-07 Thread Adrian Schmutzler
> CH is used in BOARD_ID. Ah, I see. I'm fine with the solution in v2. You still have one WNR in the commit description and you can remove the DEVICE_VENDOR, as it is still inherited. Best Adrian openpgp-digital-signature.asc Description: PGP signature ___

Re: [OpenWrt-Devel] [PATCH] ath79: add support of Netgear WNR3800 (Ch)

2019-08-07 Thread Adrian Schmutzler
> Maybe DEVICE_VARIANT := CH is a better choice, since it is the same device. Well, is it a variant? If yes, CH implies Switzerland to me, which most probably is wrong. Despite, if you decide to use CH as variant, you would have to introduce hyphens to device definition name and compatible, i.e.

Re: [OpenWrt-Devel] [PATCH] ath79: add support of Netgear WNR3800 (Ch)

2019-08-07 Thread Adrian Schmutzler
> > Note that you also have to update to DEVICE_VENDOR/DEVICE_MODEL syntax ... > I don't quite get it. Where is this syntax? Here: > +define Device/netgear_wndr3800ch > + $(Device/netgear_wndr3800) > + DEVICE_TITLE := NETGEAR WNDR3800 (Ch) > + NETGEAR_BOARD_ID := WNDR3800CH > + SUPPORTED_DEVI

Re: [OpenWrt-Devel] [PATCH] ath79: add support of Netgear WNR3800 (Ch)

2019-08-07 Thread Adrian Schmutzler
Hi, > -Original Message- > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] On > Behalf Of Dmitry Tunin > Sent: Mittwoch, 7. August 2019 19:55 > To: openwrt-devel@lists.openwrt.org > Cc: Dmitry Tunin > Subject: [OpenWrt-Devel] [PATCH] ath79: add support of Netgear WNR

Re: [OpenWrt-Devel] [PATCH 2/3] ath79: fix IMAGE_SIZE for common TP-Link definitions

2019-08-07 Thread Adrian Schmutzler
> -Original Message- > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] On > Behalf Of Tom Psyborg > Sent: Mittwoch, 7. August 2019 17:58 > To: Adrian Schmutzler > Cc: openwrt-devel@lists.openwrt.org > Subject: Re: [OpenWrt-Devel] [PATCH 2/3] ath7

Re: [OpenWrt-Devel] [PATCH] ath79: use gpio_hog instead of gpio-export

2019-08-07 Thread Adrian Schmutzler
Hi, > +    lna0 { is there a scheme for proper names already? While I do not have an opinion for lnaX, I'd prefer "usb_power"/"usb0_power" over just "usb"/"usb0". > +        gpio-hog; > +        line-name = "tp-link:ext:lna0"; > +        gpios = <18 GPIO_ACTIVE_HIGH>; At least for lnaX, so fa

Re: [OpenWrt-Devel] [PATCH v2 5/5] ath79: add support for Netgear WNR2200

2019-08-07 Thread Adrian Schmutzler
> Hi, > I decided to put it here as USB is controlled by pin 4 of wireless chip > not CPU. If there is another better formal way to define it, please let > me know. I've analyzed gpio_hog patch for other dts files but all these > routers steer USB via GPIO pins connected to main SoC. > Cheers

Re: [OpenWrt-Devel] RE:RE:RE: RE:RE: [PATCH] ramips: add support to JS7628 development board

2019-08-07 Thread Adrian Schmutzler
Hi, > I would like to know how the patch I submitted is going? Should I submit it > again? I’m only a developer, too, so I cannot speak with authority and also cannot push this forward myself. If you ask for my _opinion_, I’d send a v2 with the RAM-removal renames (as this introduces several

Re: [OpenWrt-Devel] [PATCH v2 5/5] ath79: add support for Netgear WNR2200

2019-08-06 Thread Adrian Schmutzler
Hi, > +&pcie { > + status = "okay"; > + > + ath9k: wifi@0,0 { > + compatible = "pci168c,002e"; > + reg = <0x 0 0 0 0>; > + mtd-mac-address = <&art 0x00>; > + mtd-mac-address-increment = <1>; > + mtd-cal-data = <&art 0x1000>; >

Re: [OpenWrt-Devel] [PATCH v2 4/5] ath79: add support for Netgear WNR1000 v2

2019-08-06 Thread Adrian Schmutzler
Hi, > -Original Message- > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] On > Behalf Of Michal Cieslakiewicz > Sent: Dienstag, 6. August 2019 16:06 > To: openwrt-devel@lists.openwrt.org > Cc: Adrian Schmutzler > Subject: [OpenWrt-Devel] [PAT

Re: [OpenWrt-Devel] [PATCH v2 3/5] ath79: add support for Netgear WNR2000 v3

2019-08-06 Thread Adrian Schmutzler
Hi, > + model = "Netgear WNR2000 v3"; > + compatible = "netgear,wnr2000-v3", "qca,ar7241"; > + please put model BELOW compatible. Best Adrian openpgp-digital-signature.asc Description: PGP signature ___ openwrt-devel mailing list openwrt-de

Re: [OpenWrt-Devel] [PATCH v2 3/5] ath79: add support for Netgear WNR2000 v3

2019-08-06 Thread Adrian Schmutzler
Hi, > -Original Message- > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] On > Behalf Of Michal Cieslakiewicz > Sent: Dienstag, 6. August 2019 16:04 > To: openwrt-devel@lists.openwrt.org > Cc: Adrian Schmutzler > Subject: [OpenWrt-Devel] [PAT

[OpenWrt-Devel] [PATCH 3/3] ath79: fix remaining IMAGE_SIZE issues

2019-08-06 Thread Adrian Schmutzler
This fixes the remaining IMAGE_SIZE issues in ath79 target. All devices in target have been checked, so together with subsequent patches this target should be "clean" afterwards. Signed-off-by: Adrian Schmutzler --- target/linux/ath79/image/generic.mk | 2 +- target/linux/ath79/

[OpenWrt-Devel] [PATCH 2/3] ath79: fix IMAGE_SIZE for common TP-Link definitions

2019-08-06 Thread Adrian Schmutzler
*/16m* devices actually follow the latter scheme, which is also consistent in terms of left free space for other partitions. Thus, fix it. Signed-off-by: Adrian Schmutzler --- target/linux/ath79/image/common-tp-link.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/target

[OpenWrt-Devel] [PATCH 1/3] ath79: tidy up and fix IMAGE_SIZE for Ubiquiti devices

2019-08-06 Thread Adrian Schmutzler
_SIZE of ubnt-wa devices to parent node since all have same size (it is defined in parent DTSI ...). Signed-off-by: Adrian Schmutzler --- target/linux/ath79/image/generic-ubnt.mk | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/target/linux/ath79/image/generic-ubnt

Re: [OpenWrt-Devel] [PATCH 7/7] ath79: WNR2000v3: change WPS button to interrupt-driven GPIO key

2019-08-06 Thread Adrian Schmutzler
> -Original Message- > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] On > Behalf Of Michal Cieslakiewicz > Sent: Dienstag, 6. August 2019 13:03 > To: openwrt-devel@lists.openwrt.org > Subject: [OpenWrt-Devel] [PATCH 7/7] ath79: WNR2000v3: change WPS button > to interr

Re: [OpenWrt-Devel] [PATCH 6/7] ath79: WNR2200: use gpio_hog instead of gpio-export for USB power

2019-08-06 Thread Adrian Schmutzler
> -Original Message- > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] On > Behalf Of Michal Cieslakiewicz > Sent: Dienstag, 6. August 2019 13:01 > To: openwrt-devel@lists.openwrt.org > Subject: [OpenWrt-Devel] [PATCH 6/7] ath79: WNR2200: use gpio_hog instead > of gpio-

Re: [OpenWrt-Devel] [PATCH] ath79: convert devices to interrupt-driven gpio-keys

2019-08-05 Thread Adrian Schmutzler
> -Original Message- > From: Dmitry Tunin [mailto:hanipouspi...@gmail.com] > Sent: Montag, 5. August 2019 17:55 > To: Adrian Schmutzler > Cc: OpenWrt Development List > Subject: Re: [OpenWrt-Devel] [PATCH] ath79: convert devices to interrupt- > driven gpio-keys >

Re: [OpenWrt-Devel] [PATCH] ath79: convert devices to interrupt-driven gpio-keys

2019-08-05 Thread Adrian Schmutzler
> -Original Message- > From: Dmitry Tunin [mailto:hanipouspi...@gmail.com] > Sent: Freitag, 2. August 2019 18:51 > To: Adrian Schmutzler > Cc: OpenWrt Development List > Subject: Re: [OpenWrt-Devel] [PATCH] ath79: convert devices to interrupt- > driven gpio-keys >

[OpenWrt-Devel] [PATCH 2/2] treewide: convert WiFi caldata size and offset to hexadecimal

2019-08-05 Thread Adrian Schmutzler
has to convert back to decimal by simple $(($hexnum)). Signed-off-by: Adrian Schmutzler --- .../etc/hotplug.d/firmware/10-ath9k-eeprom| 22 +++--- .../etc/hotplug.d/firmware/10-ath9k-eeprom| 46 ++-- .../etc/hotplug.d/firmware/11-ath10k-caldata | 56 +++--- .../etc

[OpenWrt-Devel] [PATCH 1/2] treewide: convert MAC address location offsets to hexadecimal

2019-08-05 Thread Adrian Schmutzler
useful than 4102 and 20486) Signed-off-by: Adrian Schmutzler --- .../etc/hotplug.d/firmware/10-ath9k-eeprom| 4 +- .../lib/preinit/05_set_iface_mac_apm821xx | 2 +- .../ar71xx/base-files/etc/board.d/02_network | 10 ++--- .../etc/hotplug.d/firmware/10-ath9k-eeprom| 18

[OpenWrt-Devel] [PATCH 1/2] mediatek: remove strange unnamed patch

2019-08-03 Thread Adrian Schmutzler
When adding v4.19 support to mediatek in 66458c49aa14 ("mediatek: add v4.19 support"), a strange patch without proper naming has been added. This looks like a mistake, so remove it. Reported-by: Chen Minqiang Signed-off-by: Adrian Schmutzler --- .../arch/arm64/boot/dts/mediat

[OpenWrt-Devel] [PATCH 2/2] mediatek: fix typo in Banana Pi R64 device title

2019-08-03 Thread Adrian Schmutzler
The DEVICE_TITLE introduced in 66458c49aa14 ("mediatek: add v4.19 support") is mistyped. Fix it. Reported-by: @86423355844265459587182778 Signed-off-by: Adrian Schmutzler --- target/linux/mediatek/image/mt7622.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ta

Re: [OpenWrt-Devel] [PATCH] ath79: convert devices to interrupt-driven gpio-keys

2019-08-02 Thread Adrian Schmutzler
Anything speaking against doing the same for ramips mt7620a, mt7621, mt7628? > -Original Message- > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] On > Behalf Of Adrian Schmutzler > Sent: Freitag, 2. August 2019 16:46 > To: openwrt-devel@lists.openwr

[OpenWrt-Devel] [PATCH] ath79: convert devices to interrupt-driven gpio-keys

2019-08-02 Thread Adrian Schmutzler
This converts all remaining devices to use interrupt-driven gpio-keys compatible instead of gpio-keys-polled. The poll-interval is removed. Signed-off-by: Adrian Schmutzler --- target/linux/ath79/dts/ar1022_iodata_wn-ag300dgr.dts | 3 +-- target/linux/ath79/dts/ar7161_buffalo_wzr-hp

Re: [OpenWrt-Devel] RE:RE: [PATCH] ramips: add support to JS7628 development board

2019-07-30 Thread Adrian Schmutzler
And I still do not see the reason for SUPPORTED_DEVICES += js7628-8m-64m js7688-8m-64m ztk7628p-8m-64m or do you have OpenWrt-based firmware with those strings installed previously? Best Adrian Schmutzler From: 且听风吟 [mailto:wurobin...@qq.com] Sent: Dienstag, 30. Juli 201

Re: [OpenWrt-Devel] [PATCH] ramips: add support to JS7628 development board

2019-07-29 Thread Adrian Schmutzler
information concerning RAM size (except from hardware specs in commit description), meaning - compatible - model - device definition in mt76x8.mk - DEVICE_VARIANT - (name adjustments in other files) Best Adrian Schmutzler openpgp-digital-signature.asc Description: PGP signature ___

[OpenWrt-Devel] [PATCH v2] ath79: fix indent in TP-Link TL-WR842N v3 DTS file

2019-07-28 Thread Adrian Schmutzler
Convert leading spaces to tab to match rest of the file. Signed-off-by: Adrian Schmutzler --- target/linux/ath79/dts/qca9533_tplink_tl-wr842n-v3.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ath79/dts/qca9533_tplink_tl-wr842n-v3.dts b/target/linux/ath79

[OpenWrt-Devel] [PATCH] ath79: Fix indent in TP-Link TL-WR842N v3 DTS file

2019-07-28 Thread Adrian Schmutzler
Signed-off-by: Adrian Schmutzler --- target/linux/ath79/dts/qca9533_tplink_tl-wr842n-v3.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ath79/dts/qca9533_tplink_tl-wr842n-v3.dts b/target/linux/ath79/dts/qca9533_tplink_tl-wr842n-v3.dts index c173add252

Re: [OpenWrt-Devel] [PATCH] ramips: add support to JS7628 development board

2019-07-25 Thread Adrian Schmutzler
Hi, > -Original Message- > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] On > Behalf Of Robinson Wu > Sent: Mittwoch, 24. Juli 2019 13:01 > To: openwrt-devel@lists.openwrt.org > Cc: Robinson Wu ; m...@adrianschmutzler.de > Subject: [OpenWrt-Devel] [PATCH] ramips: add

[OpenWrt-Devel] [PATCH v2] treewide: Replace backticks by $(...) in gen_*_img.sh scripts

2019-07-24 Thread Adrian Schmutzler
This replaces deprecated backticks by more versatile $(...) syntax. Signed-off-by: Adrian Schmutzler --- target/linux/apm821xx/image/mbl_gen_hdd_img.sh | 2 +- target/linux/arc770/image/gen_axs10x_sdcard_img.sh | 2 +- target/linux/archs38/image/gen_axs10x_sdcard_img.sh | 2 +- target

[OpenWrt-Devel] [PATCH v2] octeon: Replace backticks by $(...)

2019-07-24 Thread Adrian Schmutzler
This replaces deprecated backticks by more versatile $(...) syntax. Signed-off-by: Adrian Schmutzler --- Fix accidental remove of subshell. --- target/linux/octeon/base-files/lib/upgrade/platform.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/octeon

[OpenWrt-Devel] [PATCH v2] lantiq: Replace backticks by $(...) and remove useless echo

2019-07-24 Thread Adrian Schmutzler
This replaces deprecated backticks by more versatile $(...) syntax. Signed-off-by: Adrian Schmutzler --- target/linux/lantiq/base-files/etc/hotplug.d/dsl/pppoa.sh | 2 +- .../linux/lantiq/base-files/lib/functions/lantiq_dsl.sh | 8 2 files changed, 5 insertions(+), 5 deletions

[OpenWrt-Devel] [PATCH v2] orion: Replace backticks by $(...)

2019-07-24 Thread Adrian Schmutzler
This replaces deprecated backticks by more versatile $(...) syntax. Signed-off-by: Adrian Schmutzler --- .../generic/base-files/etc/uci-defaults/09_hardware | 12 ++-- target/linux/orion/image/generic.mk | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff

[OpenWrt-Devel] [PATCH v2] ipq806x: Replace backticks by $(...)

2019-07-24 Thread Adrian Schmutzler
This replaces deprecated backticks by more versatile $(...) syntax. Signed-off-by: Adrian Schmutzler --- .../base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac | 6 +++--- target/linux/ipq806x/base-files/lib/upgrade/linksys.sh | 2 +- 2 files changed, 4 insertions(+), 4 deletions

[OpenWrt-Devel] [PATCH v2] mvebu: Replace backticks by $(...)

2019-07-24 Thread Adrian Schmutzler
This replaces deprecated backticks by more versatile $(...) syntax. Signed-off-by: Adrian Schmutzler --- target/linux/mvebu/base-files/lib/upgrade/linksys.sh | 2 +- target/linux/mvebu/base-files/sbin/fan_ctrl.sh | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a

[OpenWrt-Devel] [PATCH v2] ramips: Replace backticks by $(...)

2019-07-24 Thread Adrian Schmutzler
This replaces deprecated backticks by more versatile $(...) syntax. While at it, remove some useless cat commands and deprecated egrep commands. Signed-off-by: Adrian Schmutzler --- target/linux/ramips/base-files/etc/board.d/02_network | 8 .../base-files/lib/preinit

Re: [OpenWrt-Devel] [PATCH] mvebu: Replace backticks by $(...)

2019-07-24 Thread Adrian Schmutzler
Hi, > -Original Message- > From: Rosen Penev [mailto:ros...@gmail.com] > Sent: Mittwoch, 24. Juli 2019 18:54 > To: Adrian Schmutzler > Cc: OpenWrt Development List > Subject: Re: [OpenWrt-Devel] [PATCH] mvebu: Replace backticks by $(...) > > On Wed, Jul 24

[OpenWrt-Devel] [PATCH] ath79: Fix indent in 01_leds

2019-07-24 Thread Adrian Schmutzler
Signed-off-by: Adrian Schmutzler --- target/linux/ath79/base-files/etc/board.d/01_leds | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/ath79/base-files/etc/board.d/01_leds b/target/linux/ath79/base-files/etc/board.d/01_leds index d24a42d239..f3bf43a247

[OpenWrt-Devel] [PATCH] treewide: Replace backticks by $(...) in gen_*_img.sh scripts

2019-07-24 Thread Adrian Schmutzler
Signed-off-by: Adrian Schmutzler --- target/linux/apm821xx/image/mbl_gen_hdd_img.sh | 2 +- target/linux/arc770/image/gen_axs10x_sdcard_img.sh | 2 +- target/linux/archs38/image/gen_axs10x_sdcard_img.sh | 2 +- target/linux/at91/image/gen_at91_sdcard_img.sh | 2 +- target/linux

[OpenWrt-Devel] [PATCH] octeon: Replace backticks by $(...)

2019-07-24 Thread Adrian Schmutzler
Signed-off-by: Adrian Schmutzler --- target/linux/octeon/base-files/lib/upgrade/platform.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/octeon/base-files/lib/upgrade/platform.sh b/target/linux/octeon/base-files/lib/upgrade/platform.sh index 0e4ca37629

[OpenWrt-Devel] [PATCH] lantiq: Replace backticks by $(...) and remove useless echo

2019-07-24 Thread Adrian Schmutzler
Signed-off-by: Adrian Schmutzler --- target/linux/lantiq/base-files/etc/hotplug.d/dsl/pppoa.sh | 2 +- .../linux/lantiq/base-files/lib/functions/lantiq_dsl.sh | 8 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/target/linux/lantiq/base-files/etc/hotplug.d/dsl/pppoa.sh

[OpenWrt-Devel] [PATCH] orion: Replace backticks by $(...)

2019-07-24 Thread Adrian Schmutzler
Signed-off-by: Adrian Schmutzler --- .../generic/base-files/etc/uci-defaults/09_hardware | 12 ++-- target/linux/orion/image/generic.mk | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/target/linux/orion/generic/base-files/etc/uci-defaults

[OpenWrt-Devel] [PATCH] ipq806x: Replace backticks by $(...)

2019-07-24 Thread Adrian Schmutzler
Signed-off-by: Adrian Schmutzler --- .../base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac | 6 +++--- target/linux/ipq806x/base-files/lib/upgrade/linksys.sh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/target/linux/ipq806x/base-files/etc/hotplug.d/ieee80211

[OpenWrt-Devel] [PATCH] mvebu: Replace backticks by $(...)

2019-07-24 Thread Adrian Schmutzler
Signed-off-by: Adrian Schmutzler --- target/linux/mvebu/base-files/lib/upgrade/linksys.sh | 2 +- target/linux/mvebu/base-files/sbin/fan_ctrl.sh | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/target/linux/mvebu/base-files/lib/upgrade/linksys.sh b/target/linux

[OpenWrt-Devel] [PATCH] ramips: Replace backticks by $(...)

2019-07-24 Thread Adrian Schmutzler
While at it, remove some useless cat commands. Signed-off-by: Adrian Schmutzler --- target/linux/ramips/base-files/etc/board.d/02_network | 8 .../base-files/lib/preinit/07_set_preinit_iface_ramips| 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/target

Re: [OpenWrt-Devel] [PATCH] ath79: add support for gl-ar750

2019-07-23 Thread Adrian Schmutzler
Hi, > -Original Message- > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] On > Behalf Of Luochongjun > Sent: Dienstag, 23. Juli 2019 09:45 > To: openwrt-devel@lists.openwrt.org > Cc: Luochongjun > Subject: [OpenWrt-Devel] [PATCH] ath79: add support for gl-ar750 > >

[OpenWrt-Devel] Remove ralink_default_fw_size_xxx variables

2019-07-22 Thread Adrian Schmutzler
Hi, I've recently made an effort to check and fix IMAGE_SIZE variables in ramips target: https://github.com/openwrt/openwrt/pull/2226 The target has four predefined variables ralink_default_fw_size_4M, ralink_default_fw_size_8M, ralink_default_fw_size_16M, ralink_default_fw_size_32M. When ch

[OpenWrt-Devel] Trivial lan_mac "re-set" in 02_network of ramips target

2019-07-19 Thread Adrian Schmutzler
Hi all, when going through the MAC address setup in 02_network of the ramips target, I found some entries like the following: edimax,br-6475nd) lan_mac=$(cat /sys/class/net/eth0/address) ... hootoo,ht-tm02|\ loewe,wmdr-143n|\ unbranded,a5-v11) lan_mac=$(cat /sys/class/ne

[OpenWrt-Devel] [PATCH] ramips: Remove left-over mistyped device string from 02_network

2019-07-15 Thread Adrian Schmutzler
anyway. Signed-off-by: Adrian Schmutzler --- target/linux/ramips/base-files/etc/board.d/02_network | 1 - 1 file changed, 1 deletion(-) diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network index c3b7cd4390..1ea0597ec6 100755

Re: [OpenWrt-Devel] [PATCH] ath79: add support for Qihoo C301

2019-07-15 Thread Adrian Schmutzler
Hi, > -Original Message- > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] On > Behalf Of Chuanhong Guo > Sent: Montag, 15. Juli 2019 17:28 > To: Adrian Schmutzler > Cc: openwrt-devel@lists.openwrt.org > Subject: Re: [OpenWrt-Devel] [PATCH] a

Re: [OpenWrt-Devel] [PATCH] ath79: add support for Qihoo C301

2019-07-15 Thread Adrian Schmutzler
Hi, can you tell which of the 4 MAC addresses is on the device label, so I can add it to my label-mac-address PR? Best Adrian > -Original Message- > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] On > Behalf Of Chuanhong Guo > Sent: Montag, 15. Juli 2019 13:54 > T

Re: [OpenWrt-Devel] [PATCH v3] ramips: add support for ASUS RT-AC57U

2019-07-10 Thread Adrian Schmutzler
Hi, > -Original Message- > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] On > Behalf Of David Bauer > Sent: Mittwoch, 10. Juli 2019 19:44 > To: openwrt-devel@lists.openwrt.org > Subject: [OpenWrt-Devel] [PATCH v3] ramips: add support for ASUS RT-AC57U > > SoC: Med

[OpenWrt-Devel] [PATCH] ath79: Fix whitespace errors in 11-ath10k-caldata

2019-07-09 Thread Adrian Schmutzler
Signed-off-by: Adrian Schmutzler --- .../ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/target/linux/ath79/base-files/etc/hotplug.d

[OpenWrt-Devel] [PATCH] rb532: Fix missing DEVICE_TITLE

2019-07-08 Thread Adrian Schmutzler
ignored Signed-off-by: Adrian Schmutzler --- target/linux/rb532/image/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/rb532/image/Makefile b/target/linux/rb532/image/Makefile index 615c9bd265..1558bf56d8 100644 --- a/target/linux/rb532/image/Makefile +++ b/target/linux

[OpenWrt-Devel] [PATCH] base-files: Fix path check in get_mac_binary

2019-07-08 Thread Adrian Schmutzler
Logic was inverted when changing from string check to file check. Fix it. Fixes: 8592602d0a88 ("base-files: Really check path in get_mac_binary") Reported-by: Matthias Schiffer Signed-off-by: Adrian Schmutzler --- This needs to be fixed in master, 19.07 and 18.06. --- package/

[OpenWrt-Devel] [PATCH] ath79: Add DEVICE_VENDOR for Ubiquiti Routerstation

2019-07-05 Thread Adrian Schmutzler
This has been overlooked. Reported by: Chen Minqiang (@ptpt52) Signed-off-by: Adrian Schmutzler --- target/linux/ath79/image/generic-ubnt.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/ath79/image/generic-ubnt.mk b/target/linux/ath79/image/generic-ubnt.mk index abe45a14db

[OpenWrt-Devel] [PATCH] gemini: Fix device name for StorLink SL93512r

2019-07-05 Thread Adrian Schmutzler
This has been reported by Chen Minqiang (@ptpt52). Signed-off-by: Adrian Schmutzler --- target/linux/gemini/image/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/gemini/image/Makefile b/target/linux/gemini/image/Makefile index 7b5faa04fd..ebcff633ea

[OpenWrt-Devel] [PATCH] base-files: Really check path in get_mac_binary

2019-07-04 Thread Adrian Schmutzler
Currently, path argument is only checked for being not empty. This changes behavior to actually check whether path exists. Signed-off-by: Adrian Schmutzler --- package/base-files/files/lib/functions/system.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/base

[OpenWrt-Devel] ramips target reorganization (harmonized device and DTS names)

2019-07-02 Thread Adrian Schmutzler
Hi, since the ramips target mixes old and new syntax for device names and also has room for improvement with DTS file names, I decided to clean it up. I have been putting together a PR for this and just wanted to communicate its existence to those people not visiting GitHub frequently: https:/

[OpenWrt-Devel] [PATCH v2] ramips: Fix compatible for YUKAI Engineering BOCCO

2019-06-27 Thread Adrian Schmutzler
Looks like an undetected copy/paste error. Signed-off-by: Adrian Schmutzler --- Changes in v2: - Removed SUPPORTED_DEVICES again, as it is not required --- target/linux/ramips/dts/BOCCO.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ramips/dts/BOCCO.dts

[OpenWrt-Devel] [PATCH] ramips: Fix compatible for YUKAI Engineering BOCCO

2019-06-27 Thread Adrian Schmutzler
Looks like an undetected copy/paste error. Signed-off-by: Adrian Schmutzler --- target/linux/ramips/dts/BOCCO.dts | 2 +- target/linux/ramips/image/mt7620.mk | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/target/linux/ramips/dts/BOCCO.dts b/target/linux/ramips/dts

[OpenWrt-Devel] [PATCH 1/2] openwrt-19.07: ath79: Code style fixes in 10_fix_wifi_mac

2019-06-22 Thread Adrian Schmutzler
This fixes one comparison and several useless echos. Signed-off-by: Adrian Schmutzler --- .../base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac| 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/target/linux/ath79/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac

[OpenWrt-Devel] [PATCH 2/2] openwrt-19.07: ar71xx: Code style fixes in 10_fix_wifi_mac

2019-06-22 Thread Adrian Schmutzler
This fixes one comparison and one useless echo. Signed-off-by: Adrian Schmutzler --- .../ar71xx/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/ar71xx/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac b

[OpenWrt-Devel] [PATCH] ath79: Code style improvements in 10_fix_wifi_mac

2019-06-21 Thread Adrian Schmutzler
This fixes one comparison and several useless echos. Signed-off-by: Adrian Schmutzler --- This patch is trivial and has not been tested (due to lack of devices). --- .../base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac| 8 1 file changed, 4 insertions(+), 4 deletions(-) diff

Re: [OpenWrt-Devel] LEDE 17.01.7 and OpenWrt 18.06.3 deadline on Friday

2019-06-21 Thread Adrian Schmutzler
Hi, there is a single PR in GitHub marked with "fix" and "openwrt-18.06". https://github.com/openwrt/openwrt/pull/2093 It looks relatively trivial, so maybe you want to merge it beforehand. Best Adrian pgpqrnowW1JwN.pgp Description: PGP signature _

[OpenWrt-Devel] [PATCH] ath79: Remove redundant LED GPIO definitions for Archer C25 v1

2019-06-20 Thread Adrian Schmutzler
Signed-off-by: Adrian Schmutzler --- Run-tested! --- target/linux/ath79/dts/qca9561_tplink_archer-c25-v1.dts | 4 1 file changed, 4 deletions(-) diff --git a/target/linux/ath79/dts/qca9561_tplink_archer-c25-v1.dts b/target/linux/ath79/dts/qca9561_tplink_archer-c25-v1.dts index

[OpenWrt-Devel] [PATCH] openwrt-19.07: ath79: Add SUPPORTED_DEVICES for Archer C7 v1/v2

2019-06-18 Thread Adrian Schmutzler
The identifier for both devices is "archer-c7" on ar71xx, set here: https://github.com/openwrt/openwrt/blob/master/target/linux/ar71xx/base-files/lib/ar71xx.sh#L348 https://github.com/openwrt/openwrt/blob/master/target/linux/ar71xx/base-files/lib/ar71xx.sh#L511 Signed-off-by: Adrian

[OpenWrt-Devel] [PATCH] ath79: Merge cases in 11-ath10k-caldata

2019-06-11 Thread Adrian Schmutzler
Cosmetical patch that just merges two cases. Signed-off-by: Adrian Schmutzler --- .../ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata

Re: [OpenWrt-Devel] [PATCH] ath79: Add SUPPORTED_DEVICES for Archer C7 v1/v2

2019-05-27 Thread Adrian Schmutzler
Hi, > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] On > Behalf Of camden lindsay > Sent: Donnerstag, 2. Mai 2019 05:38 > To: m...@adrianschmutzler.de > Cc: Adrian Schmutzler ; OpenWrt Development > List ; Tomasz Maciej Nowak ; > David Bauer

[OpenWrt-Devel] [PATCH v2] ath79: Add missing read-only properties

2019-05-09 Thread Adrian Schmutzler
Add some read-only properties to protect partitions from accidental changes. Also fixed two whitespaces error on the way. Signed-off-by: Adrian Schmutzler --- Changes in v2: - Do not change read-only for u-boot-env partitions --- target/linux/ath79/dts/ar7241_ubnt_airrouter.dts | 4

Re: [OpenWrt-Devel] [PATCH] ath79: Add missing read-only properties

2019-05-09 Thread Adrian Schmutzler
Hi, > -Original Message- > From: Petr Štetiar [mailto:yn...@true.cz] > Sent: Donnerstag, 9. Mai 2019 14:42 > To: Adrian Schmutzler > Cc: openwrt-devel@lists.openwrt.org > Subject: Re: [OpenWrt-Devel] [PATCH] ath79: Add missing read-only properties > > Adrian Sc

[OpenWrt-Devel] [PATCH] ath79: Add missing read-only properties

2019-05-09 Thread Adrian Schmutzler
The read-only properties for non-firmware partitions seem to have been assigned rather randomly. I went through the DTS files in ath79 and assigned the read-only to all partitions that seem to require protection. Also fixed a whitespace error on the way. Signed-off-by: Adrian Schmutzler

[OpenWrt-Devel] [PATCH] ath79: Add SUPPORTED_DEVICES for Archer C7 v1/v2

2019-04-17 Thread Adrian Schmutzler
The identifier for both devices is "archer-c7" on ar71xx, set here: https://github.com/openwrt/openwrt/blob/master/target/linux/ar71xx/base-files/lib/ar71xx.sh#L348 https://github.com/openwrt/openwrt/blob/master/target/linux/ar71xx/base-files/lib/ar71xx.sh#L511 Signed-off-by: Adrian

<    6   7   8   9   10   11   12   >