[LEDE-DEV] [PATCH] kernel: fix VDSO problem on MIPS

2017-08-10 Thread Hauke Mehrtens
delay of 4289967.657 ms. 1.000.000 calls to clock_gettime(CLOCK_MONOTONIC, &tp); take 1 second without VDSO support and 0.35 seconds with VDSO support on Lantiq VR9. Signed-off-by: Hauke Mehrtens --- ...MIPS-work-around-aliasing-issue-with-VDSO.patch | 63 ++ .../pending-4.4

Re: [LEDE-DEV] [PATCH 00/13] sunxi: upgrade to kernel 4.9 and add A64 support

2017-08-09 Thread Hauke Mehrtens
On 08/08/2017 01:13 AM, Lucian Cristian wrote: > On 07.08.2017 19:47, Lucian Cristian wrote: >> On 07.08.2017 19:43, Hauke Mehrtens wrote: >>> ... >>>> >>> Hi Lucian, >>> >>> The eMMC version needs an extra device tree file, could you

Re: [LEDE-DEV] [PATCH] lantiq: fix missing otg_cap on danube platform

2017-08-07 Thread Hauke Mehrtens
e and device only mode, are there any boards with USB configured in device only mode out there and did it ever worked with LEDE? Hauke > > Regards. > > 2017-08-04 18:41 GMT+02:00 Hauke Mehrtens : >> >> >> >> On 07/29/2017 02:54 PM, Daniel Gonzalez Cabanelas wrot

Re: [LEDE-DEV] [PATCH 00/13] sunxi: upgrade to kernel 4.9 and add A64 support

2017-08-07 Thread Hauke Mehrtens
On 08/07/2017 06:13 PM, Lucian Cristian wrote: > On 07.08.2017 18:55, Hauke Mehrtens wrote: >> >> On 08/06/2017 08:16 PM, Lucian Cristian wrote: >>> On 04.08.2017 00:37, Hauke Mehrtens wrote: >>>> This upgrades the target to kernel 4.9 and also adds support

Re: [LEDE-DEV] [PATCH] lantiq: fix missing otg_cap on danube platform

2017-08-04 Thread Hauke Mehrtens
s-match-vendor-drive.patch > +++ > b/target/linux/lantiq/patches-4.4/0061-USB-DWC2-make-the-lantiq-settings-match-vendor-drive.patch > @@ -23,16 +23,46 @@ Signed-off-by: Hauke Mehrtens > > --- a/drivers/usb/dwc2/platform.c > +++ b/drivers/usb/dwc2/platform.c > -@@ -116,7 +

Re: [LEDE-DEV] [PATCH] mbedtls: Re-allow SHA1-signed certificates

2017-08-04 Thread Hauke Mehrtens
On 07/30/2017 05:57 PM, Baptiste Jonglez wrote: > From: Baptiste Jonglez > > Since mbedtls 2.5.1, SHA1 has been disallowed in TLS certificates. > This breaks openvpn clients that try to connect to servers that > present a TLS certificate signed with SHA1, which is fairly common. > > Run-tested w

[LEDE-DEV] [PATCH] config: make CONFIG_ALL_* select other CONIFG_ALL_* options

2017-08-04 Thread Hauke Mehrtens
are set. Signed-off-by: Hauke Mehrtens --- config/Config-build.in | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/config/Config-build.in b/config/Config-build.in index f3f1930bb8..f9987fcd2b 100644 --- a/config/Config-build.in +++ b/config/Config-build.in @@ -9,15 +9,16

Re: [LEDE-DEV] [PATCH 02/13] sunix: add support for kernel 4.9

2017-08-04 Thread Hauke Mehrtens
On 08/04/2017 12:07 AM, Tom Psyborg wrote: > fix your patch title Thanks, I will fix it. Hauke ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev

[LEDE-DEV] [PATCH 12/13] sunxi: Backport patches from kernel 4.11 for A64

2017-08-03 Thread Hauke Mehrtens
This backports some more patches from kernel 4.11 adding more devices to the device tree of the A64 SoC. Signed-off-by: Hauke Mehrtens --- ...llwinner-add-USB1-related-nodes-of-Allwin.patch | 84 ++ ...llwinner-sort-the-nodes-in-sun50i-a64-pin.patch | 40

[LEDE-DEV] [PATCH 13/13] sunxi: Add A64 support with cortex53 subtarget

2017-08-03 Thread Hauke Mehrtens
This adds initial support for the A64 Allwinner SoC to LEDE. It will be build in the new cortexa53 subtarget. Currently it only supports the pine64 and the image is able to boot on this SoC. Signed-off-by: Hauke Mehrtens --- target/linux/sunxi/Makefile | 2 +- target/linux

[LEDE-DEV] [PATCH 10/13] uboot-sunxi: build A64 SoC and pine64 U-Boot

2017-08-03 Thread Hauke Mehrtens
This creates a U-Boot for the aarch64 SoC A64 on the pine64 board. Signed-off-by: Hauke Mehrtens --- package/boot/uboot-sunxi/Makefile | 18 +- package/boot/uboot-sunxi/uEnv-a64.txt | 5 + 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 package/boot

[LEDE-DEV] [PATCH 00/13] sunxi: upgrade to kernel 4.9 and add A64 support

2017-08-03 Thread Hauke Mehrtens
This upgrades the target to kernel 4.9 and also adds support for the Allwinner A64 SoC. This was only tested on the pine64+ and I do not own any older Allwinner SoC. Could someone please test this on an older 32 bit Allwinner SoC and report back some results. Hauke Mehrtens (13): kernel

[LEDE-DEV] [PATCH 08/13] sunxi: split into cortex A8 and A7 subtarget

2017-08-03 Thread Hauke Mehrtens
Now we can activate some compiler optimizations for the cortex A7. Signed-off-by: Hauke Mehrtens --- package/boot/uboot-sunxi/Makefile | 17 target/linux/sunxi/Makefile | 3 +- target/linux/sunxi/cortexa7/target.mk | 12 +++ target/linux/sunxi/cortexa8/target.mk | 12

[LEDE-DEV] [PATCH 06/13] uboot-sunxi: revert the usage of binman

2017-08-03 Thread Hauke Mehrtens
This will avoid the usage of swig. Signed-off-by: Hauke Mehrtens --- ...Makefile-Build-python-libfdt-library-if-n.patch | 96 ++ ...pts-Makefile.lib-Always-have-.-u-boot.dts.patch | 31 +++ ...2-Revert-Avoid-non-portable-sed-construct.patch | 26 ++ ...-Revert-sunxi

[LEDE-DEV] [PATCH 05/13] uboot-sunxi: do not depend on dtc being install on host

2017-08-03 Thread Hauke Mehrtens
make mkimage check the DTC environment variable first. Signed-off-by: Hauke Mehrtens --- ...check-environment-for-dtc-binary-location.patch | 35 ++ 1 file changed, 35 insertions(+) create mode 100644 package/boot/uboot-sunxi/patches/200-mkimage-check-environment-for-dtc

[LEDE-DEV] [PATCH 07/13] sunxi: fix build of rtc package when module not available

2017-08-03 Thread Hauke Mehrtens
If the Kconfig option CONFIG_RTC_DRV_SUNXI is not selected this package should be be build. Signed-off-by: Hauke Mehrtens --- target/linux/sunxi/modules.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/sunxi/modules.mk b/target/linux/sunxi/modules.mk index

[LEDE-DEV] [PATCH 01/13] kernel: add some config options

2017-08-03 Thread Hauke Mehrtens
These are needed for the sunxi target. Signed-off-by: Hauke Mehrtens --- target/linux/generic/config-4.9 | 10 ++ 1 file changed, 10 insertions(+) diff --git a/target/linux/generic/config-4.9 b/target/linux/generic/config-4.9 index 24bbbc0587..79d7dcb883 100644 --- a/target/linux

[LEDE-DEV] [PATCH 02/13] sunix: add support for kernel 4.9

2017-08-03 Thread Hauke Mehrtens
Most of the patches were backpoprts from the mainline kernel and are integrated upstream now. Signed-off-by: Hauke Mehrtens --- target/linux/sunxi/Makefile| 2 +- target/linux/sunxi/config-4.9 | 570 + .../patches-4.9/115-musb

[LEDE-DEV] [PATCH 03/13] include: u-boot.mk: remove LEDE HOSTCPPFLAGS from u-boot HOSTCPPFLAGS

2017-08-03 Thread Hauke Mehrtens
This fixes some compile warnings in U-Boot. U-Boot is complaining that this is not correctly set. Signed-off-by: Hauke Mehrtens --- include/u-boot.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/u-boot.mk b/include/u-boot.mk index 4b3ff69d6b..8e5af6458d 100644

[LEDE-DEV] [PATCH 09/13] arm-trusted-firmware-sunxi: add new package

2017-08-03 Thread Hauke Mehrtens
This is needed for the Boot loader of the A64 SoC. Signed-off-by: Hauke Mehrtens --- package/boot/arm-trusted-firmware-sunxi/Makefile | 51 1 file changed, 51 insertions(+) create mode 100644 package/boot/arm-trusted-firmware-sunxi/Makefile diff --git a/package/boot

Re: [LEDE-DEV] [RFC 03/11] include: u-boot.mk: use one less reference in HOSTCPPFLAGS

2017-07-20 Thread Hauke Mehrtens
On 07/18/2017 12:10 AM, Hauke Mehrtens wrote: > U-Boot 2017.07 complains if HOSTCPPFLAGS is referenced once too often. > > Signed-off-by: Hauke Mehrtens > --- > include/u-boot.mk | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/include/u-boo

Re: [LEDE-DEV] [RFC 06/11] sunxi: split into cortex A8 and A7 subtarget

2017-07-18 Thread Hauke Mehrtens
On 07/18/2017 05:32 AM, Yousong Zhou wrote: > On 18 July 2017 at 06:10, Hauke Mehrtens wrote: >> Now we can activate some compiler optimizations for the cortex A7. >> >> Signed-off-by: Hauke Mehrtens >> --- >> package/boot/uboot-sunxi/Makefile | 17 +++

Re: [LEDE-DEV] [PATCH v2] toolchain/arc: update to the most recent release arc-2017.03

2017-07-18 Thread Hauke Mehrtens
On 07/18/2017 11:12 AM, Alexey Brodkin wrote: > Hi Hauke, > >> -Original Message----- >> From: Hauke Mehrtens [mailto:ha...@hauke-m.de] >> Sent: Saturday, July 15, 2017 1:18 AM >> To: Evgeniy Didin ; lede-dev@lists.infradead.org >> Cc: Alexey Brodkin ; Joh

Re: [LEDE-DEV] brcm2708: bcm2710: do not activate neon-vfpv4 manually

2017-07-17 Thread Hauke Mehrtens
On 07/18/2017 12:03 AM, Florian Fainelli wrote: > On 07/17/2017 03:01 PM, Hauke Mehrtens wrote: >> Neon and vfpv4 support are activated by GCC on all ARMv8 CPUs because >> this is not a mandatory part of the architecture. There is not need to >> activate is manually. > &

[LEDE-DEV] [RFC 08/11] uboot-sunxi: build A64 SoC and pine64 U-Boot

2017-07-17 Thread Hauke Mehrtens
This creates a U-Boot for the aarch64 SoC A64 on the pine64 board. Signed-off-by: Hauke Mehrtens --- package/boot/uboot-sunxi/Makefile | 18 +- package/boot/uboot-sunxi/uEnv-a64.txt | 5 + 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 package/boot

[LEDE-DEV] [RFC 10/11] sunxi: Backport patches from kernel 4.11 for A64

2017-07-17 Thread Hauke Mehrtens
This backports some more patches from kernel 4.11 adding more devices to the device tree of the A64 SoC. Signed-off-by: Hauke Mehrtens --- ...llwinner-add-USB1-related-nodes-of-Allwin.patch | 84 ++ ...llwinner-sort-the-nodes-in-sun50i-a64-pin.patch | 40

[LEDE-DEV] [RFC 11/11] sunxi: Add A64 support with cortex53 subtarget

2017-07-17 Thread Hauke Mehrtens
This adds initial support for the A64 Allwinner SoC to LEDE. It will be build in the new cortexa53 subtarget. Currently it only supports the pine64 and the image is able to boot on this SoC. Signed-off-by: Hauke Mehrtens --- target/linux/sunxi/Makefile | 2 +- target/linux

[LEDE-DEV] [RFC 07/11] arm-trusted-firmware-sunxi: add new package

2017-07-17 Thread Hauke Mehrtens
This is needed for the Boot loader of the A64 SoC. Signed-off-by: Hauke Mehrtens --- package/boot/arm-trusted-firmware-sunxi/Makefile | 51 1 file changed, 51 insertions(+) create mode 100644 package/boot/arm-trusted-firmware-sunxi/Makefile diff --git a/package/boot

[LEDE-DEV] [RFC 06/11] sunxi: split into cortex A8 and A7 subtarget

2017-07-17 Thread Hauke Mehrtens
Now we can activate some compiler optimizations for the cortex A7. Signed-off-by: Hauke Mehrtens --- package/boot/uboot-sunxi/Makefile | 17 + target/linux/sunxi/Makefile | 3 +-- target/linux/sunxi/cortexa7/target.mk | 12 ++ target/linux/sunxi/cortexa8

[LEDE-DEV] [RFC 05/11] sunxi: fix build of rtc package when module not available

2017-07-17 Thread Hauke Mehrtens
If the Kconfig option CONFIG_RTC_DRV_SUNXI is not selected this package should be be build. Signed-off-by: Hauke Mehrtens --- target/linux/sunxi/modules.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/sunxi/modules.mk b/target/linux/sunxi/modules.mk index

[LEDE-DEV] [RFC 02/11] sunix: add support for kernel 4.9

2017-07-17 Thread Hauke Mehrtens
Most of the patches were backpoprts from the mainline kernel and are integrated upstream now. Signed-off-by: Hauke Mehrtens --- target/linux/sunxi/Makefile| 2 +- target/linux/sunxi/config-4.9 | 570 + .../patches-4.9/115-musb

[LEDE-DEV] [RFC 03/11] include: u-boot.mk: use one less reference in HOSTCPPFLAGS

2017-07-17 Thread Hauke Mehrtens
U-Boot 2017.07 complains if HOSTCPPFLAGS is referenced once too often. Signed-off-by: Hauke Mehrtens --- include/u-boot.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/u-boot.mk b/include/u-boot.mk index 4b3ff69d6b..5fe3b42ba9 100644 --- a/include/u-boot.mk +++ b

[LEDE-DEV] [RFC 01/11] kernel: add some config options

2017-07-17 Thread Hauke Mehrtens
These are needed for the sunxi target. Signed-off-by: Hauke Mehrtens --- target/linux/generic/config-4.9 | 10 ++ 1 file changed, 10 insertions(+) diff --git a/target/linux/generic/config-4.9 b/target/linux/generic/config-4.9 index 24bbbc0587..79d7dcb883 100644 --- a/target/linux

[LEDE-DEV] [RFC 00/11] sunxi: upgrade to kernel 4.9 and add A64 support

2017-07-17 Thread Hauke Mehrtens
now. Could someone please test this on an older 32 bit Allwinner SoC and report back some results. Hauke Mehrtens (11): kernel: add some config options sunix: add support for kernel 4.9 include: u-boot.mk: use one less reference in HOSTCPPFLAGS uboot-sunxi: update to version 2017.07

[LEDE-DEV] layerscape: do not add custom CFLAGS.

2017-07-17 Thread Hauke Mehrtens
The selected CFLAGS are already set by default. Signed-off-by: Hauke Mehrtens --- target/linux/layerscape/64b/target.mk | 1 - 1 file changed, 1 deletion(-) diff --git a/target/linux/layerscape/64b/target.mk b/target/linux/layerscape/64b/target.mk index 22efa66278..98aa8be9c4 100644 --- a

[LEDE-DEV] brcm2708: bcm2710: do not activate neon-vfpv4 manually

2017-07-17 Thread Hauke Mehrtens
Neon and vfpv4 support are activated by GCC on all ARMv8 CPUs because this is not a mandatory part of the architecture. There is not need to activate is manually. Signed-off-by: Hauke Mehrtens --- target/linux/brcm2708/bcm2710/target.mk | 1 - 1 file changed, 1 deletion(-) diff --git a/target

Re: [LEDE-DEV] [PATCH v2] toolchain/arc: update to the most recent release arc-2017.03

2017-07-14 Thread Hauke Mehrtens
On 07/12/2017 05:00 PM, Evgeniy Didin wrote: > arc-2017.03 is the most recent release toolchain for ARC cores > and it is based on upstream Binutils 2.28 and GCC 6.3.0 > > Signed-off-by: Evgeniy Didin > Cc: Alexey Brodkin > Cc: John Crispin > Cc: Hauke Mehrtens > -

[LEDE-DEV] [PATCH] kernel: build RTC kmods when RTC_SUPPORT is activated

2017-07-08 Thread Hauke Mehrtens
The build bots are not setting CONFIG_ALL any more, so activate this module by default why any of the ALL* options is selected. Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/other.mk | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/package

Re: [LEDE-DEV] sysupgrade broken on brcm47xx

2017-07-02 Thread Hauke Mehrtens
On 07/02/2017 04:27 PM, Jo-Philipp Wich wrote: > Hi, > > I think you're supposed to use "lede-brcm47xx-legacy-standard-squashfs.trx". > > ~ Jo Thanks it works with that image, it was some time ago I flashed an image to my brcm47xx devices. But there is some code in the platform sysupgrade code

[LEDE-DEV] sysupgrade broken on brcm47xx

2017-07-02 Thread Hauke Mehrtens
Hi, I just tried to run sysupgrade on a WRT53GS (brcm47xx) device and it failed. I am running LEDE r4504. Hauke root@LEDE:/tmp# wget http://192.168.1.195/hauke-web/lede/targets/brcm47xx/legacy /lede-brcm47xx-legacy-linksys-wrt54gs-squashfs.bin Downloading 'http://192.168.1.195/hauke-web/lede/ta

[LEDE-DEV] Invitation from German BSI regarding technical guideline for broadband router

2017-07-02 Thread Hauke Mehrtens
Some days ago I received an invitation from the Bundesamt für Sicherheit in der Informationstechnik (BSI) (English: Federal Office for Information Security) to a kickoff meeting regarding the “Technische Richtlinie Breitband-Router” (English: Technical guideline broadband router) in Bonn, Germany o

Re: [LEDE-DEV] [PATCH] toolchain/arc: update to the most recent release arc-2017.03

2017-07-02 Thread Hauke Mehrtens
On 06/26/2017 05:03 PM, Evgeniy Didin wrote: > arc-2017.03 is the most recent release toolchain for ARC cores > and it is based on upstream Binutils 2.28 and GCC 6.3.0 > > Signed-off-by: Evgeniy Didin > Cc: Alexey Brodkin > Cc: John Crispin > --- > package/devel/gdb-arc/Makefile

Re: [LEDE-DEV] [PATCH] toolchain/arc: update to the most recent release arc-2017.03

2017-07-02 Thread Hauke Mehrtens
On 06/27/2017 07:47 AM, Alexey Brodkin wrote: > Hi Hauke, > > On Mon, 2017-06-26 at 22:45 +0200, Hauke Mehrtens wrote: >> On 06/26/2017 05:03 PM, Evgeniy Didin wrote: >>> >>> arc-2017.03 is the most recent release toolchain for ARC cores >>> and it is bas

Re: [LEDE-DEV] [PATCH] packages: update triggerhappy to version 0.5.0 and fix licence tag

2017-07-02 Thread Hauke Mehrtens
On 06/25/2017 05:14 PM, Stefan Tomanek wrote: > Tested on TP-Link Archer C7 > > Signed-off-by: Stefan Tomanek > --- > utils/triggerhappy/Makefile |9 - > 1 file changed, 4 insertions(+), 5 deletions(-) The package feed is maintained here: https://github.com/openwrt/packages Please

Re: [LEDE-DEV] LEDE call for vote on remerge proposal V3

2017-06-27 Thread Hauke Mehrtens
On 06/26/2017 11:59 PM, Hauke Mehrtens wrote: > On 06/10/2017 03:13 PM, Hauke Mehrtens wrote: >> Hi, >> >> As many already acknowledged this proposal I would like to call for an >> official vote among the LEDE committers till 14.6.2017 on this proposal. >> I cou

Re: [LEDE-DEV] LEDE call for vote on remerge proposal V3

2017-06-26 Thread Hauke Mehrtens
On 06/10/2017 03:13 PM, Hauke Mehrtens wrote: > Hi, > > As many already acknowledged this proposal I would like to call for an > official vote among the LEDE committers till 14.6.2017 on this proposal. > I counted the following replays to the proposal already as an > acknow

Re: [LEDE-DEV] [PATCH] toolchain/arc: update to the most recent release arc-2017.03

2017-06-26 Thread Hauke Mehrtens
On 06/26/2017 05:03 PM, Evgeniy Didin wrote: > arc-2017.03 is the most recent release toolchain for ARC cores > and it is based on upstream Binutils 2.28 and GCC 6.3.0 > > Signed-off-by: Evgeniy Didin > Cc: Alexey Brodkin > Cc: John Crispin > --- When will the ARC CPU be supported in mainline

Re: [LEDE-DEV] [PATCH 2/3] brcm47xx: resolve GPIO conflict for WRT54GSv1

2017-06-23 Thread Hauke Mehrtens
On 05/18/2017 09:49 PM, Mirko Parthey wrote: > On the Linksys WRT54GSv1, the adm6996 switch driver and the > gpio_button_hotplug module both claim GPIO 6, which is connected to the > Reset button. When the switch driver's request wins, the Reset button > cannot work. This makes it impossible to en

[LEDE-DEV] [PATCH] build: Fix not altering KERNELRELEASE for external kernel

2017-06-18 Thread Hauke Mehrtens
746a6ffb73 ("include: Do not alter KERNELRELEASE for external/git kernels"). Signed-off-by: Hauke Mehrtens --- include/kernel.mk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/kernel.mk b/include/kernel.mk index 464c94572e..7674f0dadc 100644 --- a/inc

[LEDE-DEV] LEDE call for vote on remerge proposal V3

2017-06-10 Thread Hauke Mehrtens
Hi, As many already acknowledged this proposal I would like to call for an official vote among the LEDE committers till 14.6.2017 on this proposal. I counted the following replays to the proposal already as an acknowledgment: Steven, Matthias, Stijn, Hauke, Florian, Daniel, Hans, John, Rafał, Feli

Re: [LEDE-DEV] prosody package missing on i386 for lede-17.01

2017-06-05 Thread Hauke Mehrtens
On 06/05/2017 09:15 PM, Florian Eckert wrote: > Are there any reason why does the package prosody is missing for the > following x86 targets? > > packages-17.01/i386_geode > packages-17.01/i386_i486/ > packages-17.01/i386_pentium > packages-17.01/i386_pentium4 > Yes the build of this package is

Re: [LEDE-DEV] openwrt and lede - remerge proposal V3

2017-05-29 Thread Hauke Mehrtens
On 05/29/2017 09:03 AM, John Crispin wrote: > (resend, this time as plain text) > > Hi, > > here is a V3 of the remerge proposal, I tried to fold all the comments > people made into it, if anything is missing let me know. Please remeber > that post remerge anything can be voted on, so cluttering

Re: [LEDE-DEV] [RFC PATCH] tools/squashfs: change to upstream and update to new version 5.0-rc1

2017-05-27 Thread Hauke Mehrtens
On 05/26/2017 06:13 PM, Alexander Couzens wrote: > squashfs is quite long unmaintained. All patches from major > distributions are integrated. > Fixed timestamp is now using the environment SOURCE_DATE_EPOCH > instead of arguments. > > Signed-off-by: Alexander Couzens Thanks for working on this.

Re: [LEDE-DEV] openwrt and lede - remerge proposal V2

2017-05-23 Thread Hauke Mehrtens
On 05/22/2017 09:40 AM, John Crispin wrote: > Hi, > > here is a V2 of the remerge proposal, I tried to fold all the comments > people made into it, if anything is missing let me know. > > > John . > *) SPI > - nominate a new liaison team (imre and john offer to do this, if anyone >

Re: [LEDE-DEV] openwrt and lede - remerge proposal

2017-05-10 Thread Hauke Mehrtens
Thanks for moving this forward. On 05/08/2017 03:19 PM, John Crispin wrote: > *) github . > > - obsolete the lede github org after a grace period of 3-6 months As long as it does not cost us effort I would like to keep the lede domains and github project up running for longer. > *) landing

Re: [LEDE-DEV] [OpenWrt-Devel] openwrt and lede - remerge proposal

2017-05-10 Thread Hauke Mehrtens
On 05/09/2017 10:12 AM, Hans Dedecker wrote: > On Tue, May 9, 2017 at 9:50 AM, John Crispin wrote: >> >> >> On 09/05/17 09:49, Rafał Miłecki wrote: >>> >>> On 8 May 2017 at 15:19, John Crispin wrote: *) domain - transfer owner ship to SPI for openwrt.org and lede-project.org (

Re: [LEDE-DEV] CVE-2016-10229 Remote code execution vulnerability in kernel networking subsystem

2017-04-17 Thread Hauke Mehrtens
On 04/16/2017 01:41 PM, yanosz wrote: > Hello, > > CVE-2016-10229 was patched in android recently. While some distributions > (ie Debian: https://security-tracker.debian.org/tracker/CVE-2016-10229) > are not vulnerable due to having backported parts of the kernel code > before, I wonder about the

[LEDE-DEV] [PATCH] util-linux: fix build with uclibc

2017-04-13 Thread hauke . mehrtens
From: Hauke Mehrtens Fix build of scriptreplay with uClibc. Some parts of the libm detected were backported to 2.29.2, but some parts were missing, which are added here. Signed-off-by: Hauke Mehrtens --- This should also go into LEDE-17.01 branch. .../001

Re: [LEDE-DEV] lantiq: cannot access flash on Netgear DM200 while porting LEDE

2017-04-02 Thread Hauke Mehrtens
On 04/02/2017 05:48 PM, Hauke Mehrtens wrote: > On 04/02/2017 05:02 PM, Baptiste Jonglez wrote: >> Hi, >> >> I am currently adding LEDE support for the Netgear DM200 VDSL modem >> [https://wiki.openwrt.org/toh/netgear/dm200], which uses a Lantiq VR9 SoC. >> >>

Re: [LEDE-DEV] lantiq: cannot access flash on Netgear DM200 while porting LEDE

2017-04-02 Thread Hauke Mehrtens
On 04/02/2017 05:02 PM, Baptiste Jonglez wrote: > Hi, > > I am currently adding LEDE support for the Netgear DM200 VDSL modem > [https://wiki.openwrt.org/toh/netgear/dm200], which uses a Lantiq VR9 SoC. > > I was able to boot LEDE from RAM, and got the LEDs working, but I cannot > get the flash t

[LEDE-DEV] [PATCH] binutils: fix build with host gcc < 4.9

2017-04-02 Thread Hauke Mehrtens
binutils 2.27 checks if the target compiler supports -Wstack- usage=262144, and also uses this setting for the host compiler. If the host compiler is gcc < 4.9 binutils build will fail. This backports 2 commits which are fixing this problem for binutils 2.28. Signed-off-by: Hauke Mehrtens ---

Re: [LEDE-DEV] [PATCH LEDE-17.01] ubox: fix sha256 mirror hash

2017-03-30 Thread Hauke Mehrtens
On 2017-03-30 14:25, hauke.mehrt...@intel.com wrote: From: Hauke Mehrtens Commit 5c20a4fec923c3 ("ubox: turn logd into a separate package") changed the PKG_SOURCE_DATE which is also included in the tar file. This change resulted in a new tar with a different hash, but the sha25

[LEDE-DEV] [PATCH] ubox: fix sha256 mirror hash

2017-03-30 Thread hauke . mehrtens
From: Hauke Mehrtens Commit 5c20a4fec923c3 ("ubox: turn logd into a separate package") changed the PKG_SOURCE_DATE which is also included in the tar file. This change resulted in a new tar with a different hash, but the sha256 hash was not updated. Fix the sha256 hash value in this

[LEDE-DEV] [PATCH LEDE-17.01] odhcpd: fix sha256 sum

2017-03-30 Thread hauke . mehrtens
From: Hauke Mehrtens The sha256sum added in commit b8567cb44e9e4f ("odhcpd: update to git HEAD version (FS#396)") does not match the sha256sum of the file on the mirror or when I clone it. Update the sha256 sum to the correct value. Signed-off-by: Hauke Mehrtens --- package/networ

[LEDE-DEV] OpenWrt/LEDE summit dates

2017-03-15 Thread Hauke Mehrtens
This year's OpenWrt/LEDE summit should take place in Prague in October around Embedded Linux Conference Europe (ELCE). OpenWrt/LEDE summit 2017 will not be collocated with ELCE and be free of charge as of the current planning. This event is in the early planning phase, see the website of last years

Re: [LEDE-DEV] [PATCH 2/2] include: Add nomips16 CPU_SUBTYPE

2017-03-14 Thread Hauke Mehrtens
On 03/14/2017 10:46 PM, Felix Fietkau wrote: > On 2017-03-14 18:55, hauke.mehrt...@intel.com wrote: >> From: Hauke Mehrtens >> >> This can be used to indicate that a target does not support the optional >> mips16 >> extension even when it is a mips32r2 or late

[LEDE-DEV] [PATCH V2] toolchain: add musl libc.so to external toolchain

2017-03-14 Thread hauke . mehrtens
From: Hauke Mehrtens musl provides a /lib/libc.so file which should be integrated into the libc package when the external toolchain with musl is used. Signed-off-by: Hauke Mehrtens --- package/libs/toolchain/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package

Re: [LEDE-DEV] [PATCH] toolchain: add musl libc.so to external toolchain

2017-03-14 Thread Hauke Mehrtens
On 2017-03-14 18:34, Florian Fainelli wrote: On 03/14/2017 10:28 AM, Hauke Mehrtens wrote: On 2017-03-14 18:20, Florian Fainelli wrote: On 03/14/2017 05:28 AM, hauke.mehrt...@intel.com wrote: From: Hauke Mehrtens musl provides a /lib/libc.so file which should be integrated into the libc

[LEDE-DEV] [PATCH 1/2] scripts: only generate config from feature flag if fully match

2017-03-14 Thread hauke . mehrtens
From: Hauke Mehrtens Without this change the code checked if the string was contained in the feature option and not if the string matches the complete word. This only removes the nand option from the omap24xx target, the other changes are only removing options which were added twice. Signed-off

[LEDE-DEV] [PATCH 2/2] include: Add nomips16 CPU_SUBTYPE

2017-03-14 Thread hauke . mehrtens
From: Hauke Mehrtens This can be used to indicate that a target does not support the optional mips16 extension even when it is a mips32r2 or later CPU. This will generate a separate toolchain and a separate package folder, e.g. mips_24kc_nomips16 Signed-off-by: Hauke Mehrtens --- include

Re: [LEDE-DEV] [PATCH] toolchain: add musl libc.so to external toolchain

2017-03-14 Thread Hauke Mehrtens
On 2017-03-14 18:20, Florian Fainelli wrote: On 03/14/2017 05:28 AM, hauke.mehrt...@intel.com wrote: From: Hauke Mehrtens musl provides a /lib/libc.so file which should be integrated into the libc package when the external toolchain with musl is used. Signed-off-by: Hauke Mehrtens

[LEDE-DEV] [PATCH] toolchain: add musl libc.so to external toolchain

2017-03-14 Thread hauke . mehrtens
From: Hauke Mehrtens musl provides a /lib/libc.so file which should be integrated into the libc package when the external toolchain with musl is used. Signed-off-by: Hauke Mehrtens --- package/libs/toolchain/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package

Re: [LEDE-DEV] Can't build gcc (initial) on Ubuntu 16.04

2017-03-03 Thread Hauke Mehrtens
On 03/03/2017 09:12 PM, Philip Prindeville wrote: > I dug into this… Problem was with CONFIG_EXTRA_OPTIMIZATION having “-fno-plt” > in it. > > This was being passed into the ‘gcc’ that was being used to bootstrap gcc. > > Wondering if that’s not a bug. > > Shouldn’t the build of the cross-gcc i

Re: [LEDE-DEV] undefined reference to `memmove' caused by __builtin_memmove()

2017-02-28 Thread Hauke Mehrtens
Hi Felix, On 2017-02-28 07:11, Felix Fietkau wrote: On 2017-02-20 15:10, Mehrtens, Hauke wrote: When I compile MIPS malta with the LEDE patches on kernel 4.9 I get this error in the kernel build: CC arch/mips/boot/compressed/decompress.o OBJCOPY arch/mips/boot/compressed/vmlinux.bin

[LEDE-DEV] [PATCH] include/kernel: Allow to use git clone kernel into external tree

2017-02-28 Thread hauke . mehrtens
From: Hauke Mehrtens This combines the usage of external kernel tree with the cloning of the kernel tree form git. The new kernel will be cloned into an external directory and then used from there. Signed-off-by: Hauke Mehrtens --- include/kernel-defaults.mk | 17 +++-- 1 file

[LEDE-DEV] [PATCH] kernel: fix kmod-rxrpc with kernel 4.9

2017-02-11 Thread Hauke Mehrtens
rxkad will be build into af-rxrpc now and is of type boolean. Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/netsupport.mk | 4 ++-- target/linux/generic/config-4.9| 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/package/kernel/linux/modules

Re: [LEDE-DEV] [PATCH v2] lantiq: update USB controller handling

2017-01-07 Thread Hauke Mehrtens
On 01/07/2017 07:51 PM, Hauke Mehrtens wrote: > On 01/07/2017 07:29 PM, Hauke Mehrtens wrote: >> This adds USB initialization fixes for Danube, Amazon SE and xrx300 and >> should fix the clock on at least Danube which hopefully fixes FS#351. >> >> The xrx200 usb driver n

Re: [LEDE-DEV] [PATCH v2] lantiq: update USB controller handling

2017-01-07 Thread Hauke Mehrtens
On 01/07/2017 07:29 PM, Hauke Mehrtens wrote: > This adds USB initialization fixes for Danube, Amazon SE and xrx300 and > should fix the clock on at least Danube which hopefully fixes FS#351. > > The xrx200 usb driver now uses more memory for the dwc2 fifos, this was > increa

[LEDE-DEV] [PATCH v2] lantiq: update USB controller handling

2017-01-07 Thread Hauke Mehrtens
and the vendor Code base. Signed-off-by: Hauke Mehrtens --- If some of these dwc2 values should be changed, please suggest changes, I am not an expert on this. This was only tested on vrx200 devices not on any other SoC, please test and report back, I would like to get this into the next release

Re: [LEDE-DEV] [PATCH] lantiq: update USB controller handling

2017-01-07 Thread Hauke Mehrtens
On 01/07/2017 12:25 PM, Antti Seppälä wrote: > On 7 January 2017 at 04:01, Hauke Mehrtens wrote: >> On 01/06/2017 11:31 PM, Antti Seppälä wrote: >>> On 6 January 2017 at 21:32, Hauke Mehrtens wrote: >>>> On 01/06/2017 08:26 PM, Martin Blumenstingl wrote: >&

Re: [LEDE-DEV] [PATCH] lantiq: update USB controller handling

2017-01-06 Thread Hauke Mehrtens
On 01/06/2017 11:31 PM, Antti Seppälä wrote: > On 6 January 2017 at 21:32, Hauke Mehrtens wrote: >> On 01/06/2017 08:26 PM, Martin Blumenstingl wrote: >>> Hi Hauke, >>> >>> (CC'ing Mathias as he was looking into some of the USB issues as well) >

Re: [LEDE-DEV] [PATCH oldpackage/eventlog oldpackage/syslog-ng3] version bump to latest

2017-01-06 Thread Hauke Mehrtens
Please do not send a mail with just an attachment, oldpackage is frozen since some years, please send add the package to the official openwrt package repository, add yourself as a maintainer and send a pull request on github. On 01/06/2017 08:19 PM, Philip Prindeville wrote: _

Re: [LEDE-DEV] [PATCH] lantiq: update USB controller handling

2017-01-06 Thread Hauke Mehrtens
On 01/06/2017 08:26 PM, Martin Blumenstingl wrote: > Hi Hauke, > > (CC'ing Mathias as he was looking into some of the USB issues as well) > > On Fri, Jan 6, 2017 at 8:06 PM, Hauke Mehrtens wrote: >> This makes the code use the same settings aas the vendor sdrivers

[LEDE-DEV] [PATCH] lantiq: update USB controller handling

2017-01-06 Thread Hauke Mehrtens
This makes the code use the same settings aas the vendor sdrivers. Signed-off-by: Hauke Mehrtens --- target/linux/lantiq/dts/amazonse.dtsi | 3 +- target/linux/lantiq/dts/ar9.dtsi | 6 +- target/linux/lantiq/dts/danube.dtsi| 2 +- target

[LEDE-DEV] [PATCH] lantiq: fix console print

2017-01-04 Thread Hauke Mehrtens
using stdout-path instead of cmdline argument Signed-off-by: Hauke Mehrtens --- target/linux/lantiq/dts/ACMP252.dts | 4 target/linux/lantiq/dts/ARV4510PW.dts | 4 target/linux/lantiq/dts/ARV4518PWR01.dtsi | 4 target/linux/lantiq/dts/ARV4519PW.dts | 4 target

Re: [LEDE-DEV] [PATCH] lantiq: set the usb clock source

2017-01-01 Thread Hauke Mehrtens
On 01/01/2017 11:21 AM, Mathias Kresin wrote: > The clock source is set by the ltq-hcd driver but are not by the > dwc2 driver. Without having the correct clock set the dwc driver > fails to reset the usb core and errors out. The values for supported > lantiq targets are exactly the same as set b

Re: [LEDE-DEV] [PATCH 1/2] lantiq: specify console using stdout-path instead of cmdline argument

2016-12-29 Thread Hauke Mehrtens
Hi, It looks like the kernel prefers the console parameter given in the boot command line over the stdout-path parameter. On some boards the boot loader provides this parameter to the kernel and then the serial does not work. At least the VR200v, ARV4518pw and ARV7518pw are affected: https://bugs.

Re: [LEDE-DEV] Concerning the switch to dwc2 on Danube

2016-12-28 Thread Hauke Mehrtens
On 12/28/2016 09:41 PM, Ben Mulvihill wrote: > On Wed, 2016-12-28 at 19:26 +, Mohammed Berdai wrote: >> Hi, >> >> I managed to test the latest LEDE commits after missing daily tests for a >> few weeks due to a busy schedule. >> >> The switch to dwc2 module caused kernel panics on ARV4518pw,

Re: [LEDE-DEV] [PATCH] kernel: make fix extending dtb cmd with bootloader

2016-12-27 Thread Hauke Mehrtens
On 12/25/2016 07:12 PM, Martin Blumenstingl wrote: > Hi John, Hi Hauke, > > On Fri, Dec 9, 2016 at 8:08 AM, John Crispin wrote: >> >> >> On 09/12/2016 00:21, Hauke Mehrtens wrote: >>> This was introduced in kernel 4.4, but broken there and fixed in 4.5. &g

[LEDE-DEV] Talks between OpenWrt and LEDE

2016-12-21 Thread Hauke Mehrtens
We had multiple meetings to find a solution to solve the problems between the OpenWrt and the LEDE project and to discuss a possible merge. Everyone with commit access to LEDE and all OpenWrt core developers were invited to these meetings. We had productive and friendly discussions about the proble

[LEDE-DEV] [PATCH] kernel: add KERNEL_DEVMEM and KERNEL_DEVKMEM

2016-12-17 Thread Hauke Mehrtens
These options are needed to create /dev/mem or /dev/kmem . /dev/mem is needed by the io tool to access raw hardware memory, which is helpful when debugging and developing drivers. Signed-off-by: Hauke Mehrtens --- config/Config-kernel.in | 14 ++ 1 file changed, 14 insertions

Re: [LEDE-DEV] [PATCH] kernel: make fix extending dtb cmd with bootloader

2016-12-10 Thread Hauke Mehrtens
On 12/09/2016 08:08 AM, John Crispin wrote: > > > On 09/12/2016 00:21, Hauke Mehrtens wrote: >> This was introduced in kernel 4.4, but broken there and fixed in 4.5. >> I would like to activate it, but I am scared about the boot loader >> around giving us all sorts of

[LEDE-DEV] [PATCH] kernel: make fix extending dtb cmd with bootloader

2016-12-08 Thread Hauke Mehrtens
This was introduced in kernel 4.4, but broken there and fixed in 4.5. I would like to activate it, but I am scared about the boot loader around giving us all sorts of command lines. Signed-off-by: Hauke Mehrtens --- .../patches-4.4/094-MIPS-Fix-macro-typo.patch | 33

Re: [LEDE-DEV] [PATCH] kernel: add TI tmp102 and tmp103 temperature sensors

2016-12-08 Thread Hauke Mehrtens
On 12/08/2016 02:00 PM, John Crispin wrote: > > > On 07/12/2016 22:45, Hauke Mehrtens wrote: >> This just adds the kmods for these kernel modules. >> This is found on some Lantiq / Intel reference boards. >> >> Signed-off-by: Hauke Mehrtens >> --- >>

[LEDE-DEV] [PATCH] kernel: add KERNEL_DEBUG_PINCTRL and KERNEL_DEBUG_GPIO

2016-12-07 Thread Hauke Mehrtens
This makes it possible to activate the gpio and the pinctl debugging from LEDE menuconfig. Signed-off-by: Hauke Mehrtens --- config/Config-kernel.in | 8 1 file changed, 8 insertions(+) diff --git a/config/Config-kernel.in b/config/Config-kernel.in index d8ca76c..3c69c86 100644 --- a

[LEDE-DEV] [PATCH] kernel: add TI tmp102 and tmp103 temperature sensors

2016-12-07 Thread Hauke Mehrtens
This just adds the kmods for these kernel modules. This is found on some Lantiq / Intel reference boards. Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/hwmon.mk | 30 ++ 1 file changed, 30 insertions(+) diff --git a/package/kernel/linux/modules

Re: [LEDE-DEV] [OpenWrt] [OpenWrt-Devel] Project proposal: The GNUnet of autonomous Things

2016-12-05 Thread Hauke Mehrtens
On 2016-12-05 11:57, Daniel Golle wrote: Hi Felix, On Thu, Dec 01, 2016 at 04:51:30PM +0100, Felix Fietkau wrote: On 2016-12-01 16:38, Daniel Golle wrote: > Hi Felix, > > On Thu, Dec 01, 2016 at 04:12:38PM +0100, Felix Fietkau wrote: >> On 2016-12-01 16:05, Daniel Golle wrote: >> > I was follow

Re: [LEDE-DEV] o2 box 6431 / VGV7510KW22 - SIP with FXS/TAE Ports | owsip or alternative ?

2016-11-20 Thread Hauke Mehrtens
>> >> PS: many thanks to Gilles Mazoyer for his work on bcm63xx from which i >> copied some portions of conditionals and makefile >> >> regards >> >> Eddi >> >> On Mon, Oct 31, 2016 at 9:47 PM, Hauke Mehrtens wrote: >>> Thanks for the l

Re: [LEDE-DEV] Project proposal: The GNUnet of autonomous Things

2016-11-18 Thread Hauke Mehrtens
Hi Daniel, This sounds interesting. I have some questions regarding phase 1. 1. Do you want to have an API to switch for example a smart plug on and off and an other call to get the temperature from a temperature sensor? 2. Should this more focus on local IoT sensors line a temperature sensor c

Re: [LEDE-DEV] o2 box 6431 / VGV7510KW22 - SIP with FXS/TAE Ports | owsip or alternative ?

2016-10-31 Thread Hauke Mehrtens
lantiq >> asterisk-tapi >> >> Regards >> >> On Mon, Oct 3, 2016 at 1:56 AM, Hauke Mehrtens wrote: >>> On 09/23/2016 09:02 PM, Daniel Golle wrote: >>>> On Fri, Sep 23, 2016 at 08:14:24PM +0200, Dennis Schneck wrote: >>>>> >>>

<    1   2   3   4   5   >