[OpenWrt-Devel] I need your advice, please.

2014-04-25 Thread Wandy Lau
Hi guys I want to do something in this project. Recently I am working LuCI stuff , uci exactly. I read the Lua source code, almost all code of LuCI and changed something. I got the effect expected. After that I read the UCI source in C. I am familiar with it. I want to my hands

[OpenWrt-Devel] Power line (PLC) support - atheros platform.

2014-04-25 Thread Jacek Kikiewicz
Hello, I am working on porting OpenWRT to D-link DHP-1565 (wiki for it: http://wiki.openwrt.org/toh/d-link/dhp-1565). It's atheros platform, I have inital support ready (with working switch, wifi, usb etc) but as this comes with PLC built-in (Atheros AR7400 chip) it would be pretty nice to

Re: [OpenWrt-Devel] [PATCH 1/4] config: make GIT_LOCAL_REPOSITORY depend on KERNEL_GIT_CLONE_URI

2014-04-25 Thread Rafał Miłecki
2014-04-25 5:43 GMT+02:00 Mathieu Olivari math...@qca.qualcomm.com: The GIT_LOCAL_REPOSITORY is pretty useless if KERNEL_GIT_CLONE_URI is not set. The code in include/ will actually be executed only if it's set. So let's make it official and mark it as a dependency in the configuration menu to

[OpenWrt-Devel] [PATCH] Fix build errors due to missing string function declarations

2014-04-25 Thread Maarten Bezemer
Building mac80211 failed, due to missing function declarations in compat/backport-3.15.c This patch adds the linux/string.h header file to provide these function declarations Signed-off-by: Maarten Bezemer maarten.beze...@gmail.com ---

[OpenWrt-Devel] [PATCH] [packages] iptables: Makefile: only build ip6tc, if IPv6 is enabled

2014-04-25 Thread Bastian Bittorf
without this patch the build breaks at iptables Signed-off-by: Bastian Bittorf bitt...@bluebottle.com --- package/network/utils/iptables/Makefile |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/network/utils/iptables/Makefile

[OpenWrt-Devel] [PATCH] [base-files] target/linux/*/base-files/lib/upgrade/platform.sh - wrong check for ARGC

2014-04-25 Thread Bastian Bittorf
ARGC is a 'C-ism', but not known/valid in shell-syntax - insert the correct var $# (=number of args) here. under normal conditions this had no impact, but we should at least correct it. the error was observable like this: root@box:~ [ -e /etc/functions.sh ] . /etc/functions.sh root@box:~ [ -e

[OpenWrt-Devel] Q: ntpd / DCF77-refclock / configure-options

2014-04-25 Thread Bastian Bittorf
i'am trying to change the ntpd-makefile via vi ../packages/net/ntpd/Makefile and adding the needing tweaks: --enable-LOCAL-CLOCK --enable-RAWDCF but no matter, when recompiling: make package/ntpd/{clean,compile} V=s i cannot see that 'config.h' has changed:

Re: [OpenWrt-Devel] Power line (PLC) support - atheros platform.

2014-04-25 Thread Jacek Kikiewicz
Hello Florian, Thanks for replying. Those chips usually do not require a driver per-se, but just a user space program to load their firmware and configuration blob. Well that would be easier / better. If you can figure out how the AR7400 is connected (presumably via MII to one port of

Re: [OpenWrt-Devel] Power line (PLC) support - atheros platform.

2014-04-25 Thread Florian Fainelli
Hello Jacek, 2014-04-25 9:12 GMT-07:00 Jacek Kikiewicz ja...@aol.pl: Hello Florian, Thanks for replying. Those chips usually do not require a driver per-se, but just a user space program to load their firmware and configuration blob. Well that would be easier / better. If you can

Re: [OpenWrt-Devel] [PATCH 4/4] include: Allow OpenWrt patch application on git kernel

2014-04-25 Thread Florian Fainelli
2014-04-24 20:43 GMT-07:00 Mathieu Olivari math...@qca.qualcomm.com: By default, OpenWrt doesn't patch the kernel if it's downloaded from a git tree. This option will allow OpenWrt to download the kernel from GIT but still allow the user to apply some patches, when enabled. It can be very

Re: [OpenWrt-Devel] Power line (PLC) support - atheros platform.

2014-04-25 Thread Jacek Kikiewicz
Hello Florian, I already ported OpenWRT to it and have it running on this router with 95% functionality, I will install open-plc-tools and play with this. Thanks! Jacek On 25.04.2014 18:48, Florian Fainelli wrote: First things first: do you have OpenWrt installed on your device, or are you

Re: [OpenWrt-Devel] [PATCH 4/4] include: Allow OpenWrt patch application on git kernel

2014-04-25 Thread Olivari, Mathieu
Users of the git tree clone option would probably know exactly which OpenWrt patch they want to carry in their local kernel copy. It actually alleviates the problem of having a shared kernel across multiple Linux distributions; each Linux distribution will need to apply its specific set of

Re: [OpenWrt-Devel] [PATCH 1/4] config: make GIT_LOCAL_REPOSITORY depend on KERNEL_GIT_CLONE_URI

2014-04-25 Thread Olivari, Mathieu
You can actually do that already with KERNEL_GIT_CLONE_URI alone. GIT_LOCAL_REPOSITORY is used if you want the cloned tree to have the real remote tree as a remote (in this case, KERNEL_GIT_CLONE_URI is your remote, and GIT_LOCAL_REPOSITORY is your local clone); if you use KERNEL_GIT_CLONE_URI