[LEDE-DEV] [PATCH] xtables-addons: fix kmod-ipt-sysrq missing crypto_hash dependency

2016-06-08 Thread Christian Lamparter
s an additional dependency on kmod-crypto-manager. Cc: Dirk Neukirchen <dirkneukirc...@web.de> Signed-off-by: Christian Lamparter <chunk...@gmail.com> --- package/network/utils/xtables-addons/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/network/utils

Re: [LEDE-DEV] [PATCH RFC v3 3/3] ath9k: parse the device configuration from an OF node

2016-06-26 Thread Christian Lamparter
On Saturday, June 25, 2016 05:08:29 PM Martin Blumenstingl wrote: > On Sat, Jun 25, 2016 at 2:01 PM, Christian Lamparter > <chunk...@googlemail.com> wrote: > > On Friday, June 24, 2016 02:34:30 PM Martin Blumenstingl wrote: > >> This makes it possible to configur

Re: [LEDE-DEV] [PATCH v2 1/8] apm821xx: add support for the apm821xx device target

2016-07-14 Thread Christian Lamparter
On Thursday, July 14, 2016 12:25:58 PM CEST Felix Fietkau wrote: > On 2016-07-13 21:23, Christian Lamparter wrote: > > From: Chris Blake <chrisrblak...@gmail.com> > > > > This adds a new target for PowerPC APM82181 and APM82161 > > (464-based) boards, as well

Re: [LEDE-DEV] [PATCH v2 8/8] apm821xx: add support for the Netgear Centria N900 WNDR4700/WNDR4720

2016-07-14 Thread Christian Lamparter
On Thursday, July 14, 2016 6:44:17 PM CEST Felix Fietkau wrote: > On 2016-07-13 21:23, Christian Lamparter wrote: > > From: Christian Lamparter <chunk...@googlemail.com> > > > > This patch adds support for Netgear Centria N900 WNDR4700/WNDR4720 > > >

Re: [LEDE-DEV] [PATCH v2 2/8] apm821xx: add support for the Cisco Meraki MR24

2016-07-14 Thread Christian Lamparter
On Thursday, July 14, 2016 6:39:34 PM CEST Felix Fietkau wrote: > On 2016-07-13 21:23, Christian Lamparter wrote: > > From: Chris Blake <chrisrblak...@gmail.com> > > > > This patch adds support for the Cisco Meraki MR24 Access point > > to the apm821xx target.

Re: [LEDE-DEV] [PATCH v2 2/8] apm821xx: add support for the Cisco Meraki MR24

2016-07-14 Thread Christian Lamparter
On Thursday, July 14, 2016 10:02:36 PM CEST Felix Fietkau wrote: > On 2016-07-14 21:39, Christian Lamparter wrote: > > This is mostly because with subtargets, it's possible to have different > > kernel configs. > > > > MyBook Live is somewhat unique compared to the M

Re: [LEDE-DEV] [PATCH v3 0/9] apm821xx: apm821xx platform and devices

2016-07-21 Thread Christian Lamparter
On Thursday, July 21, 2016 3:13:58 PM CEST Felix Fietkau wrote: > On 2016-07-20 15:44, Christian Lamparter wrote: > > This series was initially posted to OpenWRT List back in March, > > April 2016 for inclusion [0]. The APM821XX target will add support for: > > - Cisco Merak

Re: [LEDE-DEV] [PATCH v3 1/9] ppc4xx: remove booke-wdt watchdog package

2016-07-22 Thread Christian Lamparter
On Friday, July 22, 2016 12:00:53 PM CEST Florian Fainelli wrote: > On 07/20/2016 06:44 AM, Christian Lamparter wrote: > > This patch gets rid of the booke watchdog kmod package. > > Instead the affected boards will enable it in their > > kernel configs. > > You ar

[LEDE-DEV] [PATCH v2 7/8] apm821xx: lm90 add thermal sensor interface support for device tree

2016-07-13 Thread Christian Lamparter
s sensor is present inside the lm90 DT node. Otherwise, the driver behavior will be the same." Signed-off-by: Christian Lamparter <chunk...@gmail.com> --- ...0-split-set-and-show-temp-as-common-codes.patch | 302 + ...12-hwmon-lm90-expose-to-thermal-fw-via-DT.patch | 151 +

[LEDE-DEV] [PATCH v2 4/8] apm821xx: sata_dwc_460ex: backport fixes and cleanups from 4.7

2016-07-13 Thread Christian Lamparter
This patch fixes the sata_dwc_460ex SATA driver which is used by the SATA controllers in the MyBook Live Series and WNDR4700. The code was backported from the upstream kernel. It can be dropped completely on 4.7+. Signed-off-by: Christian Lamparter <chunk...@gmail.com> --- .../linux/ap

[LEDE-DEV] [PATCH v2 5/8] apm821xx: add support for the Western Digital MyBook Live Series

2016-07-13 Thread Christian Lamparter
From: Christian Lamparter <chunk...@googlemail.com> Hardware Highlights: This patch adds support for Western Digital MyBook Live Series: CPU: AMCC PowerPC UNKNOWN (PVR=12c41c83) at 800 MHz (PLB=200, OPB=100, EBC=100 MHz) 32 kB I-Cache 32 kB D-Cache, 256 kB L2-Cache, 32 kB OnChip

[LEDE-DEV] [PATCH v2 8/8] apm821xx: add support for the Netgear Centria N900 WNDR4700/WNDR4720

2016-07-13 Thread Christian Lamparter
From: Christian Lamparter <chunk...@googlemail.com> This patch adds support for Netgear Centria N900 WNDR4700/WNDR4720 hardware highlights: CPU:AMCC PowerPC APM82181 Rev. E at 1000 MHz (PLB=166, OPB=83, EBC=83 MHz) Security support, Boot ROM Location NAND wo/ECC 2k page (

[LEDE-DEV] [PATCH v2 3/8] apm821xx: dw_dmac: backport fixes and cleanups from 4.7

2016-07-13 Thread Christian Lamparter
This patch fixes the dw_dmac dma engine which is used by the SATA controllers in the MyBook Live Series and WNDR4700. The code was backported from the upstream kernel. It can be dropped completely on 4.7+. Signed-off-by: Christian Lamparter <chunk...@gmail.com> --- ...dd-transfer-termi

[LEDE-DEV] [PATCH v2 2/8] apm821xx: add support for the Cisco Meraki MR24

2016-07-13 Thread Christian Lamparter
get/linux/apm821xx/Makefile @@ -11,6 +11,7 @@ CPU_TYPE:=464fp FEATURES:=fpu dt gpio MAINTAINER:=Chris Blake <chrisrblak...@gmail.com>, \ Christian Lamparter <chunk...@gmail.com> +SUBTARGETS:=cisco KERNEL_PATCHVER:=4.4 diff --git a/target/linux/apm821xx/base-files/etc/b

[LEDE-DEV] [PATCH v2 1/8] apm821xx: add support for the apm821xx device target

2016-07-13 Thread Christian Lamparter
censed under the GNU General Public License v2. +# See /LICENSE for more information. +# +include $(TOPDIR)/rules.mk + +ARCH:=powerpc +BOARD:=apm821xx +BOARDNAME:=AppliedMicro APM821xx +CPU_TYPE:=464fp +FEATURES:=fpu dt gpio +MAINTAINER:=Chris Blake <chrisrblak...@gmail.com>, \ + C

[LEDE-DEV] [PATCH v3 4/9] apm821xx: dw_dmac: backport fixes and cleanups from 4.7

2016-07-20 Thread Christian Lamparter
This patch fixes the dw_dmac dma engine which is used by the SATA controllers in the MyBook Live Series and WNDR4700. The code was backported from the upstream kernel. It can be dropped completely on 4.7+. Signed-off-by: Christian Lamparter <chunk...@gmail.com> --- ...dd-transfer-termi

[LEDE-DEV] [PATCH v3 9/9] apm821xx: add support for the Netgear Centria N900 WNDR4700/WNDR4720

2016-07-20 Thread Christian Lamparter
ed. Signed-off-by: Christian Lamparter <chunk...@gmail.com> --- .../linux/apm821xx/base-files/etc/board.d/01_leds | 8 + .../apm821xx/base-files/etc/board.d/02_network | 6 + target/linux/apm821xx/base-files/etc/diag.sh | 4 + .../etc/hotplug.d/firmware/10-ath9k-eeprom

[LEDE-DEV] [PATCH v3 5/9] apm821xx: sata_dwc_460ex: backport fixes and cleanups from 4.7

2016-07-20 Thread Christian Lamparter
This patch fixes the sata_dwc_460ex SATA driver which is used by the SATA controllers in the MyBook Live Series and WNDR4700. The code was backported from the upstream kernel. It can be dropped completely on 4.7+. Signed-off-by: Christian Lamparter <chunk...@gmail.com> --- .../linux/ap

[LEDE-DEV] [PATCH v3 1/9] ppc4xx: remove booke-wdt watchdog package

2016-07-20 Thread Christian Lamparter
This patch gets rid of the booke watchdog kmod package. Instead the affected boards will enable it in their kernel configs. Signed-off-by: Christian Lamparter <chunk...@gmail.com> --- package/kernel/linux/modules/other.mk | 16 target/linux/mpc85xx/Makefile

[LEDE-DEV] [PATCH v3 8/9] apm821xx: lm90 add thermal sensor interface support for device tree

2016-07-20 Thread Christian Lamparter
s sensor is present inside the lm90 DT node. Otherwise, the driver behavior will be the same." Signed-off-by: Christian Lamparter <chunk...@gmail.com> --- ...0-split-set-and-show-temp-as-common-codes.patch | 302 + ...12-hwmon-lm90-expose-to-thermal-fw-via-DT.patch | 151 +

[LEDE-DEV] [PATCH v3 0/9] apm821xx: apm821xx platform and devices

2016-07-20 Thread Christian Lamparter
the firmware at a later time. Chris Blake (2): apm821xx: add support for the apm821xx device target apm821xx: add support for the Cisco Meraki MR24 Christian Lamparter (7): ppc4xx: remove booke-wdt watchdog package apm821xx: dw_dmac: backport fixes and cleanups from 4.7 apm821xx: sat

[LEDE-DEV] [PATCH v3 3/9] apm821xx: add support for the Cisco Meraki MR24

2016-07-20 Thread Christian Lamparter
get/linux/apm821xx/Makefile @@ -11,6 +11,7 @@ CPU_TYPE:=464fp FEATURES:=fpu dt gpio MAINTAINER:=Chris Blake <chrisrblak...@gmail.com>, \ Christian Lamparter <chunk...@gmail.com> +SUBTARGETS:=nand KERNEL_PATCHVER:=4.4 diff --git a/target/linux/apm821xx/base-files/etc/b

[LEDE-DEV] [PATCH v3 6/9] apm821xx: add support for the Western Digital MyBook Live Series

2016-07-20 Thread Christian Lamparter
env ipaddr 192.168.1.1; run net_self Where 192.168.1.254 is your TFTP server. Signed-off-by: Christian Lamparter <chunk...@gmail.com> --- target/linux/apm821xx/Makefile | 2 +- .../linux/apm821xx/base-files/etc/board.d/01_leds | 3 + .../apm821xx/base-files/etc/bo

[LEDE-DEV] [PATCH 1/2] apm821xx: use lzma compression for the initramfs images

2016-07-23 Thread Christian Lamparter
method back to gzip. And choosing to compress the initramfs within the initramfs image as LZMA by default. Cc: chrisrblak...@gmail.com Signed-off-by: Christian Lamparter <chunk...@gmail.com> --- config/Config-images.in | 1 + target/linux/apm821xx/image/Makefile | 2 +- 2 f

[LEDE-DEV] [PATCH 2/2] apm821xx: fix atheros PCIe cards on the MR24

2016-07-23 Thread Christian Lamparter
. Hence the two AR9380 mini-pcie cards do not need any calibration data overrides. Cc: chrisrblak...@gmail.com Signed-off-by: Christian Lamparter <chunk...@gmail.com> --- .../files/arch/powerpc/platforms/44x/wndr4700.c | 21 - 1 file changed, 12 insertions(+), 9 del

Re: [LEDE-DEV] [PATCH 2/2] prism54-firmware: add also other p54 firmware to own package

2016-07-01 Thread Christian Lamparter
On Thursday, June 30, 2016 10:16:42 PM Hauke Mehrtens wrote: > On 06/30/2016 09:07 PM, John Crispin wrote: > > i have already added this to my staging tree, feel free to send a ptch > > that i can fold into haukes patch > > > > John > > I already pushed this, but send a patch to improve this

[LEDE-DEV] [PATCH] apm821xx: add size check for initramfs kernel for the Meraki MR24

2016-09-02 Thread Christian Lamparter
ll Senior <russ...@personaltelco.net> Cc: Chris Blake <chrisrblak...@gmail.com> Signed-off-by: Christian Lamparter <chunk...@gmail.com> --- target/linux/apm821xx/image/Makefile | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/target/linux/apm821xx/image/Make

[LEDE-DEV] [PATCH 1/2] apm821xx: detect sd-card media changes for the WNDR4700

2016-08-30 Thread Christian Lamparter
The insertion or removal of the sd-card cannot be detected by the hardware itself. This is by design. To workaround this, for the WNDR4700 unload/load the dwc2 module in case the the special SD CARD GPIO line is low/high. Signed-off-by: Christian Lamparter <chunk...@gmail.com> --- target

[LEDE-DEV] [PATCH 2/2] apm821xx: backport generic HDD led-triggers for WNDR4700 and MBL

2016-08-30 Thread Christian Lamparter
This patch backports the new generic HDD/SDD led-trigger from 4.8-rc1. Signed-off-by: Christian Lamparter <chunk...@gmail.com> --- .../linux/apm821xx/base-files/etc/board.d/01_leds | 2 + target/linux/apm821xx/dts/apollo3g.dtsi| 2 +- target/linux/apm821xx/nand/config-d

Re: [LEDE-DEV] [PATCH 1/2] apm821xx: detect sd-card media changes for the WNDR4700

2016-08-31 Thread Christian Lamparter
On Wednesday, August 31, 2016 10:13:52 AM CEST Karl Palsson wrote: > Christian Lamparter <chunk...@googlemail.com> wrote: > > The insertion or removal of the sd-card cannot be detected by > > the hardware itself. This is by design. To workaround this, for > > the WN

Re: [LEDE-DEV] [PATCH 2/3] kernel: owl-loader for delayed Atheros ath9k fixup

2016-09-08 Thread Christian Lamparter
an be copied into: package/kernel/linux/modules/wireless.mk Or do you have something else in mind? Regards, Christian > On 05/09/2016 06:59, Chris Blake wrote: > > From: Christian Lamparter <chunk...@googlemail.com> > > > > Some devices (like the Cisco Meraki Z1 Clo

[LEDE-DEV] [PATCH] base-files: remove non-working filter option for wifi detect

2016-09-29 Thread Christian Lamparter
This patch removes the non-working wifi driver filter for the wifi detection script. I figured that rather than replacing ${2:-$DRIVERS} with ${1:-$DRIVERS}, it would be better to remove it. Nobody needed it in the previous years. Signed-off-by: Christian Lamparter <chunk...@gmail.

[LEDE-DEV] [PATCH v3 2/2] ar71xx: add support for the Airtight C-60

2016-10-05 Thread Christian Lamparter
ail.com>. He provided a C-60 unit and he helped with debugging the switch, LEDs and platfrom support. Signed-off-by: Christian Lamparter <chunk...@gmail.com> --- target/linux/ar71xx/base-files/etc/board.d/01_leds | 4 + .../linux/ar71xx/base-files/etc/board.d/02_network | 4 + target/

[LEDE-DEV] [PATCH v3 1/2] generic: ar8216: improve ar8xxx_is_possible check

2016-10-05 Thread Christian Lamparter
-60 didn't work. Signed-off-by: Christian Lamparter <chunk...@gmail.com> --- target/linux/generic/files/drivers/net/phy/ar8216.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/target/linux/generic/files/drivers/net/phy/ar8216.c b/target/linux/generic/files

[LEDE-DEV] [PATCH v3.1] generic: ar8216: improve ar8xxx_is_possible check

2016-10-05 Thread Christian Lamparter
-60 didn't work. Signed-off-by: Christian Lamparter <chunk...@gmail.com> --- Oops, I just found your comment about !!found_phys. I've integrated it in this version. Regards, Christian --- target/linux/generic/files/drivers/net/phy/ar8216.c | 12 ++-- 1 file changed, 6 insertions

[LEDE-DEV] [PATCH v1 1/2] base-files, mac80211, broadcom-wl: plug-and-play wifi detection

2016-10-07 Thread Christian Lamparter
on and testing of the patch. Signed-off-by: Mathias Kresin <d...@kresin.me> Signed-off-by: Christian Lamparter <chunk...@gmail.com> --- We would like to hear, if these changes work with broadcom-wl. (Felix removed the hostap, so this isn't included anymore). trap and lock are part of the defa

Re: [LEDE-DEV] [PATCH v1 1/2] base-files, mac80211, broadcom-wl: plug-and-play wifi detection

2016-10-08 Thread Christian Lamparter
Hello, On Friday, October 7, 2016 8:29:30 PM CEST Matthias Schiffer wrote: > On 10/07/2016 08:10 PM, Christian Lamparter wrote: > > Currently, the wifi detection script is executed as part of > > the (early) boot process. Pluggable wifi USB devices, which > > are ins

[LEDE-DEV] [PATCH] apm821xx: replace recovery image for the MBL with initramfs

2016-10-07 Thread Christian Lamparter
run addtty addmisc; bootm ${kernel_addr_r} - ${fdt_addr_r} Where 192.168.1.254 is your TFTP server. Signed-off-by: Christian Lamparter <chunk...@gmail.com> --- target/linux/apm821xx/image/Makefile | 22 +- .../linux/apm821xx/image/mbl_gen_recove

Re: [LEDE-DEV] [PATCH v1 1/2] base-files, mac80211, broadcom-wl: plug-and-play wifi detection

2016-10-08 Thread Christian Lamparter
On Saturday, October 8, 2016 7:29:13 PM CEST Matthias Schiffer wrote: > On 10/08/2016 07:13 PM, Christian Lamparter wrote: > > On Saturday, October 8, 2016 6:04:09 PM CEST Matthias Schiffer wrote: > >> On 10/08/2016 05:41 PM, Christian Lamparter wrote: > >>> On Frid

Re: [LEDE-DEV] [PATCH] kernel: owl-loader: fix EEPROM size validation for 4KiB EEPROMs

2016-10-03 Thread Christian Lamparter
On Monday, October 3, 2016 1:06:18 AM CEST Martin Blumenstingl wrote: > The validation of the received EEPROM data uses struct firmware's size > field, which contains the size in bytes. ath9k_platform_data's > eeprom_data field however is an u16 array with 2048 elements. > Using a simple

Re: [LEDE-DEV] [PATCH 1/2] generic: ar8216: fix ar8xxx_is_possible check

2016-10-03 Thread Christian Lamparter
Hello, On Monday, October 3, 2016 9:12:32 PM CEST John Crispin wrote: > On 01/10/2016 18:33, Christian Lamparter wrote: > > The commit "generic: ar8216: add sanity check to ar8216_probe" > > (774da6c7a40320a320b28d71291c0e61fcf7bc8a) stated that PHY IDs > > s

[LEDE-DEV] [PATCH 2/2] ar71xx: add support for the Airtight C-60

2016-10-01 Thread Christian Lamparter
ail.com>. He provided a C-60 unit and he helped with debugging the switch, LEDs and platfrom support. Signed-off-by: Christian Lamparter <chunk...@gmail.com> --- target/linux/ar71xx/base-files/etc/board.d/01_leds | 5 + .../linux/ar71xx/base-files/etc/board.d/02_network | 5 + target/

[LEDE-DEV] [PATCH 1/2] generic: ar8216: fix ar8xxx_is_possible check

2016-10-01 Thread Christian Lamparter
ed the way it is currently?! Signed-off-by: Christian Lamparter <chunk...@gmail.com> --- .../linux/generic/files/drivers/net/phy/ar8216.c | 23 -- 1 file changed, 23 deletions(-) diff --git a/target/linux/generic/files/drivers/net/phy/ar8216.c b/target/linux/generic/files

Re: [LEDE-DEV] [PATCH 3/3] lantiq: add device tree binding for dwc2 on danube

2016-10-29 Thread Christian Lamparter
On Friday, October 28, 2016 11:22:12 PM CEST Ben Mulvihill wrote: > On Fri, 2016-10-28 at 18:28 +0200, Christian Lamparter wrote: > > Hello, > > > > On Friday, October 28, 2016 4:30:56 PM CEST Ben Mulvihill wrote: > > > Add device tree binding for dw

Re: [LEDE-DEV] [PATCH 3/3] lantiq: add device tree binding for dwc2 on danube

2016-10-29 Thread Christian Lamparter
On Saturday, October 29, 2016 8:44:27 PM CEST Christian Lamparter wrote: > [...] > [7.849577] dwc2 1e101000.ifxhcd: Mode Mismatch Interrupt: currently in > Host mode > [7.855582] dwc2 1e101000.ifxhcd: Mode Mismatch Interrupt: currently in > Host mode > [7.862

[LEDE-DEV] [PATCH 2/2] iperf3: update to version 3.1.4

2016-11-07 Thread Christian Lamparter
"This release fixes a few minor bugs, including a (non-security-impacting) buffer overflow fix ported from upstream cjson." <http://software.es.net/iperf/news.html#iperf-3-1-4-released> Signed-off-by: Christian Lamparter <chunk...@gmail.com> --- package/network/utils/iperf

[LEDE-DEV] [PATCH 1/2] apm821xx: redo WAN green and yellow LEDs

2016-11-07 Thread Christian Lamparter
Because the WAN port is handled by the internal AR8327N switch, the device should use swconfig_leds trigger to handle the link activity of the WAN LED. This has the added bonus that the WAN LED will now go dark if there's no ethernet cable connected to the WAN port. Signed-off-by: Christian

Re: [LEDE-DEV] [PATCH v2 4/5] base-files, mac80211, broadcom-wl: plug-and-play wifi detection

2016-10-12 Thread Christian Lamparter
Hello, On Wednesday, October 12, 2016 1:32:38 PM CEST Jonas Gorski wrote: > On 11 October 2016 at 13:37, Christian Lamparter > <chunk...@googlemail.com> wrote: > > Currently, the wifi detection script is executed as part of > > the (early) boot process. Pluggable

Re: [LEDE-DEV] [PATCH v2 2/5] mac80211: use uci to generate wireless config file

2016-10-12 Thread Christian Lamparter
On Wednesday, October 12, 2016 2:05:15 PM CEST Matthias Schiffer wrote: > On 10/12/2016 01:42 PM, Jonas Gorski wrote: > > On 11 October 2016 at 13:37, Christian Lamparter > > <chunk...@googlemail.com> wrote: > >> Previously, wifi detect simply dumped its generated w

Re: [LEDE-DEV] [PATCH] apm821xx: fix USB LED trigger for WNDR4700

2016-10-22 Thread Christian Lamparter
Hello, On Saturday, October 22, 2016 11:22:35 AM CEST Rafał Miłecki wrote: > From: Rafał Miłecki > > The old usbdev trigger never supported assigning more than 1 USB port. > This code we got was never working as expected. Switch to usbport to > have LED working with both

Re: [LEDE-DEV] [RFC 4/6 v2] Generic: Crypto - aesni - add ccm(aes) algorithm implementation

2016-10-22 Thread Christian Lamparter
On Saturday, October 22, 2016 12:39:26 PM CEST Chris Blake wrote: > This patch was provided by Ben at http://lists.infradead.org/pipermail > /lede-dev/2016-October/003332.html and adds ccm(aes) support to the AES-NI > acceleration. Currently it is not submitted upstream, but has been confirmed >

Re: [LEDE-DEV] [PATCH v3 3/4] base-files, mac80211, broadcom-wl: wifi detection and configuration

2016-10-18 Thread Christian Lamparter
On Tuesday, October 18, 2016 11:31:54 AM CEST Felix Fietkau wrote: > On 2016-10-17 15:59, Christian Lamparter wrote: > > > > Acked-by: Jo-Philipp Wich <j...@mein.io> > > Signed-off-by: Mathias Kresin <d...@kresin.me> > > Signed-off-by: Christian Lampa

Re: [LEDE-DEV] [PATCH] apm821xx: fix USB LED trigger for WNDR4700

2016-10-24 Thread Christian Lamparter
I forgot to mention the builtin sdcard reader in the original post. On Saturday, October 22, 2016 6:10:52 PM CEST Christian Lamparter wrote: > Hello, > > On Saturday, October 22, 2016 11:22:35 AM CEST Rafał Miłecki wrote: > > From: Rafał Miłecki <ra...@milecki.pl> > >

[LEDE-DEV] [PATCH v1 1/3] apm821xx: add amcc, usb-otg-405ex devicetree definition

2016-11-11 Thread Christian Lamparter
B and SATA is used concurrently. Signed-off-by: Christian Lamparter <chunk...@gmail.com> --- .../804-usb-dwc2-add-amcc-usb-otg-405ex.patch | 44 ++ 1 file changed, 44 insertions(+) create mode 100644 target/linux/apm821xx/patches-4.4/804-usb-dwc2-add-amcc-usb-otg-4

Re: [LEDE-DEV] [RFC] target: armvirt: new target

2016-11-25 Thread Christian Lamparter
On Saturday, November 26, 2016 12:43:38 AM CET Yousong Zhou wrote: > On 25 November 2016 at 01:29, Christian Lamparter > <chunk...@googlemail.com> wrote: > > Hello, > > > > On Friday, November 25, 2016 12:03:54 AM CET Yousong Zhou wrote: > >> A

Re: [LEDE-DEV] QCA Dakota support

2016-11-23 Thread Christian Lamparter
Hi Christian, On Wednesday, November 23, 2016 10:13:45 PM CET Christian Mehlis wrote: > your current staging tree works for me, it generates an itb and a trx > file! > I added some files to support the Compex board I own: > https://github.com/mehlis/source/commits/compex-wpj428 > > Feel free to

[LEDE-DEV] [PATCH] mediatek: enable support for vfpv4 and neon

2016-11-25 Thread Christian Lamparter
uilt a separate "cortex-a7" target, so this should free up some resources. Cc: John Crispin <j...@phrozen.org> Signed-off-by: Christian Lamparter <chunk...@gmail.com> --- I don't have any MT7623, so I can't say if this works or not. --- target/linux/mediatek/Makefile |

[LEDE-DEV] [PATCH] apm821xx: make it possible to update the dtb partition on the WNDR4700

2016-11-23 Thread Christian Lamparter
in the binary directory along the firmware images. Note: the u-boot does expects the dtb to be a uimage. To update the dtb manually: 1. copy the generated dtb to the router. 2. mtd erase /dev/mtd2 3. mtd write wndr4700.dtb /dev/mtd2 Signed-off-by: Christian Lamparter <chunk...@gmail.

Re: [LEDE-DEV] QCA Dakota support

2016-11-21 Thread Christian Lamparter
Hello, On Monday, November 21, 2016 2:57:59 PM CET Christian Mehlis wrote: > I found your repo/branch. I think you did a great job! Unfortunately I > can't compile your staging branch: > > [ 4%] Building C object CMakeFiles/netifd.dir/system-linux.c.o > In file included from >

Re: [LEDE-DEV] [RFC] target: armvirt: new target

2016-11-28 Thread Christian Lamparter
On Saturday, November 26, 2016 11:08:30 AM CET Yousong Zhou wrote: > On 26/11/2016, Christian Lamparter <chunk...@googlemail.com> wrote: > > On Saturday, November 26, 2016 12:43:38 AM CET Yousong Zhou wrote: > > So, given that information: Selecting just neon would automat

Re: [LEDE-DEV] QCA Dakota support

2016-11-28 Thread Christian Lamparter
Hello Alexis, On Sunday, November 27, 2016 12:18:00 PM CET Alexis Green wrote: > Could you post .config for your build? I cloned your repo and > successfully built and installed an image, but I'm seeing some rather > weird behavior. I added it, but I don't have any magic values in the .config. I

Re: [LEDE-DEV] [RFC] target: armvirt: new target

2016-11-24 Thread Christian Lamparter
Hello, On Friday, November 25, 2016 12:03:54 AM CET Yousong Zhou wrote: > An ARM Cortex-A machine provided by QEMU. > > Kernel drivers enabled: > > - pl011, uart > - pl031, rtc > - pl061, gpio > - pci-host-generic > - virtio_{mmio,pci,net,blk,scsi,console,balloon} > - ext4 > -

Re: [LEDE-DEV] QCA Dakota support

2016-11-22 Thread Christian Lamparter
Hello Christian, On Tuesday, November 22, 2016 11:54:44 PM CET Christian Mehlis wrote: > I updated to your current staging branch 947e53a1 (which includes the > musl update). Now compile stops in a problem with the backports package, > which does not match the "new" kernel?! > >

[LEDE-DEV] [PATCH 2/2] ath10k-firmware: firmware package for QCA4019 devices

2016-11-15 Thread Christian Lamparter
This patch adds a new firmware package to ath10k-firmware called ath10k-firmware-qca4019. Signed-off-by: Christian Lamparter <chunk...@gmail.com> --- package/firmware/ath10k-firmware/Makefile | 18 ++ 1 file changed, 18 insertions(+) diff --git a/package/firmware/ath10k-fi

[LEDE-DEV] [PATCH 1/2] ath10k-firmware: update ath10k firmware to 2016-11-04

2016-11-15 Thread Christian Lamparter
This will include the latest firmware for the QCA4019: firmware-5.bin_10.4-3.2.1-00044. Signed-off-by: Christian Lamparter <chunk...@gmail.com> --- package/firmware/ath10k-firmware/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/firmware/ath10k-fi

[LEDE-DEV] [PATCH v1 2/3] apm821xx: consolidate apm821xx device trees files

2016-11-11 Thread Christian Lamparter
|RESTART|* when it's appropriate. Signed-off-by: Christian Lamparter <chunk...@gmail.com> --- target/linux/apm821xx/dts/MR24.dts | 472 +++ target/linux/apm821xx/dts/apm82181.dtsi| 466 +++ target/linux/apm821xx/dts/apollo3g-duo.dts | 19 + target/linux/ap

Re: [LEDE-DEV] QCA Dakota support

2016-11-13 Thread Christian Lamparter
Hello, On Saturday, November 12, 2016 12:03:54 AM CET Christian Mehlis wrote: > I took your patches to my tree. They are for Linux 4.7, so I tried to > make Lede build with that Linux version. > I ran into some trouble with musl+netifd (fixed it). Now compat-wireless > seems to expect an older

Re: [LEDE-DEV] [PATCH v1 2/3] apm821xx: consolidate apm821xx device trees files

2016-11-12 Thread Christian Lamparter
On Saturday, November 12, 2016 9:53:19 AM CET Mathias Kresin wrote: > 11.11.2016 18:08, Christian Lamparter: > > diff --git a/target/linux/apm821xx/dts/apollo3g.dtsi > > b/target/linux/apm821xx/dts/apollo3g.dtsi > > index 30a4dfe..853757b 100644 > > --- a/target/linux

[LEDE-DEV] [PATCH v2 1/3] apm821xx: add amcc, usb-otg-405ex devicetree definition

2016-11-12 Thread Christian Lamparter
B and SATA is used concurrently. Signed-off-by: Christian Lamparter <chunk...@gmail.com> --- .../804-usb-dwc2-add-amcc-usb-otg-405ex.patch | 44 ++ 1 file changed, 44 insertions(+) create mode 100644 target/linux/apm821xx/patches-4.4/804-usb-dwc2-add-amcc-usb-otg-4

[LEDE-DEV] [PATCH v2 3/3] apm821xx: remove replaced netgear, wndr4700-usb dwc2 definiton

2016-11-12 Thread Christian Lamparter
This special dwc2 device definition for the Netgear WNDR4700 has been replaced by amcc,usb-otg-405ex. Signed-off-by: Christian Lamparter <chunk...@gmail.com> --- .../800-usb-dwc2-add-wndr4700-otg.patch| 48 -- 1 file changed, 48 deletions(-) delete mode

[LEDE-DEV] [PATCH v2 2/3] apm821xx: consolidate apm821xx device trees files

2016-11-12 Thread Christian Lamparter
|RESTART|*, IRQ_TYPE_* when it's appropriate. Signed-off-by: Christian Lamparter <chunk...@gmail.com> --- v1->v2: - also converted IRQ_TYPEs - rebased on LEDE's current HEAD - drop default LED triggers for the MBL (except for the panic indicators. They hav

Re: [LEDE-DEV] [PATCH V2] apm821xx: fix USB LED trigger for WNDR4700

2016-10-28 Thread Christian Lamparter
o usbport to have LED working with all ports. > Tested-by: Christian Lamparter <chunk...@gmail.com> > Signed-off-by: Rafał Miłecki <ra...@milecki.pl> Thanks! here's a explanation what's going on with the multiple port and usb definitions: The WNDR4700 has two different U

[LEDE-DEV] [PATCH] apm821xx: add back end-of-UBI marker for the WNDR4700 and MR24

2016-11-03 Thread Christian Lamparter
ernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) [1.866519] Rebooting in 1 seconds..Auto calibration --- Signed-off-by: Christian Lamparter <chunk...@gmail.com> --- target/linux/apm821xx/image/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tar

[LEDE-DEV] [PATCH v2 5/5] mac80211: remove ath10k delayed initialization hack

2016-10-11 Thread Christian Lamparter
From: Mathias Kresin <d...@kresin.me> LEDE no longer requires all PHYs to be initialized to create the configuration files during bootup. This patch removes the now obsolete ath10k patch. Signed-off-by: Mathias Kresin <d...@kresin.me> Signed-off-by: Christian Lamparter <chu

[LEDE-DEV] [PATCH v2 3/5] broadcom-wl: use uci to generate wireless config file

2016-10-11 Thread Christian Lamparter
s configuration file. Signed-off-by: Christian Lamparter <chunk...@gmail.com> --- .../kernel/broadcom-wl/files/lib/wifi/broadcom.sh | 30 +++--- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh b/package/ke

[LEDE-DEV] [PATCH] docs: update uci's wireless reconfiguration text

2016-10-17 Thread Christian Lamparter
guration just to add a new wifi device. Signed-off-by: Christian Lamparter <chunk...@gmail.com> --- docs/uci_wireless.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/uci_wireless.txt b/docs/uci_wireless.txt index d43df0e..76bb459 100644 --- a/docs/u

[LEDE-DEV] [PATCH v3 4/4] mac80211: remove ath10k delayed initialization hack

2016-10-17 Thread Christian Lamparter
From: Mathias Kresin <d...@kresin.me> LEDE no longer requires all PHYs to be initialized to create the configuration files during bootup. This patch removes the now obsolete ath10k patch. Signed-off-by: Mathias Kresin <d...@kresin.me> Signed-off-by: Christian Lamparter <chu

[LEDE-DEV] [PATCH v3 1/4] base-files: generate /etc/config/wireless, if it doesn't exist

2016-10-17 Thread Christian Lamparter
tool just exits with "uci: Entry not found". Signed-off-by: Mathias Kresin <d...@kresin.me> Signed-off-by: Christian Lamparter <chunk...@gmail.com> --- package/base-files/files/sbin/wifi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/base-files/files/sbin/wifi b/pa

[LEDE-DEV] [PATCH v3 2/4] base-files, mac80211, broadcom-wl: use uci to populate wireless config

2016-10-17 Thread Christian Lamparter
wifi interface configurations, if the wifi configuration is run concurrently. Signed-off-by: Christian Lamparter <chunk...@gmail.com> --- All changes to base-files, mac80211 and broadcom-wl packages have been integrated into a single patch to play nice with git bisect. v2 -> v3

[LEDE-DEV] [PATCH] mac80211: backport "cfg80211: limit scan results cache size"

2016-12-13 Thread Christian Lamparter
gt;" This patch was added in 4.4.36. But because LEDE backports cfg80211, mac80211 and the wifi drivers separately, it needs to be added manually for now. It can be dropped later as it will be part of the next mac80211 refresh. Signed-off-by: Christian Lamparter <chunk...@googlemail.com>

Re: [LEDE-DEV] [PATCH] ath10k-firmware: update QCA9888 and QCA4019 firmware

2017-10-14 Thread Christian Lamparter
On Saturday, October 14, 2017 11:24:24 AM CEST Hauke Mehrtens wrote: > This updates the firmware files for the QCA9888 and QCA4019 > chips to a more recent version which is also used in the linux-firmware > repository. > > Signed-off-by: Hauke Mehrtens > --- > > Could someone

Re: [LEDE-DEV] [PATCH v2] ipq806x: add ap.dk01.1 board support

2017-10-16 Thread Christian Lamparter
Added John, maybe he has more comments. On Monday, October 16, 2017 5:04:19 PM CEST Roman Yeryomin wrote: > AP.DK01.1 is QCA dev board with: > - ipq4028 (quad core ARM @710MHz, 2x2 dual an+ac radios) ^^ might not be correct. more to this below. > - 256MB RAM > - 32MB

Re: [LEDE-DEV] [PATCH v2] ipq806x: add ap.dk01.1 board support

2017-10-16 Thread Christian Lamparter
On Monday, October 16, 2017 10:10:52 PM CEST Roman Yeryomin wrote: > On 2017-10-16 20:32, Christian Lamparter wrote: > > Added John, maybe he has more comments. (This time with the right mail address - sorry) > >> Changes: > >> - add partitions > >> - enable

Re: [LEDE-DEV] wlan issue with TP-LINK wdr3600

2017-10-11 Thread Christian Lamparter
On Wednesday, October 11, 2017 10:42:17 PM CEST e9hack wrote: > Hi, > > Is end the hostapd config files. They are generated by a modified hostapd.sh > script. Just a quick "cross-reference". It looks like this is related to ieee802.11w. This was reported in the forum was well:

[LEDE-DEV] [PATCH] kernel: kmod packaging for IEEE 802.1AE (MACsec) for 4.9+

2017-10-12 Thread Christian Lamparter
://standards.ieee.org/getieee802/download/802.1AE-2006.pdf Note: LEDE can utilize MACsec with a static connectivity association key (static PSK) with the ip-full package installed. <http://man7.org/linux/man-pages/man8/ip-macsec.8.html> Signed-off-by: Christian Lamparter <chunk...@gmail.com> --- pa

[LEDE-DEV] [PATCH] dnsmasq: add listen_address parameter

2017-10-12 Thread Christian Lamparter
rwise fail to work properly, because listening to the "This host on this network" address (aka 0.0.0.0 see rfc1700 page 4) may not be allowed. Signed-off-by: Christian Lamparter <chunk...@gmail.com> --- package/network/services/dnsmasq/files/dnsmasq.init | 5 + 1 file chan

[LEDE-DEV] [RFC] base-files: upgrade: make get_partitions() endian agnostic

2017-10-12 Thread Christian Lamparter
tart LBA and LBA num from the partition table has the same endianness issue. This has been fixed by using the new hex_le32_to_cpu() function. This function will translate the stored little-endian data to the correct byte-order if necessary. Signed-off-by: Christian Lamparter <chunk...@gmail.c

[LEDE-DEV] [PATCH 1/5] build: append metadata for supported images.gz

2017-11-28 Thread Christian Lamparter
for example x86(_64), RPI, and MyBook Live images. Note: append-metadata does internally check if SUPPORTED_DEVICES is set, before adding the metadata. Hence, it will not interfere with existing targets that have not been converted. Cc: Felix Fietkau <n...@nbd.name> Signed-off-by: Christian Lam

[LEDE-DEV] [PATCH 2/5] base-files: unify get_dt_led helper function

2017-11-28 Thread Christian Lamparter
: John Crispin <j...@phrozen.org> Cc: Hannu Nyman <hannu.ny...@iki.fi> Signed-off-by: Christian Lamparter <chunk...@gmail.com> --- package/base-files/files/lib/functions/leds.sh | 12 target/linux/ipq806x/base-files/etc/diag.sh| 9 - target/linu

[LEDE-DEV] [PATCH 3/5] apm821xx: convert to dt based diag LED script

2017-11-28 Thread Christian Lamparter
Please note that users with a Netgear WNDR4700 will need to update the device-tree partition manually. For instructions, please refere to commit 49856a4bb581 ("apm821xx: make it possible to update the dtb partition on the WNDR4700") Signed-off-by: Christian Lamparter <chunk

[LEDE-DEV] [PATCH 5/5] apm821xx: MyBook Live convert to DT PHY

2017-11-28 Thread Christian Lamparter
Changes MyBook Live to use DT PHY probing and the broadcom phy driver. Signed-off-by: Christian Lamparter <chunk...@gmail.com> --- target/linux/apm821xx/dts/apollo3g.dtsi | 11 +++ target/linux/apm821xx/sata/config-default | 1 + 2 files changed, 12 insertions(+) diff --git a/

[LEDE-DEV] [PATCH 4/5] apm821xx: use x86's upgrade scripts for MyBook Live

2017-11-28 Thread Christian Lamparter
in this case. Note2: This patch requires "base-files: upgrade: make get_partitions() endian agnostic" Note3: If your current installation does not host the two changes, sysupgradeing will then wipe the existing partition layout. Don't forget to backup your data! Signed-off-by: Christian

Re: [LEDE-DEV] [PATCH 1/5] build: append metadata for supported images.gz

2017-11-28 Thread Christian Lamparter
On Tuesday, November 28, 2017 11:07:54 PM CET Matthias Schiffer wrote: > On 11/28/2017 10:51 PM, Christian Lamparter wrote: > > Targets that either directly or indirectly set > > CONFIG_TARGET_IMAGES_GZIP currently have no way > > to append the metadata at the end of new image

Re: [LEDE-DEV] [PATCH 1/5] build: append metadata for supported images.gz

2017-11-30 Thread Christian Lamparter
On Tuesday, November 28, 2017 11:20:23 PM CET Christian Lamparter wrote: > On Tuesday, November 28, 2017 11:07:54 PM CET Matthias Schiffer wrote: > > On 11/28/2017 10:51 PM, Christian Lamparter wrote: > > > Targets that either directly or indirectly set > > > CONFIG_T

Re: [LEDE-DEV] [PATCH] kernel: bump 4.9 to 4.9.64

2017-11-23 Thread Christian Lamparter
On Thursday, November 23, 2017 4:14:42 PM CET Koen Vandeputte wrote: > Refreshed all patches > > Compile-tested: cns3xxx, imx6 > Runtime-tested: cns3xxx, imx6 runs on the MyBook Live (apm821xx) w/o a hitch. Tested-by: Christian Lamparter <chunk...@gmail.com> > Signed-of

Re: [LEDE-DEV] [PATCH 4/4] toolchain: musl: update to current HEAD

2017-11-22 Thread Christian Lamparter
-patches> For example, for this patch it will generate the following output: $ get_maintainer.pl 0004-toolchain-musl-update-to-current-HEAD.patch Felix Fietkau <n...@nbd.name> (authored:3/7=43%,added_lines:5/17=29%,removed_lines:5/14=36%,authored:1/2=50%,added_lines:3/54=6%,removed_lin

[LEDE-DEV] [PATCH 8/9] apm821xx: enable metadata for packaging

2017-12-17 Thread Christian Lamparter
This patch enables metadata-supported image verification for all apm821xx supported devices. Since this method comes with a built-in image verification tool (fwtool), the previous image checks can be removed. Signed-off-by: Mathias Kresin <d...@kresin.me> Signed-off-by: Christian Lamparter

[LEDE-DEV] [PATCH 5/9] apm821xx: add product names to the dt compatible for Meraki

2017-12-17 Thread Christian Lamparter
Meraki choose to use their product's codename as the main compatible string. Mathias Kresin commented that this is a poor choice as this will confuse the users and devs once the device-tree compatible is used for board-detection and possible the image name. Signed-off-by: Christian Lamparter

[LEDE-DEV] [PATCH 9/9] apm821xx: convert to device-tree board detection

2017-12-17 Thread Christian Lamparter
Signed-off-by: Mathias Kresin <d...@kresin.me> Signed-off-by: Christian Lamparter <chunk...@gmail.com> --- .../linux/apm821xx/base-files/etc/board.d/01_leds | 9 +++-- .../apm821xx/base-files/etc/board.d/02_network | 9 +++-- .../etc/hotplug.d/firmware/10-ath9k-eeprom | 4 +-

[LEDE-DEV] [PATCH 7/9] apm821xx: align device names with vendor_device format

2017-12-17 Thread Christian Lamparter
Currently, the device name handle does not include the manufacturer. This can make it hard do differentiate between products from different vendors that have the same product name. As the handle is used to derive the image name. Signed-off-by: Christian Lamparter <chunk...@gmail.com> ---

  1   2   >