[LEDE-DEV] Nand flash partitions

2016-06-12 Thread Hauke Mehrtens
Hi Daniel, I work on creating an OpenWrt image which I can just flash over an UGW (Lantiq's/Intel's OpenWrt distribution) distribution with the normal U-Boot. Then you do not have to touch the bootloader or the flash layout and can just run OpenWrt. UGW is mostly focused on NAND flash based

Re: [LEDE-DEV] TR-069, bufferbloat, and BQL

2016-05-28 Thread Hauke Mehrtens
On 05/28/2016 03:36 PM, Dave Taht wrote: > On Sat, May 28, 2016 at 5:34 AM, Hauke Mehrtens <ha...@hauke-m.de> wrote: >> On 05/27/2016 12:43 PM, David Lang wrote: >>> On Thu, 26 May 2016, Delbar Jos wrote: >>> >>>> We are conscious of the fact that t

[LEDE-DEV] [PATCH] kernel: fix missing break in ubi auto-mounting patch

2016-06-21 Thread Hauke Mehrtens
Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- .../492-try-auto-mounting-ubi0-rootfs-in-init-do_mounts.c.patch | 3 ++- .../492-try-auto-mounting-ubi0-rootfs-in-init-do_mounts.c.patch | 3 ++- .../492-try-auto-mounting-ubi0-rootfs-in-init-do_mounts.c.patch | 5 +++-- 3

[LEDE-DEV] [PATCH] squashfs4: use upstream xz compression header format

2016-06-21 Thread Hauke Mehrtens
header at the same position as in that kernel and add our own at the end. The kernel should not have a problem when there are some additional members and just ignore them. Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- .../520-squashfs_update_xz_comp_opts.patch

[LEDE-DEV] [PATCH] packages: prefer http over git for git protocol

2016-06-21 Thread Hauke Mehrtens
In company networks everything except the http and https protocol is often causes problems, because the network administrators try to block everything else. To make it easier to use LEDE in company networks use the https/http protocol for git access when possible. Signed-off-by: Hauke Mehrtens

Re: [LEDE-DEV] [PATCH] squashfs4: use upstream xz compression header format

2016-06-22 Thread Hauke Mehrtens
On 06/22/2016 06:01 PM, Conor O'Gorman wrote: > On 21/06/16 21:05, Hauke Mehrtens wrote: >> In the upstream kernel and the upstream squashfs4 tools the xz >> compression header looks the following: >> struct disk_comp_opts { >> __le32 dictionary_siz

Re: [LEDE-DEV] b53 cpu_port patch for cavium boards

2016-05-21 Thread Hauke Mehrtens
Hi, On 05/21/2016 10:07 AM, Michał Osowiecki wrote: > Cisco RV042G is Cavium based router with BCM53125 switch and BCM54612E > connected to port 8, and port 5 acts as cpu port. Probably Linksys > LRT214 and LRT224 will be affected by this patch too (boards are > identical). > I don't know if

Re: project goals

2016-05-05 Thread Hauke Mehrtens
On 05/05/2016 10:03 PM, Bert Vermeulen wrote: > On 05/05/2016 04:09 PM, Hauke Mehrtens wrote: >> I think we should encourage everyone to upstream the patches, I think in >> one of the statics I saw that OpenWrt ranked 3. or 4. in contribution to >> the kernel among the Linux

Re: getting users involved in on-device testing

2016-05-05 Thread Hauke Mehrtens
On 05/05/2016 08:56 AM, John Crispin wrote: > Hi, > > It would be nice if there was a process in place that would allow > community members to easily be able to test images on devices and report > the results some place. after some time thinking of different ways to do > this I came up with one

Re: project goals

2016-05-05 Thread Hauke Mehrtens
On 05/04/2016 11:49 PM, Vittorio G (VittGam) wrote: > Hi, > > On 04/05/2016 22:30:40 CEST, Bert Vermeulen wrote: >> Hi all, >> >> Very happy to see this project reboot happening. An acknowledgement of >> the issues facing OpenWRT was long overdue. I'd like some clarity on >> some things that

[LEDE-DEV] Lantiq NAND

2016-05-08 Thread Hauke Mehrtens
Hi John, How does the Lantiq NAND sysupgrade stuff work? I see there are sysupgrade packages with a squasfs and a ubifs root file system. Are both file systems still supported and needed? I see that other targets only have a squasfs support. Do the devices with NAND flash all use UBI by default

Re: [LEDE-DEV] [PATCH] pages: add FAQ page

2016-05-07 Thread Hauke Mehrtens
On 05/06/2016 10:04 AM, Bruno Randolf wrote: > Hi, > > Taking this from lede-adm to lede-dev where I'm allowed to post... no problem. > On 06/05/16 02:33, Alexander Couzens wrote: >>> +== What devices does LEDE targets? >>> + >>> +LEDE mainly targets embedded devices capable of running Linux.

Re: [LEDE-DEV] [OpenWrt-Devel] OpenWrt / LEDE

2016-05-24 Thread Hauke Mehrtens
add lede-dev On 05/24/2016 10:31 PM, Hauke Mehrtens wrote: > Hi, > > As it looks like the IRC meeting will not happen, because not so big > interest by the people not already involved in LEDE and problems finding > a time, lets discuss on the mailing list like suggested by Jow.

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 <ha...@hauke-m.de> > --- > toolchain/musl/Config.version |2 +- > toolchain/musl/common.mk

[LEDE-DEV] [PATCH] build: do not fail if subversion is not installed

2016-07-31 Thread Hauke Mehrtens
check if svn is installed in ipkg-build before assigning it. This script is run with set -e and will fail if "which svn" does not return 0. Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- scripts/ipkg-build | 12 1 file changed, 8 insertions(+), 4 deletion

[LEDE-DEV] OpenWrt Summit RFP

2016-07-31 Thread Hauke Mehrtens
, OpenWrt Summit Committee Abhijit Mahajani Beda Kosata Eric Schultz Federico Capoano Hans Dedecker Hauke Mehrtens Imre Kaloz Kathy Giori Luka Perkov Paul Blay Zoltan Herpai ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org

Re: [LEDE-DEV] OpenWrt Summit RFP

2016-08-03 Thread Hauke Mehrtens
If you have any questions, don't hesitate to ask any of us. Thanks, OpenWrt Summit Committee Abhijit Mahajani Beda Kosata Eric Schultz Federico Capoano Hans Dedecker Hauke Mehrtens Imre Kaloz Kathy Giori Luka Perkov Paul Blay Zoltan Herpai ___ Le

[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 <ha...@hauke-m.de> --- 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

[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 <ha...@hauke-m.de> --- toolchain/musl/Config.version |2 +- toolchain/musl/common.mk |2 +- .../patches/001-update-to-git-2016-03-06.patch

[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 <ha...@hauke-m.de> --- toolchain/gcc/Config.version | 2 +- toolchain/gcc/common.mk| 4 +- .../5.3.0/030-fix-arm-codegen-PR-65932.patch

[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 <ha...@hauke-m.de> --- kmodloader.c | 19 +++ 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/kmodloader.c b/kmodloader.c

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

2016-06-30 Thread Hauke Mehrtens
an Lamparter wrote: >> On Wednesday, June 29, 2016 11:13:01 PM Hauke Mehrtens wrote: >>> From: Hauke Mehrtens <hauke.mehrt...@intel.com> >>> >>> Extract the other p54 firmware files into the prism54-firmware package. >>> >>> Signed-off-by:

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

2016-06-29 Thread Hauke Mehrtens
From: Hauke Mehrtens <hauke.mehrt...@intel.com> 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

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

2016-06-29 Thread Hauke Mehrtens
From: Hauke Mehrtens <hauke.mehrt...@intel.com> Extract the other p54 firmware files into the prism54-firmware package. Signed-off-by: Hauke Mehrtens <hauke.mehrt...@intel.com> --- package/firmware/prism54-firmware/Makefile | 75 -- package/kernel/mac80

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

2016-06-29 Thread Hauke Mehrtens
From: Hauke Mehrtens <hauke.mehrt...@intel.com> 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 <hauke.mehrt...@intel.com> --- too

Re: [LEDE-DEV] Kernel symbol dependencies and KCONFIG usage for kernel packages

2016-07-02 Thread Hauke Mehrtens
On 07/02/2016 03:20 PM, Baptiste Jonglez wrote: > Hi, > > I am packaging a new kernel module (wireguard), the package is currently here > [1]. > > However, I have some trouble understanding what KCONFIG does. Wireguard > needs a few kernel options, so I thought that KCONFIG was the place to >

Re: [LEDE-DEV] kmod-udptunnel{4, 6} packages are empty (Was: Kernel symbol dependencies and KCONFIG usage for kernel packages)

2016-07-02 Thread Hauke Mehrtens
On 07/02/2016 05:38 PM, Baptiste Jonglez wrote: > On Sat, Jul 02, 2016 at 04:55:28PM +0200, Baptiste Jonglez wrote: >> I think I found the cause of the issue: the packages kmod-udptunnel4.ipk >> and kmod-udptunnel6.ipk are generated, but are empty (no .ko file). When >> I activate the kernel

[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 <ha...@hauke-m.de> --- package/kernel/linux/modules/netsupport.mk | 4 ++-- target/linux/generic/config-4.9| 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/p

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

Re: [LEDE-DEV] [PATCH 0/2] fix "local" keywords in firmware hotplug scripts

2016-09-24 Thread Hauke Mehrtens
On 09/24/2016 12:07 AM, Martin Blumenstingl wrote: > Currently the initialization of the RT3062F wifi chip fails on > VGV7510KW22 because the updated busybox shell does not like the usage > of the "local" keyword outside of functions. > This was reported by Dennis Schneck (see [0]): >>

[LEDE-DEV] ppc44x (AMCC/IBM PPC44x): update to kernel 4.4, please test

2016-09-18 Thread Hauke Mehrtens
Hi, I updated the ppc44x target to kernel 4.4 in this branch: https://git.lede-project.org/?p=lede/hauke/staging.git;a=shortlog;h=refs/heads/kernel-4.4 If you have any device supported by this target please test it and report back if the ppc44x target is still working with kernel 4.4 like with

[LEDE-DEV] rb532 (Mikrotik RouterBoard 532): update to kernel 4.4, please test

2016-09-18 Thread Hauke Mehrtens
Hi, I updated the rb532 target to kernel 4.4 in this branch: https://git.lede-project.org/?p=lede/hauke/staging.git;a=shortlog;h=refs/heads/kernel-4.4 If you have any device supported by this target please test it and report back if the rb532 target is still working with kernel 4.4 like with the

[LEDE-DEV] xburst (Ingenic XBurst): update to kernel 4.4, please test

2016-09-18 Thread Hauke Mehrtens
Hi, I updated the xburst target to kernel 4.4 in this branch: https://git.lede-project.org/?p=lede/hauke/staging.git;a=shortlog;h=refs/heads/kernel-4.4 If you have any device supported by this target please test it and report back if the xburst target is still working with kernel 4.4 like with

[LEDE-DEV] ar7 (TI AR7): update to kernel 4.4, please test

2016-09-18 Thread Hauke Mehrtens
Hi, I updated the ar7 target to kernel 4.4 in this branch: https://git.lede-project.org/?p=lede/hauke/staging.git;a=shortlog;h=refs/heads/kernel-4.4 If you have any device supported by this target please test it and report back if the ar7 target is still working with kernel 4.4 like with the old

[LEDE-DEV] [PATCH] busybox: update to version 1.25.0

2016-09-18 Thread Hauke Mehrtens
cd config ../convert_menuconfig.pl .../build_dir/target-*/busybox-1.25.0 cd .. ./convert_defaults.pl < .../build_dir/target-*/busybox-1.25.0/.config > Config-defaults.in Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- package/utils/busybox/Config-defaults.in

Re: [LEDE-DEV] rb532 (Mikrotik RouterBoard 532): update to kernel 4.4, please test

2016-09-19 Thread Hauke Mehrtens
On 09/19/2016 10:07 AM, Roman Yeryomin wrote: > On 2016-09-18 18:22, Hauke Mehrtens wrote: >> Hi, >> >> I updated the rb532 target to kernel 4.4 in this branch: >> https://git.lede-project.org/?p=lede/hauke/staging.git;a=shortlog;h=refs/heads/kernel-4.4 >> >&

Re: [LEDE-DEV] uap-pro jffs2 error

2016-08-28 Thread Hauke Mehrtens
On 08/28/2016 11:51 AM, Gareth Parker wrote: > Just built LEDE from latest source and get a jffs2 error on the Ubiquiti > UAP-PRO. The errors continue on down the screen for several pages before > the device crashes and reboots again in a loop. Openwrt doesn't have this > problem. Hi, What was

Re: [LEDE-DEV] VRV9510KWAC23

2016-08-28 Thread Hauke Mehrtens
On 08/28/2016 10:31 AM, Mathias Kresin wrote: > Am 27.08.2016 um 19:44 schrieb Juan Rios: >> Hello, >>I managed to get this router and want to get lede on it. The >> hardware is this >> >> Lantiq VRX288 500Mhz >> 2 NANYA NT5TU128M8HE-AC 256MB RAM >> ZENTEL A501GA31ATS 8G 128MB NAND FLASH. >>

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

2016-10-03 Thread Hauke Mehrtens
/ott/2016 01:59 AM, "Hauke Mehrtens" <ha...@hauke-m.de > <mailto:ha...@hauke-m.de>> ha scritto: > > On 09/23/2016 09:02 PM, Daniel Golle wrote: > > On Fri, Sep 23, 2016 at 08:14:24PM +0200, Dennis Schneck wrote: > >> > >> >

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

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

2016-10-31 Thread Hauke Mehrtens
ybe it can be applied to lantiq >> asterisk-tapi >> >> Regards >> >> On Mon, Oct 3, 2016 at 1:56 AM, Hauke Mehrtens <ha...@hauke-m.de> wrote: >>> On 09/23/2016 09:02 PM, Daniel Golle wrote: >>>> On Fri, Sep 23, 2016 at 08:14:24PM +0200, Denni

[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 <ha...@hauke-m.de> --- config/Config-kernel.in | 8 1 file changed, 8 insertions(+) diff --git a/config/Config-kernel.in b/config/Config-kernel.in index d

[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 <ha...@hauke-m.de> --- package/kernel/linux/modules/hwmon.mk | 30 ++ 1 file changed, 30 insertions(+) diff --git a/package/

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 <ha...@hauke-m

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: 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 <ha...@hauke-m.de> --- config/Config-kernel.in | 14 ++ 1 file chang

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

[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 <ha...@hauke-m.de> --- target/linux/lantiq/dts/amazonse.dtsi | 3 +- target/linux/lantiq/dts/ar9.dtsi | 6 +- target/linux/lantiq/dts/danub

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 <ha...@hauke-m.de> wrote: >> This makes the code use the same settings aas t

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

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 <ha...@hauke-m.de> wrote: >> On 01/06/2017 11:31 PM, Antti Seppälä wrote: >>> On 6 January 2017 at 21:32, Hauke Mehrtens <ha...@hauke-m.de> wrote: >>>> On 01/0

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 <ha...@hauke-m.de> --- 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

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:

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

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

2017-01-04 Thread Hauke Mehrtens
0 2016 +0100 lantiq: specify console using stdout-path instead of cmdline argument Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- target/linux/lantiq/dts/ACMP252.dts | 4 target/linux/lantiq/dts/ARV4510PW.dts | 4 target/linux/lantiq/dts/ARV4518PWR01.dtsi | 4

[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

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 <j...@phrozen.org> wrote: >> >> >> On 09/12/2016 00:21, Hauke Mehrtens wrote: >>> This was introduced in kernel 4.4, but broke

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 <hauke.mehrt...@intel.com> 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

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

2017-03-30 Thread hauke . mehrtens
From: Hauke Mehrtens <hauke.mehrt...@intel.com> 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

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

2017-03-30 Thread hauke . mehrtens
From: Hauke Mehrtens <hauke.mehrt...@intel.com> 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

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

2017-03-14 Thread hauke . mehrtens
From: Hauke Mehrtens <hauke.mehrt...@intel.com> 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

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

2017-03-14 Thread hauke . mehrtens
From: Hauke Mehrtens <hauke.mehrt...@intel.com> 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:

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 <hauke.mehrt...@intel.com> musl provides a /lib/libc.so file which

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

2017-03-14 Thread hauke . mehrtens
From: Hauke Mehrtens <hauke.mehrt...@intel.com> 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 <hauke.mehrt...@intel.com> --- package/libs/toolchain/Makefile | 2 +- 1

[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

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 <hauke.mehrt...@intel.com> >> >> This can be used to indicate that a target does not support the optional >> mips16 >> extension

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

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

[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

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

2017-04-13 Thread hauke . mehrtens
From: Hauke Mehrtens <hauke.mehrt...@intel.com> 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 <hauke.mehrt...@intel.com> --- This should also go int

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

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

2017-03-14 Thread hauke . mehrtens
From: Hauke Mehrtens <hauke.mehrt...@intel.com> 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 <hauke.mehrt...@intel.com> --- package/libs/toolchain/Makefile | 2 +- 1

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 <hauke.mehrt...@intel.com> musl provides a /lib/libc.so file which should be integrated into the libc package when the external toolchain with musl is used. Sign

[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 <ha...@hauke-m.de> --- target/linux/sunxi/Makefile

[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 <ha...@hauke-m.de> --- 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

[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 <ha...@hauke-m.de> --- target/linux/sunxi/Makefile| 2 +- target/linux/sunxi/config-4.9

[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 <ha...@hauke-m.de> --- package/boot/arm-trusted-firmware-sunxi/Makefile | 51 1 file changed, 51 insertions(+) create mode 100644 package/boot/arm-trusted-firmware-sunxi/Makefile

[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 <ha...@hauke-m.de> --- target/linux/sunxi/modules.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/sunxi/modules.mk b/target

[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

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
a delay of 4289967.657 ms. 1.000.000 calls to clock_gettime(CLOCK_MONOTONIC, ); take 1 second without VDSO support and 0.35 seconds with VDSO support on Lantiq VR9. Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- ...MIPS-work-around-aliasing-issue-with-VDSO.patc

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

2017-07-14 Thread Hauke Mehrtens
m> > Cc: John Crispin <j...@phrozen.org> > Cc: Hauke Mehrtens <ha...@hauke-m.de> > --- > > Changes v1 -> v2: > *In toolchain/gcc/common.mk add '-release' to line 'PKG_REV:=2017.03'. > Now it is 'PKG_REV:=2017.03-release' and symlink at >

[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 <ha...@hauke-m.de> --- 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 22ef

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 <evgeniy.di...@synopsys.com>; lede-dev@lists.infradead.or

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

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:

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

[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

[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

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

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

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

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 su

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

2017-08-07 Thread Hauke Mehrtens
y 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 <ha...@hauke-m.de>: >> >> >> >> On 07/29/2017 02:54 PM, Daniel Gonzalez Cabanelas wrote: >>> USB d

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

  1   2   3   4   >