[OpenWrt-Devel] [PATCH][packages] libnfc: Add configuration file installtion.

2013-11-04 Thread Jiapeng Li
libnfc version 1.7.0 need a configuration file to configure work mode. Signed-off-by: JiapengLi gaplee...@gmail.com --- diff --git a/libs/libnfc/Makefile b/libs/libnfc/Makefile index ae30c8e..0aa2ad9 100644 --- a/libs/libnfc/Makefile +++ b/libs/libnfc/Makefile @@ -91,6 +91,8 @@ endef define

[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

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] Svn commit help please

2014-02-15 Thread Jiapeng Li
If you want to commit to local, you could use openwrt git source. https://dev.openwrt.org/wiki/GetSource ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] [PATCH][ralink] hlk-rm04: configure uartf to 'gpio uartf' mode

2014-02-22 Thread Jiapeng Li
ralink: hlk-rm04 - uartf should be configured to 'gpio uartf' mode, make sure pin14 is set to `gpio` mode. Signed-off-by: JiapengLi gaplee...@gmail.com -- diff --git a/target/linux/ramips/dts/HLKRM04.dts b/target/linux/ramips/dts/HLKRM04.dts index 13597dc..e1f5ce4 100644 ---

[OpenWrt-Devel] How to enable ttyS1 UART for a RT5350 device

2013-07-27 Thread Jiapeng Li
I have a hlk-rm04(http://wiki.openwrt.org/toh/hilink/hlk-rm04) module, i create a dts file for it, based on MPR-A2 dts file. Now i need enable /dev/ttyS1 in the dts file, but i don't have an idea about that. The dts file likes this: /dts-v1/; /include/ rt5350.dtsi / { compatible = HLKRM04,

Re: [OpenWrt-Devel] How to enable ttyS1 UART for a RT5350 device (to John Crispin)

2013-07-27 Thread Jiapeng Li
Hi John, Thank you for your so quickly reply. I recompile the openwrt as what you said in the email, but it doesn't work, did i miss something? The dts file likes this: /dts-v1/; /include/ rt5350.dtsi / { compatible = HLKRM04, ralink,rt5350-soc; model = HILINK HLK-RM04; memory@0 { reg = 0x0

Re: [OpenWrt-Devel] How to enable ttyS1 UART for a RT5350 device (to John Crispin)

2013-07-27 Thread Jiapeng Li
. * 2 tsp. Creme de Cacao - root@OpenWrt:/# 2013/7/28 John Crispin j...@phrozen.org On 27/07/13 19:06, Jiapeng Li wrote: Hi John, Thank you for your so quickly reply. I recompile the openwrt as what you said in the email, but it doesn't

[OpenWrt-Devel] where does boot log info 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20) is a 16550A come from?

2013-07-28 Thread Jiapeng Li
Hi everyone, Today i dig the linux kernel to see what happened. I want to find from which funciton these kernel info comes. And i found below result. But for the *[ 0.40] 1c00.uartlite: ttyS0 at MMIO 0x1c00 (irq = 20) is a 16550A,* i didn't find mention from any source code. Thanks.

[OpenWrt-Devel] [Ramips] RT5350--Does the order of the 'uartf' and 'uartlite' decide the serial register sequence?

2013-08-06 Thread Jiapeng Li
In the target/linux/ramips/dts/rt5350.dtsi, the uartlite node is declared prior of uart node, and i found when i enable the uartf, the uartf is register to ttyS0, and uartlite to ttyS1. After i change the order of the uartf and uartlite(make uartf prior to uartlite), uartf is registered to ttyS1,

Re: [OpenWrt-Devel] [PATCH] [package] uboot-env: fix spurious esac within ramips uci-defaults

2013-08-20 Thread Jiapeng Li
邮件列表地址 OpenWrt Development List openwrt-devel@lists.openwrt.org 2013/8/19 Luka Perkov l...@openwrt.org Hi Alexander, On Mon, Aug 19, 2013 at 05:21:38AM +0200, Alexander Couzens wrote: Signed-off-by: Alexander Couzens lyn...@fe80.eu --- package/boot/uboot-envtools/files/ramips | 2 --

[OpenWrt-Devel] ramips RT5350F AP+STA mode

2013-09-07 Thread Jiapeng Li
Does openwrt support RT5350F for AP+STA mode? I compile openwrt for MPR-A2 use the latest trunk, i use luci to configure the wifi, and found that OpenWrt can't open wifi client and master mode simultaneously. Did i miss something or RT5350F driver don't support this feature.

Re: [OpenWrt-Devel] ramips RT5350F AP+STA mode

2013-09-07 Thread Jiapeng Li
hi bastian, Yes, each of AP and STA mode can work alone, but can't work together. 2013/9/7 Bastian Bittorf bitt...@bluebottle.com * Jiapeng Li gaplee...@gmail.com [07.09.2013 09:34]: and found that OpenWrt can't open wifi client and master mode simultaneously. have you tried to establish

Re: [OpenWrt-Devel] ramips RT5350F AP+STA mode

2013-09-08 Thread Jiapeng Li
combinations: * #{ AP, mesh point } = 8, total = 8, #channels = 1 I suspect this is a software limitation that could be expanded with some driver work. The AtherOS chips will do what you want. On Sat, Sep 7, 2013 at 6:29 AM, Jiapeng Li gaplee...@gmail.com wrote: hi bastian, Yes

Re: [OpenWrt-Devel] ramips RT5350F AP+STA mode

2013-09-08 Thread Jiapeng Li
); + if_limit-types = BIT(NL80211_IFTYPE_STATION) | BIT(NL80211_IFTYPE_AP); #ifdef CONFIG_MAC80211_MESH if_limit-types |= BIT(NL80211_IFTYPE_MESH_POINT); #endif On Sun, Sep 8, 2013 at 9:07 AM, Jiapeng Li gaplee...@gmail.com wrote: Hi jonsmirl, Thank you, i am new to Openwrt

Re: [OpenWrt-Devel] Corrupted packets with bgmac on BCM5357* devices

2013-09-12 Thread Jiapeng Li
I want to test bcm5357 openwrt with my RT-N10U too. Which device should i choose to compile the OpenWrt, is there related patches need to use. Thank you Jiapeng 2013/9/12 Rafał Miłecki zaj...@gmail.com Some example with Wireshark output visible too.

Re: [OpenWrt-Devel] Corrupted packets with bgmac on BCM5357* devices

2013-09-12 Thread Jiapeng Li
Hi Rafał, Thank you for your reply, but i have no idea about top post. If i do that truly, i am sorry. It will be appreciated, if you would like to tell me about how to avoid to top post Thanks again. Jiapeng 2013/9/13 Rafał Miłecki zaj...@gmail.com 2013/9/12 Jiapeng Li gaplee...@gmail.com

Re: [OpenWrt-Devel] ramips RT5350F AP+STA mode

2013-09-18 Thread Jiapeng Li
be implemented? Regards, Diego On Mon, Sep 9, 2013 at 2:18 AM, jonsm...@gmail.com jonsm...@gmail.comwrote: On Sun, Sep 8, 2013 at 8:08 PM, Jiapeng Li gaplee...@gmail.com wrote: Thanks jonsmirl, I'll test it to see what happens, and give you a feed back. I believe you need

[OpenWrt-Devel] [ramips] How to write pinctrl node?

2013-10-09 Thread Jiapeng Li
r38026 change the gpio initial node to pinctrl. I want to enable uartf for HLK-RM04 device, so i add a uartf_pins: uartf node to the pinctrl node. + uartf_pins: uartf { + uartf { + ralink,group = uartf; + ralink,function = gpio uartf; + }; + }; This node can enable uartf function of RT5350, but

Re: [OpenWrt-Devel] GPIO and pinctrl problem

2013-10-10 Thread Jiapeng Li
I think the new gpio driver(after r38026(include)) of ramips platform has some bugs, after i set uartf to gpio uartf mode, i can't export any gpio. Maybe there are some relationship between this error and mine. root@OpenWrt:/sys/class/gpio# echo 1 export [ 1056.70] rt2880-pinmux pinctrl.1:

Re: [OpenWrt-Devel] GPIO and pinctrl problem

2013-10-10 Thread Jiapeng Li
Which version of trunk do you use? After i downgrade to r38025, all things work fine. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] [PATCH][packages] libnfc: Update to version 1.7.0

2013-10-12 Thread Jiapeng Li
Update libnfc to version 1.7.0. https://libnfc.googlecode.com/files/libnfc-1.7.0.tar.bz2 needs to be added to http://downloads.openwrt.org/sources/ Signed-off-by: JiapengLi gaplee...@gmail.com --- diff --git a/libs/libnfc/Makefile b/libs/libnfc/Makefile index 882554f..ae30c8e 100644 ---

[OpenWrt-Devel] Fwd: [PATCH][packages] ser2net: Update to version 2.9.1

2013-10-12 Thread Jiapeng Li
Update ser2net to version 2.9.1. http://sourceforge.net/projects/ser2net/files/ser2net/ser2net-2.9.1.tar.gz needs to be added to http://downloads.openwrt.org/sources/ Signed-off-by: JiapengLi gaplee...@gmail.com --- diff --git a/net/ser2net/Makefile b/net/ser2net/Makefile index 2782972..c67e08f

Re: [OpenWrt-Devel] Fwd: [PATCH][packages] ser2net: Update to version 2.9.1

2013-10-12 Thread Jiapeng Li
Thank you, Yegor. Need i cancel the patch i sent? ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [PROPOSAL] move OpenWrt codebase to Git and GitHub

2016-06-07 Thread Jiapeng Li
I also agree with Luka. Github supplies a serious of features to make open source development more easier. Pull request, issue tracker etc. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org