Re: [OpenWrt-Devel] [PATCH 1/2] sunxi: fix uboot install location

2015-07-26 Thread Zoltan HERPAI
On Fri, 24 Jul 2015, John Crispin wrote: On 16/07/2015 22:20, Matthias Schiffer wrote: -BOARDS:= \ - sun4i-a10-cubieboard \ - sun4i-a10-olinuxino-lime \ - sun4i-a10-pcduino \ - sun5i-a13-olinuxino \ - sun6i-a31-colombus \ - sun6i-a31-m9 \ - sun7i-a20-ba

Re: [OpenWrt-Devel] [PATCH] Add support for WeIO board. WeIO board (http://we-io.net) is based on Carambola2 module from 8Devices, and the patch adds a separate profile.

2015-07-26 Thread Drasko DRASKOVIC
Hi Karl, On Sun, Jul 26, 2015 at 4:41 AM, Karl Palsson wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Let me just preface this with... > > I am _not_ any sort of authority on code style, or any sort of > "approved" openwrt commit police. I'm just some person subscribed to the > ma

[OpenWrt-Devel] [PATCH 02/13] ramips: remove leading spaces and sort boards alphabetically in base-files/lib/ramips.sh

2015-07-26 Thread Piotr Dymacz
Signed-off-by: Piotr Dymacz --- target/linux/ramips/base-files/lib/ramips.sh | 288 +-- 1 file changed, 144 insertions(+), 144 deletions(-) diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh index 7db6d37..8b9d731 100

[OpenWrt-Devel] [PATCH 00/13] ramips: massive code cleanups

2015-07-26 Thread Piotr Dymacz
The following changes fix different mistakes in ramips target and try to make the code more clean and consistent. The patches affect: * dts{,i} files * base-files/* scripts * image Makefile Piotr Dymacz (13): ramips: fix indentation and other mistakes in .dts{,i} files ramips: remove leadi

[OpenWrt-Devel] [PATCH 01/13] ramips: fix indentation and other mistakes in .dts{, i} files

2015-07-26 Thread Piotr Dymacz
The following patch fixes: * wrong indentations * doubled gpio-keys-polled nodes (DIR-300-B7, DIR-320-B1, DIR-610-A1) * duplicate spacings * empty lines at end * trailing whitespace in .dts{,i} files, for ramips target. Signed-off-by: Piotr Dymacz --- target/linux/ramips/dts/AWAPN2403.dts

[OpenWrt-Devel] [PATCH 03/13] ramips: fix indentation, case statements structure and optimize base-files/etc/board.d/* scripts

2015-07-26 Thread Piotr Dymacz
The following patch: * fixes wrong indentation * combines together boards with same configuration * removes unnecessary spaces * removes empty lines after ;; (for consistency) * removes indentation for case...esac body (for consistency) in base-files/etc/board.d/* scripts. Signed-off-by: Pio

[OpenWrt-Devel] [PATCH 06/13] ramips: fix UPVEL model names

2015-07-26 Thread Piotr Dymacz
Signed-off-by: Piotr Dymacz --- target/linux/ramips/base-files/lib/ramips.sh | 4 ++-- target/linux/ramips/dts/UR-326N4G.dts| 2 +- target/linux/ramips/dts/UR-336UN.dts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/target/linux/ramips/base-files/lib/ramips

[OpenWrt-Devel] [PATCH 07/13] ramips: change board name for Zbtlink WR8305RT to ZBT-WR8305RT

2015-07-26 Thread Piotr Dymacz
There is another Zbtlink board (ZBT-WA05) supported in ramips target, so use the same naming scheme for WR8305RT board and its DTS file. Signed-off-by: Piotr Dymacz --- target/linux/ramips/base-files/etc/board.d/01_leds | 2 +- .../linux/ramips/base-files/etc/board.d/02_network | 2 +- targe

[OpenWrt-Devel] [PATCH 04/13] ramips: sort boards alphabetically and optimize base-files/etc/{diag.sh, board.d/*} scripts

2015-07-26 Thread Piotr Dymacz
The following patch: * combines together boards with same configuration * removes unnecessary spaces in base-files/etc/diag.sh script and: * sorts boards alphabetically in base-files/etc/board.d/* scripts. Signed-off-by: Piotr Dymacz --- target/linux/ramips/base-files/etc/board.d/01_leds |

[OpenWrt-Devel] [PATCH 08/13] ramips: remove unnecessary LED declaration for WT1520 in diag.sh

2015-07-26 Thread Piotr Dymacz
This device doesn't have any LEDs in dts file. Signed-off-by: Piotr Dymacz --- target/linux/ramips/base-files/etc/diag.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh index 8c96b3b..29ee2da 100644 -

[OpenWrt-Devel] [PATCH 10/13] ramips: change board name for Asus WL-330N{, 3G} to WL-330N{, 3G}

2015-07-26 Thread Piotr Dymacz
There are other Asus boards supported in ramips target, so use the same naming scheme for WL-330N{,3G} boards and their DTS files. Signed-off-by: Piotr Dymacz --- target/linux/ramips/dts/WL-330N.dts | 95 +++ target/linux/ramips/dts/WL-330N3G.dts | 103

[OpenWrt-Devel] [PATCH 05/13] ramips: use consistent naming scheme for LEDs, for various manufacturers

2015-07-26 Thread Piotr Dymacz
For some boards in ramips (and other targets) naming scheme for LEDs is: "manufacturer:color:led-name", but there are many other boards which don't follow this approach. This patch switches ramips boards from the following manufacturers: * Airlink101 * Asus * Belkin * Buffalo * Huawei * Omni

[OpenWrt-Devel] [PATCH 09/13] ramips: use consistent naming scheme for LEDs in the remaining, branded devices

2015-07-26 Thread Piotr Dymacz
Signed-off-by: Piotr Dymacz --- target/linux/ramips/base-files/etc/board.d/01_leds | 52 +++--- target/linux/ramips/base-files/etc/diag.sh | 42 - target/linux/ramips/dts/ALL0239-3G.dts | 8 ++-- target/linux/ramips/dts/ALL0256N-4M.dts

[OpenWrt-Devel] [PATCH 12/13] ramips: be consistent with case statement in base-files/lib/upgrade/platform.sh

2015-07-26 Thread Piotr Dymacz
Always use "|\" (without spaces) and keep boards in alphabetical order. Signed-off-by: Piotr Dymacz --- .../ramips/base-files/lib/upgrade/platform.sh | 232 ++--- 1 file changed, 116 insertions(+), 116 deletions(-) diff --git a/target/linux/ramips/base-files/lib/upgrade/pla

[OpenWrt-Devel] [PATCH 11/13] ramips: rename dts file for Asus RT-N56U to RT-N56U.dts

2015-07-26 Thread Piotr Dymacz
Other Asus RT-N dts files are named "RT-N..." (not "RTN..."), so use the same for RT-N56U. Signed-off-by: Piotr Dymacz --- target/linux/ramips/dts/RT-N56U.dts | 146 target/linux/ramips/dts/RTN56U.dts | 146 target/linux

[OpenWrt-Devel] [PATCH 13/13] ramips: fix image name for Belkin F7C027

2015-07-26 Thread Piotr Dymacz
For other Belkin devices we use only their model names in image names, so make the same for Belkin F7C027 (instead of "belkinf7c027"). Signed-off-by: Piotr Dymacz --- target/linux/ramips/image/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ramips/image/

[OpenWrt-Devel] obtaining openwrt linux kernel git repo for selected target

2015-07-26 Thread Antony Pavlov
Hi All! I want to obtain openwrt linux kernel sources for ar71xx in the form of git repo. So I want to convert the patches from openwrt.git/target/linux/ar71xx/patches-3.18/ into git commits. I'm trying to 'git am' patches from openwrt repo: $ cd linux.git $ git checkout v3.18 $ git am ../open

Re: [OpenWrt-Devel] [PATCH 05/13] ramips: use consistent naming scheme for LEDs, for various manufacturers

2015-07-26 Thread Imre Kaloz
On Sun, 26 Jul 2015 18:24:30 +0200, Piotr Dymacz wrote: For some boards in ramips (and other targets) naming scheme for LEDs is: "manufacturer:color:led-name", but there are many other boards which don't follow this approach. The upstream convention is "device:color:led-name". So actually,

Re: [OpenWrt-Devel] [PATCH 05/13] ramips: use consistent naming scheme for LEDs, for various manufacturers

2015-07-26 Thread Piotr Dymacz
2015-07-26 21:16 GMT+02:00 Imre Kaloz : > > On Sun, 26 Jul 2015 18:24:30 +0200, Piotr Dymacz wrote: > >> For some boards in ramips (and other targets) naming scheme for LEDs is: >> "manufacturer:color:led-name", but there are many other boards which don't >> follow this approach. > > > The upstrea

Re: [OpenWrt-Devel] [PATCH 05/13] ramips: use consistent naming scheme for LEDs, for various manufacturers

2015-07-26 Thread Jonas Gorski
On Sun, Jul 26, 2015 at 9:34 PM, Piotr Dymacz wrote: > 2015-07-26 21:16 GMT+02:00 Imre Kaloz : >> >> On Sun, 26 Jul 2015 18:24:30 +0200, Piotr Dymacz wrote: >> >>> For some boards in ramips (and other targets) naming scheme for LEDs is: >>> "manufacturer:color:led-name", but there are many other

Re: [OpenWrt-Devel] [PATCH] Add WeIO board (http://we-io.net) profile. This patch adds support for WeIO board, which is based on Carambola2 board from 8Devices.

2015-07-26 Thread Karl Palsson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Just one more, I promise :) Drasko DRASKOVIC wrote: > + > +static void __init weio_common_setup(void) > +{ > + u8 *art = (u8 *) KSEG1ADDR(0x1fff); > + > + ath79_register_m25p80(NULL); > + ath79_register_wmac(art + WEIO_CALDATA_OFFSET,

Re: [OpenWrt-Devel] Syntax error in radvd.conf

2015-07-26 Thread Pratik Prajapati
I have replaced eth0 with lan, but still getting same error /etc/radvd.conf:1 error: syntax error, unexpected STRING, expecting T_INTERFACE [Jul 24 10:51:59] radvd (950): exiting, failed to read config file What this 950 denotes in above error ? Do I need to change something in /etc/config/netwo