Re: [LEDE-DEV] [PATCH v2 1/2] lantiq: unmacro tp-link boards

2016-05-31 Thread Alexander Couzens
On Tue, 31 May 2016 22:46:11 +0200 Oswald Buddenhagen wrote: > you're undoing work by hauke et. al from just a few weeks ago. ;) ooops. ;P > while it's certainly true that the macros complicate matters, it's > also true that the whole build system is incredibly macro-heavy. so > removing a few o

Re: [LEDE-DEV] [OpenWrt] TR-069 for OpenWrt

2016-05-31 Thread Wouter Cloetens
Weighing in on the discussion with what we have. The SoftAtHome TR-069 client solution, that we have recently offered, has several layers. The first is the TR-069 protocol layer. It supports TR-069 as well as TR-181. Most of our customer base consists of Tier 1 Internet Service Providers,

Re: [LEDE-DEV] [PATCH v2 1/2] lantiq: unmacro tp-link boards

2016-05-31 Thread Oswald Buddenhagen
On Mon, May 30, 2016 at 11:54:05AM +0200, Alexander Couzens wrote: > even it's a little bit verbose, unmacrod board descriptions are much > easier to read and to understand. > you're undoing work by hauke et. al from just a few weeks ago. ;) while it's certainly true that the macros complicate ma

[LEDE-DEV] [PATCH] arc: Build uImage as well as vmlinux output files

2016-05-31 Thread Alexey Brodkin
Initially for ARC we were building vmlinux images because it was both simpler and more convenient to debug Linux kernel in runt-time via JTAG. Now when base system works quite nice we may finally use U-Boot for loading the system image as well. Still we keep building vmlinux images as some of our b

[LEDE-DEV] Fwd: Re: [OpenWrt-Devel] move OpenWrt codebase to Git and GitHub

2016-05-31 Thread tapper
Forwarded Message Subject: Re: [OpenWrt-Devel] move OpenWrt codebase to Git and GitHub Date: Tue, 31 May 2016 13:44:56 + From: Abhijit Mahajani To: openwrt-de...@lists.openwrt.org Hello Luka, First of all, we would welcome the move of openwrt into GitHub. We have been

Re: [LEDE-DEV] [RFC 03/12] ath25: register button actions through board.d

2016-05-31 Thread Karl Palsson
Given that the existing default button handler didn't actually do anything, I think it furthers the argument that they can just be dropped entirely. Jo-Philipp Wich wrote: > Register button actions through board.d and drop corresponding > config sections from the /etc/config/system template. >

Re: [LEDE-DEV] [RFC 01/12] ath25: generalize button hotplug

2016-05-31 Thread Karl Palsson
As discussed on irc, I don't really see any need to keep this. People can just insert scripts directly into /etc/hotplug.d/button, rather than _still_ entering UCI system buttons configs? Jo-Philipp Wich wrote: > The ath25 target has its own unique button action config > support, make it av

Re: [LEDE-DEV] ImageBuilder generated image does not create LED entries in /etc/config/system on first boot, why?

2016-05-31 Thread Laurent GUERBY
On Tue, 2016-05-31 at 00:39 +0200, Laurent GUERBY wrote: > Hi, > > On a 841N v11 on current LEDE git with patch from (1) I'm trying to > solve a puzzle: > - when doing "make" the generated image in > bin/targets/ar71xx/generic/lede-ar71xx-generic-tl-wr841-v11-squashfs-sysupgrade.bin > does create

[LEDE-DEV] [RFC 12/12] base-files: drop /etc/config/system

2016-05-31 Thread Jo-Philipp Wich
The board_detect framework is now able to create the entire system config from scratch so we can finally drop the copy shipped by base-files. Signed-off-by: Jo-Philipp Wich delete mode 100644 package/base-files/files/etc/config/system diff --git a/package/base-files/files/etc/config/system b/

[LEDE-DEV] [RFC 11/12] base-files: rework config generation logic

2016-05-31 Thread Jo-Philipp Wich
Now that config_generate is able to generate the entire /etc/config/system from scratch we can apply the same logic as used for /etc/config/network; when the configuration file exists already then do not do anything, else generate it from the values provided by /etc/board.json . In order to facili

[LEDE-DEV] [RFC 09/12] adm5120: convert LED setup to board.d

2016-05-31 Thread Jo-Philipp Wich
Signed-off-by: Jo-Philipp Wich create mode 100755 target/linux/adm5120/base-files/etc/board.d/01_leds diff --git a/target/linux/adm5120/base-files/etc/board.d/01_leds b/target/linux/adm5120/base-files/etc/board.d/01_leds new file mode 100755 index 000..f5cd778 --- /dev/null +++ b/target/li

[LEDE-DEV] [RFC 10/12] adm5120: remove target specific /etc/config/system

2016-05-31 Thread Jo-Philipp Wich
Now that deviations to the default /etc/config/system are registered via board.d we can drop the target specific copy. Signed-off-by: Jo-Philipp Wich delete mode 100644 target/linux/adm5120/base-files/etc/config/system diff --git a/target/linux/adm5120/base-files/etc/config/system b/target/li

[LEDE-DEV] [RFC 08/12] base-files: support port_state LED types in board.d

2016-05-31 Thread Jo-Philipp Wich
Add support for handling port_state LEDs as used by ADM5120. Signed-off-by: Jo-Philipp Wich diff --git a/package/base-files/files/bin/config_generate b/package/base-files/files/bin/config_generate index 6fea2d8..6f04840 100755 --- a/package/base-files/files/bin/config_generate +++ b/package/bas

[LEDE-DEV] [RFC 07/12] xburst: remove target specific /etc/config/system

2016-05-31 Thread Jo-Philipp Wich
Now that deviations to the default /etc/config/system are registered via board.d we can drop the target specific copy. Signed-off-by: Jo-Philipp Wich delete mode 100644 target/linux/xburst/base-files/etc/config/system diff --git a/target/linux/xburst/base-files/etc/config/system b/target/linu

[LEDE-DEV] [RFC 06/12] xburst: add /etc/config/system overrides via board.d

2016-05-31 Thread Jo-Philipp Wich
Use /etc/board.d/ to register hostname and ntp server overrides. Signed-off-by: Jo-Philipp Wich create mode 100755 target/linux/xburst/base-files/etc/board.d/01_system diff --git a/target/linux/xburst/base-files/etc/board.d/01_system b/target/linux/xburst/base-files/etc/board.d/01_system new

[LEDE-DEV] [RFC 05/12] base-files: support hostname and ntp servers through board.d

2016-05-31 Thread Jo-Philipp Wich
Add support for specifying hostname and NTP servers via /etc/board.d/ scripts. Signed-off-by: Jo-Philipp Wich diff --git a/package/base-files/files/bin/config_generate b/package/base-files/files/bin/config_generate index c59..6fea2d8 100755 --- a/package/base-files/files/bin/config_generate

[LEDE-DEV] [RFC 00/12] Rework /etc/config/system generation

2016-05-31 Thread Jo-Philipp Wich
Instead of shipping a base /etc/config/system and amending it in-place with board_generate generate the entire file from scratch, similar to how we handle the /etc/config/network file already. This change series solves multiple problems: - Currently the generation of /etc/config/system is skippe

[LEDE-DEV] [RFC 04/12] ath25: remove target specific /etc/config/system

2016-05-31 Thread Jo-Philipp Wich
The system config file shipped by ath25 is now equivalent to the generic one in base files, so drop the target specific copy. Signed-off-by: Jo-Philipp Wich delete mode 100644 target/linux/ath25/base-files/etc/config/system diff --git a/target/linux/ath25/base-files/etc/config/system b/target

[LEDE-DEV] [RFC 02/12] base-files: support button actions through board.d

2016-05-31 Thread Jo-Philipp Wich
Add support for specifying button actions via /etc/board.d/ scripts to utilize the generic button config framework ported from the ath25 target. Signed-off-by: Jo-Philipp Wich diff --git a/package/base-files/files/bin/config_generate b/package/base-files/files/bin/config_generate index 345393c.

[LEDE-DEV] [RFC 01/12] ath25: generalize button hotplug

2016-05-31 Thread Jo-Philipp Wich
The ath25 target has its own unique button action config support, make it available to all targets by moving it from ath25 to base-files. Signed-off-by: Jo-Philipp Wich create mode 100644 package/base-files/files/etc/hotplug.d/button/00-button delete mode 100644 target/linux/ath25/base-files/e

[LEDE-DEV] [RFC 03/12] ath25: register button actions through board.d

2016-05-31 Thread Jo-Philipp Wich
Register button actions through board.d and drop corresponding config sections from the /etc/config/system template. Also rename `01_leds` to `01_system` now that it is doing more than just adding an led entry. Signed-off-by: Jo-Philipp Wich delete mode 100755 target/linux/ath25/base-files/etc

Re: [LEDE-DEV] [PATCH] mac80211: respect user-set regulatory domain by default

2016-05-31 Thread Daniel Golle
Hi David, On Thu, May 26, 2016 at 02:51:17AM -0700, David Lang wrote: > On Thu, 26 May 2016, Daniel Golle wrote: > > > Hi Daniel! > > > > On Wed, May 25, 2016 at 09:29:23PM -0400, Daniel Dickinson wrote: > > > ... > > > If the FCC hadn't already completely knobbish and basically eliminated > > >

Re: [LEDE-DEV] [PATCH 2/2] Add script to build common platforms.

2016-05-31 Thread Conor O'Gorman
On 28/05/16 15:55, Ben Greear wrote: On 05/27/2016 11:10 PM, David Lang wrote: On Fri, 27 May 2016, Ben Greear wrote: On 05/27/2016 02:46 AM, Karl Palsson wrote: gree...@candelatech.com wrote: From: Ben Greear The idea is to be able to allow newbies to easily build images for common h

Re: [LEDE-DEV] Adding support for Comfast CF-WR650AC

2016-05-31 Thread Gareth Parker
Thanks Jo I'll do just that and create a fork. I've been doing some testing with an earlier version of openwrt trunk trying to find out what change and when that has caused the switch problem on this router. This revision seen to be fine: http://git.openwrt.org/?p=openwrt.git;a=commit;h=5603e832

Re: [LEDE-DEV] brcm47xx legacy broken in trunk?

2016-05-31 Thread p . wassi
> What about: > openwrt-brcm47xx-legacy-standard-squashfs.trx > lede-brcm47xx-legacy-standard-squashfs.trx > ? Can u try them? That's what I meant with > the trx versions of these for the sysupgrade None of them work. The WRT54GL refuses to boot. I do a tftp recovery with Linksys' firmware then.

Re: [LEDE-DEV] brcm47xx legacy broken in trunk?

2016-05-31 Thread Rafał Miłecki
On 31 May 2016 at 09:22, wrote: > However, for me, the latest working image seems to be 15.05.1. > I installed openwrt-15.05.1-brcm47xx-legacy-squashfs.trx which has kernel > 3.18.23 and can > see this on the serial console during startup: > > (...) > > However, if I take > openwrt-brcm47xx-le

[LEDE-DEV] tests with ipq806x 4.4 kernel

2016-05-31 Thread Josh Bendavid
Hi, I've tested the current master on Tp-link Archer C2600 1.0 with kernel 4.4. Few things that I've seen: 1) CPU frequency scaling seems not active (/sys/bus/cpu/devices/cpu0/cpufreq/ does not exist and wired network performance is significantly worse than with 3.18 kernel, limited by high sirq

[LEDE-DEV] Netifd patch 8cb06c3efe734a521507cba7b5f0ba206e2476e0

2016-05-31 Thread Naresh Kumar Mehta
Felix, I am trying to add wlan0 interface to bond interface but unable to add. While digging further, I realized that below commit is not allowing me to add. http://git.openwrt.org/?p=project/netifd.git;a=commitdiff;h=8cb06c3efe734a52 1507cba7b5f0ba206e2476e0 I also noticed initial code was added

Re: [LEDE-DEV] brcm47xx legacy broken in trunk?

2016-05-31 Thread p . wassi
Ok, I did some further tests. First test was with ASUS WL500gpv2: this runs fine on brcm47xx-legacy from trunk. The second test was with an *unmodified* WRT54GL (having only 16MB of RAM) (It's clear, that 16MB is not enough to run trunk, however, it should at least start booting the kernel.) Res

Re: [LEDE-DEV] [PATCH] kernel/mtd: Add support for Macronix mx25u25635f, used in Archer C2600 v1.1

2016-05-31 Thread A. Benz
Hi Rafał, Will do. Thanks. Regards, A. Benz On 05/31/16 04:56, Rafał Miłecki wrote: On 30 May 2016 at 11:52, Ash Benz wrote: Signed-off-by: Ash Benz --- .../475-mtd-spi-nor-add-macronix-mx25u25635f.patch | 10 ++ 1 file changed, 10 insertions(+) create mode 100644 tar

[LEDE-DEV] [PATCH] libpcap: remove unrecognized configure options

2016-05-31 Thread Dirk Neukirchen
Signed-off-by: Dirk Neukirchen --- package/libs/libpcap/Makefile | 2 -- 1 file changed, 2 deletions(-) diff --git a/package/libs/libpcap/Makefile b/package/libs/libpcap/Makefile index 3943efa..1011ce6 100644 --- a/package/libs/libpcap/Makefile +++ b/package/libs/libpcap/Makefile @@ -54,9 +54,7

[LEDE-DEV] [PATCH] openvpn: remove unrecognized option

2016-05-31 Thread Dirk Neukirchen
removed upstream in https://github.com/OpenVPN/openvpn/commit/9ffd00e7541d83571b9eec087c6b3545ff68441f now its always on Signed-off-by: Dirk Neukirchen --- package/network/services/openvpn/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/package/network/services/openvpn/Makefile b/pa

[LEDE-DEV] [PATCH] elfutils: remove unrecognized config option

2016-05-31 Thread Dirk Neukirchen
fixes: configure: WARNING: unrecognized options: --disable-werror Signed-off-by: Dirk Neukirchen --- package/libs/elfutils/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/package/libs/elfutils/Makefile b/package/libs/elfutils/Makefile index fa7bc55..5292eba 100644 --- a/package/libs/

[LEDE-DEV] [PATCH] xtables-addons: update to 2.11

2016-05-31 Thread Dirk Neukirchen
- fix compilation w. Kernel 4.6 due to hash->shash crypto API - remove a patch integrated upstream - remove unrecognized configure option removed upstream in 2010 commit 40d0345f1ed02de183b13a6ce38847bc1f4ac48e Signed-off-by: Dirk Neukirchen --- package/network/utils/xtables-addons/Makefile

[LEDE-DEV] brcm47xx legacy broken in trunk?

2016-05-31 Thread p . wassi
Hi there! I've just revived an old WRT54GL and implanted 32MB RAM into it - it works perfectly well :) However, for me, the latest working image seems to be 15.05.1. I installed openwrt-15.05.1-brcm47xx-legacy-squashfs.trx which has kernel 3.18.23 and can see this on the serial console during st