Re: [OpenWrt-Devel] [PATCH] build: don't call prereq for any package/symlinks rules

2015-04-27 Thread 'Toerless Eckert'
So if "make package/symlinks" is optional, when is it needed ? Sorry for the beginner q. On Mon, Apr 27, 2015 at 05:15:36PM -0700, Mathieu Olivari wrote: > I'm actually talking about the command below: > $ make package/symlinks > > Right after the git clone, it does open the menuconfig. Which en

Re: [OpenWrt-Devel] [PATCH] build: don't call prereq for any package/symlinks rules

2015-04-27 Thread Mathieu Olivari
I'm actually talking about the command below: $ make package/symlinks Right after the git clone, it does open the menuconfig. Which ends-up in generating a .config, which has to be deleted anyway as any package from feed would get removed. Thanks, Mathieu -Original Message- From: openwrt

Re: [OpenWrt-Devel] [PATCH] build: don't call prereq for any package/symlinks rules

2015-04-27 Thread Toerless Eckert
Mathieu: I can't quite follow your explanations. I ahve been building what looks to me perfectly well working 14.07 images by just doing: git clone git://git.openwrt.org/openwrt.git cd openwrt # Clean workspace now cp real.config .config make defconfig make Your mail seems to indicate that tha

Re: [OpenWrt-Devel] QUALCOMM spoof attempt detected: [PATCH] build: don't call prereq for any package/symlinks rules

2015-04-27 Thread McClintock, Matthew
Please allow this mailing list, this is related to a Open Source project I work on. -M > On Apr 27, 2015, at 6:47 PM, request.allow.sp...@qualcomm.com wrote: > > PLEASE RESEND THE INFORMATION USING A PERSONAL EMAIL ADDRESS. > -

[OpenWrt-Devel] [PATCH] build: don't call prereq for any package/symlinks rules

2015-04-27 Thread Mathieu Olivari
Most of the time, we want to make sure OpenWrt has been configured and setup before start running make. However, in case of package/symlinks, forcing prereq as a dependency creates multiple issues: *when executed on a clean workspace, it will prompt for user input and open a menuconfig window befo

Re: [OpenWrt-Devel] [PATCH] ubox: CMake: fix json-c detection

2015-04-27 Thread Rafał Miłecki
On 27 April 2015 at 22:13, Yegor Yefremov wrote: > Use PKG_SEARCH_MODULE() to detect json-c library, > otherwise the search fails, if both json-c and json > are not present in pkg-config database. Just wanted to say thanks. I remember I got some problems with finding json-c when trying to install

[OpenWrt-Devel] [PATCH] ubox: CMake: fix json-c detection

2015-04-27 Thread Yegor Yefremov
Use PKG_SEARCH_MODULE() to detect json-c library, otherwise the search fails, if both json-c and json are not present in pkg-config database. Signed-off-by: Yegor Yefremov --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index

Re: [OpenWrt-Devel] AR8334 switch support

2015-04-27 Thread Heiner Kallweit
Am 27.04.2015 um 17:47 schrieb Christian Mehlis: > Am 27.04.2015 um 15:06 schrieb Heiner Kallweit: >> Could you please provide te dmesg output of this patch version? > > [0.85] switch0: Atheros AR833X rev. 2 switch registered on > ag71xx-mdio.0 > [0.86] Atheros AR8216/AR8236/AR831

[OpenWrt-Devel] [PATCH] ramips: fix switch names for several boards in device tree

2015-04-27 Thread Roman Yeryomin
Signed-off-by: Roman Yeryomin --- target/linux/ramips/dts/F5D8235_V1.dts | 4 ++-- target/linux/ramips/dts/F5D8235_V2.dts | 2 +- target/linux/ramips/dts/WL-351.dts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/target/linux/ramips/dts/F5D8235_V1.dts b/target/linux/ra

Re: [OpenWrt-Devel] AR8334 switch support

2015-04-27 Thread Christian Mehlis
Am 27.04.2015 um 15:06 schrieb Heiner Kallweit: Could you please provide te dmesg output of this patch version? [0.85] switch0: Atheros AR833X rev. 2 switch registered on ag71xx-mdio.0 [0.86] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: PHY 0 available, BMSR = 0x7949 [0.

[OpenWrt-Devel] [PATCH] netifd-dhcp: supply parameters to user-script

2015-04-27 Thread Christian Mehlis
hand over parameters to user-script e.g. $1=deconfig Signed-off-by: Leon George Signed-off-by: Christian Mehlis --- package/network/config/netifd/files/lib/netifd/dhcp.script | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/network/config/netifd/files/lib/netifd/dhcp.

[OpenWrt-Devel] [PATCH] ar71xx: add support for compex wpj531

2015-04-27 Thread Christian Mehlis
OpenWrt can be flashed with following uboot commands: tftpboot 0x8050 openwrt-ar71xx-generic-wpj531-16M-squashfs-sysupgrade.bin erase 0x9f03 +$filesize cp.b $fileaddr 0x9f03 $filesize Signed-off-by: Christian Mehlis --- target/linux/ar71xx/base-files/etc/diag.sh | 3 + ...

Re: [OpenWrt-Devel] AR8334 switch support

2015-04-27 Thread Heiner Kallweit
Here comes a slight modification / extension to display the return value of the BMSR read command. Maybe the read command returns an error instead of 0 for non-existent PHY's. There is no AR8XXX chip with a PHY 5 or PHY 6. Could you please provide te dmesg output of this patch version? Thanks. f

Re: [OpenWrt-Devel] AR8334 switch support

2015-04-27 Thread Christian Mehlis
Am 24.04.2015 um 20:05 schrieb Heiner Kallweit: Could you please test this patch and provide the dmesg output? I tried your patch - dmesg is attached. After the first run without success: [0.89] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Detected AR8337 switch I tweaked your pat

[OpenWrt-Devel] [PATCH] [RESUBMIT] Support Linksys WAP-4410N

2015-04-27 Thread Caleb James DeLisle
I noticed the patch was not applying to the recent master so I reworked it to add a new patch to the patchset against the kernel rather than patching the patch which was ugly (and proved to be brittle). This patch has a checkpatch.pl issue but it's trailing whitespace in the patch which it adds