Re: [OpenWrt-Devel] [PATCH] [packages] linuxptp: Add package

2016-01-12 Thread John Crispin
On 13/01/2016 08:47, Wojciech Dubowik wrote: > ++#if defined(__UCLIBC__) > ++/* This syscall is not defined in uClibc 0.93.2 */ > ++#include > ++static int clock_adjtime(clockid_t id, struct timex *tx) > ++{ > ++return syscall(__NR_clock_adjtime, id, tx); > ++} > ++#endif > ++ on ppc we are

[OpenWrt-Devel] [PATCH] mpc85xx: Add PTP node for TL-WD4900 in device tree

2016-01-12 Thread Wojciech Dubowik
PTP requires at least one timer to be 1PPS so describe it. For testing, load kernel module gianfar_ptp and use ptp4l from linuxptp. Copied from FSL P1010RDB reference design. Signed-off-by: Wojciech Dubowik --- .../mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts | 13 + 1 fi

[OpenWrt-Devel] [PATCH] [packages] linuxptp: Add package

2016-01-12 Thread Wojciech Dubowik
Linuxptp is a user space software implementation of IEEE 1588 Precision Time Protocol standard. Signed-off-by: Wojciech Dubowik --- net/linuxptp/Makefile | 51 +++ net/linuxptp/patches/001-uclibc-compile-fix.patch | 16 +++ net/linuxptp/patches

[OpenWrt-Devel] [PATCH] ramips: enable work-arounds to fix sdhci on mt7621

2016-01-12 Thread Daniel Golle
Enable work-arounds present in the code commented-out but needed to write to sdcard on mt7621 which currently causes kernel to oops when engaging in serious writing to sdcard. With this change applied, there are still occasional warnings thrown by the mmc driver, however, at least it no longer cras

[OpenWrt-Devel] Fwd: [Battlemesh] Battlemesh v9 announcement

2016-01-12 Thread Simon Wunderlich
Hi, this event may be interesting for anyone interested in Wireless Mesh networks. Please join and spread the word! Thanks, Simon -- Forwarded Message -- Subject: [Battlemesh] Battlemesh v9 announcement Date: Tuesday 12 January 2016, 22:04:41 From: Simon Wunderlich To:

[OpenWrt-Devel] [PATCH v3] wpa_supplicant: fix generating phase2 config line for WPA-EAP

2016-01-12 Thread Daniel Golle
Hi Felix, I started working on fixing the WPA-EAP client support and while reviewing your suggestions and the reading the scripts and hostap sources, I had some realizations and suggest to do things in yet another way: On Sun, Jan 03, 2016 at 10:13:17PM +0100, Felix Fietkau wrote: > On 2016-01-03

Re: [OpenWrt-Devel] [PATCH] ramips: set mips16 support

2016-01-12 Thread Cristian Morales Vega
On 5 January 2016 at 12:22, Felix Fietkau wrote: > On 2016-01-05 13:18, José Vázquez wrote: >> 2016-01-04 13:02 GMT+01:00, Cristian Morales Vega : >>> Signed-off-by: Cristian Morales Vega >>> --- >>> target/linux/ramips/Makefile | 2 +- >>> 1 file changed, 1 insertion(+), 1 deletion(-) >>> >>> d

Re: [OpenWrt-Devel] [PATCH 1/1] [ar71xx] Use full 128MB flash on Netgear WNDR4300 and WNDR3700v4

2016-01-12 Thread Eric Schultz
Chris, We're glad to have you involved! Welcome to the party :) Eric On Mon, Jan 11, 2016 at 11:43 PM, Chris Marchesi wrote: > And one more time because I forgot the signoff. > > Can you tell this is my first time doing an email PR? ;) > > > On Mon, Jan 11, 2016 at 9:42 PM, Chris Marchesi > w

[OpenWrt-Devel] [PATCH] ramips: fix switch init in failsafe-mode on some MT7621 boards

2016-01-12 Thread Daniel Golle
On at least some MT7621AT based boards the bootloader leaves the switch uninitialized, thus neither eth0 nor eth0.1 would work as a failsafe interface without priorly initializing the switch chip. As a work-around, initialize the switch so the device will be listening on its LAN ports during failsa

[OpenWrt-Devel] [PATCH] Add support for Netgear D7800

2016-01-12 Thread Tathagata Das
Signed-off-by: Tathagata Das --- .../linux/ipq806x/base-files/etc/board.d/01_leds | 1 + .../ipq806x/base-files/etc/board.d/02_network | 1 + target/linux/ipq806x/base-files/lib/ipq806x.sh | 3 + .../ipq806x/base-files/lib/upgrade/platform.sh | 2 + target/linux/ipq806x/ima

Re: [OpenWrt-Devel] [PATCH] Add support for Netgear D7800

2016-01-12 Thread Tathagata Das
Hi Felix, Sorry for my late reply. I have again sent that patch using git command. "git send-email -to openwrt-devel@lists.openwrt.org 0001-Add-support-for-Netgear-D7800.patch" Please check it. Regards, Tatha On 04-01-2016 02:18, Felix Fietkau wrote: > On 2015-12-25 12:46, Tathagat

[OpenWrt-Devel] [PATCH] ramips: fix serial baudrate for final version of ZBT-WG2626 board

2016-01-12 Thread Daniel Golle
The bootloader was updated and now uses 115200 instead of 57600 baud for the serial console. Change this also in OpenWrt's DTS, so the rate is consistent for bootloader and linux kernel output. Signed-off-by: Daniel Golle --- target/linux/ramips/dts/ZBT-WG2626.dts | 2 +- 1 file changed, 1 inser

[OpenWrt-Devel] [PATCH, v2] kernel: remove obsolete config symbols from 4.4

2016-01-12 Thread Dirk Neukirchen
Only remove old symbols for 4.4 since older Kernels might be removed sooner/later and 4.4 is the next LTS build tested against: omap 4.4 CONFIG_ALL_KMODS x86_64 List of enabled & orphaned symbols: -CONFIG_ARPD=y -CONFIG_BT_L2CAP=y -CONFIG_BT_SCO=y -CONFIG_CAVIUM_OCTEON_HELPER=y -CONFIG_DEFAULT

[OpenWrt-Devel] [PATCH] kernel: add missing symbols for Kernel 4.4

2016-01-12 Thread Dirk Neukirchen
found w. x86_64 Signed-off-by: Dirk Neukirchen --- target/linux/generic/config-4.4 | 2 ++ target/linux/x86/config-4.4 | 2 ++ 2 files changed, 4 insertions(+) diff --git a/target/linux/generic/config-4.4 b/target/linux/generic/config-4.4 index a6d4d1a..2d555c1 100644 --- a/target/linux/gen

[OpenWrt-Devel] [PATCH] dropbear: update version to 2015.71

2016-01-12 Thread Hannu Nyman
Update dropbear to version 2015.71, released on 3 Dec 2015. Refresh patches. Signed-off-by: Hannu Nyman --- Compiled and run-tested with ar71xx/WNDR3700. Release notes: https://matt.ucc.asn.au/dropbear/CHANGES 2015.71 - 3 December 2015 - Fix "bad buf_incrpos" when data is transferred, bro

Re: [OpenWrt-Devel] [PATCH 1/1] use NTP server received via DHCP

2016-01-12 Thread Bastian Bittorf
* amine ahd [12.01.2016 10:08]: > --- > package/utils/busybox/Makefile | 3 ++ > package/utils/busybox/files/sysntpd| 26 ++- > package/utils/busybox/files/sysntpd.hotplug| 53 ++ > 3 files changed, 80 insertions(+), 2 deletions(-) > create mo

Re: [OpenWrt-Devel] [PATCH 1/1] use NTP server received via DHCP

2016-01-12 Thread Bastian Bittorf
* amine ahd [12.01.2016 10:08]: > + [ "$use_dhcp" = 1 ] && { > + if [ -z "$dhcp_ifaces" ]; then > + local dump=$(ubus call network.interface dump) > + ntpservers=$(jsonfilter -s "$dump" -e > '$["interface"][*]["data"]["ntpserver"]') please

[OpenWrt-Devel] [PATCH 1/1] use NTP server received via DHCP

2016-01-12 Thread amine ahd
--- package/utils/busybox/Makefile | 3 ++ package/utils/busybox/files/sysntpd| 26 ++- package/utils/busybox/files/sysntpd.hotplug| 53 ++ 3 files changed, 80 insertions(+), 2 deletions(-) create mode 100755 package/utils/busybox/files/sysntpd

[OpenWrt-Devel] [CC 15.05] ruby: Security update (CVE-2015-7551)

2016-01-12 Thread jow
The ruby package has been rebuilt and was uploaded to the Chaos Calmer 15.05 repository due to a reported security issue. VERSION 2.2.3-1 => 2.2.4-1 CHANGELOG [Mon, 11 Jan 2016 15:31:27 +0100 375f617] This release includes a security fix for Fiddle extension. * CVE-2015-7551: Unsafe tainte

Re: [OpenWrt-Devel] Improving ALL and ALL_KMODS (was Re: [PATCH] scripts/metadata: Allow to select which profiles to build)

2016-01-12 Thread Felix Fietkau
On 2016-01-12 03:53, Daniel Dickinson wrote: > Hi Felix, > > On 11/01/16 03:28 PM, Felix Fietkau wrote: > > This is close to what I had in mind in my earlier response. Yes, it's > > ugly, but it's a lot less ugly than taking your approach without dealing > > with the issues that I pointed out.

Re: [OpenWrt-Devel] Plans for CC 15.05.1 or DD 16.xx release?

2016-01-12 Thread Jo-Philipp Wich
On 01/12/2016 09:19 AM, Nishant Sharma wrote: > Hi, > > On Monday 11 January 2016 05:42 PM, John Crispin wrote: > >> days. with a bit of luck 15.05.1 is ready early next week. > How do I bump my local git cloned source to 15.05.1? > > A simple git pull in the source directory should be able to a

Re: [OpenWrt-Devel] Plans for CC 15.05.1 or DD 16.xx release?

2016-01-12 Thread Nishant Sharma
Hi, On Monday 11 January 2016 05:42 PM, John Crispin wrote: days. with a bit of luck 15.05.1 is ready early next week. How do I bump my local git cloned source to 15.05.1? A simple git pull in the source directory should be able to achieve that? Regards, Nishant _