Re: [OpenWrt-Devel] Ralink pinctrl

2013-12-30 Thread Jiapeng Li
hi jonsmirl, >From what i known, to enable uartf of RT5350F, we need patch serial/8250. https://github.com/JiapengLi/OpenWrt-HiLink-HLK-RM04/blob/master/openwrt-fix-enable-uartf-kernel-panic.patch I use uart and gpio functions, the pinctrl of mine: +pinctrl { +compatible =

Re: [OpenWrt-Devel] Ralink pinctrl

2013-12-30 Thread jonsm...@gmail.com
Put this in my dts file? pinctrl { state_default: pinctrl0 { uartf { ralink,group = "uartf"; ralink,function = "pcm gpio"; }; }; }; On Mon, Dec 30, 2013 at 10:43 PM, jonsm...@gmail.com wrote: > What is the correct device tree syntax to enable the PCM pins on the RT5350

[OpenWrt-Devel] Ralink pinctrl

2013-12-30 Thread jonsm...@gmail.com
What is the correct device tree syntax to enable the PCM pins on the RT5350? How does the 'uartf' function work? We need the 'pcm gpio' function. FUNC("pcm gpio", RT305X_GPIO_MODE_PCM_GPIO, 11, 4), -- Jon Smirl jonsm...@gmail.com ___ openwrt-devel mail

[OpenWrt-Devel] Getting "Data Cache Parity Error" for P1020 based SMP linux 3.10.15 kernel.

2013-12-30 Thread John Clark
I've been using a linux 3.3.8 kernel, with no problems on a P1020wlan eval board. However, for my official 'product' board, when I enable 2 CPUs I get a "Data Cache Parity Error" machine check. I've checked the configs between the two kernel builds and the config seems to match for enabling the

[OpenWrt-Devel] [PATCH 2/2] Calculate max frame length properly on DIR-615-c1

2013-12-30 Thread Nikolay Martynov
Fix max frame length issue introduced by r39147 for DIR-615-c1. This device is almost identical to TEW-632BRP, so this is just copy-paste fix. Signed-off-by Nikolay Martynov --- target/linux/ar71xx/files/arch/mips/ath79/mach-dir-615-c1.c | 1 + 1 file changed, 1 insertion(+) diff --git a/target

[OpenWrt-Devel] [PATCH 1/2] Calculate max frame length properly on TEW-632BRP

2013-12-30 Thread Nikolay Martynov
The r39147 commit introduces a regression: at lease on some routers with ar8216 switch large packets get lost if 802.1q tagged port is used on the interface connected to the aforementioned switch. The r39147 changes code in the way so interface is set to accept packets no longer than max ethernet

Re: [OpenWrt-Devel] [PATCH][packages] gstreamer: Update to version 1.2.2. Make grammar.y work with Bison 3

2013-12-30 Thread Jiapeng Li
> This will break packages that depend on 0.10 series of gstreamer. I have > already > submitted a patch, "[PATCH][packages]gstreamer: update grammar.y to build with > bison 3", that addresses this issue. It was submitted early December. Thank you john, your patch is applied by luka. _

Re: [OpenWrt-Devel] [PATCH][packages]gstreamer: update grammar.y to build with bison 3

2013-12-30 Thread Luka Perkov
Hi John, On Tue, Dec 03, 2013 at 11:02:49PM -0500, John Vogel wrote: > In gstreamer's gst/parse/grammar.y, YYLEX_PARAM is no longer supported in > bison 3. > > This patch replaces YYLEX_PARAM with %lex-param. > > Signed-off-by John Vogel > > diff --git a/multimedia/gstreamer/patches/005-YYLEX

Re: [OpenWrt-Devel] [PATCH][packages] gstreamer: Update to version 1.2.2. Make grammar.y work with Bison 3

2013-12-30 Thread John Vogel
On Mon, 30 Dec 2013 23:02:30 +0800 Jiapeng Li wrote: > Update gstreamer to version 1.2.2. > This will break packages that depend on 0.10 series of gstreamer. I have already submitted a patch, "[PATCH][packages]gstreamer: update grammar.y to build with bison 3", that addresses this issue. It was

Re: [OpenWrt-Devel] Build problems on SMACK enabled OS

2013-12-30 Thread Darija Tadin-Đurović
* Bogdan Radulescu [2013-12-30 22:07:15 +0200]: Hello, I am building OpenWRT on a system that uses SMACK as the default security system and when it patches some files the build fails because the patch tries to change some labels. __ Applying

Re: [OpenWrt-Devel] [PATCH]ralink RT5350: tx, calculate TCP checksum correctly

2013-12-30 Thread Darija Tadin-Đurović
* jonsm...@gmail.com [2013-12-30 14:59:40 -0500]: My web server works again with this fix, but John still needs to tell us if it is the correct fix. -- Jon Smirl jonsm...@gmail.com Thx for trying it out, Jon. Regards Darki -- Time is the quality of nature that keeps events from happenin

[OpenWrt-Devel] Build problems on SMACK enabled OS

2013-12-30 Thread Bogdan Radulescu
Hello, I am building OpenWRT on a system that uses SMACK as the default security system and when it patches some files the build fails because the patch tries to change some labels. __ Applying ./patches/100-fix-gets-removal.patch using plaintex

Re: [OpenWrt-Devel] [PATCH]ralink RT5350: tx, calculate TCP checksum correctly

2013-12-30 Thread jonsm...@gmail.com
On Mon, Dec 30, 2013 at 12:44 PM, jonsm...@gmail.com wrote: > > On Mon, Dec 30, 2013 at 12:07 PM, Darija Tadin-Đurović > <68da...@gmail.com>wrote: > >> Yes. >> My router didn't complain about it and was reachable by ssh. > > > John will need to comment on if this is a correct fix. I don't know en

Re: [OpenWrt-Devel] [PATCH]ralink RT5350: tx, calculate TCP checksum correctly

2013-12-30 Thread jonsm...@gmail.com
On Mon, Dec 30, 2013 at 12:07 PM, Darija Tadin-Đurović <68da...@gmail.com>wrote: > Yes. > My router didn't complain about it and was reachable by ssh. John will need to comment on if this is a correct fix. I don't know enough about what netdev->hw_features and netdev->vlan_features do. > > >

Re: [OpenWrt-Devel] [PATCH]ralink RT5350: tx, calculate TCP checksum correctly

2013-12-30 Thread Darija Tadin-Đurović
Yes. My router didn't complain about it and was reachable by ssh. -- Time is the quality of nature that keeps events from happening all at once. Lately it doesn’t seem to be working. —Anonymous * jonsm...@gmail.com [2013-12-30 11:44:29 -0500]: On Mon, Dec 30, 2013 at 11:19 AM, Darija Tadi

Re: [OpenWrt-Devel] [PATCH]ralink RT5350: tx, calculate TCP checksum correctly

2013-12-30 Thread jonsm...@gmail.com
On Mon, Dec 30, 2013 at 11:19 AM, Darija Tadin-Đurović <68da...@gmail.com>wrote: > Hello, > after a day and a half (!) offline, thanks to my laptop, I finally got > back to our RT5350 eth driver problem, and I have a solution that works for > me. Jon, can you please test on your AsiaRF? > > With t

Re: [OpenWrt-Devel] [PATCH]ralink RT5350: tx, calculate TCP checksum correctly

2013-12-30 Thread Darija Tadin-Đurović
Hello, after a day and a half (!) offline, thanks to my laptop, I finally got back to our RT5350 eth driver problem, and I have a solution that works for me. Jon, can you please test on your AsiaRF? With this patch, the TCP checksums are again correctly calculated, hence the router is again f

[OpenWrt-Devel] [PATCH][packages] gstreamer: Update to version 1.2.2. Make grammar.y work with Bison 3

2013-12-30 Thread Jiapeng Li
Update gstreamer to version 1.2.2. gstreamer 0.10.36 doesn't support bison 3+(from r38169), this patch can solve the compile error. gstreamer starts supporting bison 3+ from 1.1.4. http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-1.2.2.tar.xz needs to be added to http://downloads.openwrt.

[OpenWrt-Devel] ICplus 175D usage

2013-12-30 Thread Yegor Yefremov
I've found the driver under target/linux/generic/files/drivers/net/phy/ip17xx.c and would like to know, how does it working and how can I use it in standard WAN/LAN(switch) configuration? As the driver is found under phy drivers, it doesn't create separate network devices for WAN and LAN? Will the