Re: [LEDE-DEV] [PATCH] openvpn: update to 2.3.12

2016-08-23 Thread Jo-Philipp Wich
Pushed in http://git.lede-project.org/2653a12 - thanks Magnus! ~ Jo ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev

[LEDE-DEV] [PATCH] openvpn: update to 2.3.12

2016-08-23 Thread Magnus Kroken
300-upstream-fix-polarssl-mbedtls-builds.patch has been applied upstream. Replaced 101-remove_polarssl_debug_call.patch with upstream backport. Changelog: https://community.openvpn.net/openvpn/wiki/ChangesInOpenvpn23#OpenVPN2.3.12 Signed-off-by: Magnus Kroken --- package/network/services/openv

Re: [LEDE-DEV] mission impossible!! add ubifs

2016-08-23 Thread Daniel Golle
Hi Kenneth, On Tue, Aug 23, 2016 at 12:04:07PM +0200, Kenneth Johansson wrote: > On 2016-08-23 11:40, Daniel Golle wrote: > > On Tue, Aug 23, 2016 at 11:10:11AM +0200, Kenneth Johansson wrote: > > > On 2016-08-23 07:31, Daniel Golle wrote: > > > > > even this do not currently work. there is no UBI

[LEDE-DEV] [RFC] lantiq: fix ath5k EEPROM loading

2016-08-23 Thread Mathias Kresin
With 12fe4b579801ea812b64fc7e689716cd39c895ec I switched the ath5k eeprom extraction to an alternate code path. Unfortunately this code seams to be broken since ages and broke the ath5k EEPROM extraction. Reported-by: Mohammed Berdai Signed-off-by: Mathias Kresin --- ...-lantiq-wifi-and-etherne

Re: [LEDE-DEV] [PATCH 1/2] Octeon: Use ext4 on mmcblk0p3 per default for ER.

2016-08-23 Thread Germano Massullo
2016-08-23 15:08 GMT+02:00 daniel : > On 08/23/2016 02:50 PM, Germano Massullo wrote: >> I have some EdgeRouter Pro, in case you need to retrieve any useful >> infos for your development process, feel free to ask >> > Can you please send me information about the mmc flash layout on a factory > ER-P

[LEDE-DEV] ubus: how to add an object with a 'catch' all method/signature

2016-08-23 Thread Delio Brignoli
Hello Felix, Is it possible to fill in struct ubus_object and struct ubus_object_type so that only one "catch all" method is defined and have the object available for lookup? I can do: struct ubus_method type_m = { .name = "_", .handler = NULL, }; struct ubus_object_type obj_t

Re: [LEDE-DEV] [PATCH] Use printf instead of echo.

2016-08-23 Thread Karl Palsson
Felix Fietkau wrote: > On 2016-08-23 12:10, A. Benz wrote: > > Hi Bastian, > > > > I will update them, however to do that while adhering to Felix's request > > on using perfect syntax means going over them one by one. > > > > Perhaps a seasoned sed user can do a trick to automate it? > > > >

Re: [LEDE-DEV] [PATCH 1/2] Octeon: Use ext4 on mmcblk0p3 per default for ER.

2016-08-23 Thread daniel
On 08/23/2016 02:50 PM, Germano Massullo wrote: > I have some EdgeRouter Pro, in case you need to retrieve any useful > infos for your development process, feel free to ask > Can you please send me information about the mmc flash layout on a factory ER-PRO device. Maybe an output from 'fdisk -l' on

Re: [LEDE-DEV] [PATCH 1/2] uqmi: add support for MBIM devices with QMI service

2016-08-23 Thread Bjørn Mork
Felix Fietkau writes: > Applied with some cleanups and portability fixes. > I changed the code to use __packed and endian conversion from libubox. Thanks! Sorry about the sloppy implementation. I guess I expected it to come back with a "changes requested" instead of just fixed up and applied ;)

Re: [LEDE-DEV] [PATCH 1/2] Octeon: Use ext4 on mmcblk0p3 per default for ER.

2016-08-23 Thread Germano Massullo
I have some EdgeRouter Pro, in case you need to retrieve any useful infos for your development process, feel free to ask ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev

[LEDE-DEV] [PATCH] uqmi: fix big endian bugs in MBIM code

2016-08-23 Thread Bjørn Mork
All MBIM integer fields are 32bit little endian. So we need to convert then all on big endian systems. Fixes: e69bf24b00d8 ("uqmi: add support for MBIM devices with QMI service") Signed-off-by: Bjørn Mork --- mbim.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mbim.

Re: [LEDE-DEV] [PATCH 1/2] uqmi: add support for MBIM devices with QMI service

2016-08-23 Thread Felix Fietkau
On 2016-08-21 02:01, Bjørn Mork wrote: > Many Qualcomm based devices offer a QMI service when running in MBIM > mode. This is useful for a number of requests which have no MBIM > counterpart. > > This implementation is very basic, simply wrapping the QMI requests > in an MBIM command. It is up to

Re: [LEDE-DEV] [PATCH 2/2] Octeon: Do not create backup for vmlinux64.bin on Edgerouter.

2016-08-23 Thread Felix Fietkau
On 2016-08-22 14:06, Daniel Danzberger wrote: > This patch avoids sysupgrade to fail and break the boot image. > This patch dosen't affact the Edgerouter Lite. > > The boot partition on the internal mmc flash is only 8.3M large. > Device Boot Start End Sectors Size Id Type > /dev/mmc

Re: [LEDE-DEV] [PATCH 1/2] Octeon: Use ext4 on mmcblk0p3 per default for ER.

2016-08-23 Thread daniel
On 08/23/2016 09:35 AM, Felix Fietkau wrote: > On 2016-08-22 14:06, Daniel Danzberger wrote: >> This patch defaults the rootfs to ext4 on the Ubnt Edgerouter. >> The Edgerouter Lite is not affacted by this patch. >> >> Why EXT4 and not squashfs + jiffs ? >> --- >> Th

Re: [LEDE-DEV] [PATCH] base-files: Remove deprecated bridge filtering settings

2016-08-23 Thread Felix Fietkau
On 2016-08-23 12:36, Koen Vandeputte wrote: > Since kernel 3.18, br_netfilter is not loaded by default on boot > > As <3.18 kernels are not supported anymore in LEDE, > these settings are useless. > > This also removes the following bootprint whining about it: > > bridge: automatic filtering via

Re: [LEDE-DEV] ubus: ubusd segfault on lookup

2016-08-23 Thread Felix Fietkau
On 2016-08-23 12:38, Delio Brignoli wrote: > Hi Felix, > >> On 23 Aug 2016, at 11:40, Felix Fietkau wrote: >> >> On 2016-08-18 12:19, Delio Brignoli wrote: >>> Hello Felix, >>> >>> ubusd_handle_remove_object() currently sends object removal event >>> followed by a reply to the peer’s remove obj

[LEDE-DEV] Hosting sponsorship / New Git server

2016-08-23 Thread Jo-Philipp Wich
Hi all, this is just a quick update from the tech dept. The LEDE project received some generous sponsoring under the Digital Ocean open source program in the form of free hosting credits we can use to run non-compute infrastructure in the Digital Ocean cloud data centers. As one of the very firs

Re: [LEDE-DEV] ubus: ubusd segfault on lookup

2016-08-23 Thread Delio Brignoli
Hi Felix, > On 23 Aug 2016, at 11:40, Felix Fietkau wrote: > > On 2016-08-18 12:19, Delio Brignoli wrote: >> Hello Felix, >> >> ubusd_handle_remove_object() currently sends object removal event >> followed by a reply to the peer’s remove object request. However the >> payload of the reply is th

[LEDE-DEV] [PATCH] base-files: Remove deprecated bridge filtering settings

2016-08-23 Thread Koen Vandeputte
Since kernel 3.18, br_netfilter is not loaded by default on boot As <3.18 kernels are not supported anymore in LEDE, these settings are useless. This also removes the following bootprint whining about it: bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts

[LEDE-DEV] [PATCH v2] ath9k: Set ATH9K_STATION_STATISTICS when enabling debugging

2016-08-23 Thread Toke Høiland-Jørgensen
The ATH9K_STATION_STATISTICS kernel config variable enables some extra statistics that are useful for debugging (in particular with the airtime fairness patches enabled). This adds that kernel config when selecting ath9k debugging. Signed-off-by: Toke Høiland-Jørgensen --- package/kernel/mac8021

Re: [LEDE-DEV] [PATCH] Set ATH9K_STATION_STATISTICS when enabling ath9k debugging

2016-08-23 Thread Toke Høiland-Jørgensen
Toke Høiland-Jørgensen writes: > Felix Fietkau writes: > >> On 2016-08-23 11:55, Toke Høiland-Jørgensen wrote: > diff --git a/target/linux/generic/config-4.4 > b/target/linux/generic/config-4.4 > index 8c30017..2f12982 100644 > --- a/target/linux/generic/config-4.4 > +++ b/t

Re: [LEDE-DEV] [PATCH] Use printf instead of echo.

2016-08-23 Thread Felix Fietkau
On 2016-08-23 12:10, A. Benz wrote: > Hi Bastian, > > I will update them, however to do that while adhering to Felix's request > on using perfect syntax means going over them one by one. > > Perhaps a seasoned sed user can do a trick to automate it? > > For now, the change I submitted is whats

Re: [LEDE-DEV] [PATCH] Use printf instead of echo.

2016-08-23 Thread A. Benz
Hi Bastian, I will update them, however to do that while adhering to Felix's request on using perfect syntax means going over them one by one. Perhaps a seasoned sed user can do a trick to automate it? For now, the change I submitted is whats needed to fix breakage on my system. For others,

[LEDE-DEV] [PATCH] hostapd: use printf to improve portability.

2016-08-23 Thread Ash Benz
Signed-off-by: Ash Benz --- package/network/services/hostapd/patches/200-multicall.patch | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package/network/services/hostapd/patches/200-multicall.patch b/package/network/services/hostapd/patches/200-multicall.patch index 8

Re: [LEDE-DEV] [PATCH] Set ATH9K_STATION_STATISTICS when enabling ath9k debugging

2016-08-23 Thread Toke Høiland-Jørgensen
Felix Fietkau writes: > On 2016-08-23 11:55, Toke Høiland-Jørgensen wrote: diff --git a/target/linux/generic/config-4.4 b/target/linux/generic/config-4.4 index 8c30017..2f12982 100644 --- a/target/linux/generic/config-4.4 +++ b/target/linux/generic/config-4.4 @@ -27

Re: [LEDE-DEV] mission impossible!! add ubifs

2016-08-23 Thread Kenneth Johansson
On 2016-08-23 11:40, Daniel Golle wrote: On Tue, Aug 23, 2016 at 11:10:11AM +0200, Kenneth Johansson wrote: On 2016-08-23 07:31, Daniel Golle wrote: even this do not currently work. there is no UBI support of any kind for mt7621 and adding it was what I was asking about. There are already devi

Re: [LEDE-DEV] [PATCH] Set ATH9K_STATION_STATISTICS when enabling ath9k debugging

2016-08-23 Thread Felix Fietkau
On 2016-08-23 11:55, Toke Høiland-Jørgensen wrote: >>> diff --git a/target/linux/generic/config-4.4 >>> b/target/linux/generic/config-4.4 >>> index 8c30017..2f12982 100644 >>> --- a/target/linux/generic/config-4.4 >>> +++ b/target/linux/generic/config-4.4 >>> @@ -276,6 +276,7 @@ CONFIG_ATA_SFF=y >

Re: [LEDE-DEV] [PATCH] Set ATH9K_STATION_STATISTICS when enabling ath9k debugging

2016-08-23 Thread Toke Høiland-Jørgensen
Felix Fietkau writes: > On 2016-08-13 12:02, Toke Høiland-Jørgensen wrote: >> The ATH9K_STATION_STATISTICS kernel config variable enables some extra >> statistics that are useful for debugging (in particular with the airtime >> fairness patches enabled). This adds that kernel config when selectin

Re: [LEDE-DEV] [PATCH] Set ATH9K_STATION_STATISTICS when enabling ath9k debugging

2016-08-23 Thread Felix Fietkau
On 2016-08-13 12:02, Toke Høiland-Jørgensen wrote: > The ATH9K_STATION_STATISTICS kernel config variable enables some extra > statistics that are useful for debugging (in particular with the airtime > fairness patches enabled). This adds that kernel config when selecting > ath9k debugging. > > Sig

Re: [LEDE-DEV] [PATCH] Use printf instead of echo.

2016-08-23 Thread Rafał Miłecki
On 23 August 2016 at 10:02, Ash Benz wrote: > On some systems the shell built-in echo is used while on others /bin/echo > and those two are not > identical; this causes incomplete .cflags generation on some systems. > > Signed-off-by: Ash Benz Please use a proper prefix for your subject. For

Re: [LEDE-DEV] mission impossible!! add ubifs

2016-08-23 Thread Daniel Golle
On Tue, Aug 23, 2016 at 11:10:11AM +0200, Kenneth Johansson wrote: > On 2016-08-23 07:31, Daniel Golle wrote: > > > > > even this do not currently work. there is no UBI support of any kind for > > > mt7621 and adding it was what I was asking about. > > There are already devices using UBI on MT7621

Re: [LEDE-DEV] ubus: ubusd segfault on lookup

2016-08-23 Thread Felix Fietkau
On 2016-08-18 12:19, Delio Brignoli wrote: > Hello Felix, > > ubusd_handle_remove_object() currently sends object removal event > followed by a reply to the peer’s remove object request. However the > payload of the reply is the same as the object removal event. This > results in the peer not clea

Re: [LEDE-DEV] [PATCH] Use printf instead of echo.

2016-08-23 Thread Felix Fietkau
On 2016-08-23 10:02, Ash Benz wrote: > On some systems the shell built-in echo is used while on others /bin/echo > and those two are not > identical; this causes incomplete .cflags generation on some systems. > > Signed-off-by: Ash Benz > --- > package/network/services/hostapd/patches/200-mul

Re: [LEDE-DEV] mission impossible!! add ubifs

2016-08-23 Thread Kenneth Johansson
On 2016-08-23 07:31, Daniel Golle wrote: even this do not currently work. there is no UBI support of any kind for mt7621 and adding it was what I was asking about. There are already devices using UBI on MT7621, just no method to flash UBI using the 'factory'/stock method due to lacking UBI sup

[LEDE-DEV] [PATCH] Use printf instead of echo.

2016-08-23 Thread Ash Benz
On some systems the shell built-in echo is used while on others /bin/echo and those two are not identical; this causes incomplete .cflags generation on some systems. Signed-off-by: Ash Benz --- package/network/services/hostapd/patches/200-multicall.patch | 8 1 file changed, 4 insert

Re: [LEDE-DEV] [PATCH 1/2] Octeon: Use ext4 on mmcblk0p3 per default for ER.

2016-08-23 Thread Felix Fietkau
On 2016-08-22 14:06, Daniel Danzberger wrote: > This patch defaults the rootfs to ext4 on the Ubnt Edgerouter. > The Edgerouter Lite is not affacted by this patch. > > Why EXT4 and not squashfs + jiffs ? > --- > The internal mmc flash is badly partitioned. > > Disk

Re: [LEDE-DEV] [PATCH] Modify hostapd's multicall patch

2016-08-23 Thread Felix Fietkau
On 2016-08-23 08:56, Ash Benz wrote: > Explicitly call /bin/echo instead of echo only. The shell built-in echo > behaves differently and causes > incomplete .cflags generation on some systems. > > Signed-off-by: Ash Benz There's no guarantee that /bin/echo is any better than the built-in echo

[LEDE-DEV] [PATCH] Modify hostapd's multicall patch

2016-08-23 Thread Ash Benz
Explicitly call /bin/echo instead of echo only. The shell built-in echo behaves differently and causes incomplete .cflags generation on some systems. Signed-off-by: Ash Benz --- package/network/services/hostapd/patches/200-multicall.patch | 8 1 file changed, 4 insertions(+), 4 delet