[OpenWrt-Devel] A Popular European Cable Modem Is Now Open-Source.

2015-12-10 Thread tapper
Hi http://www.phoronix.com/scan.php?page=news_item&px=Technicolor-Opens-TC72 Not shor if any of the code can be used in or helpful for Openwrt. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/list

Re: [OpenWrt-Devel] A Popular European Cable Modem Is Now Open-Source.

2015-12-10 Thread John Crispin
opensource means the source is open. this release is based on closed source from brcm. the tree is full of pre compile brcm blobs --> https://github.com/tch-opensrc/TC72XX_LxG1.0.10mp5_OpenSrc/tree/master/bcmdrivers/broadcom/net/fpm/impl4 to me it smells like technicolor marketing it trying to se

Re: [OpenWrt-Devel] [enhancement] ar71xx: Moving UART related GPIO initialization into the serial drivers.

2015-12-10 Thread John Crispin
dont send patches as attachements. please inline them On 10/12/2015 01:46, Piotr Madalinski wrote: >> Here are my patches for ar71xx enabling UART to be turned on and off >> at runtime to free up the GPIO pins, > And I forgot to attach the patches. Sorry. Here they are. > > > > __

Re: [OpenWrt-Devel] [PATCH v5] Add support for Ubiquiti EdgeRouter X (UBNT-ERX)

2015-12-10 Thread John Crispin
it is the correct list, just been real busy this week with other stuff. i'll be merging stuff again as of the weekend, sorry for the delay. On 09/12/2015 16:34, Nikolay Martynov wrote: > Hi. > > I know you guys a probably very busy, but could you please confirm > that this is the right list to

Re: [OpenWrt-Devel] [PATCH] ncurses: Fix build of libncursew

2015-12-10 Thread John Crispin
On 09/12/2015 19:45, Ted Hess wrote: > Packages using libncursesw can fail to build if both libncurses and > libncursesw > are not installed. Currently the ncurses.h file is installed in > "usr/include/ncursesw" > directory and includes other .h files in the "usr/include" directory > incorrect

Re: [OpenWrt-Devel] Board detection for Lamobo R1 fails

2015-12-10 Thread Jo-Philipp Wich
Hi Vasco, thats certainly possible, I merely did a logical translation of the code. Can you please check that after changing "Lamobo R1" in the case switch to "Lamobo Banana Pi R1" the defaults are working properly? You can test with the following command: rm -f /etc/board.json /etc/config/ne

[OpenWrt-Devel] [PATCH] add opkg host dependency

2015-12-10 Thread Dirk Neukirchen
fixes a missing host opkg found by: unselect base-files, opkg Signed-off-by: Dirk Neukirchen --- package/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/Makefile b/package/Makefile index cc691b5..aa5d522 100644 --- a/package/Makefile +++ b/package/Makefile @@

[OpenWrt-Devel] [PATCH] kernel/modules: fix crypto API RNG for >=4.2

2015-12-10 Thread Stijn Tintel
Since kernel 4.2, DRBG is the default crypto API RNG, replacing krng. As DRBG is not enabled, there is no crypto API RNG available when running kernel 4.2 or later. Because of this, IPsec SAs fail to install. In strongSwan, this results in a vague error that is difficult to debug: received netlink

[OpenWrt-Devel] [PATCH] lantiq, xrx200-net: add new 'id' devicetree property

2015-12-10 Thread Martin Schiller
This patch adds the new 'id' devicetree property, which makes it possible to renumber the physical mac ports. This change has only cosmetical reasons (e.g. appearance in swconfig, kernel messages on link change). Signed-off-by: Martin Schiller --- .../0025-NET-MIPS-lantiq-adds-xrx200-net.patch

Re: [OpenWrt-Devel] [PATCH] lantiq, xrx200-net: add new 'id' devicetree property

2015-12-10 Thread thomas.langer
Hello Martin, Martin Schiller wrote on 2015-12-10: > This patch adds the new 'id' devicetree property, which makes it possible to > renumber the physical mac ports. I think the numbering should be done by the "aliases" node in the devicetree, as this is the recommended way upstream. Please chec

Re: [OpenWrt-Devel] [PATCH] ncurses: Fix build of libncursew

2015-12-10 Thread Ted Hess
Date: Thu, 10 Dec 2015 09:30:44 +0100 From: John Crispin To: openwrt-devel@lists.openwrt.org Subject: Re: [OpenWrt-Devel] [PATCH] ncurses: Fix build of libncursew On 09/12/2015 19:45, Ted Hess wrote: Packages using libncursesw can fail to build if both libncurses and libncursesw are not insta

Re: [OpenWrt-Devel] Ubiquiti UniFI AC Lite

2015-12-10 Thread David Hutchison
I would like to know as well, It looks like they made a lot of progress; are patchsets available to build the "openwrt-ar71xx-generic-ubnt-unifiac-squashfs-sysupgrade.bin" ? Any information would be much appreciated. -- Davey On Wed, Dec 9, 2015 at 9:33 AM, Andrew Margarit | Cucumber WiFI wrot

Re: [OpenWrt-Devel] Ubiquiti UniFI AC Lite

2015-12-10 Thread Andrew Margarit | Cucumber WiFI
I'm digging for the same info :) Have one near me so can give a hand out with the profile. Andrew On 10/12/15 17:06, David Hutchison wrote: I would like to know as well, It looks like they made a lot of progress; are patchsets available to build the "openwrt-ar71xx-generic-ubnt-unifiac-squashf

Re: [OpenWrt-Devel] Board detection for Lamobo R1 fails

2015-12-10 Thread Vasco Steinmetz
A quick test seems to work, the switch is added and during boot the system happily reports the board. Detected lamobo-r1 // Lamobo Banana Pi R1 root@OpenWrt:/etc/board.d# cat /etc/board.json { "model": { "id": "lamobo-r1", "name": "Lamobo Banana Pi R1"

Re: [OpenWrt-Devel] Ubiquiti UniFI AC Lite

2015-12-10 Thread David Hutchison
I have one as well torn apart on hooked to serial; I started a port but couldn't figure out how to get the bootloader to write my image via tftp to flash. I tricked it by modifying the magic header, so the tftp portion would happen but then It looked like it ran a ubnt script within their custom u-

[OpenWrt-Devel] ath10k adhoc working?

2015-12-10 Thread Tim Harvey
Is anyone able to get ath10k to work with adhoc mode? I noticed that Felix removed the older QCA STA firmware (firmware-2.bin_999.999.0.636) in r46197 and that was the only firmware I know of (other than Ben Greear's custom firmware) that supports adhoc (although it does have some flaws, like not

Re: [OpenWrt-Devel] [PATCH v5] Add support for Ubiquiti EdgeRouter X (UBNT-ERX)

2015-12-10 Thread Nikolay Martynov
Hi, John. It looks like 4.3 has just landed for this platform and this patch probably will not apply. Should I resubmit it? I was also playing with 4.3 (and 4.4) on this platform and I have some patches that would make it use CPS multiprocessing (instead of MIPS CMP which is obsolete). Would

[OpenWrt-Devel] little fix for unifi AP

2015-12-10 Thread С М
factory install work again now on UBNT unifi AP & inifi AP LR -- SMA -From fc69198fa40c56b8ee9ee60b835292791d1243a1 Mon Sep 17 00:00:00 2001 From: smail Date: Fri, 11 Dec 2015 00:19:29 +0300 Subject: [PATCH] Unifi Ap board id fixed --- target/linux/ar71xx/image/Makefile | 15 ++-

[OpenWrt-Devel] [PATCH] dnsmasq: Add option "--all-servers"

2015-12-10 Thread Andréas Gustafsson
Add the option "--all-servers" which forces dnsmasq to send all queries to all servers and then take the first answer. Signed-off-by: Andréas Gustafsson --- diff --git a/package/network/services/dnsmasq/files/dnsmasq.init b/package/network/services/dnsmasq/files/dnsmasq.init index 1b42cff..d593a5

[OpenWrt-Devel] [PATCH 0/9] Add CPS support to mt7621 and add ubnt-erx support to work with it

2015-12-10 Thread Nikolay Martynov
That patch series adds support for Ubiquiti ERX router. This router is based on mt7621 and it looks like there are some issues with this SoC in 4.3. This patchset also addresses them by enabling CPS support for multiprocessing. Nikolay Martynov (9): ramips: add support for Ubiquiti EdgeRouter

[OpenWrt-Devel] [PATCH 2/9] ramips: mt7621: use symbolic names of gic interrupt settings

2015-12-10 Thread Nikolay Martynov
This also adds dts nodes for cpc and mc for documentation purposes Signed-off-by: Nikolay Martynov --- target/linux/ramips/dts/DIR-860L-B1.dts | 2 +- target/linux/ramips/dts/FIREWRT.dts | 2 +- target/linux/ramips/dts/MT7621.dts | 2 +- target/linux/ramips/dts/PBR-M1.dts | 2 +

[OpenWrt-Devel] [PATCH 1/9] ramips: add support for Ubiquiti EdgeRouter X (UBNT-ERX)

2015-12-10 Thread Nikolay Martynov
This router is based on MT7621 SoC, no wifi, nand. Works: * Boots. * Ethernet. * Switch. * Button (reset). * Flashing OpenWrt from stock firmware. * Upgrading OpenWrt. Doesn't work: * No GPIO leds. All leds are controlled by switch, but stock firmware was able to control them. * SoC has crypto

[OpenWrt-Devel] [PATCH 3/9] ramips: backport batch fixing illegal instruction when booting secodnary CPUs in CPS mode

2015-12-10 Thread Nikolay Martynov
Signed-off-by: Nikolay Martynov --- ...55-MIPS-CPS-drop-.set-mips64r2-directives.patch | 53 ++ 1 file changed, 53 insertions(+) create mode 100644 target/linux/ramips/patches-4.3/0055-MIPS-CPS-drop-.set-mips64r2-directives.patch diff --git a/target/linux/ramips/patches-4.

[OpenWrt-Devel] [PATCH 4/9] ramips: backport series of patches that ensure GCRs of other CPUs are accessed properly

2015-12-10 Thread Nikolay Martynov
Signed-off-by: Nikolay Martynov --- ...-cm-intoruce-core-other-locking-functions.patch | 140 + .../0057-cm-use-core-other-locking-function.patch | 80 ...nsure-core-other-GCR-reflect-correct-core.patch | 49 3 files changed, 269 insertions(+) create

[OpenWrt-Devel] [PATCH 5/9] ramips: fold gic patch into mt7621 support patch

2015-12-10 Thread Nikolay Martynov
All gic patch was doing is removing code added by mt7621 support patch. Signed-off-by: Nikolay Martynov --- .../0001-arch-mips-ralink-add-mt7621-support.patch | 289 ++- target/linux/ramips/patches-4.3/0053-gic.patch | 305 - 2 files changed, 23 insertions

[OpenWrt-Devel] [PATCH 7/9] ramips: enable CPS for mt7621

2015-12-10 Thread Nikolay Martynov
Enables CPS multiprocessing instead ob obsoleted CMP for mt7621. This patch fixes a few issues currently existing on 4.3 kernel with at least ubnt-erx: * iperf shows only 50Mbits on direct gigabit connection to desktop, * ping times jump to 5-6ms to dorectly connected desktop * /proc/interrupts s

[OpenWrt-Devel] [PATCH 8/9] ramips: irq handlers do not get irq in 4.3 kernel, update patches

2015-12-10 Thread Nikolay Martynov
This resolves compilation warnings like this: drivers/gpio/gpio-mt7621.c: In function 'mediatek_gpio_probe': drivers/gpio/gpio-mt7621.c:328:46: warning: passing argument 2 of 'irq_set_chained_handler' from incompatible pointer type [-Wincompatible-pointer-types] irq_set_chained_handler(mediate

[OpenWrt-Devel] [PATCH 6/9] ramips: Fix CM_GCR_CPC_BASE_CPCBASE_{MSK, SHF} values

2015-12-10 Thread Nikolay Martynov
Update CM_GCR_CPC_BASE_CPCBASE_{MSK,SHF} to match datasheet Signed-off-by: Nikolay Martynov --- .../ramips/patches-4.3/0059-correct-CPC_BASE_MASK.patch | 13 + 1 file changed, 13 insertions(+) create mode 100644 target/linux/ramips/patches-4.3/0059-correct-CPC_BASE_MASK.patch

[OpenWrt-Devel] [PATCH 9/9] ramips: use gic timer as clocksource for mt7621

2015-12-10 Thread Nikolay Martynov
* Switches clocksource to gic timer. * Moves frequency definitions to dtsi since frequency was hardcoded anyway Will work on proper frequency detection later. Signed-off-by: Nikolay Martynov --- target/linux/ramips/dts/mt7621.dtsi| 14 target/linux/ramips/mt7621/config-4.3

Re: [OpenWrt-Devel] [PATCH v5] Add support for Ubiquiti EdgeRouter X (UBNT-ERX)

2015-12-10 Thread Yousong Zhou
Hi, Nikolay, On 3 December 2015 at 15:16, Nikolay Martynov wrote: > This router is based on MT7621 SoC, no wifi, nand. > > Works: > * Boots. > * Ethernet. > * Switch. > * Button (reset). > * Flashing OpenWrt from stock firmware. > * Upgrading OpenWrt. > > Doesn't work: > * No GPIO leds. All leds

Re: [OpenWrt-Devel] [PATCH v5] Add support for Ubiquiti EdgeRouter X (UBNT-ERX)

2015-12-10 Thread Yousong Zhou
yousong On 11 December 2015 at 13:33, Yousong Zhou wrote: > Hi, Nikolay, > > On 3 December 2015 at 15:16, Nikolay Martynov wrote: >> This router is based on MT7621 SoC, no wifi, nand. >> >> Works: >> * Boots. >> * Ethernet. >> * Switch. >> * Button (reset). >> * Flashing OpenWrt

Re: [OpenWrt-Devel] [PATCH 0/9] Add CPS support to mt7621 and add ubnt-erx support to work with it

2015-12-10 Thread John Crispin
oh nice, i'll fold these today. i was about to send mt7621 support upstream but decided to wait until you sent your CPS patches. On 11/12/2015 05:01, Nikolay Martynov wrote: > That patch series adds support for Ubiquiti ERX router. > This router is based on mt7621 and it looks like there are some

Re: [OpenWrt-Devel] [PATCH 2/9] ramips: mt7621: use symbolic names of gic interrupt settings

2015-12-10 Thread John Crispin
On 11/12/2015 05:01, Nikolay Martynov wrote: > This also adds dts nodes for cpc and mc for documentation purposes > > Signed-off-by: Nikolay Martynov > --- > target/linux/ramips/dts/DIR-860L-B1.dts | 2 +- > target/linux/ramips/dts/FIREWRT.dts | 2 +- > target/linux/ramips/dts/MT7621.dts

Re: [OpenWrt-Devel] [PATCH 6/9] ramips: Fix CM_GCR_CPC_BASE_CPCBASE_{MSK, SHF} values

2015-12-10 Thread John Crispin
Hi, On 11/12/2015 05:01, Nikolay Martynov wrote: > Update CM_GCR_CPC_BASE_CPCBASE_{MSK,SHF} to match datasheet > do you mean the GIC or the mt7621 datasheet ? is this a mt7621 specific change or is this an upstream bug that we need to submit a patch for ? John > Signed-off-by: Nikolay

Re: [OpenWrt-Devel] [PATCH 9/9] ramips: use gic timer as clocksource for mt7621

2015-12-10 Thread John Crispin
On 11/12/2015 05:01, Nikolay Martynov wrote: > * Switches clocksource to gic timer. > * Moves frequency definitions to dtsi since frequency was hardcoded anyway > Will work on proper frequency detection later. Hi, This is a pretty crue way to patch common clock into the ralink support ;) i'll

Re: [OpenWrt-Devel] Fast build testing [Was: Git mirror with branches, tags and full history]

2015-12-10 Thread Bastian Bittorf
* John Szakmeister [02.12.2015 16:04]: > > today tested PowerPC/mpc85xx and this needs 160 seconds: > > make clean; make -j25 > > Do these numbers include building the toolchain? And I assume it does > not include downloading all the sources, correct? just bumping this thread: is there a way to