[OpenWrt-Devel] [PATCH] ramips: Add support for Netgear EX2700

2016-01-19 Thread Joseph C. Lehner
eck, which expects a uImage header in the last 64 bytes of the "kernel" partition, which the bootloader expects to be 960k, a size exceeded by the standard OpenWrt kernel. Signed-off-by: Joseph C. Lehner --- diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/lin

[OpenWrt-Devel] [PATCH v2] ramips: Add support for Netgear EX2700

2016-01-21 Thread Joseph C. Lehner
eck, which expects a uImage header in the last 64 bytes of the "kernel" partition, which the bootloader expects to be 960k, a size exceeded by the standard OpenWrt kernel. Signed-off-by: Joseph C. Lehner --- Changes for v2: * Fix alphabetical ordering (image/Makefile is not really

[OpenWrt-Devel] [PATCH v3] ramips: Add support for Netgear EX2700

2016-01-21 Thread Joseph C. Lehner
eck, which expects a uImage header in the last 64 bytes of the "kernel" partition, which the bootloader expects to be 960k, a size exceeded by the standard OpenWrt kernel. Signed-off-by: Joseph C. Lehner --- Changes for v3: * Fix led name in /etc/board.d/01_leds * Cleanup device tree C

Re: [OpenWrt-Devel] [PATCH v4] ramips: Add support for Netgear EX2700

2016-02-08 Thread Joseph C. Lehner
eck, which expects a uImage header in the last 64 bytes of the "kernel" partition, which the bootloader expects to be 960k, a size exceeded by the standard OpenWrt kernel. Signed-off-by: Joseph C. Lehner --- Changes for v4: * Fix whitespace errors in netgear.mk Changes for v3: * Fix led

[OpenWrt-Devel] [PATCH] CC: ramips: Backport support for Netgear EX2700

2016-02-11 Thread Joseph C. Lehner
This patch adds support for the Netgear EX2700 in Chaos Calmer and builds an approriate sysupgrade image (backported from my earlier submission). Signed-off-by: Joseph C. Lehner --- diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d

[OpenWrt-Devel] ramips: Failsafe switch config broken on (some?) mt7620/mt7621 devices

2016-02-12 Thread Joseph C. Lehner
As indicated in the bug tracker[1], failsafe mode is broken on at least some devices using the mt7620 switch (and possibly mt7621). The thread explicitly mentions the Xiaomi MiWifi, and the Nexx WT3020, and an unspecified device using the mt7621 switch; I can confirm the issue on a Netgear EX2700 (

Re: [OpenWrt-Devel] [PATCH v4] ramips: Add support for Netgear EX2700

2016-02-16 Thread Joseph C. Lehner
oseph On 2016-02-08 22:29, Joseph C. Lehner wrote: > This patch adds support for the Netgear EX2700 and builds an approriate > sysupgrade image. > > What's missing is the option to build a factory image flashable via the > router's stock web interface, but this approach is

Re: [OpenWrt-Devel] [PATCH v4] ramips: Add support for Netgear EX2700

2016-02-16 Thread Joseph C. Lehner
Sorry, yeah, must have missed that! Thanks! On 2016-02-16 16:24, John Crispin wrote: > > > > > > > > On 16/02/2016 16:00, Joseph C. Lehner wrote: >> I've received a notification from patchwork that the patch status has >> been changed to "Accep

[OpenWrt-Devel] [PATCH] ramips: build factory images for Netgear EX2700

2016-02-16 Thread Joseph C. Lehner
This patch adds support for building factory and sysupgrade images for the Netgear EX2700 that don't require modification of u-boot environment variables. Signed-off-by: Joseph C. Lehner --- diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile index 8b

Re: [OpenWrt-Devel] [PATCH v2] ramips: build factory images for Netgear EX2700

2016-02-16 Thread Joseph C. Lehner
must contain a valid uImage header - in the stock firmware, this is the uImage header of the root filesystem. For this patch, we're using the uImage header of a 0 byte partition (ex2700-fakeroot.uImage). Signed-off-by: Joseph C. Lehner --- diff --git a/target/linux/ramips/image/Makefile b/ta

Re: [OpenWrt-Devel] [PATCH v3] ramips: build factory images for Netgear EX2700

2016-02-16 Thread Joseph C. Lehner
must contain a valid uImage header - in the stock firmware, this is the uImage header of the root filesystem. For this patch, we're using the uImage header of a 0 byte partition (ex2700-fakeroot.uImage). Signed-off-by: Joseph C. Lehner --- Changes for v3: * Fix maximum image size Changes for

Re: [OpenWrt-Devel] [PATCH v4] ramips: build factory images for Netgear EX2700

2016-02-17 Thread Joseph C. Lehner
must contain a valid uImage header - in the stock firmware, this is the uImage header of the root filesystem. For this patch, we're using the uImage header of a 0 byte partition (ex2700-fakeroot.uImage). Signed-off-by: Joseph C. Lehner --- Changes for v4 * Fix word wrap Changes for v3: * Fix max

Re: [OpenWrt-Devel] [PATCH v5] ramips: build factory images for Netgear EX2700

2016-02-17 Thread Joseph C. Lehner
must contain a valid uImage header - in the stock firmware, this is the uImage header of the root filesystem. For this patch, we're using the uImage header of a 0 byte partition (ex2700-fakeroot.uImage). Signed-off-by: Joseph C. Lehner --- Changes for v5: * Don't break if the kerne

Re: [OpenWrt-Devel] [PATCH v6] ramips: build factory images for Netgear EX2700

2016-02-17 Thread Joseph C. Lehner
must contain a valid uImage header - in the stock firmware, this is the uImage header of the root filesystem. For this patch, we're using the uImage header of a 0 byte partition (ex2700-fakeroot.uImage). Signed-off-by: Joseph C. Lehner --- Changes for v6: * Forgot to add backslash (sorry) Chan

Re: [OpenWrt-Devel] [PATCH v7] ramips: build factory images for Netgear EX2700

2016-02-17 Thread Joseph C. Lehner
must contain a valid uImage header - in the stock firmware, this is the uImage header of the root filesystem. For this patch, we're using the uImage header of a 0 byte partition (ex2700-fakeroot.uImage). Signed-off-by: Joseph C. Lehner --- Changes for v7: * Word wrap, again. Changes for v6: *

[OpenWrt-Devel] [PATCH] ramips: mt7620: fix failsafe switch config

2016-02-17 Thread Joseph C. Lehner
Signed-off-by: Joseph C. Lehner --- diff --git a/target/linux/ramips/base-files/lib/preinit/07_set_preinit_iface_ramips b/target/linux/ramips/base-files/lib/preinit/07_set_preinit_iface_ramips index 3dce1b6..6948851 100644 --- a/target/linux/ramips/base-files/lib/preinit

Re: [OpenWrt-Devel] [PATCH v8] ramips: build factory images for Netgear EX2700

2016-02-18 Thread Joseph C. Lehner
must contain a valid uImage header - in the stock firmware, this is the uImage header of the root filesystem. For this patch, we're using the uImage header of a 0 byte partition (ex2700-fakeroot.uImage). Signed-off-by: Joseph C. Lehner --- Changes for v8: * Fix dd invocation Changes for v7: *

Re: [OpenWrt-Devel] [PATCH v2] CC: ramips: Backport support for Netgear EX2700

2016-02-18 Thread Joseph C. Lehner
This patch adds support for the Netgear EX2700 in Chaos Calmer and builds approriate -sysupgrade and -factory images. Signed-off-by: Joseph C. Lehner --- Changes in v2: * Build -factory and -sysupgrade images diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux

[OpenWrt-Devel] [PATCH] ramips: EX2700: remove unused kernel modules

2016-02-26 Thread Joseph C. Lehner
Remove the kmod-mt76 and kmod-rt2800-pci packages from the EX2700 profile to free up around 100 KiB of space on the root filesystem. This patch applies to both trunk and Chaos Calmer. Signed-off-by: Joseph C. Lehner --- diff --git a/target/linux/ramips/mt7620/profiles/netgear.mk b/target

Re: [OpenWrt-Devel] [PATCH v2] ramips: EX2700: remove unused kernel modules

2016-03-01 Thread Joseph C. Lehner
Remove the kmod-mt76 package from the EX2700 profile to free up around 100 KiB of space on the root filesystem. This patch applies to both trunk and Chaos Calmer. Signed-off-by: Joseph C. Lehner --- Changes in v2: * Don't remove kmod-rt2800-pci diff --git a/target/linux/ramips/m

Re: [OpenWrt-Devel] [PATCH] ramips: mt7620: fix failsafe switch config

2016-03-01 Thread Joseph C. Lehner
I see that the patch has been merged in trunk, however the same issue exists in Chaos Calmer (and this patch applies to the CC branch as well). Regards, Joseph On 2016-02-17 17:58, Joseph C. Lehner wrote: > As indicated in the bug tracker[1], failsafe mode is broken on at least some > d

Re: [OpenWrt-Devel] [PATCH v2] ramips: EX2700: remove unused kernel modules

2016-03-10 Thread Joseph C. Lehner
2016-03-01 17:04, Joseph C. Lehner wrote: > Remove the kmod-mt76 package from the EX2700 profile to free up > around 100 KiB of space on the root filesystem. > > This patch applies to both trunk and Chaos Calmer. > > Signed-off-by: Joseph C. Lehner > > --- > > Cha

Re: [OpenWrt-Devel] [PATCH v2] ramips: EX2700: remove unused kernel modules

2016-03-10 Thread Joseph C. Lehner
run git pull it wont rescan target/* automagically. i would assume > that you ran into this issue > > i'll pull this into trunk aswell. i had it on my list and forgot. that > is why we ask to have 2 patches sent, 1 for trunk and one prefixed with "CC" > &g

Re: [OpenWrt-Devel] [PATCH v2] ramips: EX2700: remove unused kernel modules

2016-03-10 Thread Joseph C. Lehner
On 2016-03-10 17:22, Joseph C. Lehner wrote: > Okay thanks, I'll keep that in mind. But the second issue still remains: > > I was referring to the latest snapshot build for the ex2700 from > downloads.openwrt.org, which come with all kmod-usb* stuff included, > even though these

Re: [OpenWrt-Devel] [PATCH v2] ramips: EX2700: remove unused kernel modules

2016-03-11 Thread Joseph C. Lehner
On 2016-03-10 18:50, John Crispin wrote: > > > On 10/03/2016 17:57, Joseph C. Lehner wrote: >> Just a quick followup, this applies to other devices as well: the >> profile for the Ubiquity EdgeRouter X (mt7621, ubnt-erx) for example uses >> >> PACKAGES:=-km