[OpenWrt-Devel] [PATCH] ramips: change LED trigger

2018-06-10 Thread David Bauer
this change against two of those devices, namely a TL-WR841 v13 and a Archer C50 v3. Signed-off-by: David Bauer --- target/linux/ramips/base-files/etc/board.d/01_leds | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target

[OpenWrt-Devel] [PATCH] ipq40xx: add get_status_led to diag.sh

2018-06-12 Thread David Bauer
This commit adds the get_status_led method to diag.sh, which sets the boot-led as status-led for scripts using this method to get a status-led. This method is used platform-independent in downstream project gluon to set the LED used to indicate the config-mode. Signed-off-by: David Bauer

[OpenWrt-Devel] [PATCH v2] ath79: add support for OCEDO Koala

2018-08-08 Thread David Bauer
from the initramfs image with > fw_setenv bootcmd run bootcmd_1 Afterwards you can reboot the device. Signed-off-by: David Bauer --- package/boot/uboot-envtools/files/ath79 | 1 + .../ath79/base-files/etc/board.d/02_network | 1 + .../etc/hotplug.d/firmware/11-ath10k-caldata |

[OpenWrt-Devel] [PATCH] ath79: fix PLL settings for QCA955x

2018-08-09 Thread David Bauer
settings defined in the QCA9557.dtsi are applied which are off for those devices. Signed-off-by: David Bauer --- target/linux/ath79/dts/qca9557.dtsi| 4 ++-- target/linux/ath79/dts/qca9558_openmesh_om5p-ac-v2.dts | 4 target/linux/ath79/dts/qca9558_tplink_tl-wr1043nd.dtsi | 4

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

2018-08-15 Thread David Bauer
be deleted in the future. Signed-off-by: David Bauer --- include/image-commands.mk | 13 + target/linux/ipq40xx/image/Makefile | 2 +- tools/firmware-utils/Makefile | 1 + tools/firmware-utils/src/mkrasimage.c | 374 ++ 4 files changed, 389

[OpenWrt-Devel] [PATCH v2] ath79: add support for Fritz!Box 4020

2018-08-15 Thread David Bauer
> quote USER adam2 ftp> quote PASS adam2 ftp> binary ftp> debug ftp> passive ftp> quote MEDIA FLSH ftp> put openwrt-sysupgrade.bin mtd1 Note that this procedure might take up to two minutes. After transfer is complete you need to powercycle the device to boot OpenWRT.

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

2018-08-16 Thread David Bauer
7-tftp-flash-wont-take/17731/10 Greetings David > Cheers, > Karl P > >> >> Signed-off-by: David Bauer >> --- >> include/image-commands.mk | 13 + >> target/linux/ipq40xx/image/Makefile | 2 +- >> tools/firmware-utils/Makefile

Re: [OpenWrt-Devel] [PATCH v2] ath79: add support for Fritz!Box 4020

2018-08-16 Thread David Bauer
I was informed that gpio-hogs might be the thing we are looking for, i will look into that. So this patch should be hold back for now. On 8/16/18 2:15 AM, David Bauer wrote: > This commit adds support for the AVM Fritz!Box 4020 WiFi-router. > > SoC: Qualcomm Atheros QCA9561 (Dragonfl

[OpenWrt-Devel] [PATCH 4/4] ath79: add support for OCEDO Koala

2018-08-06 Thread David Bauer
from the initramfs image with > fw_setenv bootcmd run bootcmd_1 Afterwards you can reboot the device. Signed-off-by: David Bauer --- package/boot/uboot-envtools/files/ath79 | 1 + .../ath79/base-files/etc/board.d/02_network | 1 + .../etc/hotplug.d/firmware/11-ath10k-caldata |

[OpenWrt-Devel] [PATCH 3/4] kernel: allow device-tree configuration of at803x

2018-08-06 Thread David Bauer
This commit adds the ability to configure specific functions of the at803x series ethernet-PHYs, which were previously configured exclusively with the help of platform-data, via device-tree. This is needed to fully support existing boards of the ar71xx platform. Signed-off-by: David Bauer

[OpenWrt-Devel] [PATCH 2/4] ath79: fix QCA9557 eth PLL settings

2018-08-06 Thread David Bauer
The QCA9557 dtsi is currently missing pll-handle and pll-regs for both eth0 and eth1, therefore PLL settings won't be applied. This commit fixes this behavior. Signed-off-by: David Bauer --- target/linux/ath79/dts/qca9557.dtsi | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff

[OpenWrt-Devel] [PATCH 1/4] uboot-envtools: add ath79 target

2018-08-06 Thread David Bauer
This adds uci entries for all ath79 devices for which this already was the case on ar71xx. Additionally we add the OCEDO Koala as there was no support in OpenWRT yet. Signed-off-by: David Bauer --- package/boot/uboot-envtools/files/ath79 | 26 + 1 file changed, 26

[OpenWrt-Devel] [PATCH 2/2] ar71xx: allow to override at803x sgmii aneg status

2018-08-06 Thread David Bauer
the SGMII side autonegotiation status to allow ag71xx to do the fixup work. Signed-off-by: David Bauer --- .../files/arch/mips/ath79/mach-fritz450e.c| 1 + ...at803x-add-sgmii-aneg-override-pdata.patch | 42 +++ 2 files changed, 43 insertions(+) create mode 100644 target/linux

[OpenWrt-Devel] [PATCH 1/2] ar71xx: fix QCA955X SGMII link loss

2018-08-06 Thread David Bauer
-on-patch-by: Sven Eckelmann Signed-off-by: David Bauer --- .../files/arch/mips/ath79/mach-fritz450e.c| 1 + .../include/asm/mach-ath79/ag71xx_platform.h | 1 + .../net/ethernet/atheros/ag71xx/ag71xx.h | 2 + .../net/ethernet/atheros/ag71xx/ag71xx_main.c | 79

[OpenWrt-Devel] [PATCH 2/2] ath79: add support for Fritz!Box 4020

2018-08-12 Thread David Bauer
> quote USER adam2 ftp> quote PASS adam2 ftp> binary ftp> debug ftp> passive ftp> quote MEDIA FLSH ftp> put openwrt-sysupgrade.bin mtd1 Note that this procedure might take up to two minutes. After transfer is complete you need to powercycle the device to boot OpenWRT.

[OpenWrt-Devel] [PATCH 1/2] ath79: add QCA956x GMAC config

2018-08-12 Thread David Bauer
This commit adds the ability to configure the GMAC of the QCA956x. Signed-off-by: David Bauer --- target/linux/ath79/dts/qca956x.dtsi | 5 + .../net/ethernet/atheros/ag71xx/ag71xx_gmac.c | 13 + 2 files changed, 18 insertions(+) diff --git a/target/linux

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

2018-08-18 Thread David Bauer
Hi Christian, I wrote the bash version because of issues in the past with C implementations of firmware packers for the Meraki routers (mkmerakifw.c and mkmerakifw-old.c). The issue there was that the main dev was coming from a sysadmin background and as with many OpenWrt users he had problems

Re: [OpenWrt-Devel] [PATCH] ath79: fix SUPPORTED_DEVICES for TL-MR3020

2018-08-18 Thread David Bauer
On 8/19/18 12:13 AM, Karl Palsson wrote: > These were removed as "it was intended to be required to force > when switching "architectures"" I disagreed then, but it got > railed through, so it's good to see I'm not the only one who > thought you should be able to upgrade from ar71xx to ath79 on

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

2018-08-21 Thread David Bauer
Hi, On 8/21/18 8:31 AM, Stefan Lippers-Hollmann wrote: > While this passes the version check, the appended git hash does break > later on in the flashing process - so at the moment only the numerical > revision (of DISTRIB_REVISION='r7890-40eb9bda44') seems to be safe: > > RAS_VERSION :=

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

2018-08-19 Thread David Bauer
be deleted in the future. The new mkrasimage is also compatible with other ZyXEL devices using the ras image-format. This is not tested with a OpenWRT build but it correctly builds the header for ZyXEL factory images for all devices it is added to. Signed-off-by: David Bauer --- v2 changes

[OpenWrt-Devel] [PATCH v3] ath79: add support for Fritz!Box 4020

2018-08-18 Thread David Bauer
SER adam2 ftp> quote PASS adam2 ftp> binary ftp> debug ftp> passive ftp> quote MEDIA FLSH ftp> put openwrt-sysupgrade.bin mtd1 Note that this procedure might take up to two minutes. After transfer is complete you need to powercycle the device to boot OpenWRT. Signe

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

2018-08-22 Thread David Bauer
with other ZyXEL devices using the ras image-format. This is not tested with the NBG6616 but it correctly builds the header for ZyXEL factory image. Signed-off-by: David Bauer --- v3 changes: - Removed remark about leaving the old script - Adjusted NBG6817 RAS_VERSION string to allow Web-UI

[OpenWrt-Devel] [PATCH] ath79: fix SUPPORTED_DEVICES for TL-MR3020

2018-08-18 Thread David Bauer
e. Signed-off-by: David Bauer --- target/linux/ath79/image/tiny-tp-link.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ath79/image/tiny-tp-link.mk b/target/linux/ath79/image/tiny-tp-link.mk index 6ccc9d7dba..dadcd24b42 100644 --- a/target/linux/ath79/ima

[OpenWrt-Devel] [PATCH] ath79: fix OCEDO Raccoon

2018-07-20 Thread David Bauer
by the bootloader. Signed-off-by: David Bauer --- target/linux/ath79/base-files/etc/board.d/02_network | 1 + target/linux/ath79/dts/ar9344_ocedo_raccoon.dts | 4 2 files changed, 5 insertions(+) diff --git a/target/linux/ath79/base-files/etc/board.d/02_network b/target/linux/ath79/base

Re: [OpenWrt-Devel] Ubiquiti UniFi AC range missing factory images?

2018-09-08 Thread David Bauer
Hi Stijn, On 9/8/18 5:47 PM, Stijn Segers wrote: > Since > newer Ubiquiti images (after March 2017 it seems) also lack the mtd > command necessary to flash OpenWrt, I was wondering why there's only > sysupgrade images. After all, Ubiquiti might pull those older firmwares > at any time, and that

[OpenWrt-Devel] [PATCH 2/2] ath79: flag FritzBox 4020 buttons as active low

2018-09-11 Thread David Bauer
Buttons of AVM FritzBox 4020 are incorrectly flagged as active high. This was an oversight as RFKill button was working as expected even with incorrectly flagged GPIO. Signed-off-by: David Bauer --- target/linux/ath79/dts/qca9561_avm_fritz4020.dts | 4 ++-- 1 file changed, 2 insertions(+), 2

[OpenWrt-Devel] [PATCH 1/2] ar71xx: flag FritzBox 4020 buttons as active low

2018-09-11 Thread David Bauer
Buttons of AVM FritzBox 4020 are incorrectly flagged as active high. This was an oversight as RFKill button was working as expected even with incorrectly flagged GPIO. Signed-off-by: David Bauer --- This commit should also be applied to the openwrt-18.06 branch as the issue is also present

[OpenWrt-Devel] [PATCH] ar71xx: move OCEDO Koala back to generic subtarget

2018-10-18 Thread David Bauer
This changes the OCEDO Koala flash-layout to a unified firmware partition, thus making the ar71xx-generic kernel fit in flash. Compile and runtested on OCEDO Koala. Signed-off-by: David Bauer --- target/linux/ar71xx/generic/config-default | 1 + target/linux/ar71xx/image/generic.mk | 9

[OpenWrt-Devel] [PATCH] kernel: b53: register switch on probe

2018-10-21 Thread David Bauer
Koala. Signed-off-by: David Bauer --- .../files/drivers/net/phy/b53/b53_mdio.c | 43 +-- 1 file changed, 21 insertions(+), 22 deletions(-) diff --git a/target/linux/generic/files/drivers/net/phy/b53/b53_mdio.c b/target/linux/generic/files/drivers/net/phy/b53/b53_mdio.c index

Re: [OpenWrt-Devel] RFT: ar71xx - 4.14

2018-10-28 Thread David Bauer
Hi Koen, On 25.10.18 14:39, Koen Vandeputte wrote: > Hi All, > > As most of you know, ar71xx bumped to 4.14 which caused a slight kernel > oversize for some targets. > > I crafted some patches to address this, but it requires testing. > As I don't have any of these devices locally, I would like

[OpenWrt-Devel] [PATCH] ath79: add support for Archer C58/C59 v1

2018-10-31 Thread David Bauer
lding down the reset-button. The router will flash itself and reboot. Note: For TFTP, you might need a switch between router and computer, as link establishment might take to long. Signed-off-by: David Bauer --- .../ath79/base-files/etc/board.d/01_leds | 5 + .../ath79/base-files/etc/board.d/

[OpenWrt-Devel] [PATCH] ipq40xx: fix NBG6617 LED mapping

2018-11-04 Thread David Bauer
The NBG6617's LEDs are wrongly identified in the 01_leds boardinit script (board instead of boardname), resulting in referencing non-existent LEDs in UCI. Signed-off-by: David Bauer --- target/linux/ipq40xx/base-files/etc/board.d/01_leds | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions

[OpenWrt-Devel] [PATCH] tools: tplink-safeloader: add C7v5 EU SupportList

2018-11-07 Thread David Bauer
Currently flash from WebIF is broken for Archer C7 v5 EU models as their SupportList entries are missing. The added entries originate from TP-Links latest Archer C7 v5 EU firmware. Signed-off-by: David Bauer --- tools/firmware-utils/src/tplink-safeloader.c | 6 +- 1 file changed, 5

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

2018-11-17 Thread David Bauer
Hello Karl, On 10.11.18 18:06, Karl-Felix Glatzer wrote: > This patch adds support for TP-Link Archer A7 > > Specification: > - SOC: QCA9563 > - Flash: 16 MiB (SPI) > - RAM: 128 MiB (DDR2) > - Ethernet: 4x 1Gbps LAN + 1x 1Gbps WAN > - Wireless: > - 2.4GHz (bgn) SoC internal > - 5GHz (ac)

[OpenWrt-Devel] [PATCH v3 1/3] tools: mktplinkfw2: add split-uboot layout

2018-12-31 Thread David Bauer
This commit adds the split-uboot partition layout used by the Archer C50 v4 to mktplinkfw2. Signed-off-by: David Bauer --- tools/firmware-utils/src/mktplinkfw2.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/tools/firmware-utils/src/mktplinkfw2.c b/tools/firmware-utils/src

[OpenWrt-Devel] [PATCH v3 2/3] mtd: add logic for TP-Link ramips recovery magic

2018-12-31 Thread David Bauer
web-recovery is automatically enabled on an unsucessful flash (e.g. power loss). This option is only available if the mtd package is compiled for the ramips target. Signed-off-by: David Bauer --- package/system/mtd/Makefile | 2 +- package/system/mtd/src/Makefile |

[OpenWrt-Devel] [PATCH v3 3/3] ramips: add support for Archer C50 v4

2018-12-31 Thread David Bauer
enWRT. It is important to note that Web-Recovery is only based on this flag. It can't detect e.g. a crashing kernel or other means. Once activated it won't boot the OS before a recovery action (either via TFTP or HTTP) is performed. This recovery-mode is indicated by an illuminated WPS-LED on boot.

[OpenWrt-Devel] [PATCH] ath79: fix OCEDO Koala ethernet configuration

2018-12-29 Thread David Bauer
The OCEDO Koala has incorrect PLL settings which result in ~3% packet loss on ethernet connections. Also omit the gmac-configuration as it's incorrect too. Signed-off-by: David Bauer --- target/linux/ath79/dts/qca9558_ocedo_koala.dts | 12 +--- 1 file changed, 1 insertion(+), 11

[OpenWrt-Devel] [PATCH 2/2] ath79: add support for devolo WiFi pro 1200i

2019-01-01 Thread David Bauer
in the web interface. 2. Install OpenWRT with > sysupgrade -n -F /tmp/ Signed-off-by: David Bauer --- .../ath79/base-files/etc/board.d/02_network | 1 + .../etc/hotplug.d/firmware/11-ath10k-caldata | 1 + .../ath79/dts/qca9558_devolo_dvl1200i.dts | 51 +++ target/linux/at

[OpenWrt-Devel] [PATCH 1/2] ath79: add support for devolo WiFi pro 1750i

2019-01-01 Thread David Bauer
in the web interface. 2. Install OpenWRT with > sysupgrade -n -F /tmp/ Signed-off-by: David Bauer --- .../ath79/base-files/etc/board.d/02_network | 1 + .../etc/hotplug.d/firmware/11-ath10k-caldata | 3 +- .../ath79/dts/qca9558_devolo_dvl1750i.dts | 51 +++ target/linux/at

[OpenWrt-Devel] [PATCH] mpc85xx: add support for Sophos RED 15w Rev.1

2019-01-06 Thread David Bauer
enWRT initramfs image just like you would for installation. Write back the three vendor partitions using mtd. Reboot the device afterwards. Signed-off-by: David Bauer --- target/linux/mpc85xx/Makefile | 2 +- target/linux/mpc85xx/base-files/etc/diag.sh | 3 + .../etc/hotplug.d/ieee80211/1

[OpenWrt-Devel] [PATCH 2/2] mpc85xx: add support for OCEDO Panda

2019-01-16 Thread David Bauer
bi part ubi && ubi read 0x100 kernel && bootm 0x100" > fw_setenv bootargs_owrt "setenv bootargs console=ttyS0,115200 ubi.mtd=3,2048" > fw_setenv bootcmd "run bootargs_owrt; run bootcmd_owrt" 8. Transfer the sysupgrade image via scp into the /tmp d

[OpenWrt-Devel] [PATCH 1/2] mpc85xx: use generic diag.sh

2019-01-16 Thread David Bauer
system. Where possible, the red status LED is used to indicate failsafe mode and a running upgrade. Signed-off-by: David Bauer --- target/linux/mpc85xx/base-files/etc/diag.sh | 41 --- .../arch/powerpc/boot/dts/hiveap-330.dts | 11 - .../arch/powerpc/boot/dts/red-15w-rev1

[OpenWrt-Devel] [PATCH] ramips: adjust Netgear R6120 model name

2019-01-20 Thread David Bauer
Adjust the model string and device title to match other Netgear routers in the ramips target. Signed-off-by: David Bauer --- target/linux/ramips/dts/R6120.dts | 2 +- target/linux/ramips/image/mt76x8.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/ramips

[OpenWrt-Devel] [PATCH] lantiq: make AVM FRITZ!Box naming consistent

2019-01-22 Thread David Bauer
lies for boards which are only supported by a specific sub-revision. Signed-off-by: David Bauer --- .../arch/mips/boot/dts/FRITZ3370-REV2-HYNIX.dts | 2 +- .../arch/mips/boot/dts/FRITZ3370-REV2-MICRON.dts | 2 +- .../arch/mips/boot/dts/FRITZ3370-REV2.dtsi | 2 +- .../files-4.14/

Re: [OpenWrt-Devel] [PATCH 1/2] ath79: load watchdog before PHY driver

2018-12-10 Thread David Bauer
On 10.12.18 09:55, Mathias Kresin wrote: > Hey David, > > have you tried to set GPIO_WATCHDOG_ARCH_INITCALL instead? According to > the help text, it might solve your issue: Hello Mathias, thanks for pointing out, indeed this does solve my issue. This patch is therefore obsolete. I will send a

[OpenWrt-Devel] [PATCH v3 2/2] ath79: add support for devolo WiFi pro 1750c

2018-12-17 Thread David Bauer
set a password for the root user as prompted on first setup! 1. Upload OpenWRT sysupgrade image via SSH to the device. Use /tmp as the destination folder on the device. User is root, password the one set in the web interface. 2. Install OpenWRT with > sysupgrade -n -F /tmp/ Signed-off-by: Da

[OpenWrt-Devel] [PATCH v3 1/2] ath79: add support for devolo WiFi pro 1200e

2018-12-17 Thread David Bauer
on the device. User is root, password the one set in the web interface. 2. Install OpenWRT with > sysupgrade -n -F /tmp/ Signed-off-by: David Bauer --- v2: - fixed whitespace issues - activate CONFIG_GPIO_WATCHDOG_ARCH_INITCALL kernel config symbol v3: - refactored LED DT-nodes - fixed GMAC con

[OpenWrt-Devel] [PATCH] ipq40xx: clean up netgear-dni image generation

2018-12-17 Thread David Bauer
The NETGEAR EX61x0v2 does only validate the DNI header, neither it needs the kernel to be a specific size nor a fake filesystem header to be present. This has been tested using the NETGEAR Web-UI and the pushbutton TFTP recovery. Signed-off-by: David Bauer --- target/linux/ipq40xx/image

[OpenWrt-Devel] [PATCH] ipq40xx: disable kernel-padding for DNI image

2018-12-20 Thread David Bauer
This commit removes the fixed kernel size-padding for the Netgear DNI image creation as it is not necessary for a working image. The fake rootfs still needs to be padded to the blocksize. Tested-By: Christian Lamparter Signed-off-by: David Bauer --- target/linux/ipq40xx/image/Makefile | 5

[OpenWrt-Devel] [PATCH v4 1/2] ath79: add support for devolo WiFi pro 1200e

2018-12-26 Thread David Bauer
, password the one set in the web interface. 2. Install OpenWRT with > sysupgrade -n -F /tmp/ Signed-off-by: David Bauer --- v2: - fixed whitespace issues - activate CONFIG_GPIO_WATCHDOG_ARCH_INITCALL kernel config symbol v3: - refactored LED DT-nodes - fixed GMAC config for dvl1200e -

[OpenWrt-Devel] [PATCH v4 2/2] ath79: add support for devolo WiFi pro 1750c

2018-12-26 Thread David Bauer
for the root user as prompted on first setup! 1. Upload OpenWRT sysupgrade image via SSH to the device. Use /tmp as the destination folder on the device. User is root, password the one set in the web interface. 2. Install OpenWRT with > sysupgrade -n -F /tmp/ Signed-off-by: David Bauer --- .../at

[OpenWrt-Devel] [PATCH v2] ath79: add support for devolo WiFi pro 1200e

2018-12-10 Thread David Bauer
on the device. User is root, password the one set in the web interface. 2. Install OpenWRT with > sysupgrade -n -F /tmp/ Signed-off-by: David Bauer --- v2: - fixed whitespace issues - activate CONFIG_GPIO_WATCHDOG_ARCH_INITCALL kernel config symbol .../ath79/base-files/etc/board.d/02_network |

[OpenWrt-Devel] [PATCH v2 2/2] ramips: add support for Archer C50 v4

2018-12-24 Thread David Bauer
enWRT. It is important to note that Web-Recovery is only based on this flag. It can't detect e.g. a crashing kernel or other means. Once activated it won't boot the OS before a recovery action (either via TFTP or HTTP) is performed. This recovery-mode is indicated by an illuminated WPS-LED on boo

[OpenWrt-Devel] [PATCH v2 1/2] tools: mktplinkfw2: add split-uboot layout

2018-12-24 Thread David Bauer
This commit adds the split-uboot partition layout used by the Archer C50 v4 to mktplinkfw2. Signed-off-by: David Bauer --- tools/firmware-utils/src/mktplinkfw2.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/tools/firmware-utils/src/mktplinkfw2.c b/tools/firmware-utils/src

[OpenWrt-Devel] [PATCH] iwinfo: add device id for MediaTek MT7612E

2018-12-24 Thread David Bauer
Signed-off-by: David Bauer --- hardware.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/hardware.txt b/hardware.txt index f646d6a..40988ea 100644 --- a/hardware.txt +++ b/hardware.txt @@ -64,3 +64,4 @@ 0x11ab 0x2a55 0x11ab 0x0 0 "Marvell" "88W8864"

[OpenWrt-Devel] [PATCH 1/2] kernel: add DT binding support to AVM EVA parser

2018-11-30 Thread David Bauer
It allows selecting split-firmware parser directly by specifying image-format in the device-tree. Signed-off-by: David Bauer --- .../generic/files/drivers/mtd/mtdsplit/mtdsplit_eva.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/target/linux/generic/files/drivers/mtd/mtdsplit

[OpenWrt-Devel] [PATCH 2/2] ath79: add AVM 4020 firmware partition compatible

2018-11-30 Thread David Bauer
This commit adds firmware partition compatible for the AVM FRITZ!Box 4020. This allows to select the correct mtdsplit parser instead of trying all available ones one by one. Signed-off-by: David Bauer --- target/linux/ath79/dts/qca9561_avm_fritz4020.dts | 1 + 1 file changed, 1 insertion

[OpenWrt-Devel] [PATCH 1/2] tools: mktplinkfw2: add split-uboot layout

2018-12-03 Thread David Bauer
This commit adds the split-uboot partition layout used by the Archer C50 v4 to mktplinkfw2. Signed-off-by: David Bauer --- tools/firmware-utils/src/mktplinkfw2.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/tools/firmware-utils/src/mktplinkfw2.c b/tools/firmware-utils/src

[OpenWrt-Devel] [PATCH 2/2] ramips: add support for Archer C50 v4

2018-12-03 Thread David Bauer
enWRT. It is important to note that Web-Recovery is only based on this flag. It can't detect e.g. a crashing kernel or other means. Once activated it won't boot the OS before a recovery action (either via TFTP or HTTP) is performed. This recovery-mode is indicated by an illuminated WPS-LED on boot. Signe

Re: [OpenWrt-Devel] [PATCH 1/2] kernel: add DT binding support to AVM EVA parser

2018-12-03 Thread David Bauer
Hello John, On 03.12.18 07:24, John Crispin wrote: @@ -79,9 +80,19 @@ static int mtdsplit_parse_eva(struct mtd_info *master,   return EVA_NR_PARTS;   } +#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 9, 0) Hi, the kernel version check is not required and can be dropped i believe    John

Re: [OpenWrt-Devel] ar71xx Vs ath79

2018-12-03 Thread David Bauer
Hello John, > The idea was to fade out ar71xx after the next release and only accept > new boards for ath79. However i'd been fine taking that step as of now. > i have noticed that the ath79 patches far out number the ar71xx ones. we > have lots of patches that migrate boards and i have seen a

[OpenWrt-Devel] [PATCH 2/2] ath79: add support for devolo WiFi pro 1200e

2018-12-09 Thread David Bauer
on the device. User is root, password the one set in the web interface. 2. Install OpenWRT with > sysupgrade -n -F /tmp/ Signed-off-by: David Bauer --- .../ath79/base-files/etc/board.d/02_network | 3 + .../etc/hotplug.d/firmware/11-ath10k-caldata | 4 + .../ath79/dts/qca9558_devolo_dvl1200e.

[OpenWrt-Devel] [PATCH 1/2] ath79: load watchdog before PHY driver

2018-12-09 Thread David Bauer
The initialization for the two ethernet PHYs causes the hardware wathchdog of devolo WiFi pro boards to trigger reset. Linking the watchdog drivers before the PHY driver fixes this issue. Signed-off-by: David Bauer --- .../431-link-phy-after-watchdog.patch | 31 +++ 1

Re: [OpenWrt-Devel] [PATCH v2] ath79: add support for TP-Link Archer A7

2018-11-29 Thread David Bauer
Hello Karl, just as a heads-up for your v3: On 23.11.18 22:00, Karl-Felix Glatzer wrote: > --- a/target/linux/ath79/image/common-tp-link.mk > +++ b/target/linux/ath79/image/common-tp-link.mk > @@ -39,6 +39,15 @@ define Build/mktplinkfw-combined > @mv $@.new $@ > endef > > +define

[OpenWrt-Devel] [PATCH v2] kernel: add DT binding support to AVM EVA parser

2018-12-04 Thread David Bauer
It allows selecting split-firmware parser directly by specifying image-format in the device-tree. Signed-off-by: David Bauer --- v2: remove kernel version check .../linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_eva.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/target/linux

[OpenWrt-Devel] [PATCH] ath79: add AVM EVA firmware partition compatible

2018-12-01 Thread David Bauer
This commit adds firmware partition compatible for the AVM FRITZ!Box 4020 and AVM FRITZ!WLAN Repeater 300E. This allows to select the correct mtdsplit parser instead of trying all available ones one by one. Signed-off-by: David Bauer --- target/linux/ath79/dts/ar7242_avm_fritz300e.dts | 1

Re: [OpenWrt-Devel] [PATCH 2/2] ath79: add AVM 4020 firmware partition compatible

2018-12-01 Thread David Bauer
Hi Petr, On 01.12.18 10:33, Petr Štetiar wrote: > Do you think, that the same format could be applied also to > ar7242_avm_fritz300e.dts? Would you mind to add this board to this patch as > well? According to my notes which are included in the PR[1] it should be just > this two AVM boards with

Re: [OpenWrt-Devel] ar71xx Vs ath79 -- sysupgrade

2018-12-03 Thread David Bauer
Hello Henrique, On 03.12.18 19:04, Henrique de Moraes Holschuh wrote: > Is there a viable way to "sysupgrade" from ar71xx to ath79? > > Even if it would require a model-by-model "update map" for the > lower-level stuff (LEDs, switch ports?, etc), that would be valuable. > Otherwise, it will be

[OpenWrt-Devel] [PATCH 2/2] ath79: add Archer C58/C59 partition compatible

2018-11-26 Thread David Bauer
This commit adds firmware partition compatible for the TP-Link Archer C58 v1 and Archer C59 v1. Since a22311e this allows to select the correct mtdsplit parser instead of trying all available ones one by one. Signed-off-by: David Bauer --- target/linux/ath79/dts/qca9561_tplink_archer-c58-v1

[OpenWrt-Devel] [PATCH 1/2] ath79: add firmware partition compatible for OCEDO

2018-11-26 Thread David Bauer
This commit adds firmware partition compatible for the OCEDO Raccoon and OCEDO Koala. Since a22311e this allows to select the correct mtdsplit parser instead of trying all available ones one by one. Signed-off-by: David Bauer --- target/linux/ath79/dts/ar9344_ocedo_raccoon.dts | 1 + target

Re: [OpenWrt-Devel] [PATCH v2] mpc85xx: add support for Sophos RED 15w Rev.1

2019-01-10 Thread David Bauer
On 10.01.19 19:03, Christian Lamparter wrote: > On Tuesday, January 8, 2019 1:20:56 AM CET David Bauer wrote: >> Hardware >> >> CPU: Freescale P1010 PowerPC >> RAM: 128M DDR3 >> NAND: 128MiB >> ETH: RTL8211F SGMII PHY >> RTL8367

[OpenWrt-Devel] [PATCH v2] mpc85xx: add support for Sophos RED 15w Rev.1

2019-01-07 Thread David Bauer
enWRT initramfs image just like you would for installation. Write back the three vendor partitions using mtd. Reboot the device afterwards. Signed-off-by: David Bauer --- v2: - move kernel configuration to subtarget - move nand feature to subtarget - move partition layout to "fixed-partition" subn

[OpenWrt-Devel] [PATCH] ath79: fix Archer A7 v5 5GHz MAC adress

2018-12-28 Thread David Bauer
Currently all Archer A7 v5 have the same (incorrect) MAC address. The address is currently derived from eth1 which is not present on the QCA9563. Use eth0 to get the correct MAC address. Signed-off-by: David Bauer --- .../ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata | 2 +- 1

[OpenWrt-Devel] [PATCH] ath79: use caldata patching for Archer C58/C59

2018-12-30 Thread David Bauer
With this commit the TP-Link Archer C58 and Archer C59 use caldata patching in order to set the correct 5GHz MAC-address. Tested on TP-Link Archer C59 v1. For more details see commit 330965b. Signed-off-by: David Bauer --- .../ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata | 1

Re: [OpenWrt-Devel] [PATCH] ipq40xx: clean up netgear-dni image generation

2018-12-18 Thread David Bauer
Hello Christian, On 19.12.18 00:14, Christian Lamparter wrote: > I had no luck with a loaned EX6150v2 and this patch. I tried to sysupgrade > from the current -snapshot to a newly compiled image with the patch applied. > But sadly, the device didn't boot (power led stayed orange). I had to >

[OpenWrt-Devel] [PATCH] ramips: add missing SPDX identifier for EX6150

2019-03-29 Thread David Bauer
This adds the SPDX license identifier for the NETGEAR EX6150. It was missed when submitting the original patch. Signed-off-by: David Bauer --- target/linux/ramips/dts/EX6150.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/ramips/dts/EX6150.dts b/target/linux/ramips/dts

Re: [OpenWrt-Devel] [PATCH v2] ath79: add support for OCEDO Ursus

2019-04-02 Thread David Bauer
Hello, I've tried your suggenstions on my unit (and try to provide some information from my work with the other two APs from OCEDO/Riverbed). On 02.04.19 00:19, Petr Štetiar wrote: > markus.sche...@gmail.com [2019-03-21 16:43:27]: > > Hi, > >> +label = "ursus:green:wlan2";

Re: [OpenWrt-Devel] [PATCH v2] ath79: add support for OCEDO Ursus

2019-04-06 Thread David Bauer
Hello Petr, sorry for the late reply, I was very busy last week. On 03.04.19 09:35, Petr Štetiar wrote: > ok, so it seems like this patch is fine with you and you've already tested it > as it is, so can I add your Tested-by or Reviewed-by as well? Tested-by: David Bauer Maybe you can

[OpenWrt-Devel] [PATCH] ramips: enable R6120 USB power

2019-03-28 Thread David Bauer
Enable the USB power for the Netgear R6120. Otherwise, no power is supplied to an attached USB device. Signed-off-by: David Bauer --- target/linux/ramips/dts/R6120.dts | 15 ++- target/linux/ramips/mt76x8/config-4.14 | 2 ++ 2 files changed, 16 insertions(+), 1 deletion

[OpenWrt-Devel] [PATCH v2 3/3] ipq40xx: add support for FritzBox 7530

2019-02-18 Thread David Bauer
ol /dev/ubi0 --name=avm_filesys_0 > ubirmvol /dev/ubi0 --name=avm_filesys_1 8. Flash OpenWRT peristently using sysupgrade. > sysupgrade -n /path/to/openwrt-sysupgrade.bin Signed-off-by: David Bauer --- v2: - add PCIe subnode so VRX518 is detected on the PCIe bus - driver is still missi

[OpenWrt-Devel] [PATCH v2 1/3] scripts: make eva_ramboot.py offset configurable

2019-02-18 Thread David Bauer
, the script behaves exactly as before this commit. Signed-off-by: David Bauer --- scripts/flashing/eva_ramboot.py | 30 +++--- 1 file changed, 19 insertions(+), 11 deletions(-) diff --git a/scripts/flashing/eva_ramboot.py b/scripts/flashing/eva_ramboot.py index b825d2768b

[OpenWrt-Devel] [PATCH v2 2/3] uboot-fritz4040: bump version to 2019-02-08

2019-02-18 Thread David Bauer
Adds support for the AVM FRITZ!Box 7530. Signed-off-by: David Bauer --- package/boot/uboot-fritz4040/Makefile | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/package/boot/uboot-fritz4040/Makefile b/package/boot/uboot-fritz4040/Makefile index df00b89af0

Re: [OpenWrt-Devel] [PATCH v2 3/3] ipq40xx: add support for FritzBox 7530

2019-02-25 Thread David Bauer
Hello Christian, On 25.02.19 23:10, Christian Lamparter wrote: > On Wednesday, February 20, 2019 6:02:21 PM CET Christian Lamparter wrote: >> On Monday, February 18, 2019 11:58:34 PM CET David Bauer wrote: >>> diff --git >>> a/target/linux/ipq40xx/files-4.14/arc

Re: [OpenWrt-Devel] [PATCH v2 3/3] ipq40xx: add support for FritzBox 7530

2019-02-27 Thread David Bauer
Hello Christian, On 26.02.19 23:17, Christian Lamparter wrote: > Hello David, > > On Tuesday, February 26, 2019 12:15:41 AM CET David Bauer wrote: >> On 25.02.19 23:10, Christian Lamparter wrote: >>> On Wednesday, February 20, 2019 6:02:21 PM CET Christian Lampart

[OpenWrt-Devel] [PATCH] ath10k-ct: limit available channels via DT

2019-03-04 Thread David Bauer
driver. It can be dropped as soon as we switch to an ath10k-ct version based on 4.20 or higher. Signed-off-by: David Bauer --- ...ilable-channels-via-DT-ieee80211-fre.patch | 39 +++ 1 file changed, 39 insertions(+) create mode 100644 package/kernel/ath10k-ct/patches/203-ath10k

[OpenWrt-Devel] [PATCH] ath79: make TP-Link revision naming consistent

2019-02-24 Thread David Bauer
This commit makes the TP-Link hardware-revision naming consistent to match the one used by the vendor. TP-Link refers to the different revisions as "vX" not "Version X". Signed-off-by: David Bauer --- target/linux/ath79/dts/ar9132_tplink_tl-wr1043nd-v1.dts | 2 +- ta

[OpenWrt-Devel] [PATCH] ath79: fix support-list for TP-Link WDR3600

2019-02-22 Thread David Bauer
s no problem however, as the only difference is the 5GHz WiFi chip which has 3SS instead of 2SS. Both work with either image. Signed-off-by: David Bauer --- target/linux/ath79/image/generic-tp-link.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ath79/image/generic-

Re: [OpenWrt-Devel] [PATCH] ath10k-ct: limit available channels via DT

2019-03-05 Thread David Bauer
Best wishes David > > Thanks, > Ben > > On 3/4/19 9:03 AM, David Bauer wrote: >> This backports upstream commit >> >> 34d5629 ath10k: limit available channels via DT ieee80211-freq-limit >> >> to the 4.19 ath10k-ct version. Without this pa

[OpenWrt-Devel] [PATCH 2/2] ipq40xx: add support for AVM FRITZ!Repeater 3000

2019-03-05 Thread David Bauer
make room for our kernel + rootfs + overlayfs. > ubirmvol /dev/ubi0 --name=avm_filesys_0 > ubirmvol /dev/ubi0 --name=avm_filesys_1 8. Flash OpenWRT peristently using sysupgrade. > sysupgrade -n /path/to/openwrt-sysupgrade.bin Signed-off-by: David Bauer --- package/boot/uboot-

[OpenWrt-Devel] [PATCH 1/2] uboot-fritz4040: bump version to 2019-03-03

2019-03-05 Thread David Bauer
Adds support for the AVM FRITZ!Repeater 3000 Signed-off-by: David Bauer --- package/boot/uboot-fritz4040/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/boot/uboot-fritz4040/Makefile b/package/boot/uboot-fritz4040/Makefile index 9af09afcd1..3182842c89

Re: [OpenWrt-Devel] [PATCH v2 3/3] ipq40xx: add support for FritzBox 7530

2019-02-27 Thread David Bauer
Hello Christian, On 27.02.19 13:03, David Bauer wrote: Hello Christian, On 26.02.19 23:17, Christian Lamparter wrote: Hello David, On Tuesday, February 26, 2019 12:15:41 AM CET David Bauer wrote: On 25.02.19 23:10, Christian Lamparter wrote: On Wednesday, February 20, 2019 6:02:21 PM CET

[OpenWrt-Devel] [PATCH] ath79: add ar71xx support-list entry for Fritz4020

2019-02-23 Thread David Bauer
This adds the support-list entry the AVM FRITZ!Box 4020 expects in the ar71xx target to allow non-forced sysupgrades from ar71xx to ath79. Signed-off-by: David Bauer --- target/linux/ath79/image/generic.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/ath79/image/generic.mk

Re: [OpenWrt-Devel] [PATCH v2 2/2] ipq40xx: add support for AVM FRITZ!Repeater 3000

2019-03-10 Thread David Bauer
Hello Christian, On 10.03.19 20:27, Christian Lamparter wrote: > On Saturday, March 9, 2019 12:20:54 AM CET David Bauer wrote: >> Hardware >> >> CPU: Qualcomm IPQ4019 >> RAM: 256M (NANYA NT5CC128M16JR-EK) >> FLASH: 128M NAND (Macronix MX30LF1G18A

Re: [OpenWrt-Devel] [PATCH 2/2] ipq40xx: add support for AVM FRITZ!Repeater 3000

2019-03-08 Thread David Bauer
Hello Christian, first of all, thanks for the review! On 08.03.19 22:23, Christian Lamparter wrote: > On Tuesday, March 5, 2019 7:38:38 PM CET David Bauer wrote: >> Hardware >> >> CPU: Qualcomm IPQ4019 >> RAM: 256M >> FLASH: 128M NAND > Sorry fo

[OpenWrt-Devel] [PATCH v2 1/2] uboot-fritz4040: bump version to 2019-03-03

2019-03-08 Thread David Bauer
Adds support for the AVM FRITZ!Repeater 3000 Signed-off-by: David Bauer --- package/boot/uboot-fritz4040/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/boot/uboot-fritz4040/Makefile b/package/boot/uboot-fritz4040/Makefile index 9af09afcd1..3182842c89

[OpenWrt-Devel] [PATCH v2 2/2] ipq40xx: add support for AVM FRITZ!Repeater 3000

2019-03-08 Thread David Bauer
uboot1 7. Remove the AVM filesystem partitions to make room for our kernel + rootfs + overlayfs. > ubirmvol /dev/ubi0 --name=avm_filesys_0 > ubirmvol /dev/ubi0 --name=avm_filesys_1 8. Flash OpenWRT peristently using sysupgrade. > sysupgrade -n /path/to/openwrt-sysupgrade.bin Si

[OpenWrt-Devel] [PATCH] ipq40xx: fix FRITZBox 7530 NAND controller node

2019-03-08 Thread David Bauer
This removes the 'cs-gpios' property from the AVM FRITZ!Box 7530 NAND controller node. As pointed out by Christian Lamparter, the property is not needed by the Qualcomm NAND controller driver. Signed-off-by: David Bauer --- .../files-4.14/arch/arm/boot/dts/qcom-ipq4019-fritzbox-7530.dts | 1

Re: [OpenWrt-Devel] [PATCH 2/2] ipq40xx: add support for AVM FRITZ!Repeater 3000

2019-03-08 Thread David Bauer
Hello Christian, missed one thing (which might also be interesting to others) On 08.03.19 22:23, Christian Lamparter wrote: > Didn't find any GPL sources or firmware releases for this device yet. So, I > would much rather err on the side of caution and change this so that the > device gets its

[OpenWrt-Devel] [PATCH v3 3/3] ipq40xx: add support for AVM FRITZ!Repeater 3000

2019-03-11 Thread David Bauer
uboot1 7. Remove the AVM filesystem partitions to make room for our kernel + rootfs + overlayfs. > ubirmvol /dev/ubi0 --name=avm_filesys_0 > ubirmvol /dev/ubi0 --name=avm_filesys_1 8. Flash OpenWRT peristently using sysupgrade. > sysupgrade -n /path/to/openwrt-sysupgrade.bin Si

  1   2   3   4   >