Re: [LEDE-DEV] [PATCH] e2fsprogs: fix build problem with very old libmagic

2016-06-29 Thread Dirk Neukirchen
On 29.06.2016 23:14, Hauke Mehrtens wrote: > From: Hauke Mehrtens > > The libmagic shipped with RedHat 5 does not define As a reference - RHEL4: Mar/2017, RHEL5:Nov/2020 src: https://access.redhat.com/support/policy/updates/errata I have recommended/tested build OS on my todo list > MAGIC_N

Re: [LEDE-DEV] [PATCH] e2fsprogs: fix build problem with very old libmagic

2016-06-29 Thread John Crispin
On 29/06/2016 23:14, Hauke Mehrtens wrote: > From: Hauke Mehrtens > > The libmagic shipped with RedHat 5 does not define > MAGIC_NO_CHECK_COMPRESS and MAGIC_NO_CHECK_COMPRESS. e2fsprogs should > check for that otherwise the build will fail. > can you send this upstream aswell please ?

Re: [LEDE-DEV] [PATCH] ramips: Add support for the NixCore X1 Module

2016-06-29 Thread John Crispin
On 30/06/2016 04:20, L. D. Pinney wrote: > The NixCore X1 is a Ralink/MediaTek rt5350 WiFi Module. > > http://nixcores.com/ > > Signed-off-by: L. D. Pinney > Acked-by: Drew Gaylo > this is a different patch to drew's version 5. please incorporate all the feedback we already gave to drew.

Re: [LEDE-DEV] adding luci to snapshot images

2016-06-29 Thread Rafał Miłecki
On 29 June 2016 at 16:54, Jo-Philipp Wich wrote: > My observation on the matter is this: > People who do *not* want to have the ui included are either building > from source or using the IB anyway and those users *requiring* a ui tend > to be unable to spin their own builds (no Linux os at hand, t

[LEDE-DEV] [PATCH] ramips: Add support for the NixCore X1 Module

2016-06-29 Thread L. D. Pinney
The NixCore X1 is a Ralink/MediaTek rt5350 WiFi Module. http://nixcores.com/ Signed-off-by: L. D. Pinney Acked-by: Drew Gaylo --- target/linux/ramips/base-files/etc/board.d/02_network | 1 + target/linux/ramips/base-files/lib/ramips.sh | 3 +++ target/linux/ramips/base-files/lib/

[LEDE-DEV] [PATCH v2 4/4] ar71xx: seama: fix making factory images

2016-06-29 Thread Yousong Zhou
rootfs part needs to be aligned to erase block size which is passed as the 6th argument to Image/Build/Seama and is now 65536 since commit commit 5119ee9 "ar71xx: fix bogus hardcoded kernel image size for Seama images (fixes #20585)", but $(($(6) - 64)) still assumes that the argument is a limit o

[LEDE-DEV] [PATCH v2 3/4] ar71xx: image: unify indentation with 2 whitespaces

2016-06-29 Thread Yousong Zhou
Signed-off-by: Yousong Zhou --- target/linux/ar71xx/image/generic.mk | 224 +-- 1 file changed, 112 insertions(+), 112 deletions(-) diff --git a/target/linux/ar71xx/image/generic.mk b/target/linux/ar71xx/image/generic.mk index 6802501..3e3dc69 100644 --- a/target

[LEDE-DEV] [PATCH v2 1/4] ar71xx: hiwifi-hc6361: move packages selection to generic.mk

2016-06-29 Thread Yousong Zhou
Remove kmod-crypto-deflate and kmod-ledtrig-gpio as the device works the same by default without them Signed-off-by: Yousong Zhou --- target/linux/ar71xx/image/generic.mk| 15 +-- target/linux/ar71xx/image/legacy-devices.mk | 8 2 files changed, 9 insertions(+), 14

[LEDE-DEV] [PATCH v2 0/4] ar71xx: image: a few fixes

2016-06-29 Thread Yousong Zhou
The patch on HiWiFi HC6361 has been run-tested. The patch on seama image build has only been compile-tested and inspected manually. I'd like to wait for some acks before it get merged. v1 -> v2: - Fix making making sysupgrade image: the .seama ext of output file seama utility was previously

[LEDE-DEV] [PATCH v2 2/4] ar71xx: image: remove duplicate IMAGES definition

2016-06-29 Thread Yousong Zhou
Signed-off-by: Yousong Zhou --- target/linux/ar71xx/image/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile index 2380a62..ced1610 100644 --- a/target/linux/ar71xx/image/Makefile +++ b/target/linux/ar71xx/image/Mak

[LEDE-DEV] [PATCH 2/4] kernel: mac80211: fold the AR9280 GPIO patch into the ath9k GPIO patch

2016-06-29 Thread Martin Blumenstingl
This folds 550-ath9k_add_ar9280_gpio_chip.patch into 548-ath9k_enable_gpio_chip.patch because the former patch only extends code which is introduced in the latter. Signed-off-by: Martin Blumenstingl --- .../patches/548-ath9k_enable_gpio_chip.patch | 14 ++- .../patches/549-ath9k_en

[LEDE-DEV] [PATCH 0/4] kernel: mac80211: extend gpio_chip initialization

2016-06-29 Thread Martin Blumenstingl
This re-uses the "number of GPIOs" which are already configured per ath9k chip/revision during chip initialization in hw.c's ath9k_hw_fill_cap_info(). It also sets the parent device of the GPIO controller which is not only good practice, but it will also allow using the ath9k device as GPIO control

[LEDE-DEV] [PATCH 4/4] kernel: mac80211: set the parent of the ath9k gpio_chip

2016-06-29 Thread Martin Blumenstingl
This allows gpiolib to re-use ath9k's devicetree node as GPIO controller. Example: ath9k: ath9k@0 { #gpio-cells = <2>; gpio-controller; } Now the ath9k node can be used just like any other GPIO controller: gpios = <&ath9k 1 GPIO_ACTIVE_HIGH>; Signed-off-by: Martin Blumens

[LEDE-DEV] [PATCH 3/4] kernel: mac80211: enable the gpio controller for all ath9k devices

2016-06-29 Thread Martin Blumenstingl
This enables ath9k's built-in GPIO controller for all chip versions (instead of an explicit whitelist). This also allows us to get rid of some duplicate code between hw.c and gpio.c because hw.c already determines the number of GPIOs. Signed-off-by: Martin Blumenstingl --- .../patches/548-ath9k_

[LEDE-DEV] [PATCH 1/4] mac80211: refresh patches

2016-06-29 Thread Martin Blumenstingl
From: Mathias Kresin Signed-off-by: Mathias Kresin --- .../100-remove-cryptoapi-dependencies.patch| 90 -- .../mac80211/patches/530-ath9k_extra_leds.patch| 12 +-- .../patches/541-ath9k_rx_dma_stop_check.patch | 4 +- .../patches/910-01-add-support-for-mt76

[LEDE-DEV] [PATCH] libnl-tiny: Generic Netlink multicast groups support

2016-06-29 Thread Hauke Mehrtens
From: Hauke Mehrtens This adds this commit from normal libnl to libnl-tiny: https://github.com/tgraf/libnl/commit/2dbc1ca76c5b82c40749e609eb83877418abb006 commit 2dbc1ca76c5b82c40749e609eb83877418abb006 Author: dima Date: Wed Oct 13 17:53:34 2010 +0300 Generic Netlink multicast groups su

[LEDE-DEV] [PATCH] e2fsprogs: fix build problem with very old libmagic

2016-06-29 Thread Hauke Mehrtens
From: Hauke Mehrtens The libmagic shipped with RedHat 5 does not define MAGIC_NO_CHECK_COMPRESS and MAGIC_NO_CHECK_COMPRESS. e2fsprogs should check for that otherwise the build will fail. Signed-off-by: Hauke Mehrtens --- tools/e2fsprogs/patches/010-old-libmagic.patch | 11 +++ 1 file

[LEDE-DEV] [PATCH 1/2] firmware: extract prism54-firmware into own package

2016-06-29 Thread Hauke Mehrtens
From: Hauke Mehrtens Instead of downloading the firmware for prism54 devices in the wireless.mk do it in an extra package Makefile. To ship the complete source code Intel ships our modified OpenWrt/LEDE + the content of the dl directory. We do not want to have any files in the dl/ directory which

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

2016-06-29 Thread Hauke Mehrtens
From: Hauke Mehrtens Extract the other p54 firmware files into the prism54-firmware package. Signed-off-by: Hauke Mehrtens --- package/firmware/prism54-firmware/Makefile | 75 -- package/kernel/mac80211/Makefile | 48 ++- 2 files changed, 7

[LEDE-DEV] server reboot

2016-06-29 Thread John Crispin
hi, the webserver will see an update to F24 tonight and get more disk space. there will be several reboots over the next few hours. if all goes well we will be back to normal operational mode in a few hours. John ___ Lede-dev mailing list Lede-

Re: [LEDE-DEV] adding luci to snapshot images

2016-06-29 Thread Aaron Z
On Wed, Jun 29, 2016 at 2:43 PM, David Lang wrote: > I agree. There may be some devices with extremely small flash that can't fit > luci, but otherwise I think it should be on the default images that people > are pointed at. > Having a second set of images without luci isn't a bad idea, but if for

Re: [LEDE-DEV] adding luci to snapshot images

2016-06-29 Thread David Lang
I agree. There may be some devices with extremely small flash that can't fit luci, but otherwise I think it should be on the default images that people are pointed at. Having a second set of images without luci isn't a bad idea, but if forced to choose, I would say they should have luci Davi

Re: [LEDE-DEV] adding luci to snapshot images

2016-06-29 Thread Kevin Darbyshire-Bryant
On 29/06/16 15:54, Jo-Philipp Wich wrote: Hi, it would certainly help to bridge the gap until the #1 release and it would give more testing exposure to the ui... My observation on the matter is this: People who do *not* want to have the ui included are either building from source or using the

Re: [LEDE-DEV] Add Synopsys brand to Wiki

2016-06-29 Thread Alexey Brodkin
Hi Thomas, Could you please assist me in adding new brand (Synopsys) to OpenWRT Wiki ToH? That's my original request sent to Lede dev mailing list: http://lists.infradead.org/pipermail/lede-dev/2016-June/001551.html -Alexey On Wed, 2016-06-29 at 15:42 +0200, Jo-Philipp Wich wrote: > Hi Alexey,

[LEDE-DEV] [PATCH 1/4] ar71xx: hiwifi-hc6361: move packages selection to generic.mk

2016-06-29 Thread Yousong Zhou
Remove kmod-crypto-deflate and kmod-ledtrig-gpio as the device works the same by default without them Signed-off-by: Yousong Zhou --- target/linux/ar71xx/image/generic.mk| 15 +-- target/linux/ar71xx/image/legacy-devices.mk | 8 2 files changed, 9 insertions(+), 14

[LEDE-DEV] [PATCH 4/4] ar71xx: seama: fix making factory images

2016-06-29 Thread Yousong Zhou
rootfs part needs to be aligned to erase block size which is passed as the 6th argument to Image/Build/Seama and is now 65536 since commit commit 5119ee9 "ar71xx: fix bogus hardcoded kernel image size for Seama images (fixes #20585)", but $(($(6) - 64)) still assumes that the argument is a limit o

[LEDE-DEV] [PATCH 3/4] ar71xx: image: unify indentation with 2 whitespaces

2016-06-29 Thread Yousong Zhou
Signed-off-by: Yousong Zhou --- target/linux/ar71xx/image/generic.mk | 224 +-- 1 file changed, 112 insertions(+), 112 deletions(-) diff --git a/target/linux/ar71xx/image/generic.mk b/target/linux/ar71xx/image/generic.mk index 6802501..3e3dc69 100644 --- a/target

[LEDE-DEV] [PATCH 2/4] ar71xx: image: remove duplicate IMAGES definition

2016-06-29 Thread Yousong Zhou
Signed-off-by: Yousong Zhou --- target/linux/ar71xx/image/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile index 2380a62..ced1610 100644 --- a/target/linux/ar71xx/image/Makefile +++ b/target/linux/ar71xx/image/Mak

[LEDE-DEV] [PATCH 0/4] ar71xx: image: a few fixes

2016-06-29 Thread Yousong Zhou
The patch on HiWiFi HC6361 has been run-tested. The patch on seama image build has only been compile-tested and inspected manually. I'd like to wait for some acks before it get merged. Yousong Zhou (4): ar71xx: hiwifi-hc6361: move packages selection to generic.mk ar71xx: image: remove duplic

Re: [LEDE-DEV] adding luci to snapshot images

2016-06-29 Thread L. D. Pinney
While I think adding luci will be convenient for many users. I feel that the initial release is the paramount issue and that builds containing luci could be added later. A nice solution would be to offer downloads built w/wo lucias well as adding 'luci' to the filename if built with luci. On

Re: [LEDE-DEV] adding luci to snapshot images

2016-06-29 Thread Adrian Panella
Totally agree with the observation. +1 for including LuCI as default. -Original Message- From: Lede-dev [mailto:lede-dev-boun...@lists.infradead.org] On Behalf Of Jo-Philipp Wich Sent: miércoles, 29 de junio de 2016 09:54 a.m. To: lede-dev@lists.infradead.org Subject: Re: [LEDE-DEV] adding

Re: [LEDE-DEV] adding luci to snapshot images

2016-06-29 Thread Jo-Philipp Wich
Hi, it would certainly help to bridge the gap until the #1 release and it would give more testing exposure to the ui... My observation on the matter is this: People who do *not* want to have the ui included are either building from source or using the IB anyway and those users *requiring* a ui te

[LEDE-DEV] adding luci to snapshot images

2016-06-29 Thread John Crispin
Hi Jo, can we add luci to snapshot images until the first release is out ? people are using the images and seem to be confused by there being no luci. personally i would prefer to not include luci in snapshots to keep them as minimal as possible but until we have a first release it would make sen

Re: [LEDE-DEV] [PATCH netifd] alias: Set alias link device status to disabled when device is removed

2016-06-29 Thread Jo-Philipp Wich
Hi Hans, pushed to netifd.git - thank you! ~ Jo ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev

Re: [LEDE-DEV] Add Synopsys brand to Wiki

2016-06-29 Thread Jo-Philipp Wich
Hi Alexey, please contact Thomas Endt for assistance on adding brands to the OpenWrt Wiki ToH. ~ Jo ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev

[LEDE-DEV] [PATCH netifd] alias: Set alias link device status to disabled when device is removed

2016-06-29 Thread Hans Dedecker
Fixes missing link state event propagation for an aliased device in case a new device is added as the link state has the last known status of the old device possible resulting into no link state change detection. Signed-off-by: Hans Dedecker --- alias.c | 4 +++- 1 file changed, 3 insertions(+

[LEDE-DEV] [Bug CC 15.05.1] ath9k crashes on TL-WR1043NDv1

2016-06-29 Thread Daniel Golle
Hi! I got an interesting bug on a quite ancient ath9k system which used to run stable on BB. Can anyone with more insight of ath9k tell me what's going on? DISTRIB_RELEASE='Chaos Calmer' DISTRIB_REVISION='r49378' system type : Atheros AR9132 rev 2 machine : TP-LINK T

[LEDE-DEV] [PATCH 1/2] fstools: support for ext4fs overlay

2016-06-29 Thread josua . mayer97
From: Ram Chandra Jangir This change will enables eMMC (ext4 fs) boot support, when we try to boot from eMMC card then it will read partition names from /sys/block/mmcblkX/mmcblkXY/uevent file and will mount the rootfs_data partition as ext4fs overlay. Signed-off-by: Ram Chandra Jangir --- CMa

[LEDE-DEV] [PATCH 2/2] mount_root: Don't mount ext4 rootfs twice

2016-06-29 Thread josua . mayer97
From: Josua Mayer When there is a) no rootfs_data overlay partition, and b) /dev/root points to an ext4 partition the partition would be mounted twice, once as / and then as /overlay. The essence of this change is to return before mounting /overlay, if /dev/root has been mounted as /. Signed-off

Re: [LEDE-DEV] fstools: ext4 overlay support - rootfs mounted twice bug

2016-06-29 Thread John Crispin
On 29/06/2016 12:34, Josua Mayer wrote: > > > Am 29.06.2016 um 12:21 schrieb John Crispin: >> >> >> On 29/06/2016 12:11, Josua Mayer wrote: >>> Hi John, >>> >>> thansk for taking a look. I actually sent it this way by intention, >>> looking to get in touch with someone who had the original bug.

Re: [LEDE-DEV] fstools: ext4 overlay support - rootfs mounted twice bug

2016-06-29 Thread Josua Mayer
Am 29.06.2016 um 12:21 schrieb John Crispin: > > > On 29/06/2016 12:11, Josua Mayer wrote: >> Hi John, >> >> thansk for taking a look. I actually sent it this way by intention, >> looking to get in touch with someone who had the original bug. >> >> Am 29.06.2016 um 08:30 schrieb John Crispin: >

Re: [LEDE-DEV] fstools: ext4 overlay support - rootfs mounted twice bug

2016-06-29 Thread John Crispin
On 29/06/2016 12:11, Josua Mayer wrote: > Hi John, > > thansk for taking a look. I actually sent it this way by intention, > looking to get in touch with someone who had the original bug. > > Am 29.06.2016 um 08:30 schrieb John Crispin: >> Hi, >> >> the patch is an attachement making inline com

Re: [LEDE-DEV] fstools: ext4 overlay support - rootfs mounted twice bug

2016-06-29 Thread Josua Mayer
Hi John, thansk for taking a look. I actually sent it this way by intention, looking to get in touch with someone who had the original bug. Am 29.06.2016 um 08:30 schrieb John Crispin: > Hi, > > the patch is an attachement making inline commenting impossible. please > send patches inline >From 5