Re: [OpenWrt-Devel] [PATCH v3] lantiq: get more status information from xDSL

2015-09-04 Thread Martin Blumenstingl
Hi John, On Tue, Aug 18, 2015 at 9:03 PM, Martin Blumenstingl wrote: > Could you please have a look at Florian's patch [0] and merge it I have just seen that the patch was accepted but I cannot find the commit in the repository yet. Could you please check what happened here? Regards, Martin [

Re: [OpenWrt-Devel] [PATCH v4] base-files: add /etc/profile.d support

2015-09-04 Thread Bastian Bittorf
* Luiz Angelo Daros de Luca [04.09.2015 17:48]: > Normally I like to use find instead of glob > With minpath, maxpath, name and etc, you get safe empty result when dir is > empty. IMHO this is overkill here. You are correct, but... bye, bastian ___ ope

Re: [OpenWrt-Devel] [PATCH v4] base-files: add /etc/profile.d support

2015-09-04 Thread Luiz Angelo Daros de Luca
Normally I like to use find instead of glob With minpath, maxpath, name and etc, you get safe empty result when dir is empty. Regards, Em sex, 4 de set de 2015 10:10, Bastian Bittorf escreveu: > * Karl Palsson [04.09.2015 15:02]: > > So let's -d test the directory instead of -e testing every f

Re: [OpenWrt-Devel] [PATCH 0/7] ipq806x: add support for Netgear Nighthawk X4 R7500

2015-09-04 Thread Jonas Gorski
On Fri, Aug 21, 2015 at 1:45 PM, Jonas Gorski wrote: > This patchset adds support for the Netgear Nighthawk X4 R7500. > > This patchset depends on patches 1 to 8 from "ipq806x: implement > sysupgrade for AP148". Thanks, applied with a small fixup for the profile (there is no "kmod-wpad-mini").

Re: [OpenWrt-Devel] [PATCH 00/10] ipq806x: implement sysupgrade for AP148

2015-09-04 Thread Jonas Gorski
On Fri, Aug 21, 2015 at 1:17 PM, Jonas Gorski wrote: > This patchset adds sysupgrade support and and builds images for AP148. > > This has been tested on AP148. > > sysupgrade from original QSDK should work in theory, but in practice > either ubiformat or something else in QSDK writes the ubi imag

Re: [OpenWrt-Devel] [PATCH 3/3] linux: add support of Synopsys ARC boards

2015-09-04 Thread Alexey Brodkin
Hi Jonas, On Fri, 2015-09-04 at 15:44 +0200, Jonas Gorski wrote: > Hi, > > On Fri, Sep 4, 2015 at 1:24 PM, Alexey Brodkin > wrote: > > Hi Jonas, > > > > On Fri, 2015-09-04 at 13:01 +0200, Jonas Gorski wrote: > > > On Fri, Sep 4, 2015 at 12:45 PM, Alexey Brodkin > > > wrote: > > > > Hi Jonas, >

Re: [OpenWrt-Devel] [PATCH 3/3] linux: add support of Synopsys ARC boards

2015-09-04 Thread Jonas Gorski
Hi, On Fri, Sep 4, 2015 at 1:24 PM, Alexey Brodkin wrote: > Hi Jonas, > > On Fri, 2015-09-04 at 13:01 +0200, Jonas Gorski wrote: >> On Fri, Sep 4, 2015 at 12:45 PM, Alexey Brodkin >> wrote: >> > Hi Jonas, >> > >> > On Fri, 2015-09-04 at 12:40 +0200, Jonas Gorski wrote: >> > > Hi, >> > > >> > > O

Re: [OpenWrt-Devel] [PATCH v4] base-files: add /etc/profile.d support

2015-09-04 Thread Bastian Bittorf
* Karl Palsson [04.09.2015 15:02]: > So let's -d test the directory instead of -e testing every file just in > case the directory didn't exist? even if the directory exists but is empty, the globbing fails. but i get your point. what about: [ -n "$( ls -1 $dir )" ] && { for FILE in $dir/*; do

[OpenWrt-Devel] [PATCH v2] target: ar71xx: add support for COMFAST CF-E316N v2 board

2015-09-04 Thread Paul Fertser
This adds full support (sans sysupgrading from vendor firmware) for the COMFAST CF-E316N v2 (aka CF-E316V2, CF-E316N-V2 and CF-E316Nv2.0, no FCC ID) by Shenzhen Four Seas Global Link Network Technology Co., Ltd (this company is actively refusing to provide GPL'd sources for the OpenWrt version they

Re: [OpenWrt-Devel] [PATCH v4] base-files: add /etc/profile.d support

2015-09-04 Thread edgar . soldin
On 04.09.2015 13:55, Karl Palsson wrote: > Jo-Philipp Wich wrote: >> Hi. > >>> Why the -e? You only got existing files in the glob above right? > >> Almost. If the directory does not exist or is empty then the glob >> pattern is returned literally, e.g. "echo /tmp/*" will expand to a list >> o

Re: [OpenWrt-Devel] [PATCH v4] base-files: add /etc/profile.d support

2015-09-04 Thread Karl Palsson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 edgar.sol...@web.de wrote: > On 04.09.2015 11:51, karlp wrote: > > include() { > > local file > >

Re: [OpenWrt-Devel] [PATCH v4] base-files: add /etc/profile.d support

2015-09-04 Thread Karl Palsson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jo-Philipp Wich wrote: > Hi. > > > Why the -e? You only got existing files in the glob above right? > > Almost. If the directory does not exist or is empty then the glob > pattern is returned literally, e.g. "echo /tmp/*" will expand to a list > o

Re: [OpenWrt-Devel] [PATCH 3/3] linux: add support of Synopsys ARC boards

2015-09-04 Thread Alexey Brodkin
Hi Jonas, On Fri, 2015-09-04 at 13:01 +0200, Jonas Gorski wrote: > On Fri, Sep 4, 2015 at 12:45 PM, Alexey Brodkin > wrote: > > Hi Jonas, > > > > On Fri, 2015-09-04 at 12:40 +0200, Jonas Gorski wrote: > > > Hi, > > > > > > On Fri, Sep 4, 2015 at 12:35 PM, Alexey Brodkin > > > > If one of my pro

Re: [OpenWrt-Devel] [PATCH 3/3] linux: add support of Synopsys ARC boards

2015-09-04 Thread Jonas Gorski
On Fri, Sep 4, 2015 at 12:45 PM, Alexey Brodkin wrote: > Hi Jonas, > > On Fri, 2015-09-04 at 12:40 +0200, Jonas Gorski wrote: >> Hi, >> >> On Fri, Sep 4, 2015 at 12:35 PM, Alexey Brodkin >> > If one of my proposals above ok? >> > For example this one? >> > --->8 >> > * target/linux/ar

Re: [OpenWrt-Devel] [PATCH v4] base-files: add /etc/profile.d support

2015-09-04 Thread Bastian Bittorf
* karlp [04.09.2015 12:30]: > Maybe "local" could be used to avoid the unset FILE line, but at least on 2nd tought i must object, that if we use a function, our environment is polluted with a function (how to unload it?), so it's easier to just unset a variable. bye, bastian

Re: [OpenWrt-Devel] [PATCH 3/3] linux: add support of Synopsys ARC boards

2015-09-04 Thread Alexey Brodkin
Hi Jonas, On Fri, 2015-09-04 at 12:40 +0200, Jonas Gorski wrote: > Hi, > > On Fri, Sep 4, 2015 at 12:35 PM, Alexey Brodkin > wrote: > > Hi Jonas, > > > > On Fri, 2015-09-04 at 12:25 +0200, Jonas Gorski wrote: > > > Hi, > > > > > > On Thu, Sep 3, 2015 at 6:11 PM, Alexey Brodkin > > > wrote: >

Re: [OpenWrt-Devel] [PATCH 3/3] linux: add support of Synopsys ARC boards

2015-09-04 Thread Jonas Gorski
Hi, On Fri, Sep 4, 2015 at 12:35 PM, Alexey Brodkin wrote: > Hi Jonas, > > On Fri, 2015-09-04 at 12:25 +0200, Jonas Gorski wrote: >> Hi, >> >> On Thu, Sep 3, 2015 at 6:11 PM, Alexey Brodkin >> wrote: >> > Hi Jonas, >> > >> > On Thu, 2015-09-03 at 15:33 +0200, Jonas Gorski wrote: >> > > Hi, >> >

Re: [OpenWrt-Devel] [PATCH v4] base-files: add /etc/profile.d support

2015-09-04 Thread edgar . soldin
On 04.09.2015 12:36, Bastian Bittorf wrote: > * edgar.sol...@web.de [04.09.2015 12:30]: >> note from a bystander. this looks wrong - path/file names containing spaces >> will be delimited by for. probably better use > > for the sent patch this works: > > root@box:~ touch "A 1" > root@box:~ touch

Re: [OpenWrt-Devel] [PATCH 3/3] linux: add support of Synopsys ARC boards

2015-09-04 Thread Alexey Brodkin
Hi Jonas, On Fri, 2015-09-04 at 12:25 +0200, Jonas Gorski wrote: > Hi, > > On Thu, Sep 3, 2015 at 6:11 PM, Alexey Brodkin > wrote: > > Hi Jonas, > > > > On Thu, 2015-09-03 at 15:33 +0200, Jonas Gorski wrote: > > > Hi, > > > > > > On Wed, Sep 2, 2015 at 10:40 PM, Alexey Brodkin > > > wrote: >

Re: [OpenWrt-Devel] European Commission secretly passes same measure as FCC OpenWRT ban ?

2015-09-04 Thread Karl Palsson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dominique Martinet wrote: > > >Caleb James DeLisle: > > >>Seems to be one German newspaper reporting that Directive 2014/53/EU > > >>places an EU ban on flashing devices. > > >> > > >>http://www.heise.de/netze/meldung/Funkregulierung-Angriff-auf-alter

Re: [OpenWrt-Devel] [PATCH v4] base-files: add /etc/profile.d support

2015-09-04 Thread Bastian Bittorf
* edgar.sol...@web.de [04.09.2015 12:30]: > note from a bystander. this looks wrong - path/file names containing spaces > will be delimited by for. probably better use for the sent patch this works: root@box:~ touch "A 1" root@box:~ touch "A 2" root@box:~ for FILE in A*; do ls -l "$FILE"; done

Re: [OpenWrt-Devel] [PATCH 3/3] linux: add support of Synopsys ARC boards

2015-09-04 Thread Jonas Gorski
Hi, On Thu, Sep 3, 2015 at 6:11 PM, Alexey Brodkin wrote: > Hi Jonas, > > On Thu, 2015-09-03 at 15:33 +0200, Jonas Gorski wrote: >> Hi, >> >> On Wed, Sep 2, 2015 at 10:40 PM, Alexey Brodkin >> wrote: >> > Hi Jonas, >> > >> > On Wed, 2015-09-02 at 10:32 +0200, Jonas Gorski wrote: >> > > Also plea

Re: [OpenWrt-Devel] [PATCH v4] base-files: add /etc/profile.d support

2015-09-04 Thread Bastian Bittorf
* karlp [04.09.2015 12:30]: > > + for FILE in /etc/profile.d/*.sh; do > > + [ -e "$FILE" ] && . "$FILE" > > Why the -e? You only got existing files in the glob above right? If no, when the directory is empty, you get FILE='/etc/profile.d/*.sh' > Maybe "local" could be used to avoid

Re: [OpenWrt-Devel] [PATCH v4] base-files: add /etc/profile.d support

2015-09-04 Thread edgar . soldin
On 04.09.2015 11:51, karlp wrote: > include() { > local file > > for file in $(ls $1/*.sh 2>/dev/null);

Re: [OpenWrt-Devel] [PATCH v4] base-files: add /etc/profile.d support

2015-09-04 Thread Jo-Philipp Wich
Hi. > Why the -e? You only got existing files in the glob above right? Almost. If the directory does not exist or is empty then the glob pattern is returned literally, e.g. "echo /tmp/*" will expand to a list of files but "echo /does_not_exist/*" will return "/does_not_exist/*" literaly so the

[OpenWrt-Devel] [PATCH 3/3] brcm2708-gpu-fw: update to latest version

2015-09-04 Thread Álvaro Fernández Rojas
+PKG_VERSION:=20150904 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_REV).tar.gz PKG_SOURCE_URL:=https://github.com/Hexxeh/rpi-firmware/archive/ -PKG_MD5SUM:=842648dcb2f3e86f4ec5c85310f81d75 +PKG_MD5SUM:=7e645dc54bf4175ca358aeb4b3406d7c PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)/rpi-firmware-$(PKG_REV

[OpenWrt-Devel] [PATCH 2/3] brcm2708: add kmod-sound-soc-raspidac3

2015-09-04 Thread Álvaro Fernández Rojas
This adds support for RaspiDAC Rev.3x Signed-off-by: Álvaro Fernández Rojas --- target/linux/brcm2708/modules.mk | 23 +++ 1 file changed, 23 insertions(+) diff --git a/target/linux/brcm2708/modules.mk b/target/linux/brcm2708/modules.mk index 03aa19b..68a7d38 100644 --- a/ta

Re: [OpenWrt-Devel] [PATCH v4] base-files: add /etc/profile.d support

2015-09-04 Thread karlp
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I like it. One query inline Bastian Bittorf wrote: > OpenWrt should support an optional /etc/profile.d directory like > most other Linux distributions. This allows packages to install > their own scripts into /etc/profile.d/ directory. > > The f

[OpenWrt-Devel] [PATCH v4] base-files: add /etc/profile.d support

2015-09-04 Thread Bastian Bittorf
OpenWrt should support an optional /etc/profile.d directory like most other Linux distributions. This allows packages to install their own scripts into /etc/profile.d/ directory. The file suffix should make clear, that these scripts are (sourced) shell-snippets. If the user needs e.g. php or lua,