[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] [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 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

[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

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 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 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] 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

[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] [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

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] 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] 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

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. >> >>

[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] 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

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] 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 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] [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 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] 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

[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

[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

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

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] 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] 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] [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] [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] 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

[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

[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

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] [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] [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] 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

[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] [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] [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 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 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 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 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 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 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 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

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. > &

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] [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] [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

[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

[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 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 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 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 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 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 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 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

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] 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] 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

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 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-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-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

[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

[LEDE-DEV] OpenWrt Summit CFP

2017-08-15 Thread Hauke Mehrtens
Hi, The OpenWrt summit takes place in Prague on 26. and 27. October directly after the ELCE in Prague, but in a different hotel. More details can be found here: http://www.openwrtsummit.org/ Just forwarding Shelly's mail with the informations about the CFP which is still open till end of August.

[LEDE-DEV] [RFC 3/4] mt76: fix compatibility with mac80211 from 4.13-rc6

2017-08-24 Thread Hauke Mehrtens
This fixes some compatibility problems with backports-4.13-rc6. Signed-off-by: Hauke Mehrtens --- .../kernel/mt76/patches/001-backport-4.13.patch| 86 ++ 1 file changed, 86 insertions(+) create mode 100644 package/kernel/mt76/patches/001-backport-4.13.patch diff --git

[LEDE-DEV] [RFC 0/4] mac80211: update to backports-4.13-rc6

2017-08-24 Thread Hauke Mehrtens
test this and report back the results. A git tree with a recent version can be found here: https://git.lede-project.org/?p=lede/hauke/staging.git;a=shortlog;h=refs/heads/mac80211 Hauke Mehrtens (4): mac80211: update to backports-4.13-rc6 ath10k-ct: fix compatibility with mac80211 from 4.13

[LEDE-DEV] [RFC 2/4] ath10k-ct: fix compatibility with mac80211 from 4.13-rc6

2017-08-24 Thread Hauke Mehrtens
This fixes some compatibility problems with backports-4.13-rc6. Signed-off-by: Hauke Mehrtens --- .../ath10k-ct/patches/100-kernel_compat.patch | 14 +-- package/kernel/ath10k-ct/patches/110-api_fix.patch | 2 +- .../ath10k-ct/patches/120-mac80211-api.patch | 104

[LEDE-DEV] [RFC 4/4] iw: sync with backports-4.13-rc6

2017-08-24 Thread Hauke Mehrtens
This syncs the nl80211.h file with the version from backports-4.13-rc6. Signed-off-by: Hauke Mehrtens --- .../utils/iw/patches/001-nl80211_h_sync.patch | 407 +++-- 1 file changed, 382 insertions(+), 25 deletions(-) diff --git a/package/network/utils/iw/patches/001

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

2017-08-28 Thread Hauke Mehrtens
On 08/28/2017 02:08 PM, Rafał Miłecki wrote: > On 11 August 2017 at 00:14, Hauke Mehrtens wrote: >> This fixes the VDSO problems on the Lantiq VR9 MIPS SoC. >> The gettimeofday() sometimes returned old data because of a cache >> aliasing problems on MIPS CPUs, to work aro

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

2017-09-03 Thread Hauke Mehrtens
On 08/29/2017 09:22 AM, Baptiste Jonglez wrote: > On 29-08-17, Baptiste Jonglez wrote: >> Hi, >> >> On 03-08-17, Hauke Mehrtens wrote: >>> This adds initial support for the A64 Allwinner SoC to LEDE. >>> It will be build in the new cortexa53 subtarget.

Re: [LEDE-DEV] [PATCH] rt2x00: port remaining patches for mac80211 from 4.13-rc6

2017-09-13 Thread Hauke Mehrtens
On 08/25/2017 12:02 AM, Daniel Golle wrote: > Convert patches for RT3883 and RT3663 as well as support for > external PA on MT7620 to use the changed calling convention for > rt2.*_read(...) functions. > > Signed-off-by: Daniel Golle > --- > ...rt2800lib-add-channel-configuration-function-.patch

Re: [LEDE-DEV] [RFC 0/4] mac80211: update to backports-4.13-rc6

2017-09-13 Thread Hauke Mehrtens
On 08/24/2017 11:40 PM, Hauke Mehrtens wrote: > This updates mac80211 to backports-4.13-rc6 based on kernel 4.13-rc6. > > This was compile tested on multiple targets and runtime tested on a > lantiq device with ath9k and ath10k. > I plan to create an official backports release

Re: [LEDE-DEV] [PATCH] kernel: update to 3.18.71

2017-09-17 Thread Hauke Mehrtens
On 09/17/2017 01:41 AM, Florian Fainelli wrote: > Delete a bunch of fixes that are already included. > Refresh patches. > Compile-tested on malta/mipsel > Runtime-tested on malta/mipsel > > Signed-off-by: Florian Fainelli Acked-by: Hauke Mehrtens > --- > i

[LEDE-DEV] [PATCH 3/4] mt76: fix compatibility with mac80211 from 4.14-rc1

2017-09-17 Thread Hauke Mehrtens
This fixes some compatibility problems with backports-4.14-rc1. Signed-off-by: Hauke Mehrtens --- .../kernel/mt76/patches/001-backport-4.13.patch| 86 ++ 1 file changed, 86 insertions(+) create mode 100644 package/kernel/mt76/patches/001-backport-4.13.patch diff --git

[LEDE-DEV] [PATCH 0/4] mac80211: update to backports-4.14-rc1

2017-09-17 Thread Hauke Mehrtens
1.2KBytes This was added for 4.13 in upstream mac80211. * fixed problem with multiple stations and unloading the model * fixed problems with aec cmac which caused problems with iee80211w * added dependency to kmod-crypto-hash Hauke Mehrtens (4): mac80211: update to backports-4.14-rc1 ath10k-ct: fix

[LEDE-DEV] [PATCH 2/4] ath10k-ct: fix compatibility with mac80211 from 4.14-rc1

2017-09-17 Thread Hauke Mehrtens
This fixes some compatibility problems with backports-4.14-rc1. Signed-off-by: Hauke Mehrtens --- .../ath10k-ct/patches/100-kernel_compat.patch | 14 +-- package/kernel/ath10k-ct/patches/110-api_fix.patch | 2 +- .../ath10k-ct/patches/120-mac80211-api.patch | 104

[LEDE-DEV] [PATCH 4/4] iw: sync with backports-4.14-rc1

2017-09-17 Thread Hauke Mehrtens
This syncs the nl80211.h file with the version from backports-4.14-rc1. Signed-off-by: Hauke Mehrtens --- .../utils/iw/patches/001-nl80211_h_sync.patch | 407 +++-- 1 file changed, 382 insertions(+), 25 deletions(-) diff --git a/package/network/utils/iw/patches/001

Re: [LEDE-DEV] [dan...@makrotopia.org: Re: [PATCH 0/4] mac80211: update to backports-4.14-rc1]

2017-09-18 Thread Hauke Mehrtens
t; /usr/src/lede/staging_dir/target-mipsel_24kc_musl/usr/include/mac80211-backp >> ort/linux/skbuff.h:346:21: note: previous definition of 'skb_put_data' was >> here static inline void *skb_put_data(struct sk_buff *skb, const void >> *data, ^ >> make[5]: *** [scrip

Re: [LEDE-DEV] SUNXI: Network problem with kernel 4.9.51

2017-09-24 Thread Hauke Mehrtens
On 09/24/2017 12:27 AM, Lucian Cristian wrote: > On 23.09.2017 19:03, Gerhard Bertelsmann wrote: >> Hi Zoltan, >> >> Am 2017-09-23 17:36, schrieb Zoltan HERPAI: >>> Hi Gerhard, >>> >>> On Sat, 23 Sep 2017, Gerhard Bertelsmann wrote: >>> Hi, I'm trying Lede HEAD with a BananaPI (SUNXI

Re: [LEDE-DEV] SUNXI: Network problem with kernel 4.9.51

2017-09-24 Thread Hauke Mehrtens
On 09/24/2017 04:39 PM, Hauke Mehrtens wrote: > On 09/24/2017 12:27 AM, Lucian Cristian wrote: >> On 23.09.2017 19:03, Gerhard Bertelsmann wrote: >>> Hi Zoltan, >>> >>> Am 2017-09-23 17:36, schrieb Zoltan HERPAI: >>>> Hi Gerhard, >>

Re: [LEDE-DEV] SUNXI: Network problem with kernel 4.9.51

2017-09-25 Thread Hauke Mehrtens
On 09/25/2017 08:47 AM, Gerhard Bertelsmann wrote: > Hi Hauke, > > Am 2017-09-25 00:14, schrieb Hauke Mehrtens: >> On 09/24/2017 04:39 PM, Hauke Mehrtens wrote: >>> On 09/24/2017 12:27 AM, Lucian Cristian wrote: >>>> On 23.09.2017 19:03, Gerhard Bertelsmann wr

Re: [LEDE-DEV] [PATCH] brcm47xx: Fix sysupgrade with E1200v1

2017-09-25 Thread Hauke Mehrtens
On 09/25/2017 12:45 AM, Stefan Lippers-Hollmann wrote: > Hi > > On 2017-09-15, Rosen Penev wrote: > [...] >> --- a/target/linux/brcm47xx/base-files/lib/upgrade/platform.sh >> +++ b/target/linux/brcm47xx/base-files/lib/upgrade/platform.sh >> @@ -34,6 +34,7 @@ platform_expected_image() { >>

Re: [LEDE-DEV] OpenWrt Summit 2017

2017-09-25 Thread Hauke Mehrtens
On 09/25/2017 09:53 AM, Shelly Coen wrote: > Hi Everyone, > > There’s just a month to go before the OpenWrt Summit in Prague, Czech > Republic! Tickets are on sale via Eventbrite - openwrtsummit.eventbrite.com > and the discount is still available to those of you who complete the > OpenWrt/LED

Re: [LEDE-DEV] SUNXI: Network problem with kernel 4.9.51

2017-09-27 Thread Hauke Mehrtens
On 09/27/2017 03:35 AM, Lucian Cristian wrote: > On 26.09.2017 12:25, Gerhard Bertelsmann wrote: >> Hi Hauke, > [snip] root@LEDE:~# ping -qc 100 192.168.0.9 PING 192.168.0.9 (192.168.0.9): 56 data bytes --- 192.168.0.9 ping statistics --- 100 packets transmitted, 100 packet

Re: [LEDE-DEV] SUNXI: Network problem with kernel 4.9.51

2017-09-27 Thread Hauke Mehrtens
On 09/27/2017 10:05 PM, Lucian Cristian wrote: > >> Do you have a crash log? >> >> I would like to add this to master soon, because it adds ssupport for >> the mac found on some recent Allwinner SoCs. >> >> Hauke >> >> ___ >> Lede-dev mailing list >> Led

[LEDE-DEV] [PATCH 3/3] sunxi: H3: add device tree changes for H3 Ethernet

2017-09-28 Thread Hauke Mehrtens
This adds the device tree changes needed to make the GMAC stmmac driver working for the Allwinner H3 SoCs. Signed-off-by: Hauke Mehrtens --- ...unxi-h3-h5-Add-dt-node-for-the-syscon-con.patch | 32 +++ ...unxi-h3-h5-add-dwmac-sun8i-ethernet-drive.patch | 67 ++ ...2

[LEDE-DEV] [PATCH 2/3] sunxi: A64: add device tree changes for A64 Ethernet

2017-09-28 Thread Hauke Mehrtens
This adds the device tree changes needed to make the GMAC stmmac driver working for the Allwinner A64 SoCs. Signed-off-by: Hauke Mehrtens --- ...nner-sun50i-a64-Add-dt-node-for-the-sysco.patch | 33 +++ ...nner-sun50i-a64-add-dwmac-sun8i-Ethernet-.patch | 69

Re: [LEDE-DEV] [PATCH 1/3] sunxi: backport the stmmac driver from kernel 4.13

2017-09-29 Thread Hauke Mehrtens
On 09/29/2017 09:12 AM, Andrey Jr. Melnikov wrote: > In article <20170928214945.13510-1-ha...@hauke-m.de> you wrote: >> This adds support for the GMAC which is use in the A64 and other >> Allwinner chips by backporting the changes from the kernel versions >> 4.13. > > Why this part only for sunxi?

[LEDE-DEV] [PATCH] base-files: create /etc/config/ directory

2017-09-30 Thread Hauke Mehrtens
not boot up fully because the /etc/config/ directory is missing and some init scripts just fail. Make sure all images with the base-files contain a /etc/config/ directory. Signed-off-by: Hauke Mehrtens --- package/base-files/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/package/base

Re: [LEDE-DEV] kmod-eeprom-sunxi missing while compiling for Banana-pi Router v1

2017-10-01 Thread Hauke Mehrtens
On 10/01/2017 09:32 AM, Nicolas Pace wrote: > On Sun, 2017-10-01 at 09:58 +0300, Nicolas Pace wrote: >> Hi all, >> I'm having a missing package when I compile for the bananapi router >> v1 >> board. >> >> make -C 17.01.2/sunxi/generic/ib image PROFILE=sun7i-a20-lamobo-r1 >> 'PACKAGES= lime-full -dn

Re: [LEDE-DEV] [RFC] adding CPE IDs to package Makefiles

2017-10-01 Thread Hauke Mehrtens
On 10/01/2017 02:43 PM, Jo-Philipp Wich wrote: > Hi, > > I'd like to propose adding structured CPE information to package > Makefiles in order to simplify mapping of discovered vulnerabilities to > affected LEDE software components. > > The Common Platform Enumeration (CPE) specification provides

  1   2   3   4   5   >