Re: [OpenWrt-Devel] [PATCH 2/3] gemini: Fix possible hexdump error on MAC assignment

2019-05-29 Thread Christian Lamparter
On Friday, May 24, 2019 11:27:18 PM CEST Linus Walleij wrote: > If a MAC address is for example 00:50:c2:11:11:11 using > hexdump to extract this from raw bytes in the flash will > yield "00:50:c2:11*" with the asterisk indicating "more > of the same". > > This will inhibit the MAC address from be

Re: [OpenWrt-Devel] [PATCH 1/2] gpio-button-hotplug: support interrupt properties

2019-05-30 Thread Christian Lamparter
Hello, On Thursday, May 30, 2019 12:00:27 PM CEST Petr Štetiar wrote: > Christian Lamparter [2019-05-29 21:58:29]: > > Upstream Linux's input gpio-keys driver supports > > specifying a external interrupt for a gpio via the > > 'interrupts' properties as wel

Re: [OpenWrt-Devel] [PATCH 2/4] ath79: add QCA955x SGMII link loss workaround

2019-05-31 Thread Christian Lamparter
On Thursday, April 11, 2019 5:59:43 PM CEST David Bauer wrote: > This commit adds a workaround for the loss of the SGMII link observed on > the QCA955x generation of SoCs. The workaround originates part from the > U-Boot source code, part from the implementation from AVM found in the > GPL tarball

Re: [OpenWrt-Devel] [PATCH 2/4] ath79: add QCA955x SGMII link loss workaround

2019-05-31 Thread Christian Lamparter
On Friday, May 31, 2019 4:44:50 PM CEST Chuanhong Guo wrote: > Hi! > > On Fri, May 31, 2019 at 9:34 PM Christian Lamparter > wrote: > > > > Not to be a party pooper. The ag71xx is well on its way to upstream. > > https://git.kernel.org/pub/scm/linux/kernel/git/dav

Re: [OpenWrt-Devel] [PATCH] gpio-button-hotplug: gpio-keys: fix always missing first event

2019-06-05 Thread Christian Lamparter
o this patch restores the previous behaviour. > > Cc: Christian Lamparter > Fixes: afc056d7dc83 ("gpio-button-hotplug: support interrupt properties") > Reported-by: Kristian Evensen > Signed-off-by: Petr Štetiar > --- > > diff --git a/package/kernel/gpio-button

Re: [OpenWrt-Devel] [PATCH] gpio-button-hotplug: gpio-keys: fix always missing first event

2019-06-09 Thread Christian Lamparter
On Thursday, June 6, 2019 6:52:35 AM CEST Kristian Evensen wrote: > Hi Christian, > > On Wed, Jun 5, 2019 at 10:23 PM Christian Lamparter > wrote: > > @Kristian Evensen, can you please check if the following patch would also > > resolve the issues you have been experi

Re: [OpenWrt-Devel] [PATCH] gpio-button-hotplug: gpio-keys: fix always missing first event

2019-06-09 Thread Christian Lamparter
On Sunday, June 9, 2019 2:50:41 PM CEST Petr Štetiar wrote: > Christian Lamparter [2019-06-09 10:06:33]: > > Hi, > > > The APM821xx checks out with both as well. While there are spurious > > events on enabling the interrupt (one released event), > > the /etc/r

Re: [OpenWrt-Devel] [PATCH 1/3] gemini: Make a per-board case for ethernet MAC

2019-06-14 Thread Christian Lamparter
Hello Linus, On Tuesday, June 11, 2019 4:40:12 PM CEST Linus Walleij wrote: > Hi Christian, > > I worked in all the changes you requested until I got to this: > > On Thu, May 30, 2019 at 12:46 AM Christian Lamparter > wrote: > > > > +

Re: [OpenWrt-Devel] [PATCH] gpio-button-hotplug: gpio-keys: read initial state

2019-06-14 Thread Christian Lamparter
On Thursday, June 13, 2019 11:00:36 PM CEST David Bauer wrote: > This commit reads the initial state for interrupt triggered gpio-keys. > Without this commit, the switch to the initial stable input-state > triggers a button-event. Button events are now only triggered when the > button state differs

Re: [OpenWrt-Devel] [PATCH 2/3] base-files:fix a bug when add led timer trigger

2019-06-15 Thread Christian Lamparter
On Tuesday, June 4, 2019 5:13:39 AM CEST robinson wu wrote: > When I tried to add a led timer tirgger in "target/linux/ramips/base-files/ > etc/board.d/01_leds" like below > ucidef_set_led_timer "system" "system" "zhuotk:green:system" "1000" "1000" > it will be failed to add value to "delayon" and

Re: [OpenWrt-Devel] [PATCH 1/1] ipq40xx: Linksys: sysupgrade: Ensure OEM volumes are removed

2019-06-16 Thread Christian Lamparter
On Saturday, June 15, 2019 11:40:56 PM CEST Jeff Kletsky wrote: > From: Jeff Kletsky > > When OEM volumes are present in the [alt_]firmware partition, > sysupgrade will write a new kernel, but will fail to write > the root file system. The next boot will hang indefinitely > > Waiting for roo

[OpenWrt-Devel] [PATCH] phytool: add phytool utility

2019-06-16 Thread Christian Lamparter
ers will be shown. Signed-off-by: Christian Lamparter --- package/network/utils/phytool/Makefile | 46 ++ 1 file changed, 46 insertions(+) create mode 100644 package/network/utils/phytool/Makefile diff --git a/package/network/utils/phytool/Makefile b/package/network/utils/phyt

Re: [OpenWrt-Devel] [PATCH] phytool: add phytool utility

2019-06-16 Thread Christian Lamparter
Hello Piotr, On Sun, Jun 16, 2019 at 7:08 PM Piotr Dymacz wrote: > > Hi Christian, > > On 16.06.2019 13:56, Christian Lamparter wrote: > > From the README.md: > > > > phytool is a Linux MDIO register access utility. > > Is there any reason to keep it insi

Re: [OpenWrt-Devel] [PATCH v2] gpio-button-hotplug: mind debounce interval consistently

2019-06-20 Thread Christian Lamparter
On Tuesday, June 18, 2019 1:06:12 PM CEST David Bauer wrote: > This patch implements consistent handling of the debounce interval set > for the GPIO buttons. Hotplug events will only be fired if > > 1. It's the initial stable state (no state-change for duration of the > debounce interval) for a sw

Re: [OpenWrt-Devel] [PATCH v2] gpio-button-hotplug: mind debounce interval consistently

2019-06-20 Thread Christian Lamparter
On Thursday, June 20, 2019 8:10:18 PM CEST David Bauer wrote: > Hello Christian, > On 20.06.19 17:21, Christian Lamparter wrote: > > On Tuesday, June 18, 2019 1:06:12 PM CEST David Bauer wrote: > >> This patch implements consistent handling of the debounce interval set >

Re: [OpenWrt-Devel] [PATCH] toolchain: Don't force GCC8 on ARC

2019-06-22 Thread Christian Lamparter
On Thursday, June 20, 2019 9:33:04 PM CEST Rosen Penev wrote: > This prevents overriding it to use GCC9. > > Signed-off-by: Rosen Penev > --- > toolchain/gcc/Config.version | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/toolchain/gcc/Config.version b/toolchain/gcc/Config.version > inde

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

2019-06-24 Thread Christian Lamparter
On Monday, June 24, 2019 2:31:57 PM CEST David Bauer wrote: Some comments below. > diff --git a/target/linux/ramips/dts/RT-AC57U.dts > b/target/linux/ramips/dts/RT-AC57U.dts > --- /dev/null > +++ b/target/linux/ramips/dts/RT-AC57U.dts > @@ -0,0 +1,150 @@ > +// SPDX-License-Identifier: GPL-2.0-or

Re: [OpenWrt-Devel] [PATCH] toolchain: Don't force GCC8 on ARC

2019-06-24 Thread Christian Lamparter
On Saturday, June 22, 2019 8:57:32 PM CEST Rosen Penev wrote: > On Sat, Jun 22, 2019 at 7:37 AM Christian Lamparter > wrote: > > > > On Thursday, June 20, 2019 9:33:04 PM CEST Rosen Penev wrote: > > > This prevents overriding it to use GCC9. > > &

Re: [OpenWrt-Devel] [PATCH] ramips: mt7621: Add new device AsiaRF AP7621-001

2019-06-24 Thread Christian Lamparter
On Monday, June 24, 2019 6:13:20 PM CEST Daniel Danzberger wrote: > SoC:Mediatek MT7621A > CPU:4x 880Mhz > Cache: 32 KB I-Cache and 32 KB D-Cach > 256 KB L2 Cache (shared by Dual-Core) > RAM:DDR3 512MB 16bits BUS > FLASH: 16MB > Switch: Mediatek Gig

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

2019-06-24 Thread Christian Lamparter
On Monday, June 24, 2019 10:41:37 AM CEST Luochongjun wrote: > This patch support gl-ar750 on ath79. I'm looking at this previous patch for the GL-X750. And I think you can do better than this gl-ar750 post. Can

Re: [OpenWrt-Devel] [PATCH] toolchain: Don't force GCC8 on ARC

2019-06-24 Thread Christian Lamparter
On Monday, June 24, 2019 10:01:51 PM CEST Rosen Penev wrote: > On Mon, Jun 24, 2019 at 1:00 PM Christian Lamparter > wrote: > > > > On Saturday, June 22, 2019 8:57:32 PM CEST Rosen Penev wrote: > > > On Sat, Jun 22, 2019 at 7:37 AM Christian Lamparter > > >

Re: [OpenWrt-Devel] [PATCH] ramips: mt7621: Add new device AsiaRF AP7621-001

2019-06-25 Thread Christian Lamparter
On Tuesday, June 25, 2019 10:34:47 AM CEST Daniel Danzberger wrote: > > On 6/24/19 10:17 PM, Christian Lamparter wrote: > >> diff --git a/target/linux/ramips/dts/AP7621-001.dts > >> b/target/linux/ramips/dts/AP7621-001.dts > >> new file mode 100644 > >>

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

2019-06-25 Thread Christian Lamparter
Hi David, On Monday, June 24, 2019 10:00:06 PM CEST David Bauer wrote: > Hello Christian, > >> + > >> + keys { > >> + compatible = "gpio-keys-polled"; > > The MT7261 should support interrupt-supported gpio-keys. > > I will try your suggestion, however i suspect we will face the same >

Re: [OpenWrt-Devel] [PATCH] toolchain: Don't force GCC8 on ARC

2019-06-25 Thread Christian Lamparter
On Monday, June 24, 2019 11:03:23 PM CEST Christian Lamparter wrote: > On Monday, June 24, 2019 10:01:51 PM CEST Rosen Penev wrote: > > On Mon, Jun 24, 2019 at 1:00 PM Christian Lamparter > > wrote: > > > > > > On Saturday, June 22, 2019 8:57:32 PM CEST Rosen Pe

Re: [OpenWrt-Devel] [PATCHv2] toolchain: Don't force GCC8 on ARC

2019-07-05 Thread Christian Lamparter
On Wednesday, July 3, 2019 10:16:51 PM CEST Rosen Penev wrote: > When selecting GCC9 under Advanced options, GCC8 still gets selected. > > Signed-off-by: Rosen Penev Looks like we came to the same conclusion (see date). https://git.openwrt.org/?p=openwrt/staging/chunkeey.git;a=commit;h=a03fe6d02

[OpenWrt-Devel] [PATCH] mpc85xx: Use gzip compressed kernel on HiveAP-330

2019-07-05 Thread Christian Lamparter
y: Chris Blake [run-tested] Signed-off-by: Pawel Dembicki Signed-off-by: Christian Lamparter [filled in even more text] --- target/linux/mpc85xx/image/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/mpc85xx/image/Makefile b/target/linux/mpc85xx/image/Makefi

Re: [OpenWrt-Devel] [PATCH] gemini: Add StorLink SL93512r images

2019-07-06 Thread Christian Lamparter
On Sunday, June 30, 2019 5:07:56 PM CEST Linus Walleij wrote: > This adds image generation for the StorLink reference design > SL93512r. This board is now supported upstream in kernel > v4.19. > > As this image structure is identical to SQ201 and Raidsonic, > we simply refer to this as "storlink-r

Re: [OpenWrt-Devel] [PATCH v2] gpio-button-hotplug: mind debounce interval consistently

2019-07-06 Thread Christian Lamparter
d gpio-keys. Hence this patch unifies the shared logic into the gpio_keys_handle_button() function and modify both implementations to handle the initial state properly. Run-tested for 'gpio-keys' and 'gpio-keys-polled' on - devolo WiFi pro 1200e - devolo WiFi pro 1750c - dev

Re: [OpenWrt-Devel] [PATCH v2] gpio-button-hotplug: mind debounce interval consistently

2019-07-13 Thread Christian Lamparter
Hello David, On Wednesday, July 10, 2019 12:31:12 AM CEST David Bauer wrote: > thanks for your reworked patch. I think i found two bugs around the debounce > interval for both flavors. I'll have to admit, they are both edgecases ;) > > On 06.07.19 23:57, Christian Lamparter

Re: [OpenWrt-Devel] [PATCH v2] gpio-button-hotplug: mind debounce interval consistently

2019-07-13 Thread Christian Lamparter
n the other hand, the "git commit && git push" is just one "enter" away. ;) We can finish this "right now" and deal with the "shoot from the hip" later. (Though this is not advised) > On 13.07.19 18:04, Christian Lamparter wrote: > > On Wedn

Re: [OpenWrt-Devel] [PATCH v2] gpio-button-hotplug: mind debounce interval consistently

2019-07-13 Thread Christian Lamparter
Hello David, On Sunday, July 14, 2019 12:55:02 AM CEST David Bauer wrote: > On 7/14/19 12:04 AM, Christian Lamparter wrote: > > The "goto set_setstate;" only happens if state = 0 (Which in gpio-button > > context means) that the button is in an unpressed state. > &g

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

2019-08-02 Thread Christian Lamparter
On Friday, August 2, 2019 8:03:17 PM CEST Jeff Kletsky wrote: > > On 8/2/19 7:46 AM, Adrian Schmutzler wrote: > > This converts all remaining devices to use interrupt-driven > > gpio-keys compatible instead of gpio-keys-polled. > > The poll-interval is removed. > > > > Not that this proposed chan

[OpenWrt-Devel] Squashfs breakage lottery with UBI WAS: [PATCH RFC 2/2] amp821xx: use newly added pad-squashfs for Meraki MR24

2019-08-23 Thread Christian Lamparter
On Thursday, August 22, 2019 1:00:21 PM CEST Russell Senior wrote: > > Using pad-squashfs ensures that the root.squashfs is assigned sufficient > LEBs on UBI such that all reads of the rootfs succeed, in order to avoid > read failures and kernel panics. > > This fixes one such kernel panic observ

[OpenWrt-Devel] [RFC PATCH 1/2] softoff: add softoff utility

2019-08-23 Thread Christian Lamparter
eset()) or suffer because the platform has a no-way-out watchdog that can trigger a hardware reboot which can bring the device out of its "poweroff" state. Signed-off-by: Christian Lamparter --- package/utils/softoff/Makefile | 36 + packa

[OpenWrt-Devel] [RFC PATCH 2/2] apm821xx: utilize softoff on the MyBook Live Series

2019-08-23 Thread Christian Lamparter
when poweroff gets called and the kernel supposed to just do its infinite loop thing. With this somewhat universal "softoff" the device will be able to enter a similar-but-different shutdown-like state with the HDDs in a safer standby mode so it can be moved and disconnected. Signed-of

Re: [OpenWrt-Devel] Squashfs breakage lottery with UBI WAS: [PATCH RFC 2/2] amp821xx: use newly added pad-squashfs for Meraki MR24

2019-08-24 Thread Christian Lamparter
On Saturday, August 24, 2019 2:18:55 AM CEST Russell Senior wrote: > >>>>> "Christian" == Christian Lamparter writes: > > > I've posted a similar message to the bugreport: > > <https://bugs.openwrt.org/index.php?do=details&task_id=2460>

Re: [OpenWrt-Devel] Squashfs breakage lottery with UBI WAS: [PATCH RFC 2/2] amp821xx: use newly added pad-squashfs for Meraki MR24

2019-08-25 Thread Christian Lamparter
this could have saved a lot of time. > > > > I've cobbered together a patch that deals with some of the > > padding issues at "ubimkvol" and "ubinize" time. The idea > > is that ideally we want to do the padding when we know > > PAGE_SIZE and the BLOCKS

Re: [OpenWrt-Devel] Squashfs breakage lottery with UBI WAS: [PATCH RFC 2/2] amp821xx: use newly added pad-squashfs for Meraki MR24

2019-08-30 Thread Christian Lamparter
On Thursday, August 29, 2019 1:55:25 PM CEST Russell Senior wrote: > > >> Fwiw, I took a little closer look at the squashfs code. I still don't > >> quite understand it, but I sprinkled some printk()'s and got a better > >> idea of what is happening. > >> > >> With a root.squashfs of 6428672 byte

Re: [OpenWrt-Devel] Squashfs breakage lottery with UBI WAS: [PATCH RFC 2/2] amp821xx: use newly added pad-squashfs for Meraki MR24

2019-08-30 Thread Christian Lamparter
On Friday, August 30, 2019 11:10:54 PM CEST Russell Senior wrote: > >>>>> "Christian" == Christian Lamparter writes: > > Christian> Ok. > > Christian> I did push a patch titled: "build: remove harmful -nopad > Christian> option fro

Re: [OpenWrt-Devel] Squashfs breakage lottery with UBI WAS: [PATCH RFC 2/2] amp821xx: use newly added pad-squashfs for Meraki MR24

2019-08-31 Thread Christian Lamparter
Hello, On Saturday, August 31, 2019 2:09:55 PM CEST Jonas Gorski wrote: > On Sat, 31 Aug 2019 at 01:19, Christian Lamparter wrote: > > > > On Friday, August 30, 2019 11:10:54 PM CEST Russell Senior wrote: > > > >>>>> "Christian" == Chris

Re: [OpenWrt-Devel] Squashfs breakage lottery with UBI WAS: [PATCH RFC 2/2] amp821xx: use newly added pad-squashfs for Meraki MR24

2019-09-01 Thread Christian Lamparter
Hi, On Sun, Sep 1, 2019 at 1:52 PM Russell Senior wrote: > > "Jonas" == Jonas Gorski writes: > >> It contains a patch at the end titled: "[PATCH] base-files: pad > >> root.squashfs to 64KiB in ubi volumes" This is another approach that > >> just deals with the UBI+squashfs issue but works wi

[OpenWrt-Devel] [PATCH] kernel: modules: fix kmod-regmap

2018-07-30 Thread Christian Lamparter
rs/regulator/helpers.o: In function `regulator_is_enabled_regmap': |.../drivers/regulator/helpers.c:36: undefined reference to `regmap_read' |... Signed-off-by: Christian Lamparter --- package/kernel/linux/modules/other.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --g

Re: [OpenWrt-Devel] [PATCH] kernel: modules: fix kmod-regmap

2018-08-01 Thread Christian Lamparter
On Wednesday, August 1, 2018 3:21:00 PM CEST Jonas Gorski wrote: > On 30 July 2018 at 22:35, John Crispin wrote: > > On 30/07/18 22:33, Christian Lamparter wrote: > >> > >> This patch fixes the a compile issue that was triggered by > >> apm821xx/sata when kmo

Re: [OpenWrt-Devel] [PATCH] kernel: modules: fix kmod-regmap

2018-08-03 Thread Christian Lamparter
On Thursday, August 2, 2018 11:43:50 AM CEST Jonas Gorski wrote: > On 1 August 2018 at 22:44, Christian Lamparter wrote: >> On Wednesday, August 1, 2018 3:21:00 PM CEST Jonas Gorski wrote: >>> On 30/07/18 22:33, Christian Lamparter wrote: >>>> >>>> Thi

[OpenWrt-Devel] [PATCH] kernel: modules: fix kmod-regmap redux

2018-08-03 Thread Christian Lamparter
modules: fix kmod-regmap") Signed-off-by: Christian Lamparter --- yeee, as usual: nothing is ever complete or simple... If anyone does have a good idea how to fully tackle the "final" issue above: Then let's hear it! In the mean time: Let's try this as an better in

[OpenWrt-Devel] [PATCH 2/5] ath79: port cybertan_part from ar71xx

2018-08-10 Thread Christian Lamparter
which has the upside of making it possible to add properties (i.e.: read-only), labels and references to these important partitions. Signed-off-by: Christian Lamparter --- target/linux/ath79/config-4.14| 1 + .../ath79/files/drivers/mtd/cybertan_part.c | 176 +

[OpenWrt-Devel] [PATCH 3/5] ath79: gmac: add parsers for rxd(v)- and tx(d|en)-delay for AR9344

2018-08-10 Thread Christian Lamparter
Signed-off-by: Christian Lamparter --- .../drivers/net/ethernet/atheros/ag71xx/ag71xx_gmac.c | 8 .../0009-MIPS-ath79-add-lots-of-missing-registers.patch | 6 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/target/linux/ath79/files/drivers/net/ethernet

[OpenWrt-Devel] [PATCH 1/5] packages: nvram: make it possible to include it for ath79 targets

2018-08-10 Thread Christian Lamparter
The WD My Net Range Extender stores the MAC addresses inside the nvram partition. This utility can extract it, but it's currently not avilable on the ath79 target. Hence, this patch adds the necessary target declaration, so it can be built. Signed-off-by: Christian Lamparter --- package/

[OpenWrt-Devel] [PATCH 4/5] ath79: add ath9k calibration data MAC addresses patching

2018-08-10 Thread Christian Lamparter
tool to extract the data. Signed-off-by: Christian Lamparter --- .../etc/hotplug.d/firmware/10-ath9k-eeprom| 50 +++ 1 file changed, 50 insertions(+) diff --git a/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom b/target/linux/ath79/base-files/etc/hotplug

[OpenWrt-Devel] [PATCH 5/5] ath79: add support for WD My Net Wi-Fi Range Extender

2018-08-10 Thread Christian Lamparter
advise to no save the old configuration and start from a clean state. Signed-off-by: Christian Lamparter --- Note: back in the day, this device required a special 10/100Mbps vs 1Gbit/s link speed fix: https://patchwork.ozlabs.org/patch/476713/. But armed with a better understanding (and more

Re: [OpenWrt-Devel] [PATCH 2/5] ath79: port cybertan_part from ar71xx

2018-08-12 Thread Christian Lamparter
On Saturday, August 11, 2018 10:16:06 PM CEST Jonas Gorski wrote: > On 10 August 2018 at 23:24, Christian Lamparter wrote: > > The cybertan_part mtd parser is ported over from ar71xx and converted > > to integrate into the "firmware" mtd splitter. It will no longer add

Re: [OpenWrt-Devel] [PATCH 4/5] ath79: add ath9k calibration data MAC addresses patching

2018-08-12 Thread Christian Lamparter
On Saturday, August 11, 2018 10:23:16 PM CEST Mathias Kresin wrote: > 10.08.2018 23:24, Christian Lamparter: > > This patch copies over the MAC patching helper functions from lantiq's > > target/linux/lantiq/base-files/etc/hotplug.d/firmware/12-ath9k-eeprom > > file

[OpenWrt-Devel] [PATCH v2 1/2] ath79: port cybertan_part from ar71xx

2018-08-17 Thread Christian Lamparter
has the upside of making it possible to add properties (i.e.: read-only), labels and references to these important partitions. Signed-off-by: Christian Lamparter --- target/linux/ath79/config-4.14| 1 + .../drivers/mtd/parsers/parser_cybertan.c | 163

[OpenWrt-Devel] [PATCH v2 2/2] ath79: add support for WD My Net Wi-Fi Range Extender

2018-08-17 Thread Christian Lamparter
g from ar71xx can use sysupgrade too. But I highly advise to no save the old configuration and start from a clean state. Signed-off-by: Christian Lamparter --- .../ath79/base-files/etc/board.d/01_leds | 7 + .../ath79/base-files/etc/board.d/02_network | 6 +- .../etc/hotplug.d/firmware/10-a

[OpenWrt-Devel] [PATCH] ath79: add support for TP-Link Archer C7 v1

2018-08-17 Thread Christian Lamparter
ath10k!) - 5x 10/100/1000 Mbps Ethernet (AR8327N Switch) - 10x LEDs, 2x software buttons For further informwation on the device, visit the wiki: <https://openwrt.org/toh/tp-link/archer-c7-1750> Signed-off-by: Christian Lamparter --- .../ath79/base-files/etc/board.d/02_network | 1 + ...

Re: [OpenWrt-Devel] [PATCH] build: add mkrasimage

2018-08-17 Thread Christian Lamparter
On Thursday, August 16, 2018 12:31:38 PM CEST David Bauer wrote: > On 8/16/18 3:12 AM, Karl Palsson wrote: > > 1) how bad are the portability issues that you felt > > reimplementing in _C_ was the best path? 2) if it's that bad, why > > keep it? How will future people knwo what to use. Either get r

Re: [OpenWrt-Devel] [PATCH] ath79: add support for TP-Link Archer C7 v1

2018-08-17 Thread Christian Lamparter
On Friday, August 17, 2018 11:10:59 PM CEST Mathias Kresin wrote: > 17.08.2018 18:36, Christian Lamparter: > > TP-Link Archer C7 v1 is a dual band router > > based on Qualcomm/Atheros QCA9558 + QCA9880. > > > > Specification: > > > > - 720 MHz C

Re: [OpenWrt-Devel] [PATCH v2 2/2] ath79: add support for WD My Net Wi-Fi Range Extender

2018-08-17 Thread Christian Lamparter
On Friday, August 17, 2018 11:07:23 PM CEST Mathias Kresin wrote: > Hey Christian, > > I found something to nitpick about. Find my comments inline. Thank you for the review, I'll wait a until early next week, maybe Jonas has a comment on the cybertan-trx too. > [...] > > diff --git a/target/linu

[OpenWrt-Devel] [PATCH 2/3] ath79: port cybertan_part from ar71xx

2018-09-04 Thread Christian Lamparter
has the upside of making it possible to add properties (i.e.: read-only), labels and references to these important partitions. Signed-off-by: Christian Lamparter --- target/linux/ath79/config-4.14| 1 + .../drivers/mtd/parsers/parser_cybertan.c | 163

[OpenWrt-Devel] [PATCH 3/3] ath79: add support for WD My Net Wi-Fi Range Extender

2018-09-04 Thread Christian Lamparter
too. But I highly advise to no save the old configuration and start from a clean state. Signed-off-by: Christian Lamparter --- .../ath79/base-files/etc/board.d/01_leds | 8 + .../ath79/base-files/etc/board.d/02_network | 6 +- .../etc/hotplug.d/firmware/10-ath9k-eeprom| 4 +

[OpenWrt-Devel] [PATCH 1/3] toolchain/musl: update to version 1.1.20

2018-09-04 Thread Christian Lamparter
s to musl's release sponsors (patreon.com/musl): * The Midipix Project (midipix.org) * Hurricane Labs (hurricanelabs.com) * Neal Gompa * Les Aker * Justin Cormack " Signed-off-by: Christian Lamparter --- Would be nice to hear from testers. --- toolchain/musl/common.mk

Re: [OpenWrt-Devel] [PATCH 2/3] ath79: port cybertan_part from ar71xx

2018-09-04 Thread Christian Lamparter
On Tuesday, September 4, 2018 11:34:34 PM CEST Rafał Miłecki wrote: > On Tue, 4 Sep 2018 at 23:27, Christian Lamparter wrote: > > This patch ports the cybertan_part code from ar71xx and converts the > > driver to a DT-supported mtd parser. As a result, it will no longer > >

Re: [OpenWrt-Devel] [PATCH 1/3] toolchain/musl: update to version 1.1.20

2018-09-06 Thread Christian Lamparter
On Thursday, September 6, 2018 12:31:23 PM CEST Koen Vandeputte wrote: > This one is running stable here on a lot of different devices (and > targets) for the past 48 hours > > Tested-by: Koen Vandeputte That's good to hear. Did you see any new complains in the compiler logs or something else un

Re: [OpenWrt-Devel] [PATCH v2] ipq40xx: Add support for IPQ4019 ap-dk07.1-c1

2018-09-07 Thread Christian Lamparter
On Friday, September 7, 2018 2:10:30 PM CEST Ram Chandra Jangir wrote: > * SoC: QCA IPQ4019 > * RAM: 512 MiB > * Flash: 32 MiB of SPI NOR and 128 MiB NAND > * Wireless: 2.4-GHz 802.11ng, and two 5-GHz 802.11ac > * IoT : > CSR8811 radio [ supports BT classic and BLE ] > SiLabs EFR32

Re: [OpenWrt-Devel] [PATCH v2] ipq40xx: Add support for IPQ4019 ap-dk07.1-c1

2018-09-11 Thread Christian Lamparter
On Monday, September 10, 2018 5:50:53 PM CEST Ram Chandra Jangir wrote: > On Friday, September 07, 2018 8:36 PM CEST Christian Lamparter wrote: > > On Friday, September 7, 2018 2:10:30 PM CEST Ram Chandra Jangir wrote: > > > 3) WDOG test > > 4) cpu frequency scal

Re: [OpenWrt-Devel] [PATCH 1/3] toolchain/musl: update to version 1.1.20

2018-09-13 Thread Christian Lamparter
On Tuesday, September 11, 2018 11:18:48 AM CEST Koen Vandeputte wrote: > > On 2018-09-06 18:16, Christian Lamparter wrote: > > On Thursday, September 6, 2018 12:31:23 PM CEST Koen Vandeputte wrote: > >> This one is running stable here on a lot of different devices (and >

Re: [OpenWrt-Devel] [PATCH v3] ipq40xx: Add support for IPQ4019 ap-dk07.1-c1

2018-09-19 Thread Christian Lamparter
On Friday, September 14, 2018 5:35:56 PM CEST Ram Chandra Jangir wrote: > * SoC: QCA IPQ4019 > * RAM: 512 MiB > * Flash: 32 MiB of SPI NOR and 128 MiB NAND > * Wireless: 2.4-GHz 802.11ng, and two 5-GHz 802.11ac > * IoT : > CSR8811 radio [ supports BT classic and BLE ] > SiLabs EFR3

[OpenWrt-Devel] [PATCH 1/5] treewide: replace 'linux, stdout-path' with 'stdout-path'

2018-09-21 Thread Christian Lamparter
en deprecated for some time in favor of |'stdout-path'. Now dtc will warn on occurrences of 'linux,stdout-path'. |Search and replace all the of occurrences with 'stdout-path'. Signed-off-by: Christian Lamparter --- target/linux/apm821xx/dts/meraki-mr24.dts

[OpenWrt-Devel] [PATCH 2/5] apm821xx: remove wd, mybooklive-duo leftovers

2018-09-21 Thread Christian Lamparter
The unification of the My Book Live Single and duo image in commit 9b47aa93c76b ("apm821xx: unify My Book Live Single + Duo images") made the wd,mybooklive-duo obsolete in most places and can be removed. Signed-off-by: Christian Lamparter --- target/linux/apm821xx/base-files/etc/board

[OpenWrt-Devel] [PATCH 5/5] apm821xx: net: emac: fix fixed-link setup for the RTL8363SB switch

2018-09-21 Thread Christian Lamparter
On the Netgear WNDAP620, the emac ethernet isn't receiving nor xmitting any frames from/to the RTL8363SB (identifies itself as a RTL8367RB). This is caused by hardware not knowing the right forced link settings (speed, duplex, pause, etc.) settings. Signed-off-by: Christian Lamparter ---

[OpenWrt-Devel] [PATCH 4/5] base-files: make it possible to specify switch led mode

2018-09-21 Thread Christian Lamparter
s for this parameter are: link, rx and tx. Any permutations of these three values are supported, as long as they are properly encased with quotes. If the parameter is not specified it will default to "all" (link rx tx). Signed-off-by: Christian Lamparter --- package/base-files/files

[OpenWrt-Devel] [PATCH 3/5] apm821xx: fix dtc compiler warnings for MX60(W) and MR24's dts files

2018-09-21 Thread Christian Lamparter
0(W): Node [..]nand/all has a reg or ranges property, but no unit name Node [..]button@1 has a unit name, but no reg property Signed-off-by: Christian Lamparter --- target/linux/apm821xx/dts/meraki-mr24.dts | 8 ++-- target/linux/apm821xx/dts/meraki-mx60.dts | 7 +-- 2 files changed, 7 insert

[OpenWrt-Devel] [PATCH][master and 18.06] apm821xx: wndr4700: restore sd-card media detection

2018-10-14 Thread Christian Lamparter
This was not converted to the new, dt-based board name. Fixes: e90dc8d2722 ("apm821xx: convert to device-tree board detection") Signed-off-by: Christian Lamparter --- target/linux/apm821xx/base-files/etc/rc.button/BTN_1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --gi

[OpenWrt-Devel] [PATCH 2/5] apm821xx: set uart compatible to ns16750

2018-10-15 Thread Christian Lamparter
The APM821XX/PPC460EX datasheet mentions: "Register compatibility with 16750 register set" Signed-off-by: Christian Lamparter --- target/linux/apm821xx/dts/apm82181.dtsi | 17 +++-- 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/target/linux/apm821xx/dt

[OpenWrt-Devel] [PATCH 5/5] apm821xx: add disk-activity triggers via DT.

2018-10-15 Thread Christian Lamparter
The WNDR4700 and the MBL have a dedicated HDD activity LED. This patch adds the default led triggers to the DTS and removes the entries in 01_leds. Signed-off-by: Christian Lamparter --- target/linux/apm821xx/base-files/etc/board.d/01_leds | 5 - target/linux/apm821xx/dts/netgear-wndr4700

[OpenWrt-Devel] [PATCH 4/5] apm821xx: apm82181.dtsi overhaul

2018-10-15 Thread Christian Lamparter
nd network device_type had to stay since they are required by the drivers and u-boot. the cpu and memory device_types will remain as well as they are still part of the DT Spec. Signed-off-by: Christian Lamparter --- target/linux/apm821xx/dts/apm82181.dtsi | 274 1 fi

[OpenWrt-Devel] [PATCH 1/5] build: remove obsolete -rc kernel testing rewrites

2018-10-15 Thread Christian Lamparter
The -rcX "testing" kernels are no longer hosted on cdn.kernel.org file servers directly in a "testing" directory. Therefore the logic that tested for "-rc" can be removed. Signed-off-by: Christian Lamparter --- include/kernel.mk | 3 +-- 1 file changed, 1 inse

[OpenWrt-Devel] [PATCH 3/5] apm821xx: force WNDR4700 console to 115200n8

2018-10-15 Thread Christian Lamparter
ty", so there's no easy way to pass the baudrate from u-boot to the kernel. So it has to be forced as otherwise it ends up as 9600 baud. Signed-off-by: Christian Lamparter --- target/linux/apm821xx/dts/netgear-wndr4700.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -

[OpenWrt-Devel] [PATCH][18.06] apm821xx: MBL: load kernel/dtb from SATA 0:1 first

2018-10-15 Thread Christian Lamparter
only be called once. (In theory it could be omitted completely since the on-flash boot script already initializes SATA to load the on-disk boot script.) Tested on MBL Duo (all possible combination of disks) and MBL Single Signed-off-by: Freddy Leitner Acked-by: Christian Lamparter --- Com

[OpenWrt-Devel] [PATCH] dnsmasq: fix dnsmasq failure to start when ujail'd

2018-10-16 Thread Christian Lamparter
: a45f4f50e16 ("dnsmasq: add dhcp-ignore-names support - CERT VU#598349") Signed-off-by: Christian Lamparter --- package/network/services/dnsmasq/files/dnsmasq.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/network/services/dnsmasq/files/dnsmasq.init

[OpenWrt-Devel] [PATCH v1 3/8] apm821xx: MX60(W): enable u-boot environment

2018-10-17 Thread Christian Lamparter
This patch adds u-boot environment access to the MX60(W) target. "The environment size is one NAND block (128KiB on Buckminster). We allocate four NAND blocks to deal with bad blocks which may exist in the saved environment" Signed-off-by: Christian Lamparter --- package/boot/uboo

[OpenWrt-Devel] [PATCH v1 5/8] generic: rtl836x: support defered probe on mdio-bus

2018-10-17 Thread Christian Lamparter
rtl8366_smi_probe_of() function to return -EPROBE_DEFER if the mdio-bus lookup failed and changes rtl8366_smi_probe()'s signature to return the error code back to the callee, so it can propagate back to the kernel. Which, will retry the switch probe at a later time. Signed-off-by: Christian Lamp

[OpenWrt-Devel] [PATCH v1 1/8] apm821xx: add uboot-envtools support

2018-10-17 Thread Christian Lamparter
All apm821xx devices use u-boot and most of them have an accessible u-boot environment. This patch adds the necessary template file, but does not add the uboot-envtools package to any of the targets. Signed-off-by: Christian Lamparter --- package/boot/uboot-envtools/files/apm821xx | 18

[OpenWrt-Devel] [PATCH v1 6/8] generic: rtl8367b: make it possible to specify cpu_port via DT

2018-10-17 Thread Christian Lamparter
This patch adds the feature to parse the existing cpu_port DT property, which is used to specify which port is the cpu port of the switch. Signed-off-by: Christian Lamparter --- target/linux/generic/files/drivers/net/phy/rtl8367b.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions

[OpenWrt-Devel] [PATCH v1 2/8] apm821xx: MR24: add to uboot-envtools

2018-10-17 Thread Christian Lamparter
This patch adds the complicated u-boot environment access settings for to the MR24 target. Signed-off-by: Christian Lamparter --- package/boot/uboot-envtools/files/apm821xx | 4 target/linux/apm821xx/dts/meraki-mr24.dts | 25 +- 2 files changed, 28 insertions(+), 1

[OpenWrt-Devel] [PATCH v1 8/8] apm821xx: shuffle helper scripts to the front

2018-10-17 Thread Christian Lamparter
In a patch for the ath79, Mathias Kresin mentioned that helper scripts should be in front of the device targets. Signed-off-by: Christian Lamparter --- target/linux/apm821xx/image/Makefile | 165 +-- 1 file changed, 82 insertions(+), 83 deletions(-) diff --git a/target

[OpenWrt-Devel] [PATCH v1 4/8] apm821xx: import gpio-export DT code from lantiq

2018-10-17 Thread Christian Lamparter
This will come in handy for the Netgear WNDAP620's antennae mux. Signed-off-by: Christian Lamparter --- .../140-GPIO-add-named-gpio-exports.patch | 169 ++ 1 file changed, 169 insertions(+) create mode 100644 target/linux/apm821xx/patches-4.14/140-GPIO-add-named

[OpenWrt-Devel] [PATCH v1 7/8] apm821xx: add support for the Netgear WNDAP620 and WNDAP660

2018-10-17 Thread Christian Lamparter
dap660-initramfs-kernel.bin # run addtty # bootm ${kernel_addr_r} Signed-off-by: Christian Lamparter --- package/boot/uboot-envtools/files/apm821xx| 4 + .../apm821xx/base-files/etc/board.d/01_leds | 16 ++ .../base-files/etc/board.d/02_network | 7 +- .../etc/hotplug.d/ieee8021

Re: [OpenWrt-Devel] [PATCH] kernel: tolerate using UBI/UBIFS on MLC flash (FS#1830)

2018-10-22 Thread Christian Lamparter
On Monday, October 22, 2018 3:48:29 PM CEST Koen Vandeputte wrote: > > On 20.10.18 17:46, Hauke Mehrtens wrote: > > On 10/18/2018 02:28 PM, Koen Vandeputte wrote: > >> starting from upstream commit 577b4eb23811 ("ubi: Reject MLC NAND") > >> it is not allowed to use UBI and UBIFS on a MLC flavoured

[OpenWrt-Devel] [PATCH 3/4] ipq40xx: nbg6617: switch to upstream boardfile variant

2018-10-22 Thread Christian Lamparter
The NBG6617's boardfile was merged and this device can now switch to the upstream ath10k board-2.bin. Signed-off-by: Christian Lamparter --- .../files-4.14/arch/arm/boot/dts/qcom-ipq4018-nbg6617.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/target/linux/ipq40xx/files

[OpenWrt-Devel] [PATCH 2/4] ath10k-firmware: update board-2.bin for community firmwares

2018-10-22 Thread Christian Lamparter
This patch updates the board-2.bin for the default IPQ4019, QCA9984 and QCA9888 ath10k-firmware-xyz-ct and -ct-htt firmwares. Signed-off-by: Christian Lamparter --- package/firmware/ath10k-firmware/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/firmware

[OpenWrt-Devel] [PATCH 1/4] ipq40xx: rt-ac58u: replace ubi auto load hack

2018-10-22 Thread Christian Lamparter
once the device switches to the new spi-nand subsystem. Signed-off-by: Christian Lamparter --- .../arm/boot/dts/qcom-ipq4018-rt-ac58u.dts| 4 +++ ...dd-quirk-to-autoload-ubi-on-rt-ac58u.patch | 29 --- 2 files changed, 4 insertions(+), 29 deletions(-) delete mode 100644 targe

[OpenWrt-Devel] [PATCH 4/4] ipq-wifi: drop custom board-2.bins

2018-10-22 Thread Christian Lamparter
merged. Signed-off-by: Christian Lamparter --- package/firmware/ipq-wifi/Makefile | 4 +--- .../firmware/ipq-wifi/board-zyxel_nbg6617.bin | Bin 24276 -> 0 bytes .../firmware/ipq-wifi/board-zyxel_wre6606.bin | Bin 24316 -> 0 bytes target/linux/ipq40xx/image/Ma

Re: [OpenWrt-Devel] [PATCH 3/4] ipq40xx: nbg6617: switch to upstream boardfile variant

2018-10-22 Thread Christian Lamparter
On Monday, October 22, 2018 11:04:14 PM CEST Robert Marko wrote: > On Mon, 22 Oct 2018 at 23:03, Christian Lamparter wrote: > > > > The NBG6617's boardfile was merged and this device can > > now switch to the upstream ath10k board-2.bin. > > This is only applicabl

[OpenWrt-Devel] [PATCH v2 3/4] ipq40xx: nbg6617: switch to upstream boardfile variant

2018-10-22 Thread Christian Lamparter
The NBG6617's boardfile was merged and this device can now switch to the upstream ath10k board-2.bin. Signed-off-by: Christian Lamparter --- .../files-4.14/arch/arm/boot/dts/qcom-ipq4018-nbg6617.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/target/linux/ipq40xx/files

[OpenWrt-Devel] [PATCH v2 2/4] ath10k-firmware: update board-2.bin for community firmwares

2018-10-22 Thread Christian Lamparter
This patch updates the board-2.bin for the default IPQ4019, QCA9984 and QCA9888 ath10k-firmware-xyz-ct and -ct-htt firmwares. Signed-off-by: Christian Lamparter --- package/firmware/ath10k-firmware/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package

[OpenWrt-Devel] [PATCH v2 4/4] ipq-wifi: drop custom board-2.bins

2018-10-22 Thread Christian Lamparter
merged. Signed-off-by: Christian Lamparter --- package/firmware/ipq-wifi/Makefile | 4 +--- .../firmware/ipq-wifi/board-zyxel_nbg6617.bin | Bin 24276 -> 0 bytes .../firmware/ipq-wifi/board-zyxel_wre6606.bin | Bin 24316 -> 0 bytes target/linux/ipq40xx/image/Ma

[OpenWrt-Devel] [PATCH v2 1/4] ipq40xx: rt-ac58u: replace ubi auto load hack

2018-10-22 Thread Christian Lamparter
once the device switches to the new spi-nand subsystem. Signed-off-by: Christian Lamparter --- .../arm/boot/dts/qcom-ipq4018-rt-ac58u.dts| 4 +++ ...dd-quirk-to-autoload-ubi-on-rt-ac58u.patch | 29 --- 2 files changed, 4 insertions(+), 29 deletions(-) delete mode 100644 targe

Re: [OpenWrt-Devel] [PATCH] kernel: tolerate using UBI/UBIFS on MLC flash (FS#1830)

2018-10-23 Thread Christian Lamparter
On Tuesday, October 23, 2018 2:37:16 PM CEST Koen Vandeputte wrote: > > On 22.10.18 19:27, Christian Lamparter wrote: > > On Monday, October 22, 2018 3:48:29 PM CEST Koen Vandeputte wrote: > >> On 20.10.18 17:46, Hauke Mehrtens wrote: > >>> On 10/18/201

Re: [OpenWrt-Devel] [PATCH] kernel: tolerate using UBI/UBIFS on MLC flash (FS#1830)

2018-10-23 Thread Christian Lamparter
Sorry, hit "Send" by accident On Tuesday, October 23, 2018 2:37:16 PM CEST Koen Vandeputte wrote: > > On 22.10.18 19:27, Christian Lamparter wrote: > > On Monday, October 22, 2018 3:48:29 PM CEST Koen Vandeputte wrote: > >> On 20.10.18 17:46, Hauke Mehrtens wrot

<    1   2   3   4   5   >