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

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

[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

[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

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

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

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

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

[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

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

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

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

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] 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:

[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

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

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

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

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 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] 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: [LEDE-DEV] [OpenWrt-Devel] 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 __

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

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

[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 --- .../004-Fix-libmount-build

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

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

[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 Cc: John Crispin --- package/system/procd/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

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

2016-05-26 Thread Alexey Brodkin
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/buildroot/plain/package/util-linux/0001-Fix-libmount-build-under-uClibc.patch?id=bacc

Re: [LEDE-DEV] [PATCH] toolchain: uClibc: Bump to the most recent version 1.0.14

2016-05-26 Thread Alexey Brodkin
Hello, On Mon, 2016-05-23 at 17:48 +0300, Alexey Brodkin wrote: > 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

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

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

2016-06-01 Thread Alexey Brodkin
Hi Waldemar, On Mon, 2016-05-30 at 14:12 +0300, Alexey Brodkin wrote: > 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: > > > > > >

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

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

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

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 > wrote: > > > > We are discussing one issue with "util-linux" package building. > > The problem is in "util-linux"

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 wou

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"

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

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

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

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,

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

[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

[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: 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 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 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 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 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 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] 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: -   -- 

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

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

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

[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] [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] 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] 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: [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: [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-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

[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

[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

  1   2   >