Re: [LEDE-DEV] [PATCH] archs38: bump kernel to 4.14.

2018-01-29 Thread Alexey Brodkin
Hi Claudiu, Could you please comment on the question from Hauke below? On Sat, 2018-01-27 at 16:36 +0100, Hauke Mehrtens wrote: > Does the arc CPU also need some special handling like some MIPS CPUs: >

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

2018-01-24 Thread Alexey Brodkin
t.com/v2/url?u=https-3A__github.com_foss-2Dfor-2Dsynopsys-2Ddwc-2Darc-2Dprocessors_toolchain_releases_tag_arc-2D2017 > > .09-2Drelease=DwICaQ=DPL6_X_6JkXFx7AXWqB0tg=lqdeeSSEes0GFDDl656eViXO7breS55ytWkhpk5R81I=2rUJ8ayGY- > > 54h0qn7dft_Zi3T1jFwJ88tA46p6c9l_I=U9snLQpnWd5Ku9JtYuf1pnf0YOcXzlrV5CnhDxTAepU= > > &g

Re: [LEDE-DEV] arc770 uclibc usage

2017-10-30 Thread Alexey Brodkin
Hi Hans, On Mon, 2017-10-30 at 18:36 +0100, Hans Dedecker wrote: > Hi Alexey, > > The arc770 target still uses uClibc which causes a build failure in > iproute2 on the phase 1 buildbot >

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

2017-06-26 Thread Alexey Brodkin
Signed-off-by: Evgeniy Didin <di...@synopsys.com> > > Cc: Alexey Brodkin <abrod...@synopsys.com> > > Cc: John Crispin <j...@phrozen.org> > > --- > > When will the ARC CPU be supported in mainline gcc and binutils so we do > not have to use a special arc toolchain

[LEDE-DEV] [PATCH] perf: Disable perf for ARC770 only, enable for ARC HS38

2017-05-03 Thread Alexey Brodkin
has no way to extract CPU config options from Kconfig/defconfig it uses compiler default settings. In case of ARCv2 (read ARC HS38) atomics are enabled by default and so perf builds perfectly fine thus reenabling perf for ARC HS38 (actually for non-ARC700 targets). Signed-off-by: Alexey Brodkin &l

[LEDE-DEV] [PATCH] linux-4.9: Fix building of DWC3 module

2017-05-02 Thread Alexey Brodkin
a generic issue which may affect more arches and platforms thus putting it in "generic/" folder. Signed-off-by: Alexey Brodkin <alexey.brod...@synopsys.com> --- ...90-usb-Make-sure-usb-phy-of-gets-built-in.patch | 54 ++ 1 file changed, 54 insertions(+) create mod

Re: [LEDE-DEV] [PATCH 2/2] target/arc770: switch to 4.9 kernel

2017-04-25 Thread Alexey Brodkin
Hi Felix, On Thu, 2017-04-13 at 15:42 +0300, Alexey Brodkin wrote: [snip] > As you might have seen from my email to USB mailing list I > was able to nail down the problem (which apparently has nothing to do > with ARC or any other architecture in particular). > > I think i

Re: [LEDE-DEV] [PATCH 2/2] target/arc770: switch to 4.9 kernel

2017-04-13 Thread Alexey Brodkin
Hi Felix, On Wed, 2017-04-12 at 12:04 +0300, Alexey Brodkin wrote: > Hi Felix, > > > On Wed, 2017-04-12 at 10:53 +0200, Felix Fietkau wrote: > > > > On 2017-03-12 17:06, Felix Fietkau wrote: > > > > > > > > > On 2017-03-10 17:01, Alexe

Re: [LEDE-DEV] [PATCH 2/2] target/arc770: switch to 4.9 kernel

2017-04-12 Thread Alexey Brodkin
Hi Felix, On Wed, 2017-04-12 at 10:53 +0200, Felix Fietkau wrote: > On 2017-03-12 17:06, Felix Fietkau wrote: > > > > On 2017-03-10 17:01, Alexey Brodkin wrote: > > > > > > Hi Felix, > > > > > > On Fri, 2017-03-10 at 16:59 +0100, Felix

[LEDE-DEV] [PATCH] libnl: Fix building with uClibc

2017-03-13 Thread Alexey Brodkin
-by: Alexey Brodkin <alexey.brod...@synopsys.com> Cc: Felix Fietkau <n...@nbd.name> Cc: John Crispin <j...@phrozen.org> Cc: Daniel Engberg <daniel.engberg.li...@pyret.net> --- ...usage-of-strerror_l-if-it-doesn-t-exist-i.patch | 105 + 1 file changed, 105 in

Re: [LEDE-DEV] [PATCH 2/2] target/arc770: switch to 4.9 kernel

2017-03-10 Thread Alexey Brodkin
Hi Felix, On Fri, 2017-03-10 at 16:59 +0100, Felix Fietkau wrote: > On 2017-03-10 16:57, Alexey Brodkin wrote: > > > > Completely forgot about feeds, sorry. > > So what I did now was "./scripts/feed uninstall -a", selected ARC770 board, > > enabled CONFIG

[LEDE-DEV] [PATCH 2/2] target/arc770: switch to 4.9 kernel

2017-03-06 Thread Alexey Brodkin
With update of ARC tools to arc-2016.09 based on GCC v6.x we have to bump Linux kernel version so both toolchain and the kernel use the same ARC ABIv4. Signed-off-by: Alexey Brodkin <alexey.brod...@synopsys.com> --- target/linux/arc770/Makefile | 2 +- target/linux/

[LEDE-DEV] [PATCH 1/2] target/archs38: switch to 4.9 kernel

2017-03-06 Thread Alexey Brodkin
With update of ARC tools to arc-2016.09 based on GCC v6.x we have to bump Linux kernel version so both toolchain and the kernel use the same ARC ABIv4. Signed-off-by: Alexey Brodkin <alexey.brod...@synopsys.com> --- target/linux/archs38/Makefile | 2 +- target/linux/a

[LEDE-DEV] [PATCH 0/2] ARC: Bump Linux kernel to v4.9

2017-03-06 Thread Alexey Brodkin
Now when Linux kernel v4.9 is adopted in Lede/OpenWrt we may safly and very easy switch to it for ARC boards. Alexey Brodkin (2): target/archs38: switch to 4.9 kernel target/arc770: switch to 4.9 kernel target/linux/arc770/Makefile | 2 +- target/linux/arc770/{config

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

2017-02-27 Thread Alexey Brodkin
/726687/ Signed-off-by: Alexey Brodkin <alexey.brod...@synopsys.com> --- Changes v1 -> v2: * GCC_USE_GRAPHITE option is restored, only dependency on !GCC_VERSION_4_8_ARC is now removed. package/devel/gdb-arc/Makefile | 6 +- toolchain/binutils/

Re: [LEDE-DEV] [PATCH] packages/utils/cryptodev-linux: Update to current master

2017-02-27 Thread Alexey Brodkin
Hi John, On Mon, 2017-02-20 at 09:24 +0100, John Crispin wrote: > > On 15/02/2017 14:19, Alexey Brodkin wrote: > > > > From: Alexey Brodkin <alexey.brod...@synopsys.com> > > > > This allows us to build kernel's crypto modules in Linux v4.9. > > Oth

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

2017-02-15 Thread Alexey Brodkin
/726687/ Signed-off-by: Alexey Brodkin <alexey.brod...@synopsys.com> --- package/devel/gdb-arc/Makefile | 6 +- toolchain/binutils/Config.in | 8 +- toolchain/binutils/Config.version | 4 +- toolchain/binutils/Ma

[LEDE-DEV] [PATCH] packages/utils/cryptodev-linux: Update to current master

2017-02-15 Thread Alexey Brodkin
From: Alexey Brodkin <alexey.brod...@synopsys.com> This allows us to build kernel's crypto modules in Linux v4.9. Otherwise we're seeing the following breakage: --->8- ...//openwrt/build_dir/target-arc_arc700_uClibc/linux-arc770_generic/cryptodev-

Re: [LEDE-DEV] [OpenWrt-Devel] [PATCH] packages: Use https instead of git

2017-02-15 Thread Alexey Brodkin
Hi Imre, On Wed, 2017-02-15 at 13:20 +0100, Imre Kaloz wrote: > Hi Alexey, > > On 2017-02-15 11:11, Alexey Brodkin wrote: > > > > From: Alexey Brodkin <alexey.brod...@synopsys.com> > > > > On some [especially corporate] networks non-standard ports are

[LEDE-DEV] [PATCH] telephony: Use https instead of git

2017-02-15 Thread Alexey Brodkin
From: Alexey Brodkin <alexey.brod...@synopsys.com> On some [especially corporate] networks non-standard ports are blocked and git is one of them. So switch to more convenient https transport. Signed-off-by: Alexey Brodkin <alexey.brod...@synopsys.com> --- net/rtpproxy/Makefile |

[LEDE-DEV] [PATCH] routing: Use https instead of git

2017-02-15 Thread Alexey Brodkin
From: Alexey Brodkin <alexey.brod...@synopsys.com> On some [especially corporate] networks non-standard ports are blocked and git is one of them. So switch to more convenient https transport. Signed-off-by: Alexey Brodkin <alexey.brod...@synopsys.com> --- batmand/Makefile

[LEDE-DEV] [PATCH] packages: Use https instead of git

2017-02-15 Thread Alexey Brodkin
From: Alexey Brodkin <alexey.brod...@synopsys.com> On some [especially corporate] networks non-standard ports are blocked and git is one of them. So switch to more convenient https transport. Signed-off-by: Alexey Brodkin <alexey.brod...@synopsys.com> --- libs/dmx_usb_module/M

[LEDE-DEV] [RFC 1/5] toolchain: Switch ARC to upstream binutils and gcc

2017-02-10 Thread Alexey Brodkin
from v4.8, i.e. Linux kernel 4.4 won't work with user-space apps built GCC 6.x so subsequent kernel version bump for ARC is really a must. Signed-off-by: Alexey Brodkin <alexey.brod...@synopsys.com> --- toolchain/binutils/Config.in | 9 +- toolchain/binutils/Config.v

[LEDE-DEV] [RFC 5/5] target/arc770: switch to 4.9 kernel

2017-02-10 Thread Alexey Brodkin
With switch to GCC v6.x we have to bump Linux kernel version so both toolchain and the kernel use the same ARC ABIv4. Signed-off-by: Alexey Brodkin <alexey.brod...@synopsys.com> --- target/linux/arc770/Makefile | 2 +- target/linux/arc770/{config-4.4 => c

[LEDE-DEV] [RFC 0/5] Updates for ARC

2017-02-10 Thread Alexey Brodkin
. Anyways all comments are more than welcome! P.S. Even though that's an RFC system built with that series boots :) [1] https://github.com/foss-for-synopsys-dwc-arc-processors/linux/wiki/ARC-Linux-Syscall-ABI-Compatibility#33-abi-v4 Alexey Brodkin (5): toolchain: Switch ARC to upstream binutils

[LEDE-DEV] [RFC 2/5] toolchain: gcc: Keep testsuite folder to simplify generation of patches

2017-02-10 Thread Alexey Brodkin
Since we're going to put a bunch of patches for ARC generated with "git format-patch" missing "testsuite" folder will cause failures on application of those patches. With "testsuite" in place all our patches are applied flawlessly. Signed-off-by: Alexey Brodki

[LEDE-DEV] [PATCH] toolchain/uclibc: Fix unmanned configuration with "V=s"

2017-02-10 Thread Alexey Brodkin
/null" which automatically answers all questions :) Signed-off-by: Alexey Brodkin <alexey.brod...@synopsys.com> --- toolchain/uClibc/common.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolchain/uClibc/common.mk b/toolchain/uClibc/common.mk index 35f4f80..1d4f

Re: [LEDE-DEV] Switching to upstream binutils for ARC

2017-02-10 Thread Alexey Brodkin
Hi Felix, On Tue, 2017-02-07 at 19:46 +0300, Alexey Brodkin wrote: > Hi Felix, > > On Tue, 2017-02-07 at 10:43 +0100, Felix Fietkau wrote: > > > > Hi Alexey, > > > > I will soon push a change to switch to binutils 2.27 by default. It > > seems that

[LEDE-DEV] [PATCH] ARC: use -mcpu=XXX instead of obsolete -mXXX

2017-02-08 Thread Alexey Brodkin
with current tools. Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> Cc: John Crispin <j...@phrozen.org> --- include/target.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/target.mk b/include/target.mk index 3099448..5490d48 100644 --- a/inclu

Re: [LEDE-DEV] [LEDE 17.01] ubox: update hash for ubox-2017-01-15-5649c028.tar.xz

2017-02-08 Thread Alexey Brodkin
Hi John, On Wed, 2017-02-08 at 16:20 +0100, John Crispin wrote: > Hi, > > superseded by a procd update in my staging tree. Ok I just wanted to make sure we may build reliably everything from the very scratch (i.e. after "make distclean") for 2017.01 release. -Alexey

[LEDE-DEV] [LEDE 17.01] ubox: update hash for ubox-2017-01-15-5649c028.tar.xz

2017-02-08 Thread Alexey Brodkin
sha256sum for both http://sources.lede-project.org/ubox-2017-01-15-5649c028.tar.xz and locally created archive from git doesn't match expected ae77504a4397f92173a7646fa3555e5b51abd7ff1dd1c419770223359e41937a So we update checksum. Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> Cc

Re: [LEDE-DEV] Switching to upstream binutils for ARC

2017-02-07 Thread Alexey Brodkin
Hi Felix, On Tue, 2017-02-07 at 10:43 +0100, Felix Fietkau wrote: > Hi Alexey, > > I will soon push a change to switch to binutils 2.27 by default. It > seems that since 2.26, binutils has gained support for ARC. > Can we get rid of the ARC specific binutils version then, or does it > still have

Re: [LEDE-DEV] ath9k crashes

2017-02-01 Thread Alexey Brodkin
Hi Felix, Koen, On Tue, 2017-01-31 at 08:27 +0100, Felix Fietkau wrote: > On 2017-01-30 14:50, Koen Vandeputte wrote: > > > > Hi Felix, > > > > Since the latest ath9k fixes you've submitted I've seen a few NULL  > > derefs on my cns3xxx boards the past few days. > > > > I'm not sure if these

[LEDE-DEV] [PATCH v2] mac80211: Make wlcore platform-independent

2016-11-10 Thread Alexey Brodkin
instead we add dependency on MMC because this Wi-Fi module uses SDIO interface. Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> Cc: Jo-Philipp Wich <j...@mein.io> Cc: Felix Fietkau <n...@nbd.name> Cc: Imre Kaloz <ka...@openwrt.org> --- Changes v1 -> v2: * Added dependen

Re: [LEDE-DEV] [PATCH] mac80211: Make wlcore platform-independent

2016-11-10 Thread Alexey Brodkin
Hi Felix, On Tue, 2016-11-08 at 16:08 +0100, Felix Fietkau wrote: > On 2016-11-08 15:46, Alexey Brodkin wrote: > > > > TI wl18xx and wl12xx are Wi-Fi/Bluetooth combo modules > > that could be found on different existing boards. > > > > But it is possible t

[LEDE-DEV] [PATCH] mac80211: Make wlcore platform-independent

2016-11-08 Thread Alexey Brodkin
. Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> Cc: Jo-Philipp Wich <j...@mein.io> Cc: Felix Fietkau <n...@nbd.name> Cc: Imre Kaloz <ka...@openwrt.org> --- package/kernel/mac80211/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/ke

Re: [LEDE-DEV] [PATCH] tools/cmake: Fix building with openssl libs in non-default location

2016-09-19 Thread Alexey Brodkin
Hi John, Felix, On Thu, 2016-09-15 at 23:21 +0300, Alexey Brodkin wrote: > Hi John, > On Thu, 2016-08-18 at 09:40 +0200, John Crispin wrote: > > On 17/08/2016 16:53, Alexey Brodkin wrote: > > > On Wed, 2016-08-17 at 16:51 +0200, John Crispin wrote: > > > > On

Re: [LEDE-DEV] [PATCH] tools/cmake: Fix building with openssl libs in non-default location

2016-09-15 Thread Alexey Brodkin
Hi John, On Thu, 2016-08-18 at 09:40 +0200, John Crispin wrote: > > On 17/08/2016 16:53, Alexey Brodkin wrote: > > > > Hi John, > > > > On Wed, 2016-08-17 at 16:51 +0200, John Crispin wrote: > > > > > > > > > On 17/08/2016 16:49

[LEDE-DEV] [PATCH 4/4] arc770: Introduce images for SD-cards

2016-08-24 Thread Alexey Brodkin
-less simulators for testing still. Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> Cc: John Crispin <j...@phrozen.org> Cc: Jo-Philipp Wich <j...@mein.io> --- target/linux/arc770/generic/profiles/01-minimal.mk | 15 target/linux/arc770/generic/profiles/

[LEDE-DEV] [PATCH 3/4] arc770: Remove MMC kernel modules, they are built-in now

2016-08-24 Thread Alexey Brodkin
If we want to boot from SD-card we need to have corresponding drivers already built-in so there's no point in having these modules. Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> --- target/linux/arc770/generic/profiles/00-default.mk | 2 +- target/linux/arc770/generic/profiles/02-

[LEDE-DEV] [PATCH 1/4] arc770: Reduce generalization

2016-08-24 Thread Alexey Brodkin
and cleaner. Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> --- target/linux/arc770/image/Makefile | 38 +- 1 file changed, 13 insertions(+), 25 deletions(-) diff --git a/target/linux/arc770/image/Makefile b/target/linux/arc770/image/Makefile

[LEDE-DEV] [PATCH 0/4] arc770: Introduce images for SD-cards

2016-08-24 Thread Alexey Brodkin
and the last one which makes a real difference. Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> Alexey Brodkin (4): arc770: Reduce generalization arc770: Update kernel configuration arc770: Remove MMC kernel modules, they are built-in now arc770: Introduce images for SD-cards

[LEDE-DEV] [PATCH 2/4] arc770: Update kernel configuration

2016-08-24 Thread Alexey Brodkin
look for command line and what's worse device tree blob (we had to disable this by default for cases when kernel is loaded by JTAG and core registers may have undefined state lading to kernel going bonkers). Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> --- target/linux/arc770/confi

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

2016-08-24 Thread Alexey Brodkin
nd there's no indication any other boards with DW GMAC suffer from the same issue we're patching only kernel for ARC boards. Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> Cc: John Crispin <j...@phrozen.org>, Cc: Felix Fietkau <n...@nbd.name> --- Since initial post of the patch we mad

Re: [LEDE-DEV] Snapshots for ARC770 & ARCHS38

2016-08-18 Thread Alexey Brodkin
Hi Jo, On Thu, 2016-08-18 at 15:13 +0200, Jo-Philipp Wich wrote: > We really need to find a way to combine that, that subtarget churn is > taking precious resources. > > Any subtarget change requires manual intervention on the builders, > manual intervention on the rsync mirrors and between 30

Re: [LEDE-DEV] Snapshots for ARC770 & ARCHS38

2016-08-18 Thread Alexey Brodkin
Hi Jo, On Thu, 2016-07-21 at 14:46 +0200, Jo-Philipp Wich wrote: > Hi Alexey, > > I removed the outdated directories - thanks for the heads-up. With recent changes (in particular I mean https://git.lede-project.org/?p=source.git;a=commit;h=df4f41261cf9da3cb1681c7495c51badfe1d999c) instead one

Re: [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: [LEDE-DEV] [PATCH] tools/cmake: Fix building with openssl libs in non-default location

2016-08-17 Thread Alexey Brodkin
Hi John, On Wed, 2016-08-17 at 16:51 +0200, John Crispin wrote: > > On 17/08/2016 16:49, Alexey Brodkin wrote: > > > > Hi John, > > > > On Wed, 2016-08-17 at 09:20 +0200, John Crispin wrote: > > > > > > > > > On 16/08/2016 12:43,

Re: [LEDE-DEV] [PATCH] tools/cmake: Fix building with openssl libs in non-default location

2016-08-17 Thread Alexey Brodkin
Hi John, On Wed, 2016-08-17 at 09:20 +0200, John Crispin wrote: > > On 16/08/2016 12:43, Alexey Brodkin wrote: > > > > For some reason CMake's buildsystem searches for openssl libs > > on Linux either in /usr/libX, /usr/local/libX or in OPENSSL_ROOT_DIR > > ignorin

[LEDE-DEV] [PATCH 1/5] arc: use patched .dts from sources

2016-08-16 Thread Alexey Brodkin
x-snps-arc/2016-August/001394.html Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> Cc: Jonas Gorski <jonas.gor...@gmail.com> Cc: John Crispin <j...@phrozen.org> --- target/linux/arc770/dts/axc001.dtsi| 100 - target/linux/arc770/dts/axs101.dts

[LEDE-DEV] [PATCH 3/5] archs38: Update kernel configuration

2016-08-16 Thread Alexey Brodkin
look for command line and what's worse device tree blob (we had to disable this by default for cases when kernel is loaded by JTAG and core registers may have undefined state lading to kernel going bonkers). Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> --- target/linux/archs38/confi

[LEDE-DEV] [PATCH 5/5] archs38: Introduce images for SD-cards

2016-08-16 Thread Alexey Brodkin
-less simulators for testing still. Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> Cc: John Crispin <j...@phrozen.org> --- target/linux/archs38/Makefile | 2 +- .../linux/archs38/generic/profiles/01-minimal.mk | 15 target/linux/archs38/generic

[LEDE-DEV] [PATCH 2/5] archs38: Reduce generalization

2016-08-16 Thread Alexey Brodkin
compact and cleaner. Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> --- target/linux/archs38/image/Makefile | 34 +++--- 1 file changed, 11 insertions(+), 23 deletions(-) diff --git a/target/linux/archs38/image/Makefile b/target/linux/archs38/image/Makefile

[LEDE-DEV] [PATCH 4/5] archs38: Remove MMC kernel modules, they are built-in now

2016-08-16 Thread Alexey Brodkin
If we want to boot from SD-card we need to have corresponding drivers already built-in so there's no point in having these modules. Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> --- target/linux/archs38/generic/profiles/00-default.mk | 2 +- target/linux/archs38/generic/profi

[LEDE-DEV] [PATCH] tools/tar: Bump to 1.29

2016-08-16 Thread Alexey Brodkin
This change updates tar from 1.28 to 1.29. Among other changes following commit http://git.savannah.gnu.org/cgit/tar.git/commit/lib/xattr-at.c?h=9c2b57232e3bc2e5ba85387560bcdd851849a128 substitutes previously used off-the-tree patch 100-fix_xattr_disable.patch Signed-off-by: Alexey Brodkin <ab

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

2016-08-16 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 interface b

Re: [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 interface b

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

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

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

2016-07-27 Thread Alexey Brodkin
with wlan0. Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> --- ...-stmmac-Disable-fame-filtering-completely.patch | 36 ++ ...-stmmac-Disable-fame-filtering-completely.patch | 36 ++ 2 files changed, 72 insertions(+) create mode 100644 tar

[LEDE-DEV] [PATCH] linux: Get rid of 000-keep_initrafs_the_default.patch

2016-07-22 Thread Alexey Brodkin
e getting rid of it. Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> Cc: Jonas Gorski <jonas.gor...@gmail.com> Cc: Rafał Miłecki <zaj...@gmail.com> Cc: John Crispin <j...@phrozen.org> Cc: Felix Fietkau <n...@nbd.name> --- .../000-keep_initrafs_the

[LEDE-DEV] 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

Re: [LEDE-DEV] [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.openwrt.org/

[LEDE-DEV] 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

[LEDE-DEV] DHCP via bridge in case of IPv4

2016-07-09 Thread Alexey Brodkin
Hello, I was playing with quite simple bridged setup on different boards with very recent kernels (4.6.3 as of this writing) and found one interesting behavior that I cannot yet understand and googling din't help here as well. My setup is pretty simple: -   -- 

[LEDE-DEV] [PATCH 1/2 v2] Revert "linux: arc: disable kernel unwinding to fix modules loading"

2016-07-08 Thread Alexey Brodkin
This reverts commit acd41539d630688e9891003c9b51cace3e113316. There's a fix in upstream that will at some point land in 4.4 stable as well so we'll get rid of this hack and with the next commit will apply upstream fix. Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> --- No chan

[LEDE-DEV] [PATCH 2/2 v2] kernel: Add upstream fix for module loading

2016-07-08 Thread Alexey Brodkin
Instead of disabling unwinding entirely this upstream patch just disables generation of async unwind tables. Once the patch in question lands in stable 4.4 tree this change essentially must be removed (otherwise patch application will fail). Signed-off-by: Alexey Brodkin <abrod...@synopsys.

[LEDE-DEV] [PATCH 0/2] kernel: arc: Better fix for modules loading

2016-07-07 Thread Alexey Brodkin
Current fix in Lede/OpenWRT was done when upstream kernel had no similar fix. Now when upstream fix is available let's take it. Alexey Brodkin (2): Revert "linux: arc: disable kernel unwinding to fix modules loading" kernel: Add upstream fix for module loading target/linux/arc770/

[LEDE-DEV] [PATCH 1/2] Revert "linux: arc: disable kernel unwinding to fix modules loading"

2016-07-07 Thread Alexey Brodkin
This reverts commit acd41539d630688e9891003c9b51cace3e113316. There's a fix in upstream that will at some point land in 4.4 stable as well so we'll get rid of this hack and with the next commit will apply upstream fix. Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> --- target

[LEDE-DEV] [PATCH 2/2] kernel: Add upstream fix for module loading

2016-07-07 Thread Alexey Brodkin
/cgit/linux/kernel/git/torvalds/linux.git/commit/arch/arc?id=f52e126cc7476196f44f3c313b7d9f0699a881fc Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> --- ...ensure-that-.debug_frame-is-generated-vs..patch | 46 ++ 1 file changed, 46 insertions(+) create mode 100644

[LEDE-DEV] [PATCH 1/2] Revert "linux: arc: disable kernel unwinding to fix modules loading"

2016-07-07 Thread Alexey Brodkin
This reverts commit acd41539d630688e9891003c9b51cace3e113316. There's a fix in upstream that will at some point land in 4.4 stable as well so we'll get rid of this hack and with the next commit will apply upstream fix. Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> --- target

[LEDE-DEV] [PATCH] linux/archs38: Add wireless AP capabilities similarly to axs101

2016-07-07 Thread Alexey Brodkin
Now when ath9k-htc USB dongle works with axs103 in OHCI mode quite fine adding corresponding features to default configuration. Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> --- target/linux/archs38/generic/profiles/00-default.mk | 2 +- target/linux/archs38/generic/profiles/02-axs

[LEDE-DEV] [PATCH] linux/archs38: Disable USB 2.0

2016-07-05 Thread Alexey Brodkin
As of today USB 2.0 (AKA EHCI) doesn't work on axs103 board and so there's no reason to build corresponding software for it. Once USB 2.0 gets fixed on axs103 thi patch might be reverted. Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> --- target/linux/archs38/generic/profi

Re: [LEDE-DEV] Add Synopsys brand to Wiki

2016-07-01 Thread Alexey Brodkin
; Let me know when you have any further problems. > > Regards, Thomas > >   > > > > -Ursprüngliche Nachricht- > > Von: Alexey Brodkin [mailto:alexey.brod...@synopsys.com] > > Gesendet: Freitag, 1. Juli 2016 10:17 > > An: tm...@gmx.de > >

Re: [LEDE-DEV] Add Synopsys brand to Wiki

2016-06-30 Thread Alexey Brodkin
Hi Thomas, Thanks for that. Now looks like "target" has to be added as well. I'll need 2 targets:  1) arc770  2) archs38 Thanks in advance, Alexey On Wed, 2016-06-29 at 20:57 +0200, Thomas Endt wrote: > Done. > > Regards, Thomas > > > > > -Ursprüngli

[LEDE-DEV] [PATCH] linux: arc: disable kernel unwinding to fix modules loading

2016-06-22 Thread Alexey Brodkin
ed-off-by: Alexey Brodkin <abrod...@synopsys.com> Cc: Vineet Gupta <vgu...@synopsys.com> Cc: John Crispin <j...@phrozen.org> --- 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

[LEDE-DEV] [PATCH] package/devel/gdb-arc: Add target GDB for ARC

2016-06-08 Thread Alexey Brodkin
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 <abrod...@synopsys.com> --- pac

Re: [LEDE-DEV] [PATCH] fix uClibc-ng scanf check

2016-06-03 Thread Alexey Brodkin
Hi Waldemar, On Fri, 2016-06-03 at 17:16 +0200, Waldemar Brodkorb wrote: > Hi Alexey, > Alexey Brodkin wrote, > > > > > Hi Waldemar, > > > > On Fri, 2016-06-03 at 04:23 +0200, Waldemar Brodkorb wrote: > > > > > > uClibc-ng tries to be c

Re: [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 AR

Re: [LEDE-DEV] [PATCH] fix uClibc-ng scanf check

2016-06-03 Thread Alexey Brodkin
Hi Waldemar, On Fri, 2016-06-03 at 04:23 +0200, Waldemar Brodkorb wrote: > uClibc-ng tries to be compatible with GNU libc and defines > __GLIBC__ and pretend to be version 2.2. > We once changed it to 2.10, but then some hard to fix problems > in different software packages (gcc) occured. > It

Re: [LEDE-DEV] [uclibc-ng-devel] [PATCH] package/util-linux: Fix libmount build under uClibc

2016-06-02 Thread Alexey Brodkin
Hi Max, On Thu, 2016-06-02 at 19:31 +0300, Max Filippov wrote: > Hi Alexey, > > On Wed, Jun 1, 2016 at 10:56 AM, Alexey Brodkin > <alexey.brod...@synopsys.com> wrote: > > > > We are discussing one issue with "util-linux" package building. > > The

Re: [LEDE-DEV] Add info about git URLs in Lede Git Web

2016-06-02 Thread Alexey Brodkin
Hi Ted, On Thu, 2016-06-02 at 13:02 -0400, Ted Hess wrote: > Check it out now... Indeed it's there! Thanks a bunch! -Alexey ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev

[LEDE-DEV] Add info about git URLs in Lede Git Web

2016-06-02 Thread Alexey Brodkin
Hello, I think it would be quite convenient to add info about URLs that could be used for accessing Lede repos via git. In OpenWRT Git Web we had something like that: --->8--- URL  http://git.openwrt.org/openwrt.git      https://git.openwrt.org/openwrt.git    

Re: [LEDE-DEV] [PATCH] package/util-linux: Fix libmount build under uClibc

2016-06-02 Thread Alexey Brodkin
Hi Waldemar, On Wed, 2016-06-01 at 19:28 +0200, Waldemar Brodkorb wrote: > Hi Alexey, > > Alexey Brodkin wrote, > > > > > Hi Waldemar, > > > > On Mon, 2016-05-30 at 14:12 +0300, Alexey Brodkin wrote: > > > > > > Hello, > > >

Re: [LEDE-DEV] [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 ./.

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

2016-06-01 Thread Alexey Brodkin
Makefile:699: recipe for target 'stamp-5mloop' failed make[7]: *** [stamp-5mloop] Error 1 >8 Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> Cc: John Crispin <j...@phrozen.org> Cc: Felix Fietkau <n...@nbd.name> --- package/devel/gdb/Makefil

[LEDE-DEV] [PATCH] arc: Build uImage as well as vmlinux output files

2016-05-31 Thread Alexey Brodkin
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 <abrod...@synopsys.com> --- target/linux/

Re: [LEDE-DEV] [PATCH] package/util-linux: Fix libmount build under uClibc

2016-05-30 Thread Alexey Brodkin
Hello, On Thu, 2016-05-26 at 14:55 +0300, Alexey Brodkin wrote: > Hello, > > On Mon, 2016-05-23 at 17:46 +0300, Alexey Brodkin wrote: > > > > This fixes util-linux building with uClibc. > > Patch is taken as it is from Buildroot: > > https://git.busybox.net/b

[LEDE-DEV] [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 <abrod...@synopsys.com> Cc: John Crispin <j...@phrozen.org> --- package/system/procd/Makefile | 4 ++-- 1 fil

[LEDE-DEV] [PATCH] _GNU_SOURCE should be defined for building vs uClibc

2016-05-23 Thread Alexey Brodkin
ab.c.o' failed make[6]: *** [CMakeFiles/procd.dir/inittab.c.o] Error 1 ----->8-- Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> Cc: Waldemar Brodkorb <w...@openadk.org> Cc: John Crispin <j...@phrozen.org> Cc: Jo-Philipp Wich <j...@m

[LEDE-DEV] [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 <abrod...@synopsys.com> --- .

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

2016-05-16 Thread Alexey Brodkin
could be left a bit bulkier with more debug info inside. Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> --- 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