[LEDE-DEV] getver.sh regression

2016-07-13 Thread John Crispin
Hi Jonas, Hi Felix, your recent changes to getver.sh are causing a regression when not building inside trunk but inside a staging tree blogic@debian:/lede/staging$ ./scripts/getver.sh warning: refname 'origin/master' is ambiguous. r411+546 blogic@debian:/lede/staging$ git branch * master origin

Re: [LEDE-DEV] trying to cover costs on my bit of the build cluster

2016-07-13 Thread Dave Taht
The total cost of running a lede "compute engine standard N1 16" from Jun 1-Jun 30 was $560.77. The openwrt (N4) one cost 220. I could try to look at the builds per $ over that month so as to provide a better comparison to other cloud services. total donations from the https://www.gofundme.com/2a

Re: [LEDE-DEV] getver.sh regression

2016-07-13 Thread Jonas Gorski
Hi John, On 13 July 2016 at 09:39, John Crispin wrote: > Hi Jonas, > Hi Felix, > > your recent changes to getver.sh are causing a regression when not > building inside trunk but inside a staging tree > > blogic@debian:/lede/staging$ ./scripts/getver.sh > warning: refname 'origin/master' is ambigu

Re: [LEDE-DEV] getver.sh regression

2016-07-13 Thread John Crispin
On 13/07/2016 11:11, Jonas Gorski wrote: > Hi John, > > On 13 July 2016 at 09:39, John Crispin wrote: >> Hi Jonas, >> Hi Felix, >> >> your recent changes to getver.sh are causing a regression when not >> building inside trunk but inside a staging tree >> >> blogic@debian:/lede/staging$ ./script

Re: [LEDE-DEV] getver.sh regression

2016-07-13 Thread Álvaro Fernández Rojas
Appart from that, if there's no remote named origin it will also spam some errors about having no reference to origin/master. My current setup includes lede, staging and github remotes, so there's no origin remote at all. El 13/7/16 a las 9:39, John Crispin escribió: > Hi Jonas, > Hi Felix, > >

Re: [LEDE-DEV] getver.sh regression

2016-07-13 Thread Jonas Gorski
On 13 July 2016 at 11:13, John Crispin wrote: > > > On 13/07/2016 11:11, Jonas Gorski wrote: >> Hi John, >> >> On 13 July 2016 at 09:39, John Crispin wrote: >>> Hi Jonas, >>> Hi Felix, >>> >>> your recent changes to getver.sh are causing a regression when not >>> building inside trunk but inside

Re: [LEDE-DEV] getver.sh regression

2016-07-13 Thread Jonas Gorski
On 13 July 2016 at 11:16, Álvaro Fernández Rojas wrote: > Appart from that, if there's no remote named origin it will also spam some > errors about having no reference to origin/master. > My current setup includes lede, staging and github remotes, so there's no > origin remote at all. Can you g

Re: [LEDE-DEV] getver.sh regression

2016-07-13 Thread Álvaro Fernández Rojas
That one is working fine after a small fix: https://gist.github.com/Noltari/0c395c57b94598bdf96e6a292c7b5888 (You're missing one "|"). El 13/7/16 a las 11:45, Jonas Gorski escribió: > On 13 July 2016 at 11:16, Álvaro Fernández Rojas wrote: >> Appart from that, if there's no remote named origin it

Re: [LEDE-DEV] getver.sh regression

2016-07-13 Thread Jonas Gorski
On 13 July 2016 at 11:52, Álvaro Fernández Rojas wrote: > That one is working fine after a small fix: > https://gist.github.com/Noltari/0c395c57b94598bdf96e6a292c7b5888 > (You're missing one "|"). That's what I get for manually fixing up an older WIP patch ;p. I added another commit on top, drop

Re: [LEDE-DEV] getver.sh regression

2016-07-13 Thread Álvaro Fernández Rojas
Hi Jonas, It works correctly for me. Álvaro. El 13/7/16 a las 12:14, Jonas Gorski escribió: > On 13 July 2016 at 11:52, Álvaro Fernández Rojas wrote: >> That one is working fine after a small fix: >> https://gist.github.com/Noltari/0c395c57b94598bdf96e6a292c7b5888 >> (You're missing one "|"). >

[LEDE-DEV] [PATCH 0/3] toolchain: update gcc and musl

2016-07-13 Thread Hauke Mehrtens
This was tested on a lantiq, brcm47xx and bcm53xx device. Hauke Mehrtens (3): gcc: update gcc to version 5.4.0 musl: update musl to version 1.1.15 musl: remove sh3 workaround toolchain/gcc/Config.version |2 +- toolchain/gcc/common.mk|

[LEDE-DEV] [PATCH 3/3] musl: remove sh3 workaround

2016-07-13 Thread Hauke Mehrtens
The GCC bug 67260 is fixed upstream now, remove this workaround. Signed-off-by: Hauke Mehrtens --- toolchain/musl/common.mk | 6 -- 1 file changed, 6 deletions(-) diff --git a/toolchain/musl/common.mk b/toolchain/musl/common.mk index de00ea0..aa17899 100644 --- a/toolchain/musl/common.mk ++

[LEDE-DEV] [PATCH 2/3] musl: update musl to version 1.1.15

2016-07-13 Thread Hauke Mehrtens
The removed patch is already integrated in upstream musl. Signed-off-by: Hauke Mehrtens --- toolchain/musl/Config.version |2 +- toolchain/musl/common.mk |2 +- .../patches/001-update-to-git-2016-03-06.patch | 3736

[LEDE-DEV] [PATCH 1/3] gcc: update gcc to version 5.4.0

2016-07-13 Thread Hauke Mehrtens
The removed patches are already integrated in upstream gcc. Signed-off-by: Hauke Mehrtens --- toolchain/gcc/Config.version | 2 +- toolchain/gcc/common.mk| 4 +- .../5.3.0/030-fix-arm-codegen-PR-65932.patch | 21 .../gcc/patches/5

[LEDE-DEV] [RFC 1/8] tools/isl: bump to 0.17.1

2016-07-13 Thread Syrone Wong
Signed-off-by: Syrone Wong --- tools/isl/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/isl/Makefile b/tools/isl/Makefile index 8fe2da1..24c0626 100644 --- a/tools/isl/Makefile +++ b/tools/isl/Makefile @@ -7,11 +7,11 @@ include $(TOPDIR)/rules.mk PKG_NA

[LEDE-DEV] [RFC 2/8] toolchain/binutils: add 2.26.1

2016-07-13 Thread Syrone Wong
Signed-off-by: Syrone Wong --- toolchain/binutils/Config.in | 6 toolchain/binutils/Config.version | 5 +++ toolchain/binutils/Makefile| 4 +++ .../patches/2.26.1/300-001_ld_makefile_patch.patch | 22 + .../2.26.1/

[LEDE-DEV] [RFC 4/8] toolchain/gdb: add 7.11.1

2016-07-13 Thread Syrone Wong
Signed-off-by: Syrone Wong --- toolchain/gdb/Makefile | 4 +-- .../gdb/patches/7.11.1/100-no_extern_inline.patch | 32 ++ .../gdb/patches/7.11.1/110-no_testsuite.patch | 21 ++ .../7.11.1/120-fix-compile-flag-mismatch.patch |

[LEDE-DEV] [RFC 8/8] toolchain: choose new toolchain only if

2016-07-13 Thread Syrone Wong
developer mode has been enabled, GCC 5.3 binutils 2.25.1 otherwise. Signed-off-by: Syrone Wong --- toolchain/binutils/Config.in | 2 +- toolchain/binutils/Config.version | 2 +- toolchain/gcc/Config.in | 2 +- toolchain/gcc/Config.version | 2 +- 4 files changed, 4 insertions

[LEDE-DEV] [RFC 5/8] toolchain/gcc: add 6.1.0

2016-07-13 Thread Syrone Wong
-fno-plt and musl-libc patches already get upstream, then dropped in GCC 6. Other patches are almost identical compared to GCC 5.3. Compile and run tested on ar71xx/Qihoo C301 and mvebu/Linksys WRT1900ac v1 Signed-off-by: Syrone Wong --- toolchain/gcc/Config.in| 6

[LEDE-DEV] [RFC 7/8] config: add gcc 6 info to build rule

2016-07-13 Thread Syrone Wong
Signed-off-by: Syrone Wong --- config/Config-build.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/Config-build.in b/config/Config-build.in index 23cf83b..7a70862 100644 --- a/config/Config-build.in +++ b/config/Config-build.in @@ -236,7 +236,7 @@ menu "Global bu

[LEDE-DEV] [RFC 3/8] toolchain/musl: update to 1.1.15

2016-07-13 Thread Syrone Wong
Signed-off-by: Syrone Wong --- toolchain/musl/Config.version |2 +- toolchain/musl/common.mk |2 +- .../patches/001-update-to-git-2016-03-06.patch | 3736 3 files changed, 2 insertions(+), 3738 deletions(-) delete mo

[LEDE-DEV] [RFC 6/8] uclibc++: fix gcc 6 build

2016-07-13 Thread Syrone Wong
C++14 added sized deallocation, while uclibc++ deleted all files (extracted from libsupc++.a via "ar x") named "del_op*.o" in abi/libsupc, so I wrote two wrapper files and let them call free(ptr) and ignored the size parameter. GCC upstream URL: https://github.com/gcc-mirror/gcc/commit/d1856d2c87

[LEDE-DEV] [PATCH][ubox] kmodloader: fix lsmod depends output

2016-07-13 Thread Hauke Mehrtens
Without this patch only the first dependency is shown, with this patch all module dependencies are show. Signed-off-by: Hauke Mehrtens --- kmodloader.c | 19 +++ 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/kmodloader.c b/kmodloader.c index ad1f1c0..e32e6af 1006

[LEDE-DEV] [PATCH v4] Support Candela-Tech ath10k out-of-tree driver.

2016-07-13 Thread greearb
From: Ben Greear This lets one use the CT ath10k driver instead of the built-in ath10k driver from the upstream kernel (or backports). This should be a drop-in replacement, as well as enabling better CT firmware support. Signed-off-by: Ben Greear --- v4: Various fixes suggested by nbd. pack

Re: [LEDE-DEV] [PATCH 2/3] musl: update musl to version 1.1.15

2016-07-13 Thread Hauke Mehrtens
On 07/13/2016 03:44 PM, Hauke Mehrtens wrote: > The removed patch is already integrated in upstream musl. > > Signed-off-by: Hauke Mehrtens > --- > toolchain/musl/Config.version |2 +- > toolchain/musl/common.mk |2 +- > .../patches/001-upda

[LEDE-DEV] [PATCH v2 6/8] apm821xx: tc654: add driver for Microchip TC654/TC655 PWM fan controllers

2016-07-13 Thread Christian Lamparter
This patch adds a hwmon driver for the Microchip TC654 and TC655 Dual SMBus PWM Fan Speed Controllers with Fan Fault detection. The chip is described in the DS2001734C Spec Document from Microchip. It supports: - Shared PWM Fan Drive for two fans - Provides RPM - automatic

[LEDE-DEV] [PATCH v2 0/8] apm821xx: apm821xx platform

2016-07-13 Thread Christian Lamparter
This series was initially posted to OpenWRT List back in March, April 2016 for inclusion [0]. The APM821XX target will add support for: - Cisco Meraki MR24 - Western Digital MyBook Live and MyBook Live Duo - Netgear Centria N900 WNDR4700 / WNDR4720 The SATA backports were split into separate pa

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

2016-07-13 Thread Christian Lamparter
>From 912-hwmon-lm90-expose-to-thermal-fw-via-DT.patch: "This patch adds to lm90 temperature sensor the possibility to expose itself as thermal zone device, registered on the thermal framework. The thermal zone is built only if a device tree node describing a thermal zone for this sensor is presen

[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 --- .../linux/apm821xx/patches-4.4/020-sata-dw

[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 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 Memory Board: Apollo-3G - APM82181

[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 --- ...dd-transfer-termination-synchronization-s.patch

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

2016-07-13 Thread Christian Lamparter
From: Chris Blake This patch adds support for the Cisco Meraki MR24 Access point to the apm821xx target. Board: MR24 - Meraki MR24 Cloud Managed Access Point CPU:APM82181 SoC 800 MHz (PLB=200 OPB=100 EBC=100) Flash size: 32MiB RAM Size: 128MiB Wireless: Ather

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

2016-07-13 Thread Christian Lamparter
From: Chris Blake This adds a new target for PowerPC APM82181 and APM82161 (464-based) boards, as well as adds support for the booke-wdt watchdog package. Signed-off-by: Chris Blake --- include/target.mk | 1 + package/kernel/linux/modules/other.mk

[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 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 (8 bits) 32 kB I-Cache 32 kB D