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: > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=bbc25bee37d2b32cf

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&d=DwICaQ&c=DPL6_X_6JkXFx7AXWqB0tg&r=lqdeeSSEes0GFDDl656eViXO7breS55ytWkhpk5R81I&m=2rUJ8ayGY- > > 54h0qn7dft_Zi3T1jFwJ88tA46p6c9l_I&s=U9snLQpnWd5Ku9JtYuf1pnf0YOc

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 > (https://urldefense.proofpoint.com/v2/url?u=http-3A__phase1.builds.lede-2Dproject.org_builders_arc770-252Fgene

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

2017-07-18 Thread Alexey Brodkin
Hi Hauke, > -Original Message- > From: Hauke Mehrtens [mailto:ha...@hauke-m.de] > Sent: Saturday, July 15, 2017 1:18 AM > To: Evgeniy Didin ; lede-dev@lists.infradead.org > Cc: Alexey Brodkin ; John Crispin > > Subject: Re: [LEDE-DEV] [PATCH v2] toolchain/arc: upda

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

2017-06-26 Thread Alexey Brodkin
ned-off-by: Evgeniy Didin > > Cc: Alexey Brodkin > > Cc: John Crispin > > --- > > When will the ARC CPU be supported in mainline gcc and binutils so we do > not have to use a special arc toolchain any more? Well I may say that ARC is supported upstream already. In fac

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

2017-05-03 Thread Alexey Brodkin
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 --- pac

[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 --- ...90-usb-Make-sure-usb-phy-of-gets-built-in.patch | 54 ++ 1 file changed, 54 insertions(+) create mode 100644 target/linux/generic/patc

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 it wo

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
nWrt. Signed-off-by: Alexey Brodkin Cc: Felix Fietkau Cc: John Crispin Cc: Daniel Engberg --- ...usage-of-strerror_l-if-it-doesn-t-exist-i.patch | 105 + 1 file changed, 105 insertions(+) create mode 100644 package/libs/libnl/patches/0001-lib-Escape-usage-of-strerror_l

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

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:10 +0100, Felix Fietkau wrote: > On 2017-03-10 16:00, Alexey Brodkin wrote: > > > > Hi Felix, > > > > On Tue, 2017-03-07 at 19:30 +0100, Felix Fietkau wrote: > > > > > > On 2017-03-06 19:30, Alexey Brodkin wrote:

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

2017-03-10 Thread Alexey Brodkin
Hi Felix, On Tue, 2017-03-07 at 19:30 +0100, Felix Fietkau wrote: > On 2017-03-06 19:30, Alexey Brodkin wrote: > > > > 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

[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 --- target/linux/arc770/Makefile | 2 +- target/linux/arc770/{config-4.4 => config-

[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 --- target/linux/archs38/Makefile | 2 +- target/linux/archs38/{config-4.4 => config-

[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
patch/726687/ Signed-off-by: Alexey Brodkin --- 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/Config.in | 8 +- toolchain/

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 > > > > This allows us to build kernel's crypto modules in Linux v4.9. > > Otherwise we're seeing the

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

2017-02-15 Thread Alexey Brodkin
patch/726687/ Signed-off-by: Alexey Brodkin --- package/devel/gdb-arc/Makefile | 6 +- toolchain/binutils/Config.in | 8 +- toolchain/binutils/Config.version | 4 +- toolchain/binutils/Makefile| 12 +- .../arc-20

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

2017-02-15 Thread Alexey Brodkin
From: Alexey Brodkin 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-linux-1.8/cryptlib.c:

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 > > > > On some [especially corporate] networks non-standard ports are blocked > > and git is one of t

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

2017-02-15 Thread Alexey Brodkin
From: Alexey Brodkin 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 --- net/rtpproxy/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net

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

2017-02-15 Thread Alexey Brodkin
From: Alexey Brodkin 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 --- batmand/Makefile| 2 +- bmx6/Makefile | 2 +- bmx7/Makefile

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

2017-02-15 Thread Alexey Brodkin
From: Alexey Brodkin 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 --- libs/dmx_usb_module/Makefile | 2 +- libs/libhttp-parser/Makefile | 2 +- libs/libsoxr/Makefile

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

2017-02-10 Thread Alexey Brodkin
s starting 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 --- toolchain/binutils/Config.in | 9 +- toolchain/binutils/Config.version

[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 --- target/linux/arc770/Makefile | 2 +- target/linux/arc770/{config-4.4 => config-4.9} |

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

2017-02-10 Thread Alexey Brodkin
ied on top. 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 up

[LEDE-DEV] [RFC 4/5] target/archs38: 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 --- target/linux/archs38/Makefile | 2 +- target/linux/archs38/{config-4.4 => config-4.9}|

[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: Bump version to 1.0.22

2017-02-10 Thread Alexey Brodkin
/commit/?id=29ff9055c80efe77a7130767a9fcb3ab8c67e8ce Signed-off-by: Alexey Brodkin --- package/libs/toolchain/Makefile | 16 ++-- toolchain/uClibc/Config.version | 2 +- toolchain/uClibc/Makefile | 6 +- toolchain/uClibc/common.mk | 2 +- 4 files changed, 5 insertions

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

2017-02-10 Thread Alexey Brodkin
/dev/null" which automatically answers all questions :) Signed-off-by: Alexey Brodkin --- 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..1d4f8cc 100644 --- a/toolchain/uClibc

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 sinc

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

2017-02-08 Thread Alexey Brodkin
rking with current tools. Signed-off-by: Alexey Brodkin Cc: John Crispin --- 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/include/target.mk +++ b/include/target.mk @@ -215,8 +

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] arc770: backport upstream fix for unaligned access

2017-02-08 Thread Alexey Brodkin
n as well so IMHO there's not much sense in adding this separate patch in lede/master branch. As well as we will get rid of it here in 17.01 once we bump 4.4 kernel here later down the line. Signed-off-by: Alexey Brodkin Cc: Felix Fietkau Cc: John Crispin Cc: Jo-Philipp Wich --- ...-bug-

[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 Cc: John Crispin --- pa

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 ar

[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 Cc: Jo-Philipp Wich Cc: Felix Fietkau Cc: Imre Kaloz --- Changes v1 -> v2: * Added dependency on kmod-mmc because SDIO interface is used by TI's wl12/18xx modules. Build-te

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 Cc: Jo-Philipp Wich Cc: Felix Fietkau Cc: Imre Kaloz --- package/kernel/mac80211/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/kernel/mac80211/Makefile b/package/kernel/mac80211/Makefile index 25adbfb..b0c040c 100644 --- a/package

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
orage-less simulators for testing still. Signed-off-by: Alexey Brodkin Cc: John Crispin Cc: Jo-Philipp Wich --- target/linux/arc770/generic/profiles/01-minimal.mk | 15 target/linux/arc770/generic/profiles/02-axs101.mk | 16 - .../linux/arc770/generic/profiles/03-nsim_700.mk

[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 --- target/linux/arc770/generic/profiles/00-default.mk | 2 +- target/linux/arc770/generic/profiles/02-axs101.mk | 2 +- 2

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

2016-08-24 Thread Alexey Brodkin
re compact and cleaner. Signed-off-by: Alexey Brodkin --- 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 index ca204a4..79ce

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

2016-08-24 Thread Alexey Brodkin
ry patches and the last one which makes a real difference. Signed-off-by: Alexey Brodkin 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 target/linux/arc770/

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

2016-08-24 Thread Alexey Brodkin
t know where to 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 --- target/linux/arc770/config-4.4 | 10

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

2016-08-24 Thread Alexey Brodkin
#x27;t need promisc mode) and 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 Cc: John Crispin , Cc: Felix Fietkau --- Since initial post of the patch we made quite a lot of work tryi

[LEDE-DEV] [PATCH] archs38: Merge sd and ramfs subtargets in generic again

2016-08-19 Thread Alexey Brodkin
ed-off-by: John Crispin Signed-off-by: Alexey Brodkin Cc: Jo-Philipp Wich --- target/linux/archs38/Makefile | 2 +- .../linux/archs38/{sd => generic}/profiles/00-default.mk | 0 target/linux/archs38/generic/target.mk| 8 target/l

[LEDE-DEV] [PATCH] tools: Select dosfstools for archs38

2016-08-18 Thread Alexey Brodkin
figure-out that requirement. But thanks to Lede's autobuilder this missing bit was highlighted, see failed build job here: http://phase1.builds.lede-project.org/builders/archs38%2Fsd/builds/0/steps/images/logs/stdio Signed-off-by: Alexey Brodkin Cc: John Crispin Cc: Jo-Philipp Wich --- tool

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 to

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

2016-08-18 Thread Alexey Brodkin
Hi Jo, On Thu, 2016-08-18 at 15:03 +0200, Jo-Philipp Wich wrote: > Hi Alexey, > > I do not really like the subtarget division here, why do we need that in > the first place? There was a need to build images with initramfs built-in and with FS on SD-card (i.e. without initramfs). I spent quite so

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 ge

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

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

2016-08-16 Thread Alexey Brodkin
/linux-snps-arc/2016-August/001394.html Signed-off-by: Alexey Brodkin Cc: Jonas Gorski Cc: John Crispin --- target/linux/arc770/dts/axc001.dtsi| 100 - target/linux/arc770/dts/axs101.dts | 22 -- target/linux/arc770/dts/axs10x_mb.dtsi

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

2016-08-16 Thread Alexey Brodkin
t know where to 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 --- target/linux/archs38/config-4.4 | 1

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

2016-08-16 Thread Alexey Brodkin
orage-less simulators for testing still. Signed-off-by: Alexey Brodkin Cc: John Crispin --- target/linux/archs38/Makefile | 2 +- .../linux/archs38/generic/profiles/01-minimal.mk | 15 target/linux/archs38/generic/profiles/02-axs103.mk | 16 - .../linux/ar

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

2016-08-16 Thread Alexey Brodkin
code more compact and cleaner. Signed-off-by: Alexey Brodkin --- 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 index bda7f3f..f5dc

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

2016-08-16 Thread Alexey Brodkin
o use storage-less simulators for testing still. This series consists of a few preparatory patches and the last one which makes a real difference. Signed-off-by: Alexey Brodkin Alexey Brodkin (5): arc: use patched .dts from sources archs38: Reduce generalization archs38: Update k

[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 --- target/linux/archs38/generic/profiles/00-default.mk | 2 +- target/linux/archs38/generic/profiles/02-axs103.mk | 2 +- 2

[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

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

2016-08-16 Thread Alexey Brodkin
on is simple set OPENSSL_ROOT_DIR env var before calling CMake's configure script. Now openssl libs if they exist in $(LD_LIBRARY_PATH) will be used. What's also nice libs from LD_LIBRARY_PATH will be used instead of system ones (if they exist). Signed-off-by: Alexey Brodkin --- tools/cma

Re: [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: [LEDE-DEV] DHCP via bridge in case of IPv4

2016-08-15 Thread Alexey Brodkin
Hello, On Mon, 2016-07-11 at 06:15 +, Alexey Brodkin wrote: > Hi Russel, > > On Sun, 2016-07-10 at 00:19 -0700, Russell Senior wrote: > >  > > > > > > > "Alexey" == Alexey Brodkin writes: > > Alexey> Hi Aaron, > > Alexey> On

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 interf

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

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

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

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

[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 target/

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

[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 Platfor

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

2016-07-10 Thread Alexey Brodkin
Hi Russel, On Sun, 2016-07-10 at 00:19 -0700, Russell Senior wrote: > > > > > > > > > > > > > > > > > > > > > > > > > > "Alexey" == Alexey Brodkin writes: > Alexey> Hi Aaron, > Alexey> On Sat

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

2016-07-09 Thread Alexey Brodkin
Hi Aaron, On Sat, 2016-07-09 at 07:47 -0400, Aaron Z wrote: > On Sat, Jul 9, 2016 at 4:37 AM, Alexey Brodkin > wrote: > > > > Hello, > > > > I was playing with quite simple bridged setup on different boards with > > very recent kernels (4.6.3 as of thi

[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 --- No changes v1 -> v2.

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

2016-07-08 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. Changes v1 -> v2: * Renamed backported patch to 0xx- Alexey Brodkin (2): Revert "linux: arc: disable kernel unwinding to fix modules loading" ke

[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 --- Changes v1 ->

[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/ar

[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 --- target/linux/arc770/confi

[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 --- ...ensure-that-.debug_frame-is-generated-vs..patch | 46 ++ 1 file changed, 46 insertions(+) create mode 100644 target/linux/generic/patches

[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 --- target/linux/arc770/confi

[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 --- target/linux/archs38/generic/profiles/00-default.mk | 2 +- target/linux/archs38/generic/profiles/02-axs103.mk | 2 +- 2 files

[LEDE-DEV] [PATCH] usb: Remove annoying warning about bogus URB

2016-07-05 Thread Alexey Brodkin
lution instead of that hack. Signed-off-by: Alexey Brodkin --- ...b-Remove-annoying-warning-about-bogus-URB.patch | 73 ++ 1 file changed, 73 insertions(+) create mode 100644 target/linux/generic/patches-4.4/821-usb-Remove-annoying-warning-about-bogus-URB.patch diff --

[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 --- target/linux/archs38/generic/profiles/00-default.mk | 2 +- ta

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-07-01 Thread Alexey Brodkin
Hi Thomas, On Fri, 2016-07-01 at 02:12 +0200, Thomas Endt wrote: > > > Hi Alexey, > > Those two targets are not listed at https://dev.openwrt.org/wiki/platforms. Hm looks like I need to ask somebody to add info to that page because even if logged in I don't see any "edit" button. > > > Are

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

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

2016-06-29 Thread Alexey Brodkin
Hi Thomas, Could you please assist me in adding new brand (Synopsys) to OpenWRT Wiki ToH? That's my original request sent to Lede dev mailing list: http://lists.infradead.org/pipermail/lede-dev/2016-June/001551.html -Alexey On Wed, 2016-06-29 at 15:42 +0200, Jo-Philipp Wich wrote: > Hi Alexey,

[LEDE-DEV] Add Synopsys brand to Wiki

2016-06-27 Thread Alexey Brodkin
Hello, I wanted to add information about Synopsys boards (ARC 770D and ARC HS38 based) in the "Table of Hardware" here https://wiki.openwrt.org/toh/. Is there a chance to add new brand "Synopsys" to ToH? For reference:  * Support of ARC770-based boards: https://git.lede-project.org/?p=source.gi

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

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

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

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 compa

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

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

2016-06-03 Thread Alexey Brodkin
Hi Max, On Fri, 2016-06-03 at 16:43 +0300, Max Filippov wrote: > Hi Alexey, > > On Fri, Jun 3, 2016 at 12:58 PM, Alexey Brodkin > wrote: > > > > IMHO much better approach would be to include a compile test for > > small source that uses scanf() with "%as"

  1   2   >