Re: [OpenWrt-Devel] [PATCH v2] include/kernel.mk - better search for ARCH

2015-11-02 Thread Alexey Brodkin
Hi Felix, On Thu, 2015-07-30 at 14:12 +0300, Alexey Brodkin wrote: > If "findstring" is used without leading and trailing spaces unexpected matches > may happen. For example consider ARC=arc then "findstring $(ARCH)" will > report a false match with "aarch64". > > But "findstring $ARCH " (note

[OpenWrt-Devel] [PATCH 0/2 v2] OpenWRT port for Designware ARC cores

2015-11-02 Thread Alexey Brodkin
This series introduces support of DesignWare ARC cores in OpenWRT. In particular it adds support of 2 boards (nSIM and ARc SDP) based on ARC770D SoC. Alexey Brodkin (2): toolchain: add support of ARC architecture linux: add support of Synopsys ARC770-based boards include/kernel.mk

Re: [OpenWrt-Devel] [PATCH 1/2 v2] toolchain: add support of ARC architecture

2015-11-02 Thread Felix Fietkau
On 2015-11-02 19:05, Alexey Brodkin wrote: > This includes binutils, gcc, gdb and uClibc-ng. > > Latest release of ARC gcc (as of today it is "arc-2015.06") > is based on upstream gcc 4.8.4. > > Sources are available on GitHub, see: > https://github.com/foss-for-synopsys-dwc-arc-processors/gcc >

Re: [OpenWrt-Devel] [PATCH 1/2 v2] toolchain: add support of ARC architecture

2015-11-02 Thread Alexey Brodkin
Hi Felix, On Mon, 2015-11-02 at 19:15 +0100, Felix Fietkau wrote: > On 2015-11-02 19:05, Alexey Brodkin wrote: > > This includes binutils, gcc, gdb and uClibc-ng. > > > > Latest release of ARC gcc (as of today it is "arc-2015.06") > > is based on upstream gcc 4.8.4. > > > > Sources are

[OpenWrt-Devel] [PATCH 1/2 v2] toolchain: add support of ARC architecture

2015-11-02 Thread Alexey Brodkin
This includes binutils, gcc, gdb and uClibc-ng. Latest release of ARC gcc (as of today it is "arc-2015.06") is based on upstream gcc 4.8.4. Sources are available on GitHub, see: https://github.com/foss-for-synopsys-dwc-arc-processors/gcc Latest release of ARC binutils (as of today it is

Re: [OpenWrt-Devel] [PATCH] update config.guess & config.sub

2015-11-02 Thread Alexey Brodkin
Hi Felix, On Thu, 2015-07-30 at 11:43 +0300, Alexey Brodkin wrote: > These are from today's master branch of: > http://git.savannah.gnu.org/gitweb/?p=config.git;a=tree > > In particular it adds support for ARC architecture plus some more > improvements and fixes. > > This patch is built-tested

[OpenWrt-Devel] [PATCH 2/2 v2] linux: add support of Synopsys ARC770-based boards

2015-11-02 Thread Alexey Brodkin
This patch introduces support of new boards with ARC cores. [1] Synopsys SDP board This is a new-generation development board from Synopsys that consists of base-board and CPU tile-board (which might have a real ASIC or FPGA with CPU image). It sports a lot of DesignWare

Re: [OpenWrt-Devel] [PATCH 2/2 v3] linux: add support of Synopsys ARC770-based boards

2015-11-02 Thread Felix Fietkau
On 2015-11-03 00:27, Alexey Brodkin wrote: > This patch introduces support of new boards with ARC cores. > > [1] Synopsys SDP board > This is a new-generation development board from Synopsys that > consists of base-board and CPU tile-board (which might have a real > ASIC or FPGA

[OpenWrt-Devel] [PATCH 2/2] ar71xx: Add support for ZyXEL NBG6616.

2015-11-02 Thread Benjamin Berg
Signed-off-by: Benjamin Berg --- target/linux/ar71xx/base-files/etc/diag.sh | 5 +- .../etc/hotplug.d/firmware/11-ath10k-caldata | 2 + .../ar71xx/base-files/etc/uci-defaults/01_leds | 17 ++- .../ar71xx/base-files/etc/uci-defaults/02_network |

Re: [OpenWrt-Devel] [PATCH 1/2] include/image.mk: Introduce option to wrap kernel into JFFS2

2015-11-02 Thread Felix Fietkau
On 2015-11-02 20:33, Benjamin Berg wrote: > Some devices like the NBG6616 and NBG6617 expect the kernel to be > in a JFFS2 partition. This macro allows wrapping the kernel so that > a normal squashfs+jffs partition can be used for the rest of the > firmware. Does that board run u-boot? If it does,

[OpenWrt-Devel] [PATCH] tools/mpc: update to 1.0.3

2015-11-02 Thread Hannu Nyman
Update mpc version to 1.0.3. Change download location to @GNU. Signed-off-by: Hannu Nyman --- tools/mpc/Makefile | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/mpc/Makefile b/tools/mpc/Makefile index 27b6fbe..f0bf8f4 100644 ---

[OpenWrt-Devel] [PATCH 1/2] include/image.mk: Introduce option to wrap kernel into JFFS2

2015-11-02 Thread Benjamin Berg
Some devices like the NBG6616 and NBG6617 expect the kernel to be in a JFFS2 partition. This macro allows wrapping the kernel so that a normal squashfs+jffs partition can be used for the rest of the firmware. Signed-off-by: Benjamin Berg --- include/image.mk | 15

[OpenWrt-Devel] ZyXEL NBG6616 and jffs2 kernel partition support

2015-11-02 Thread Benjamin Berg
Hi, wasn't aware of the ongoing work to build the images in parallel, so here another respin of the patch. There is now a patch which first adds support to build a JFFS2 partition just for the kernel. The second patch is the same as before modified to use the new parallel image build system.

[OpenWrt-Devel] [PATCH] toolsbison: update to 3.0.4

2015-11-02 Thread Hannu Nyman
Update bison to 3.0.4. Refresh patches. Drop the unnecessary PKG_CAT definition. Signed-off-by: Hannu Nyman --- Bison changelog: http://git.savannah.gnu.org/cgit/bison.git/tree/NEWS?id=c4e686a1abd817b4d4da5bdd5b3a5540566fd4a0 tools/bison/Makefile

[OpenWrt-Devel] [PATCH] tools/mpfr: update to 3.1.3

2015-11-02 Thread Hannu Nyman
Update mpfr to version 3.1.3. Refresh patches. Signed-off-by: Hannu Nyman --- tools/mpfr/Makefile | 6 +++--- tools/mpfr/patches/001-only_src.patch | 10 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/tools/mpfr/Makefile

Re: [OpenWrt-Devel] [PATCH] update config.guess & config.sub

2015-11-02 Thread Florian Fainelli
On 02/11/15 11:01, Kathy Giori wrote: > On Mon, Nov 2, 2015 at 9:40 AM, Alexey Brodkin > wrote: >> Hi Felix, >> >> On Thu, 2015-07-30 at 11:43 +0300, Alexey Brodkin wrote: >>> These are from today's master branch of: >>>

Re: [OpenWrt-Devel] [PATCH] update config.guess & config.sub

2015-11-02 Thread Kathy Giori
On Mon, Nov 2, 2015 at 9:40 AM, Alexey Brodkin wrote: > Hi Felix, > > On Thu, 2015-07-30 at 11:43 +0300, Alexey Brodkin wrote: >> These are from today's master branch of: >> http://git.savannah.gnu.org/gitweb/?p=config.git;a=tree >> >> In particular it adds support

Re: [OpenWrt-Devel] [PATCH 1/2 v3] toolchain: add support of ARC architecture

2015-11-02 Thread Felix Fietkau
On 2015-11-03 00:27, Alexey Brodkin wrote: > This includes binutils, gcc, gdb and uClibc-ng. > > Latest release of ARC gcc (as of today it is "arc-2015.06") > is based on upstream gcc 4.8.4. > > Sources are available on GitHub, see: > https://github.com/foss-for-synopsys-dwc-arc-processors/gcc >

Re: [OpenWrt-Devel] [PATCH] Wallys DR-344 support

2015-11-02 Thread John Crispin
Hi, On 29/10/2015 12:55, Philippe DUCHEIN wrote: > This patch is for Wallys DR344 support under OpenWRT > need ar8035-a patch for gigabit ethernet : [OpenWrt-Devel] [PATCH] Atheros > AR8035-A support > i cannot see the phy patch in the patchwork list. also this patch should have a prefix of

[OpenWrt-Devel] [PATCH] uclibc-ng: bump version from 1.0.6 to 1.0.8

2015-11-02 Thread Alexey Brodkin
2 new architectures were added in between 1.0.6 and 1.0.8 in uClibc-ng, these are: * lm32 * or1k Even thought both are not yet supported in OpenWRT it's important to disable them both in default config file otherwise user prompt will appear during uClibc configuration asking to select desired

[OpenWrt-Devel] [PATCH netifd] device: Don't process link events anymore in device user specific callback handlers

2015-11-02 Thread Hans Dedecker
Set link_state for all device types via the device_set_link API as all devices are registered in the device tree list making it possible to always get the device via device_get. The decice link state parameter will now actually reflect the corresponding kernel device carrier state in all cases.

[OpenWrt-Devel] [PATCH 2/2 ubus] libubus: Fix reverse order processing of pending ubus notifications messages

2015-11-02 Thread Hans Dedecker
Append ubus notification messages to the tail of the pending list so they're processed in the order as they're put onto the pending list Signed-off-by: Xinxing Hu Signed-off-by: Hans Dedecker --- libubus.c | 2 +- 1 file changed, 1 insertion(+), 1

[OpenWrt-Devel] [PATCH 1/2 ubus] lua: Fix stack imbalance in ubus_event_handler

2015-11-02 Thread Hans Dedecker
The value from getglobal wasn't being removed from the stack, resulting in an ever growing stack in the ubus event handler. Signed-off-by: Karl Vogel Signed-off-by: Hans Dedecker --- lua/ubus.c | 3 +++ 1 file changed, 3 insertions(+) diff --git

Re: [OpenWrt-Devel] [PATCH 1/2] include/image.mk: Introduce option to wrap kernel into JFFS2

2015-11-02 Thread Benjamin Berg
On Mo, 2015-11-02 at 20:49 +0100, Felix Fietkau wrote: > On 2015-11-02 20:33, Benjamin Berg wrote: > > Some devices like the NBG6616 and NBG6617 expect the kernel to be > > in a JFFS2 partition. This macro allows wrapping the kernel so that > > a normal squashfs+jffs partition can be used for the

[OpenWrt-Devel] [PATCH 2/2 v3] linux: add support of Synopsys ARC770-based boards

2015-11-02 Thread Alexey Brodkin
This patch introduces support of new boards with ARC cores. [1] Synopsys SDP board This is a new-generation development board from Synopsys that consists of base-board and CPU tile-board (which might have a real ASIC or FPGA with CPU image). It sports a lot of DesignWare

[OpenWrt-Devel] [PATCH 1/2 v3] toolchain: add support of ARC architecture

2015-11-02 Thread Alexey Brodkin
This includes binutils, gcc, gdb and uClibc-ng. Latest release of ARC gcc (as of today it is "arc-2015.06") is based on upstream gcc 4.8.4. Sources are available on GitHub, see: https://github.com/foss-for-synopsys-dwc-arc-processors/gcc Latest release of ARC binutils (as of today it is

[OpenWrt-Devel] [PATCH 0/2 v3] OpenWRT port for Designware ARC cores

2015-11-02 Thread Alexey Brodkin
This series introduces support of DesignWare ARC cores in OpenWRT. In particular it adds support of 2 boards (nSIM and ARc SDP) based on ARC770D SoC. This is the same as v2 but rebased on top of the current master. In particular that commit touches uClibc files:

[OpenWrt-Devel] [PATCH] hostapd: add default value to eapol_version (#20641)

2015-11-02 Thread Hannu Nyman
r46861 introduced a new option eapol_version to hostapd, but did not provide a default value. When the option value is evaluated, the non-existing value causes errors to the systen log: "netifd: radio0: sh: out of range" Add a no-op default value 0 for eapol_version. Only values 1 or 2 are