Re: arc700 + glibc fails

2020-12-23 Thread Alexey Brodkin
Hi Rosen, Hauke! > On Wed, Dec 23, 2020 at 6:54 AM Hauke Mehrtens wrote: > > > > Hi, > > > > ARC was switched from uClibc to glibc here: > > https://git.openwrt.org/?p=openwrt/openwrt.git;a=commitdiff;h=95f1002acab574c24ad78f4453f091bf5a6731c7 > > uClibc support was removed from OpenWrt in the ne

Re: arc700 + glibc fails

2020-12-24 Thread Alexey Brodkin
Hi Rosen, > From: Rosen Penev > Sent: Thursday, December 24, 2020 8:07 AM > To: Alexey Brodkin > Cc: Hauke Mehrtens ; openwrt-de...@openwrt.org > ; Evgeniy Didin ; > arc-...@synopsys.com > Subject: Re: arc700 + glibc fails [snip] > --- a/sysdeps/arc/atomic-machi

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

2015-07-30 Thread Alexey Brodkin
tches for both "aarch64" and "aarch64_be". This patch is built-tested against NetGear WNDR3800. Signed-off-by: Alexey Brodkin Cc: Felix Fietkau Cc: Jo-Philipp Wich --- include/kernel.mk | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include

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

2015-07-30 Thread Alexey Brodkin
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 against NetGear WNDR3800. Signed-off-by: Alexey Brodkin Cc: Florian Fainell

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

2015-07-30 Thread Alexey Brodkin
Hi Felix, On Thu, 2015-07-30 at 12:55 +0200, Felix Fietkau wrote: > On 2015-07-30 10:41, Alexey Brodkin wrote: > > If "findstring" is used without leading and trailing spaces unexpected > > matches > > may happen. For example consider ARC=arc then "findstr

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

2015-07-30 Thread Alexey Brodkin
tches for both "aarch64" and "aarch64_be". This patch is built-tested against NetGear WNDR3800. Signed-off-by: Alexey Brodkin Cc: Felix Fietkau Cc: Jo-Philipp Wich --- In v2 removed unncecessary space before findstring. include/kernel.mk | 10 +- 1 file ch

[OpenWrt-Devel] Linux kernel config options handling in OpenWRT

2015-08-17 Thread Alexey Brodkin
Hello, I'm playing with OpenWRT for a new platform and have a question on how OpenWRT handles KCONFIG kernel options. For example I select "KernelPackage/crypto-core" in OpenWRT's menuconfig then KCONFIG is populated with: -->8 CONFIG_CRYPTO=y CONFIG_CRYPTO_HW=

[OpenWrt-Devel] [PATCH] toolchain/uClibc: add support of uClibc-ng

2015-08-17 Thread Alexey Brodkin
Sunxi generic [2] MIPS: Netgear WNDR3600/3700/3800 Run-tested for [yet out of the tree] Synopsys Designware ARC AXS101. Signed-off-by: Alexey Brodkin Cc: Waldemar Brodkorb Cc: Mathieu Olivari Cc: Felix Fietkau Cc: John Crispin --- toolchain/uClibc/Config.in

[OpenWrt-Devel] [PATCH] target/linux/generic: allow up to 4 8250-compatible UARTS

2015-08-24 Thread Alexey Brodkin
r upstream versions. Cc: Jonas Gorski Cc: Zoltan HERPAI Cc: Hauke Mehrtens Cc: Dirk Neukirchen Signed-off-by: Alexey Brodkin --- target/linux/generic/config-4.1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/generic/config-4.1 b/target/linux/generic/confi

Re: [OpenWrt-Devel] [PATCH] target/linux/generic: allow up to 4 8250-compatible UARTS

2015-08-24 Thread Alexey Brodkin
Hi Hauke, On Mon, 2015-08-24 at 22:27 +0200, Hauke Mehrtens wrote: > On 08/24/2015 10:23 PM, Alexey Brodkin wrote: > > Default value of both SERIAL_8250_NR_UARTS & SERIAL_8250_RUNTIME_UARTS is 4, > > see: > > http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.gi

[OpenWrt-Devel] [PATCH] toolchain/uClibc: add support of uClibc-ng

2015-08-26 Thread Alexey Brodkin
Sunxi generic [2] MIPS: Netgear WNDR3600/3700/3800 Run-tested for [yet out of the tree] Synopsys Designware ARC AXS101. Signed-off-by: Alexey Brodkin Cc: Waldemar Brodkorb Cc: Mathieu Olivari Cc: Felix Fietkau Cc: John Crispin --- toolchain/uClibc/Config.in | 4 + tool

Re: [OpenWrt-Devel] [PATCH] toolchain/uClibc: add support of uClibc-ng

2015-08-26 Thread Alexey Brodkin
Hi John, On Wed, 2015-08-26 at 20:20 +0200, John Crispin wrote: > Hi, > > On 26/08/2015 20:11, Alexey Brodkin wrote: > > uClibc-ng is a spin-off of original uClibc, see http://www.uclibc-ng.org/ > > > > We try to regularly add changes from uClibc to uClibc-ng. >

[OpenWrt-Devel] [PATCH 0/3] Add support of ARC architecture

2015-08-27 Thread Alexey Brodkin
RT on ARC. Alexey Brodkin (3): toolchain: add support of ARC architecture ARC: specify location of output elf linux: add support of Synopsys ARC boards include/kernel-defaults.mk | 4 + include/kernel.mk | 2 + include/sit

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

2015-08-27 Thread Alexey Brodkin
iled make[7]: *** [stamp-5mloop] Error 1 >8 Prerequisites are: [1] http://patchwork.ozlabs.org/patch/510985 which adds uClibc-ng support. [2] http://patchwork.ozlabs.org/patch/502022 which updates config.guess and config.sub Cc: Felix Fietkau Cc: John Cri

[OpenWrt-Devel] [PATCH 2/3] ARC: specify location of output elf

2015-08-27 Thread Alexey Brodkin
For now on ARC we deal with vmlinux output file which is created in the root of kernel build folder. Once we move to uImage we'll be able to use default location in arch/arc/boot. Signed-off-by: Alexey Brodkin --- include/kernel-defaults.mk | 4 1 file changed, 4 insertions(+) diff

[OpenWrt-Devel] [PATCH 3/3] linux: add support of Synopsys ARC boards

2015-08-27 Thread Alexey Brodkin
ich Signed-off-by: Alexey Brodkin --- include/kernel.mk | 2 + target/Config.in | 9 + target/linux/arc/Makefile | 28 + target/linux/arc/axs10x/README | 19 + .../linux/arc/ax

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

2015-08-27 Thread Alexey Brodkin
Hi John, On Thu, 2015-08-27 at 13:59 +0200, John Crispin wrote: > Hi Alexey, > > have you already sent these patches upstream to the gcc people ? I'm not really sure which patches you're talking about. If you're talking about patches I put in "toolchain/gcc/patches/arc-2015.06" folder those are

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

2015-08-27 Thread Alexey Brodkin
Hi John, On Thu, 2015-08-27 at 14:25 +0200, John Crispin wrote: > > On 27/08/2015 14:15, Alexey Brodkin wrote: > > Hi John, > > > > On Thu, 2015-08-27 at 13:59 +0200, John Crispin wrote: > > > Hi Alexey, > > > > > > have you already sent thes

Re: [OpenWrt-Devel] [PATCH 0/3] Add support of ARC architecture

2015-08-31 Thread Alexey Brodkin
Hello, On Thu, 2015-08-27 at 14:03 +0300, Alexey Brodkin wrote: > This patch series adds support for the Synopsys DesignWare ARC architecture. > > DesignWare ARC700 is family of 32-bit CPUs developed by Synopsys, Inc. > > Since version 3.9 ARC architecture is supported in

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

2015-09-02 Thread Alexey Brodkin
Hi Jonas, On Wed, 2015-09-02 at 10:08 +0200, Jonas Gorski wrote: > Hi, > > On Thu, Aug 27, 2015 at 1:03 PM, Alexey Brodkin > wrote: > > This includes binutils, gcc, gdb and uClibc-ng. > > > > Latest release of ARC gcc (as of today it is "arc-2015.06&q

Re: [OpenWrt-Devel] [PATCH 3/3] linux: add support of Synopsys ARC boards

2015-09-02 Thread Alexey Brodkin
Hi Jonas, On Wed, 2015-09-02 at 10:32 +0200, Jonas Gorski wrote: > On Thu, Aug 27, 2015 at 1:03 PM, Alexey Brodkin > wrote: > > This patch introduces support of new boards with ARC cores. > > > > [1] Synopsys SDP board > > This is a new-generation develo

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

2015-09-03 Thread Alexey Brodkin
Hi Jonas, On Thu, 2015-09-03 at 15:18 +0200, Jonas Gorski wrote: > Hi, > > On Wed, Sep 2, 2015 at 9:58 PM, Alexey Brodkin > wrote: > > Hi Jonas, > > > > On Wed, 2015-09-02 at 10:08 +0200, Jonas Gorski wrote: > > > Hi, > > > > > > On

Re: [OpenWrt-Devel] [PATCH 3/3] linux: add support of Synopsys ARC boards

2015-09-03 Thread Alexey Brodkin
Hi Jonas, On Thu, 2015-09-03 at 15:33 +0200, Jonas Gorski wrote: > Hi, > > On Wed, Sep 2, 2015 at 10:40 PM, Alexey Brodkin > wrote: > > Hi Jonas, > > > > On Wed, 2015-09-02 at 10:32 +0200, Jonas Gorski wrote: > > > On Thu, Aug 27, 2015 at 1:03 PM, Al

Re: [OpenWrt-Devel] [PATCH 3/3] linux: add support of Synopsys ARC boards

2015-09-04 Thread Alexey Brodkin
Hi Jonas, On Fri, 2015-09-04 at 12:25 +0200, Jonas Gorski wrote: > Hi, > > On Thu, Sep 3, 2015 at 6:11 PM, Alexey Brodkin > wrote: > > Hi Jonas, > > > > On Thu, 2015-09-03 at 15:33 +0200, Jonas Gorski wrote: > > > Hi, > > > > > > On

Re: [OpenWrt-Devel] [PATCH 3/3] linux: add support of Synopsys ARC boards

2015-09-04 Thread Alexey Brodkin
Hi Jonas, On Fri, 2015-09-04 at 12:40 +0200, Jonas Gorski wrote: > Hi, > > On Fri, Sep 4, 2015 at 12:35 PM, Alexey Brodkin > wrote: > > Hi Jonas, > > > > On Fri, 2015-09-04 at 12:25 +0200, Jonas Gorski wrote: > > > Hi, > > > > > > On

Re: [OpenWrt-Devel] [PATCH 3/3] linux: add support of Synopsys ARC boards

2015-09-04 Thread Alexey Brodkin
Hi Jonas, On Fri, 2015-09-04 at 13:01 +0200, Jonas Gorski wrote: > On Fri, Sep 4, 2015 at 12:45 PM, Alexey Brodkin > wrote: > > Hi Jonas, > > > > On Fri, 2015-09-04 at 12:40 +0200, Jonas Gorski wrote: > > > Hi, > > > > > > On Fri, Sep 4, 20

Re: [OpenWrt-Devel] [PATCH 3/3] linux: add support of Synopsys ARC boards

2015-09-04 Thread Alexey Brodkin
Hi Jonas, On Fri, 2015-09-04 at 15:44 +0200, Jonas Gorski wrote: > Hi, > > On Fri, Sep 4, 2015 at 1:24 PM, Alexey Brodkin > wrote: > > Hi Jonas, > > > > On Fri, 2015-09-04 at 13:01 +0200, Jonas Gorski wrote: > > > On Fri, Sep 4, 2015 at 12:45 PM, Alexey

Re: [OpenWrt-Devel] [PATCH 0/3] Add support of ARC architecture

2015-09-14 Thread Alexey Brodkin
Hi Felix, On Fri, 2015-09-11 at 15:09 +0200, Felix Fietkau wrote: > On 2015-08-27 13:03, Alexey Brodkin wrote: > > This patch series adds support for the Synopsys DesignWare ARC architecture. > > > > DesignWare ARC700 is family of 32-bit CPUs developed by Synopsys, Inc. &

Re: [OpenWrt-Devel] [PATCH 0/3] Add support of ARC architecture

2015-09-14 Thread Alexey Brodkin
Hi John, On Mon, 2015-09-14 at 13:41 +0200, John Crispin wrote: > > On 14/09/2015 13:35, Alexey Brodkin wrote: > > Hi Felix, > > > > On Fri, 2015-09-11 at 15:09 +0200, Felix Fietkau wrote: > > > On 2015-08-27 13:03, Alexey Brodkin wrote: > > > > Th

[OpenWrt-Devel] Questions about "binutils: add binutils 2.25.1"

2015-09-14 Thread Alexey Brodkin
Hi Hauke, I noticed your change made in "toolchain/binutils" recently: ->8- http://git.openwrt.org/?p=openwrt.git;a=commit;h=fece50d94033c1dcfc3f290acbd428f9125c30aa binutils: add binutils 2.25.1 This adds binutils 2.25.1 as an option to OpenWrt. Signed-off-by: Hauke

[OpenWrt-Devel] [PATCH 0/2] ARC770 updates

2016-01-14 Thread Alexey Brodkin
This series introduces quite minor changes for ARC770 SoC: [1] Linux kernel 4.4 is used now [2] Kernel patches are moved to generic 4.4 patches Alexey Brodkin (2): arc770: bump linux kernel from 4.3 to 4.4 arc770: move arc patches to taregt/linux/generic target/linux/arc770/Makefile

[OpenWrt-Devel] [PATCH 1/2] arc770: bump linux kernel from 4.3 to 4.4

2016-01-14 Thread Alexey Brodkin
-off-by: Alexey Brodkin Cc: Felix Fietkau Cc: Jo-Philipp Wich Cc: Jonas Gorski --- target/linux/arc770/Makefile | 2 +- target/linux/arc770/config-4.3 | 179 - target/linux/arc770/config-4.4 | 169

[OpenWrt-Devel] [PATCH 2/2] arc770: move arc patches to taregt/linux/generic

2016-01-14 Thread Alexey Brodkin
Given those patches are relevant to any ARC platform and even ISA version it makes perfect sense for patches to exist in one place instead of being duplicated for each new ARC-based ASIC. Note this is a prerequisite for upstreaming of ARC HS38 support in OpenWRT. Signed-off-by: Alexey Brodkin

Re: [OpenWrt-Devel] [PATCH 2/2] arc770: move arc patches to taregt/linux/generic

2016-01-15 Thread Alexey Brodkin
Hi Felix, On Fri, 2016-01-15 at 11:45 +0100, Felix Fietkau wrote: > On 2016-01-15 00:12, Alexey Brodkin wrote: > > Given those patches are relevant to any ARC platform and even > > ISA version it makes perfect sense for patches to exist > > in one place instead of being du

[OpenWrt-Devel] [PATCH] arc770/axs101: fix console output

2016-01-18 Thread Alexey Brodkin
fault inittab is used: --->8- ... ::askconsole:/bin/ash --login --->8- So what we got is non-functional serial console. That change removes "console=tty0" which brings serial console back to life. Signed-off-by: Alexey Brodkin Cc: F

[OpenWrt-Devel] [PATCH] arc: clean-up and move CFLAGS to include/target.mk

2016-01-18 Thread Alexey Brodkin
se is "-matomic" and that one is really essential. Without it many software packges won't build complainin on unresolved atomic ops. Signed-off-by: Alexey Brodkin Cc: Felix Fietkau Cc: Jo-Philipp Wich Cc: Jonas Gorski --- include/target.mk| 1 + target/linux/arc770

[OpenWrt-Devel] [PATCH 0/2 v2] linux: add support of ARC HS38-based boards

2016-01-18 Thread Alexey Brodkin
d for new instruction set and features of new CPU. Alexey Brodkin (2): toolchain: add support of ARCv2 architecture linux: add support of Synopsys ARCHS38-based boards include/target.mk | 1 + target/linux/archs38/Makefile | 26 +++ t

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

2016-01-18 Thread Alexey Brodkin
bc we need to use different configurations for different ARC ISAs. Signed-off-by: Alexey Brodkin Cc: Felix Fietkau Cc: Jo-Philipp Wich Cc: Jonas Gorski --- Changes v1 -> v2: * Toolchain changes were moved to a separate patch toolchain/gcc/common.mk | 1 + toolchain/uClibc/comm

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

2016-01-18 Thread Alexey Brodkin
based CPU-tile where ARCHs38 core is implemented. [2] nSIM Again this is the same simulation engine but configured for new instruction set and features of new CPU. Signed-off-by: Alexey Brodkin Cc: Felix Fietkau Cc: Jo-Philipp Wich Cc: Jonas Gorski --- Changes v1 -> v2: * T

Re: [OpenWrt-Devel] [PATCH 0/2 v2] linux: add support of ARC HS38-based boards

2016-01-22 Thread Alexey Brodkin
Hi Felix, On Mon, 2016-01-18 at 20:51 +0300, Alexey Brodkin wrote: > This patch introduces support of new boards with ARC HS38 cores. > > ARC HS38 is a new generation of ARC cores which utilize ARCv2 ISA. > Because of new ISA ARC HS38 are binary incompatible with ARC 700 > cores

Re: [OpenWrt-Devel] [PATCH 0/2 v2] linux: add support of ARC HS38-based boards

2016-02-01 Thread Alexey Brodkin
Hello, On Fri, 2016-01-22 at 23:44 +0300, Alexey Brodkin wrote: > Hi Felix, > > On Mon, 2016-01-18 at 20:51 +0300, Alexey Brodkin wrote: > > This patch introduces support of new boards with ARC HS38 cores. > > > > ARC HS38 is a new generation of ARC cores which utiliz

[OpenWrt-Devel] [PATCH] build: don't add -fno-plt for ARC

2016-02-04 Thread Alexey Brodkin
f32-arc.c:2786 collect2: error: ld returned 1 exit status --->8-- In newer binutils (still in development) for ARC rewritten from scratch this seem to not happen, so once new binutils for ARC hit the street this patch might be reverted. Signed-off-by: Alexey Brodk

Re: [OpenWrt-Devel] [PATCH 0/2 v2] linux: add support of ARC HS38-based boards

2016-02-11 Thread Alexey Brodkin
Hi Felix, Jonas, On Mon, 2016-02-01 at 19:21 +0300, Alexey Brodkin wrote: > Hello, > > On Fri, 2016-01-22 at 23:44 +0300, Alexey Brodkin wrote: > > Hi Felix, > > > > On Mon, 2016-01-18 at 20:51 +0300, Alexey Brodkin wrote: > > > This patch introduces suppo

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

2016-02-17 Thread Alexey Brodkin
Hello, On Mon, 2016-01-18 at 20:51 +0300, Alexey Brodkin wrote: > This change adds support of ARC ISAv2 processors in > OpenWRT toolchain. > > In general gcc for ARC may compile code for both ISA versions > simultaneously but libgcc will be built only for default > architectu

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

2016-02-17 Thread Alexey Brodkin
On Mon, 2016-01-18 at 20:51 +0300, Alexey Brodkin wrote: > This patch introduces support of new boards with ARC HS38 cores. > > ARC HS38 is a new generation of ARC cores which utilize ARCv2 ISA. > As with ARC770 we're addind support for 2 boards for now: > >  [1] Syn

[OpenWrt-Devel] [PATCH] mac80211: install old firmware for ath9k-htc on target as well

2016-03-15 Thread Alexey Brodkin
ere moved to 4.4 yet it makes perfect sense to get back installation of older firmwares for compatibility purposes. Signed-off-by: Alexey Brodkin Cc: John Crispin --- package/firmware/linux-firmware/qca.mk | 5 + 1 file changed, 5 insertions(+) diff --git a/package/firmware/linux-firmw

Re: [OpenWrt-Devel] [PATCH] mac80211: install old firmware for ath9k-htc on target as well

2016-03-15 Thread Alexey Brodkin
Hi Paul, On Tue, 2016-03-15 at 17:36 +0300, Paul Fertser wrote: > Hello Alexey, > > Alexey Brodkin writes: > > > > In commit > > http://git.openwrt.org/?p=openwrt.git;a=commit;h=3990e15258808b145226d7e95332c4708f9f9463 > > I got rid of older ath9k_htc firmware

Re: [OpenWrt-Devel] [PATCH] mac80211: install old firmware for ath9k-htc on target as well

2016-03-19 Thread Alexey Brodkin
Hi Paul, On Wed, 2016-03-16 at 12:35 +0300, Paul Fertser wrote: > Hi Alexey, > > On Tue, Mar 15, 2016 at 06:05:29PM +0000, Alexey Brodkin wrote: > > > > Frankly I don't see Oleksij says v1.4 could be moved on top of v1.3 > > file (I mean older file will be replac

Re: [OpenWrt-Devel] [PATCH] mac80211: install old firmware for ath9k-htc on target as well

2016-03-19 Thread Alexey Brodkin
Hi Hauke, On Tue, 2016-03-15 at 23:31 +0100, Hauke Mehrtens wrote: > On 03/15/2016 02:06 PM, Alexey Brodkin wrote: > > > > In commit > > http://git.openwrt.org/?p=openwrt.git;a=commit;h=3990e15258808b145226d7e95332c4708f9f9463 > > I got rid of older ath9k_htc firm

[OpenWrt-Devel] [PATCH] arc770: build kmod-ath9k-htc wpad-mini by default

2016-04-01 Thread Alexey Brodkin
default and axs101 builds. Signed-off-by: Alexey Brodkin --- target/linux/arc770/generic/profiles/00-default.mk | 2 +- target/linux/arc770/generic/profiles/02-axs101.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/arc770/generic/profiles/00-default.mk b

[OpenWrt-Devel] [PATCH] arc770: enable unaligned access handling simulation in software

2016-04-01 Thread Alexey Brodkin
+From af737b55fc7c61f17da9ae89fba536e0a9338e98 Mon Sep 17 00:00:00 2001 +From: Alexey Brodkin +Date: Mon, 14 Mar 2016 17:26:34 +0300 +Subject: [PATCH] arc: enable unaligned access in kernel mode + +This enables misaligned access handling even in kernel mode. +Some wireless drivers (ath9k-htc and mt7601u) use misaligned accesses +her

Re: [OpenWrt-Devel] [PATCH] arc770: enable unaligned access handling simulation in software

2016-04-05 Thread Alexey Brodkin
Hi John, > > From: Alexey Brodkin [abrod...@synopsys.com] > Sent: Friday, April 01, 2016 5:43 PM > To: John Crispin > Cc: openwrt-devel@lists.openwrt.org; Alexey Brodkin > Subject: [PATCH] arc770: enable unaligned access handling simulat

Re: [OpenWrt-Devel] [PATCH] arc770: build kmod-ath9k-htc wpad-mini by default

2016-04-05 Thread Alexey Brodkin
Hi John, > > From: Alexey Brodkin [abrod...@synopsys.com] > Sent: Friday, April 01, 2016 5:39 PM > To: John Crispin > Cc: openwrt-devel@lists.openwrt.org; Alexey Brodkin > Subject: [PATCH] arc770: build kmod-ath9k-htc wpad-mini by default

[OpenWrt-Devel] [PATCH] arc770/axs101: mimic real wireless router

2016-04-08 Thread Alexey Brodkin
nging interfaces: eth0 becomes wan, wlan0 is leff in lan but gets its internal static IP address (192.168.1.1). Signed-off-by: Alexey Brodkin --- target/linux/arc770/base-files/etc/board.d/02_network | 3 ++- target/linux/arc770/generic/profiles/00-default.mk| 2 +- target/linux/arc770/ge

[OpenWrt-Devel] [PATCH] toolchain/uClibc: enable UCLIBC_HAS_OBSOLETE_BSD_SIGNAL

2016-04-14 Thread Alexey Brodkin
: undefined reference to `sigblock' if.c:(.text+0x924): undefined reference to `sigsetmask' -->8 If we enable UCLIBC_HAS_OBSOLETE_BSD_SIGNAL in uClibc then branch with sighold is used in timerPause() and everything builds as expected. Signed-off-by: Alexey

Re: [OpenWrt-Devel] [PATCH] toolchain/uClibc: enable UCLIBC_HAS_OBSOLETE_BSD_SIGNAL

2016-04-15 Thread Alexey Brodkin
Hi Karl, On Fri, 2016-04-15 at 10:01 +, Karl Palsson wrote: > Alexey Brodkin wrote: > > > > This is required to build net-snmp. > What version of net-snmp are you using? Is this because ARC is > still on uclibc instead of musl like everyone else? Indeed as of today the

[OpenWrt-Devel] [PATCH] libffi: bump to version 3.2.1

2016-04-28 Thread Alexey Brodkin
Among many fixes and improvements this new version adds support of ARC architecture (ARC port was actually introduced in v3.1 but while at it why not to update to the most recent version). Which allows to build dependent projects like Python etc. Signed-off-by: Alexey Brodkin --- libs/libffi

[OpenWrt-Devel] Failed to execute /usr/libexec/login.sh

2016-05-11 Thread Alexey Brodkin
Hi Daniel, Looks like one recent commit: ->8- commit a1860283b37c7a26f78c7387227a42219e8b4d4d Author: luka Date:   Tue May 10 22:36:25 2016 + image / basefiles: make console password configurable Signed-off-by: Daniel Dicki

Re: [OpenWrt-Devel] [LEDE-DEV] Failed to execute /usr/libexec/login.sh

2016-05-12 Thread Alexey Brodkin
Hi Alvaro, Daniel, On Thu, 2016-05-12 at 08:36 +0200, Álvaro Fernández Rojas wrote: Hello Daniel, It looks like Luka has already fixed this: https://dev.openwrt.org/changeset/49376 Indeed mentioned commit fixes previously observed problem. Thanks for the pointer. -Alexey __

[OpenWrt-Devel] [PATCH] include/kernel: Do not strip kernel's Elf

2016-05-16 Thread Alexey Brodkin
f flavours could be left a bit bulkier with more debug info inside. Signed-off-by: Alexey Brodkin --- include/kernel-defaults.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/kernel-defaults.mk b/include/kernel-defaults.mk index 406fd46..0166dc5 100644 --- a/incl

Re: [OpenWrt-Devel] [LEDE-DEV] [PATCH] include/kernel: Do not strip kernel's Elf

2016-05-18 Thread Alexey Brodkin
Hi Felix, On Wed, 2016-05-18 at 14:57 +0200, Felix Fietkau wrote: > On 2016-05-16 16:42, Alexey Brodkin wrote: > > > > If an image gets built as an Elf there's a chance > > it will be used by developers for debugging purposes. > > In that case it's very helpf

Re: [OpenWrt-Devel] [LEDE-DEV] [PATCH] include/kernel: Do not strip kernel's Elf

2016-05-18 Thread Alexey Brodkin
Hi Felix, On Wed, 2016-05-18 at 15:49 +0200, Felix Fietkau wrote: > On 2016-05-18 15:06, Alexey Brodkin wrote: > > > > Hi Felix, > > > > On Wed, 2016-05-18 at 14:57 +0200, Felix Fietkau wrote: > > > > > > On 2016-05-16 16:42, Alexey Brodkin wrot

[OpenWrt-Devel] [PATCH] toolchain: Bump ARC tools to arc-2016.03

2016-05-18 Thread Alexey Brodkin
fixes could be found here: https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/tag/arc-2016.03 Signed-off-by: Alexey Brodkin --- toolchain/binutils/Config.in| 8 toolchain/binutils/Config.version | 4

[OpenWrt-Devel] [PATCH] package/util-linux: Fix libmount build under uClibc

2016-05-23 Thread Alexey Brodkin
This fixes util-linux building with uClibc. Patch is taken as it is from Buildroot: https://git.busybox.net/buildroot/plain/package/util-linux/0001-Fix-libmount-build-under-uClibc.patch?id=baccb506a6feabf114623866568121f49712f5df Signed-off-by: Alexey Brodkin --- .../004-Fix-libmount-build

[OpenWrt-Devel] [PATCH] toolchain: uClibc: Bump to the most recent version 1.0.14

2016-05-23 Thread Alexey Brodkin
This change updates uClibc version to the most recent 1.0.14 release. Signed-off-by: Alexey Brodkin --- toolchain/uClibc/Config.version | 2 +- toolchain/uClibc/common.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/toolchain/uClibc/Config.version b/toolchain

[OpenWrt-Devel] [PATCH] _GNU_SOURCE should be defined for building vs uClibc

2016-05-23 Thread Alexey Brodkin
les/procd.dir/build.make:134: recipe for target 'CMakeFiles/procd.dir/inittab.c.o' failed make[6]: *** [CMakeFiles/procd.dir/inittab.c.o] Error 1 ->8-- Signed-off-by: Alexey Brodkin Cc: Waldemar Brodkorb Cc: John Crispin Cc: Jo-Philipp Wich -

[OpenWrt-Devel] [PATCH] procd: Update to latest head

2016-05-24 Thread Alexey Brodkin
This includes a fix for building against uClibc: http://git.openwrt.org/?p=project/procd.git;a=commit;h=9a6f83d3c168523ac7b898ae481c2fd8c501d6a6 Signed-off-by: Alexey Brodkin Cc: John Crispin --- package/system/procd/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

[OpenWrt-Devel] [PATCH] arc: Build uImage as well as vmlinux output files

2016-05-31 Thread Alexey Brodkin
om loading address but also changes from build to build due to initramfs being placed between loading address and text section. To accommodate that feature we have to calculate EP after vmlinux gets built and before call to mkimage. Signed-off-by: Alexey Brodkin --- target/linux/arc770/image/Make

[OpenWrt-Devel] [PATCH] package/devel/gdb: Add support of ARC gdb

2016-06-01 Thread Alexey Brodkin
tion: bash Makefile:699: recipe for target 'stamp-5mloop' failed make[7]: *** [stamp-5mloop] Error 1 >8-------- Signed-off-by: Alexey Brodkin Cc: John Crispin Cc: Felix Fietkau --- package/devel/gdb/Makefile | 23 ++--

Re: [OpenWrt-Devel] [PATCH] package/devel/gdb: Add support of ARC gdb

2016-06-01 Thread Alexey Brodkin
Hi Dirk, On Wed, 2016-06-01 at 18:21 +0200, Dirk Neukirchen wrote: > On 01.06.2016 17:32, Alexey Brodkin wrote: > > > > Also we disable sim because if the following breakage while > > building with it: > > >8 > > /usr/bin/env bash ./.

Re: [OpenWrt-Devel] [LEDE-DEV] [PATCH] package/devel/gdb: Add support of ARC gdb

2016-06-03 Thread Alexey Brodkin
Hi John, On Fri, 2016-06-03 at 11:09 +0200, John Crispin wrote: > Hi, > > On 01/06/2016 17:32, Alexey Brodkin wrote: > > > > As of today gdb port for ARC is not yet in upstream even though > > we're working hard on that. > > > > Still to allow

[OpenWrt-Devel] [PATCH] package/devel/gdb-arc: Add target GDB for ARC

2016-06-07 Thread Alexey Brodkin
stuff gets uptreamed we'll only need to remove that new "gdb-arc" package. Note 1 very minor change in generic gdb package was done - it now depends on !arc (while "gdb-arc" depends on "arc"). Signed-off-by: Alexey Brodkin --- package/devel/{

[OpenWrt-Devel] [PATCH] toolchain/gdb: Use correct folder name for ARC patches

2016-06-09 Thread Alexey Brodkin
ff-by: Alexey Brodkin --- .../100-no_extern_inline.patch | 0 .../{arc-2016.03 => arc-2016.03-gdb}/110-no_testsuite.patch | 0 .../120-fix-compile-flag-mismatch.patch | 0 .../gdb/patches/arc-2016.03/200-arc-fix-target-mask.patc

[OpenWrt-Devel] [PATCH] linux: arc: disable kernel unwinding to fix modules loading

2016-06-22 Thread Alexey Brodkin
es again. Signed-off-by: Alexey Brodkin Cc: Vineet Gupta Cc: John Crispin --- target/linux/arc770/config-4.4 | 3 +-- target/linux/archs38/config-4.4 | 4 +--- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/target/linux/arc770/config-4.4 b/target/linux/arc770/config-4.4 index 87

[OpenWrt-Devel] Add ARC platforms to platforms wiki

2016-07-21 Thread Alexey Brodkin
Hello, I'm wondering if there's a chance to add information about ARC platforms in the Wiki here https://dev.openwrt.org/wiki/platforms? I think something like this will work == Target name Platfor

Re: [OpenWrt-Devel] Add ARC platforms to platforms wiki

2016-07-21 Thread Alexey Brodkin
Hi Florian, On Thu, 2016-07-21 at 11:23 -0700, Florian Fainelli wrote: > On 07/21/2016 10:45 AM, Alexey Brodkin wrote: > > > > Hello, > > > > I'm wondering if there's a chance to add information about ARC > > platforms in the Wiki here https://dev.open

[OpenWrt-Devel] Do we really need 000-keep_initrafs_the_default.patch?

2016-07-22 Thread Alexey Brodkin
Hello, I'm wondering why there's a need for "000-keep_initrafs_the_default.patch"? It could be found here: -->8 target/linux/generic/patches-3.18/000-keep_initrafs_the_default.patch target/linux/generic/patches-4.1/000-keep_initrafs_the_default.patch target/

[OpenWrt-Devel] [PATCH] sunxi/pcduino3: Remove selection of absent rtl8188eu

2016-07-22 Thread Alexey Brodkin
Since commit 217a64375547 "wireless: remove rtl8188eu (staging)" there's no point in selection of the missing module. Signed-off-by: Alexey Brodkin Cc: John Crispin Cc: Zoltan Herpai --- target/linux/sunxi/profiles/pcduino3.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[OpenWrt-Devel] [PATCH] linux: Get rid of 000-keep_initrafs_the_default.patch

2016-07-22 Thread Alexey Brodkin
le for that patch we're getting rid of it. Signed-off-by: Alexey Brodkin Cc: Jonas Gorski Cc: Rafał Miłecki Cc: John Crispin Cc: Felix Fietkau --- .../000-keep_initrafs_the_default.patch| 25 -- .../000-keep_initrafs_the_default.patch| 25 -

[OpenWrt-Devel] [PATCH] linux/arc*: disable MAC frame filter in DW GMAC

2016-07-27 Thread Alexey Brodkin
a bridge with wlan0. Signed-off-by: Alexey Brodkin --- ...-stmmac-Disable-fame-filtering-completely.patch | 36 ++ ...-stmmac-Disable-fame-filtering-completely.patch | 36 ++ 2 files changed, 72 insertions(+) create mode 100644 target/linux/arc770/pa

[OpenWrt-Devel] [PATCH] toolchain/gcc/arc-2016.03: Fix building on hosts with gcc 6.x

2016-07-27 Thread Alexey Brodkin
x is already a part of gcc-5.4 and gcc-6.1 so no need for the same fix for others. Signed-off-by: Alexey Brodkin --- .../arc-2016.03/950-fix-building-with-gcc6.patch | 153 + 1 file changed, 153 insertions(+) create mode 100644 toolchain/gcc/patches/arc-2016.03/950-fix-building-

Re: [OpenWrt-Devel] [LEDE-DEV] [PATCH] linux/arc*: disable MAC frame filter in DW GMAC

2016-07-27 Thread Alexey Brodkin
Hi Felix, On Wed, 2016-07-27 at 17:19 +0200, Felix Fietkau wrote: > On 2016-07-27 14:11, Alexey Brodkin wrote: > > > > For some [still unknown] reason in ARC SDP boards > > DW GMAC doesn't enter promiscuous mode if eth0 gets > > added to the br-lan interf

Re: [OpenWrt-Devel] [LEDE-DEV] [PATCH] linux/arc*: disable MAC frame filter in DW GMAC

2016-08-15 Thread Alexey Brodkin
Hi Felix, On Wed, 2016-07-27 at 17:19 +0200, Felix Fietkau wrote: > On 2016-07-27 14:11, Alexey Brodkin wrote: > > > > For some [still unknown] reason in ARC SDP boards > > DW GMAC doesn't enter promiscuous mode if eth0 gets > > added to the br-lan interf

Re: [OpenWrt-Devel] [LEDE-DEV] [PATCH] linux/arc*: disable MAC frame filter in DW GMAC

2016-08-17 Thread Alexey Brodkin
Hi Daniel, On Tue, 2016-08-16 at 17:12 +0200, Daniel Golle wrote: > Hi Alexey, > > On Tue, Aug 16, 2016 at 06:06:20AM +0000, Alexey Brodkin wrote: > > > > Hi Felix, > > > > On Wed, 2016-07-27 at 17:19 +0200, Felix Fietkau wrote: > > > >

Re: [OpenWrt-Devel] [PATCH] toolchain/uClibc: add support of uClibc-ng

2015-09-30 Thread Alexey Brodkin
Hi Alexander, On Wed, 2015-09-30 at 22:37 +0200, Alexander Couzens wrote: > Hi, > > what's the state of this patch? > > I'm unbreaking sparc for OpenWrt and uclibc is broken as already > mentioned. musl doesn't support sparc :(. Unfortunately I haven't heard anything back except that musl is th

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

2015-11-02 Thread Alexey Brodkin
sired architecture. Signed-off-by: Alexey Brodkin Cc: Waldemar Brodkorb Cc: Mathieu Olivari Cc: Felix Fietkau Cc: John Crispin --- toolchain/uClibc/Config.version | 2 +- toolchain/uClibc/{config-ng-1.0.6 => config-ng-1.0.8}/arm | 0 toolchai

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

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

[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

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

2015-11-02 Thread Alexey Brodkin
iled make[7]: *** [stamp-5mloop] Error 1 >8 Prerequisites are: [1] http://patchwork.ozlabs.org/patch/539068/ which bumps uClibc-ng version from 1.0.6 to 1.0.8 [2] http://patchwork.ozlabs.org/patch/502022 which updates config.guess and config.sub Cc: Felix Fietkau Cc:

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

2015-11-02 Thread Alexey Brodkin
are: [1] http://patchwork.ozlabs.org/patch/502081/ which allows proper selection of ARC architecture for building Linux kernel. Cc: Felix Fietkau Cc: Jo-Philipp Wich Signed-off-by: Alexey Brodkin --- Changes compared to v1: * Switched to SoC-centered design. Now instead of common ARC700 support we c

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 ups

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

2015-11-02 Thread Alexey Brodkin
=openwrt.git;a=commit;h=b70a36d1d969f5aa9ad081c9a395633793582a5a Alexey Brodkin (2): toolchain: add support of ARC architecture linux: add support of Synopsys ARC770-based boards include/kernel.mk | 2 + include/site/arc | 30

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

2015-11-02 Thread Alexey Brodkin
iled make[7]: *** [stamp-5mloop] Error 1 >8 Cc: Felix Fietkau Cc: John Crispin Signed-off-by: Alexey Brodkin --- Changes compared to v2: * Rebased on top of the current master. In particular that commit touches uClibc files: http://git.openwrt.org/?p=openwrt.git;a=

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

2015-11-02 Thread Alexey Brodkin
their line lengths, additional hardware blocks like multipliers, dividers etc. And this board could be used to make sure built software still runs on different HW configurations. Cc: Felix Fietkau Cc: Jo-Philipp Wich Signed-off-by: Alexey Brodkin --- Changes compared to v2: * Fixed

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

2015-11-03 Thread Alexey Brodkin
Hi Felix, On Tue, 2015-11-03 at 08:43 +0100, Felix Fietkau wrote: > On 2015-11-03 00:27, Alexey Brodkin wrote: > > This patch introduces support of new boards with ARC cores. [snip] > > diff --git a/include/kernel.mk b/include/kernel.mk > > index 6a613fe..878a366 100

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

2015-11-04 Thread Alexey Brodkin
Hi Jonas, On Wed, 2015-11-04 at 13:06 +0100, Jonas Gorski wrote: > Hi, > > On Tue, Nov 3, 2015 at 12:27 AM, Alexey Brodkin > wrote: > > This patch introduces support of new boards with ARC cores. > > > > [1] Synopsys SDP board > > This is a new-genera

[OpenWrt-Devel] [PATCH] include/image.mk: use KERNEL_SUFFIX in Device/Build/initramfs

2015-11-05 Thread Alexey Brodkin
Otherwise default binary vmlinux (without extension) is used and resulting images then are binaries instead of elfs. Signed-off-by: Alexey Brodkin Cc: Felix Fietkau Cc: John Crispin --- include/image.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/image.mk b/includ

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

2015-11-05 Thread Alexey Brodkin
Hi Jonas, On Wed, 2015-11-04 at 20:22 +0300, Alexey Brodkin wrote: > Hi Jonas, > > On Wed, 2015-11-04 at 13:06 +0100, Jonas Gorski wrote: > > Hi, > > > > On Tue, Nov 3, 2015 at 12:27 AM, Alexey Brodkin > > wrote: > > > + ;; >

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

2015-11-05 Thread Alexey Brodkin
Hi Jonas, On Thu, 2015-11-05 at 20:04 +0100, Jonas Gorski wrote: > Hi Alexey, > > On Thu, Nov 5, 2015 at 7:14 PM, Alexey Brodkin > wrote: > > Hi Jonas, > > > > On Wed, 2015-11-04 at 20:22 +0300, Alexey Brodkin wrote: > > > Hi Jonas, > > > >

  1   2   >