Re: [OpenWrt-Devel] upstream opkg

2016-04-21 Thread Jo-Philipp Wich
Hi, Yocto made opkg unusable for us. Current upstream is *far* too big for use in OpenWrt. The now required libarchive alone is larger than our current opkg version. I took a look at packaging current opkg a while back and got stuck at bringing libarchive down to a sane size, therfor I gave up on

Re: [OpenWrt-Devel] [PATCH 2/4] tools: firmware-utils: add region code support to mktplinkfw

2016-04-21 Thread Rafał Miłecki
On 21 April 2016 at 08:33, Matthias Schiffer wrote: > @@ -324,6 +351,17 @@ static int check_options(void) > else > hw_rev = 1; > > + if (country) { > + region = find_region(country); > + if (region == (uint32_t)-1) { > +

Re: [OpenWrt-Devel] [PATCH 3/4] ar71xx: fix giving extra arguments to Build/mktplinkfw

2016-04-21 Thread Rafał Miłecki
On 21 April 2016 at 08:33, Matthias Schiffer wrote: > @@ -967,8 +968,8 @@ define Device/tl-wr2543-v1 > BOARDNAME := TL-WR2543N > DEVICE_PROFILE := TLWR2543 > TPLINK_HWID := 0x25430001 > -IMAGE/sysupgrade.bin := append-rootfs | mktplinkfw sysupgrade "-v > 3.13.99" > -IMAGE/f

Re: [OpenWrt-Devel] [PATCH 2/4] tools: firmware-utils: add region code support to mktplinkfw

2016-04-21 Thread Matthias Schiffer
On 04/21/2016 11:28 AM, Rafał Miłecki wrote: > On 21 April 2016 at 08:33, Matthias Schiffer > wrote: >> @@ -324,6 +351,17 @@ static int check_options(void) >> else >> hw_rev = 1; >> >> + if (country) { >> + region = find_region(country); >> +

Re: [OpenWrt-Devel] [PATCH 3/4] ar71xx: fix giving extra arguments to Build/mktplinkfw

2016-04-21 Thread Matthias Schiffer
On 04/21/2016 11:30 AM, Rafał Miłecki wrote: > On 21 April 2016 at 08:33, Matthias Schiffer > wrote: >> @@ -967,8 +968,8 @@ define Device/tl-wr2543-v1 >> BOARDNAME := TL-WR2543N >> DEVICE_PROFILE := TLWR2543 >> TPLINK_HWID := 0x25430001 >> -IMAGE/sysupgrade.bin := append-rootfs

Re: [OpenWrt-Devel] mt76 wifi module on mt7688 board, no interface

2016-04-21 Thread Baptiste Clenet
Will finish to try next week Le 14 avr. 2016 20:20, "Baptiste Clenet" a écrit : > 2016-04-14 16:58 GMT+02:00 John Crispin : > > > > > > On 14/04/2016 16:38, Baptiste Clenet wrote: > >> Marc, yes it has been added by John Crispins. > >> > >> I had nothing in etc/config/wireless, which is the right

[OpenWrt-Devel] [PATCH v2 4/4] ar71xx: build TP-LINK Archer C7 images with US region code

2016-04-21 Thread Matthias Schiffer
Since December 2015, the Archer C7 comes with an US-specific firmware. This firmware will only allow upgrades with images that contain the US region code in the firmware header. The "universal" firmware distributed in the rest of the world doesn't care about the region code, so we can just uncondi

[OpenWrt-Devel] [PATCH v2 3/4] ar71xx: fix giving extra arguments to Build/mktplinkfw

2016-04-21 Thread Matthias Schiffer
The build command will always get the whole argument string in $(1), regardless of whitespace. We need to use word/wordlist to split the string after the first word. Whitespace and quotation will be given to the command verbatim (make will ignore it), so to give multiple arguments, no quotation ma

[OpenWrt-Devel] [PATCH v2 2/4] tools: firmware-utils: add region code support to mktplinkfw

2016-04-21 Thread Matthias Schiffer
Signed-off-by: Matthias Schiffer --- tools/firmware-utils/src/mktplinkfw.c | 51 +++ 1 file changed, 46 insertions(+), 5 deletions(-) diff --git a/tools/firmware-utils/src/mktplinkfw.c b/tools/firmware-utils/src/mktplinkfw.c index 695d4f5..7127932 100644 --- a/to

[OpenWrt-Devel] [PATCH v2 1/4] tools: firmware-utils: clean up mktplinkfw

2016-04-21 Thread Matthias Schiffer
Remove the whole board list from mktplinkfw, as OpenWrt doesn't use it and it was severely out of sync with the list of built images for ar71xx. Also: * fix -Wall warnings * add const where appropriate Signed-off-by: Matthias Schiffer --- tools/firmware-utils/Makefile | 2 +- tools/fi

Re: [OpenWrt-Devel] mt76 wifi module on mt7688 board, no interface

2016-04-21 Thread Marc Nicholas
I just tried. I get the same results as Baptiste — i.e. don’t get a radio0 device. I removed the “disabled enabled” line from /etc/config/wireless. I believe I built this image with the “default” MT7688 profile and I checked the mt76 wireless driver was built-in. Thoughts? -m --  Marc Nichol

Re: [OpenWrt-Devel] mt76 wifi module on mt7688 board, no interface

2016-04-21 Thread Marc Nicholas
To add to that, an ifconfig radio0 yields “no such device”. -m --  Marc Nicholas CTO, Wimoto Technologies Inc. Unit 2, 300 Don Park Road, Markham, Ontario L3R 3A1 CANADA +1.416.414.6272 On April 21, 2016 at 12:27:23 PM, Marc Nicholas (m...@wimoto.com) wrote: I just tried. I get the same results

Re: [OpenWrt-Devel] mt76 wifi module on mt7688 board, no interface

2016-04-21 Thread Noble Pepper
Is the firmware getting loaded (/lib/firmware/mt7628_e2.bin)? It looks like the fix in 48958 for this is in github.com/openwrt-mirror/ but not in github.com/openwrt/. On Thu, 2016-04-21 at 12:27 -0400, Marc Nicholas wrote: > To add to that, an ifconfig radio0 yields “no such device”. > > > -m

Re: [OpenWrt-Devel] mt76 wifi module on mt7688 board, no interface

2016-04-21 Thread Marc Nicholas
Is the firmware getting loaded (/lib/firmware/mt7628_e2.bin)? It looks  like the fix in 48958 for this is in github.com/openwrt-mirror/ but not  in github.com/openwrt/.  Yes, the firmware is getting loaded based on the boot logs. I’ve gotten a bit further and have AP mode running. But can’t for th

Re: [OpenWrt-Devel] [PATCH] ramips: add support for Planex MZK-EX300NP

2016-04-21 Thread John Crispin
Hi, fails to apply for some reason, please rebase and resend. there is one small nitpick inline. On 14/04/2016 16:59, YuheiOKAWA wrote: > MZK-EX300NP is MT7620A based wifi repeater. > Built-in power supply. > 64MiB RAM, 8MiB SPI Flash, non Wired Ethernet. > > Signed-off-by: YuheiOKAWA > --- >

[OpenWrt-Devel] IEEE 802.11s

2016-04-21 Thread Prabhu Janakaraj
Hi all, I am a newbie to embedded devices. I have used openwrt for building mesh network. I am able to build firmware from the source code and get it working. But I want to modifying certain things in Mesh Routing algorithm HWMP, kind of implementing a new routing algorithm. In generic linux

[OpenWrt-Devel] IEEE 802.11s

2016-04-21 Thread Prabhu Janakaraj
Hi all, I am a newbie to embedded devices. I have used openwrt for building mesh network. I am able to build firmware from the source code and get it working. But I want to modifying certain things in Mesh Routing algorithm HWMP, kind of implementing a new routing algorithm. In generic linux

Re: [OpenWrt-Devel] [PATCH] ramips: add support for Planex CS-QR10

2016-04-21 Thread John Crispin
Hi, this one also fails to apply. please rebase/resend JOhn On 12/04/2016 14:16, YuheiOKAWA wrote: > CS-QR10 is MT7620A based IP Camera. > > the camera and sound does not work with kernel 4.4. > - camera chip is sn9c291. > - sound chip is wm8960. > > Signed-off-by: YuheiOKAWA > ---

[OpenWrt-Devel] [PATCH] oxnas: add missing semicolon

2016-04-21 Thread Daniel Golle
A missing semicolon in the gpio-keys-polled section of ox820-akitio.dts caused the build to break. Add it. Signed-off-by: Daniel Golle --- target/linux/oxnas/files/arch/arm/boot/dts/ox820-akitio.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/oxnas/files/arch

[OpenWrt-Devel] [PATCH 1/2] lantiq: Fix typo in LED diag script.

2016-04-21 Thread Vittorio Gambaletta (VittGam)
Signed-off-by: Vittorio Gambaletta --- --- a/target/linux/lantiq/base-files/etc/diag.sh +++ b/target/linux/lantiq/base-files/etc/diag.sh @@ -25,7 +25,7 @@ ;; done) status_led_off - [ -n "$running" ] & { + [ -n "$running" ] && {

[OpenWrt-Devel] [PATCH 2/2] lantiq: Fix status LED on TDW89X0 after boot is completed.

2016-04-21 Thread Vittorio Gambaletta (VittGam)
After recent patches, the status LED on this router would stay switched off after boot is completed. A switched off status LED often indicates a boot failure (eg. kernel panic), so fix this and get back to the previous behaviour. Signed-off-by: Vittorio Gambaletta --- --- a/target/linux/lantiq/d

[OpenWrt-Devel] [PATCH] mac80211: ath9k: add GPIO support for AR9280 chip

2016-04-21 Thread Michal
From: Michal Cieslakiewicz Date: Thu, 21 Apr 2016 23:03:28 +0200 Subject: [PATCH] mac80211: ath9k: add GPIO support for AR9280 chip Enable access to GPIO on Atheros wireless chip AR9280. Support for 9280 is added to existing 9285/9287 subsystem because these 3 chips differ only in number of GPIO

Re: [OpenWrt-Devel] IEEE 802.11s

2016-04-21 Thread Luiz Angelo Daros de Luca
Prabhu, OpenWRT does not have source code of projects inside its own source. All needed sources, including the linux kernel, is downloaded during the build. You'll only find kernel patches and the kernel packages definition (which packs modules). If you want to see the result kernel source, build

[OpenWrt-Devel] [PATCH/RFC] dnsmasq: run as dedicated UID/GID

2016-04-21 Thread Daniel Golle
Running dnsmasq in a dedicated user/group allows matching its outgoing traffic more easily using iptables' owner match. Add UID/GID to the package metadata and append the user/group parameters to the init script. Signed-off-by: Daniel Golle --- package/network/services/dnsmasq/Makefile

Re: [OpenWrt-Devel] [PATCH 2/2] lantiq: Fix status LED on TDW89X0 after boot is completed.

2016-04-21 Thread Mathias Kresin
Am 21.04.2016 um 23:43 schrieb Vittorio Gambaletta (VittGam): After recent patches, the status LED on this router would stay switched off after boot is completed. A switched off status LED often indicates a boot failure (eg. kernel panic), so fix this and get back to the previous behaviour. NAK

Re: [OpenWrt-Devel] [PATCH 1/2] lantiq: Fix typo in LED diag script.

2016-04-21 Thread Mathias Kresin
Am 21.04.2016 um 23:43 schrieb Vittorio Gambaletta (VittGam): Signed-off-by: Vittorio Gambaletta Acked-by: Mathias Kresin --- --- a/target/linux/lantiq/base-files/etc/diag.sh +++ b/target/linux/lantiq/base-files/etc/diag.sh @@ -25,7 +25,7 @@ ;; done)

[OpenWrt-Devel] [PATCH] lantiq: fix brnImage build

2016-04-21 Thread Mathias Kresin
Use the kernel with the appended dtb as base, otherwise the kernel will panic with "no dtb found". Signed-off-by: Mathias Kresin --- target/linux/lantiq/image/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/lantiq/image/Makefile b/target/linux/lantiq/im