[OpenWrt-Devel] Linux kernel config options handling in OpenWRT

2015-08-17 Thread Alexey Brodkin
Hello, I'm playing with OpenWRT for a new platform and have a question on how OpenWRT handles KCONFIG kernel options. For example I select "KernelPackage/crypto-core" in OpenWRT's menuconfig then KCONFIG is populated with: -->8 CONFIG_CRYPTO=y CONFIG_CRYPTO_HW=

[OpenWrt-Devel] [PATCH] oxnas: remove support for kernel 3.18 and 4.0

2015-08-17 Thread Daniel Golle
Signed-off-by: Daniel Golle --- target/linux/oxnas/config-3.18 | 357 target/linux/oxnas/config-4.0 | 374 - .../010-arm_introduce-dma-fiq-irq-broadcast.patch | 56 --- .../250-add-plxtech-vendor-prefix.patch

Re: [OpenWrt-Devel] [PATCH] iwinfo: do not wait for scan results if scan request failed.

2015-08-17 Thread John Crispin
Hi, I have various issues with this patch On 31/07/2015 10:53, Dmitry Ivanov wrote: > Do not wait for scan results if scan request failed. > > Signed-off-by: Dmitry Ivanov > --- > iwinfo_nl80211.c | 14 ++ > 1 file changed, 10 insertions(+), 4 deletions(-) > > diff --git a/iwinfo_

Re: [OpenWrt-Devel] [PATCH] ramips: add support for Planex DB-WRT01

2015-08-17 Thread John Crispin
On 10/08/2015 17:16, YuheiOKAWA wrote: > This patch add support for Planex DB-WRT01. DANBOARD route on > the MT7620A SoC with two Ethernet port and a 802.11n 2.4 GHz radio. > DANBOARD is Cartoon character. > > Signed-off-by: YuheiOKAWA Hi, i merged a huge 25 patch series today that clean

Re: [OpenWrt-Devel] [PATCH] [libubox] ulog: check if /dev/kmsg is special file

2015-08-17 Thread John Crispin
Hi, On 16/08/2015 13:08, Sergiy Kibrik wrote: > Race is possible in ulog_kmsg: if no /dev/kmsg exists > (e.g. while /dev gets re-mounted) regular file created instead. > From this point system goes without kernel logger: > special character file can't be created anymore, all clients keep > overwri

[OpenWrt-Devel] [PATCH] generic: crypto: remove IRQF_DISABLED

2015-08-17 Thread Dirk Neukirchen
no-op since 2.6.35 removed in Kernel 4.1 see https://lwn.net/Articles/380931/ Signed-off-by: Dirk Neukirchen --- target/linux/generic/files/crypto/ocf/kirkwood/cesa_ocf_drv.c | 2 +- target/linux/generic/files/crypto/ocf/pasemi/pasemi.c | 2 +- target/linux/generic/files/cryp

[OpenWrt-Devel] [PATCH] orion: remove IRQF_DISABLED

2015-08-17 Thread Dirk Neukirchen
no-op since 2.6.35 removed in Kernel 4.1 see https://lwn.net/Articles/380931/ Signed-off-by: Dirk Neukirchen --- target/linux/orion/files/arch/arm/mach-orion5x/dt2-setup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/orion/files/arch/arm/mach-o

Re: [OpenWrt-Devel] [PATCH v2 00/25] ramips: massive code cleanups

2015-08-17 Thread Piotr Dymacz
2015-08-17 8:28 GMT+02:00 John Crispin : > Hi, > > just merged the whole lot. thanks a lot. what do you want to do next > lantiq or ar71xx ? :) personally i would prefer ar71xx ;) > [...] Hello John, It seems that there are some people who don't like the changes (see below), but they don't have e

Re: [OpenWrt-Devel] [PATCH] Added WIZnet WizFi630A Platform based on Ralink RT5350

2015-08-17 Thread John Crispin
Hi Tobias, Thanks for the patch. unfortunately its line mangled and white space broken. also it seems you sent a HTML email. If you take a few minutes to setup git, you can use "git send-email" to avoid these issues. John On 15/08/2015 10:08, Tobias Welz wrote: > Hello OpenWrt Developer

Re: [OpenWrt-Devel] [PATCH] Added WIZnet WizFi630A Platform based on Ralink RT5350

2015-08-17 Thread Sedat Dilek
On Mon, Aug 17, 2015 at 1:24 PM, John Crispin wrote: > Hi Tobias, > > Thanks for the patch. unfortunately its line mangled and white space > broken. also it seems you sent a HTML email. If you take a few minutes > to setup git, you can use "git send-email" to avoid these issues. > On Debian/Ubunt

Re: [OpenWrt-Devel] [PATCH v2 00/25] ramips: massive code cleanups

2015-08-17 Thread Sławomir Demeszko
W dniu 17.08.2015 o 13:24, Piotr Dymacz pisze: > It seems that there are some people who don't like the changes Hi. Don't bother that kind of people. There will be always someone who like mess. Cleanup is always good, especially for other people, who need to work with that code later. OpenWRT

Re: [OpenWrt-Devel] [PATCH] Added WIZnet WizFi630A Platform based on Ralink RT5350

2015-08-17 Thread Tobias Welz
Hello Sedat, thanks for the hints, I had already git installed but i did not know about git send-email. I'll send the reworked patch via git send-email later. Maybe it would be a good idea to mention git send-email in the wiki also: https://dev.openwrt.org/wiki/SubmittingPatches Kind regards

[OpenWrt-Devel] [PATCH 1/2] lua: use pkg-config built in module to search for alternatives

2015-08-17 Thread Karl Palsson
From: Karl Palsson Different distributions have different names for the lua 5.1 package. Use cmake's built in pkg-config support to search for the first one, rather than running it explicitly and searching for a single version. Signed-off-by: Karl Palsson --- There's a line further down that a

Re: [OpenWrt-Devel] [PATCH] [netifd] enable MULTICAST on GRE

2015-08-17 Thread Nick Podolak
On Sat, Aug 15, 2015 at 3:25 AM, Hans Dedecker wrote: > It would be better to make this a device setting like promiscuous >> mode,macaddr, etc ... so it can be configured via UCI for every device and >> thus not only restricted for GRE >> > > Hans > You make an excellent point and I agree, but I

[OpenWrt-Devel] [PATCH] toolchain/uClibc: add support of uClibc-ng

2015-08-17 Thread Alexey Brodkin
uClibc-ng is a spin-off of original uClibc, see http://www.uclibc-ng.org/ We try to regularly add changes from uClibc to uClibc-ng. We even sent patches and bug reports to the uClibc mailing list. The config file is compatible between uClibc-ng 1.0 and uClibc git master. This might change in the f

[OpenWrt-Devel] [PATCH 1/4] lldpd: remove obsolete/unsupported lldpctl call

2015-08-17 Thread Alexandru Ardelean
This call is no longer supported. Maybe a come-back for it would be to use a config /etc/lldpd.conf or /etc/lldpd.d/.conf Signed-off-by: Alexandru Ardelean --- package/network/services/lldpd/files/lldpd.init | 5 - 1 file changed, 5 deletions(-) diff --git a/package/network/services/lldpd/f

[OpenWrt-Devel] [PATCH 3/4] lldpd: conversion of init script to procd format

2015-08-17 Thread Alexandru Ardelean
And add respawn param (the main reason for this conversion). Signed-off-by: Alexandru Ardelean --- package/network/services/lldpd/files/lldpd.init | 31 ++--- 1 file changed, 18 insertions(+), 13 deletions(-) diff --git a/package/network/services/lldpd/files/lldpd.init b/pa

[OpenWrt-Devel] [PATCH 4/4] lldpd: add extra respawn params

2015-08-17 Thread Alexandru Ardelean
Signed-off-by: Alexandru Ardelean --- package/network/services/lldpd/files/lldpd.init | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/network/services/lldpd/files/lldpd.init b/package/network/services/lldpd/files/lldpd.init index fca0ebf..278dbaf 100644 --- a/package/network/servi

[OpenWrt-Devel] [PATCH 2/4] lldpd: move /var/run creation + chmod earlier

2015-08-17 Thread Alexandru Ardelean
Signed-off-by: Alexandru Ardelean --- package/network/services/lldpd/files/lldpd.init | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/network/services/lldpd/files/lldpd.init b/package/network/services/lldpd/files/lldpd.init index 4b49cbd..bd957b6 100644 --- a/pa

[OpenWrt-Devel] ar71xx: RB435G PCI does not support minipci sata module (PER-C20S)

2015-08-17 Thread Marek Behun
Hi, I recently acquired a RouterBoard 435G. There are 5 minipci slots on this board, so I bought the PER-C20S minipci sata module to add SATA storage to the board. The PER-C20S is supported by kernel module sata_sil. RouterBoard 435G is an ar71xx board, the PCI setup is done in arch/mips/ath79/mach

[OpenWrt-Devel] [PATCH] [kernel] at91: fix usb rate backport patch tab mangle

2015-08-17 Thread Ben Whitten
The patch submitted in [46649] was mangled in the use of gmails webmail interface, tabs replaced with spaces, resulting in a patch which dit not apply. This should fix the issue, sorry for the noise. Signed-off-by: Ben Whitten --- .../201-ARM-at91-usb-determine_rate-backport.patch | 28 +++

Re: [OpenWrt-Devel] Recommended settings ip6 DNS server / dnsmasq

2015-08-17 Thread Steven Barth
I'm not sure what you are trying to accomplish. If you are connecting a router with a default OpenWrt image with default configuration to an ISP or IPv6 router which offers prefix delegation, everything works out of the box including client configuration. You don't need to touch a single config

Re: [OpenWrt-Devel] ar71xx: RB435G PCI does not support minipci sata module (PER-C20S)

2015-08-17 Thread Jo-Philipp Wich
Hi. > Is the PCI subsystem on this board supported only for wireless cards? Yes. The hardware controller cannot handle PCI I/O resources, therefore only a subset of available miniPCI cards do work with it. Anything requiring I/O resources is a no-go. HTH, Jow ___

Re: [OpenWrt-Devel] Recommended settings ip6 DNS server / dnsmasq

2015-08-17 Thread Jean-Michel Pouré - GOOZE
Dear Steven, Thank you for answering. > I'm not sure what you are trying to accomplish. If you are connecting > a router with a default > OpenWrt image with default configuration to an ISP or IPv6 router > which offers prefix delegation, > everything works out of the box including client config

[OpenWrt-Devel] [PATCH v2] ramips: add support for Planex DB-WRT01

2015-08-17 Thread YuheiOKAWA
This patch add support for Planex DB-WRT01. DANBOARD route on the MT7620A SoC with two Ethernet port and a 802.11n 2.4 GHz radio. DANBOARD is Cartoon character. Signed-off-by: YuheiOKAWA --- target/linux/ramips/base-files/etc/board.d/01_leds | 3 + .../linux/ramips/base-files/etc/board.d/02_

Re: [OpenWrt-Devel] [PATCH] ramips: add support for Planex DB-WRT01

2015-08-17 Thread @SRCHACK . ORG
Hi, I re-wrote the patch. And it re-sent a patch. On 2015/08/17 19:31, John Crispin wrote: On 10/08/2015 17:16, YuheiOKAWA wrote: This patch add support for Planex DB-WRT01. DANBOARD route on the MT7620A SoC with two Ethernet port and a 802.11n 2.4 GHz radio. DANBOARD is Cartoon chara

Re: [OpenWrt-Devel] [PATCH v2] ramips: add support for Planex DB-WRT01

2015-08-17 Thread Piotr Dymacz
Hello, Please, see my comments inline. 2015-08-17 19:20 GMT+02:00 YuheiOKAWA : > This patch add support for Planex DB-WRT01. DANBOARD route on > the MT7620A SoC with two Ethernet port and a 802.11n 2.4 GHz radio. > DANBOARD is Cartoon character. > > Signed-off-by: YuheiOKAWA > --- > target/l

Re: [OpenWrt-Devel] Recommended settings ip6 DNS server / dnsmasq

2015-08-17 Thread Steven Barth
Hello Jean-Michel, according to your Wiki-Entry stateful addressing does work, no need to do anything with dnsmasq. Quoting your ifconfig output " addr inet6: 2a01:e35:87d8:::953/128 Scope:Global" is clearly a stateful address (/128) and your host got the host-id 953 for stateful adressing.

Re: [OpenWrt-Devel] Recommended settings ip6 DNS server / dnsmasq

2015-08-17 Thread Jean-Michel Pouré - GOOZE
Dear Steven, Thanks for this kind response. > " addr inet6: 2a01:e35:87d8:::953/128 Scope:Global" OK, I cannot find the lease in Luci, but here is /tmp/hosts/odhcpd # br-lan 0004901071a15f278795aa0dd83bde8b 49874f74 - 1439881026 953 128 2a01:e35:87d8:::953/128 Is my duid 0004901071a

[OpenWrt-Devel] Setting password on serial console + disabling linux single user mode

2015-08-17 Thread Jean-Michel Pouré - GOOZE
Dear all, What is the current way to ask for root password when connecting to serial console: /etc/inittab ::askconsole:/bin/ash --login is there any way to ask for a password? Also, what are the steps to disable single user mode booting? Kind regards, Jean-Michel smime.p7s Description: S/MI

Re: [OpenWrt-Devel] Recommended settings ip6 DNS server / dnsmasq

2015-08-17 Thread Jean-Michel Pouré - GOOZE
Le lundi 17 août 2015 à 20:32 +0200, Steven Barth a écrit : > config host > option duid '0012345678900...' > option hostid 4 Okay, I got it, it works using 8 digits:0008 Will add it to the HOWTO and try to make a special howto on ipv6 delegation sooner. Kind regards,Jean-Miche

Re: [OpenWrt-Devel] Setting password on serial console

2015-08-17 Thread Tobias Welz
Hello Jean-Michael, With Barrier Breaker i use this way - I assume it's the same with Chaos Calmer. Install the login shell and change the /etc/inittab: ::askconsole:/bin/login Regards Tobias Am 17.08.2015 um 21:11 schrieb Jean-Michel Pouré - GOOZE: Dear all, What is the current way to ask f

Re: [OpenWrt-Devel] [PATCH] [netifd] enable MULTICAST on GRE

2015-08-17 Thread Hans Dedecker
On Mon, Aug 17, 2015 at 4:40 PM, Nick Podolak wrote: > > On Sat, Aug 15, 2015 at 3:25 AM, Hans Dedecker wrote: > >> It would be better to make this a device setting like promiscuous >>> mode,macaddr, etc ... so it can be configured via UCI for every device and >>> thus not only restricted for GR

[OpenWrt-Devel] [PATCH v2] AR71xx: Add Minibox V1.0 support

2015-08-17 Thread Stijn Segers
This patch adds Gainstrong Minibox V1.0 into trunk. Don't have the device myself, so can't check on a possible LED polarity issue, but I have built images and asked for testing on the forum. Signed-off by: Stijn Segers --- target/linux/ar71xx/base-files/etc/diag.sh | 3 + .../ar71xx/ba

Re: [OpenWrt-Devel] Setting password on serial console

2015-08-17 Thread Jean-Michel Pouré - GOOZE
Le lundi 17 août 2015 à 21:31 +0200, Tobias Welz a écrit : > With Barrier Breaker i use this way - I assume it's the same with > Chaos Calmer. > Install the login shell and change the /etc/inittab: > > ::askconsole:/bin/login There is no /bin/login anymore in OpenWRT development branch. Do I nee

Re: [OpenWrt-Devel] Recommended settings ip6 DNS server / dnsmasq

2015-08-17 Thread Stefan Lippers-Hollmann
Hi On 2015-08-17, Jean-Michel Pouré - GOOZE wrote: > Dear Steven, > > Thanks for this kind response. > > > " addr inet6: 2a01:e35:87d8:::953/128 Scope:Global" > > OK, I cannot find the lease in Luci, but here is /tmp/hosts/odhcpd LuCI should show it on Status/ Overview, quite to the bottom

Re: [OpenWrt-Devel] [PATCH] [libubox] ulog: check if /dev/kmsg is special file

2015-08-17 Thread Sergiy Kibrik
hi John, > the patch is quite invasive. how about just using "r+" > > from the man page --> "r+ Open for reading and writing. The stream > is positioned at the beginning of the file." > > could you try the following and not apply any other changes ? > > John > > - if ((kmsg = fopen

Re: [OpenWrt-Devel] Recommended settings ip6 DNS server / dnsmasq

2015-08-17 Thread Jean-Michel Pouré - GOOZE
> Okay, I got it, it works using 8 digits:0008 I am still having difficulties setting IPv6 gateway using DHCP only. If using SLAAC, routes will propagate very well, but I end-up with several IPv6. I don't want any derived IPv6 from MAC. The client IP is 2a01:e35:87d8::::. The c

[OpenWrt-Devel] [PATCH] Added WIZnet WizFi630A Platform based on Ralink RT5350

2015-08-17 Thread Tobias Welz
From: Tobias Welz Signed-off-by: Tobias Welz --- .../linux/ramips/base-files/etc/board.d/02_network |5 + target/linux/ramips/base-files/etc/diag.sh |3 + target/linux/ramips/base-files/lib/ramips.sh |3 + .../ramips/base-files/lib/upgrade/platform.sh |1 +

Re: [OpenWrt-Devel] [PATCH v2] AR71xx: Add Minibox V1.0 support

2015-08-17 Thread Karl Palsson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Personally I'd like to see Gainstrong mentioned _somewhere_ in the patch itself. > +--- a/arch/mips/ath79/machtypes.h > b/arch/mips/ath79/machtypes.h > +@@ -74,6 +74,7 @@ enum ath79_mach_type { > + ATH79_MACH_JA76PF2, /* jjPlus JA

Re: [OpenWrt-Devel] Linux kernel config options handling in OpenWRT

2015-08-17 Thread Hauke Mehrtens
On 08/17/2015 10:43 AM, Alexey Brodkin wrote: > Hello, > > I'm playing with OpenWRT for a new platform and have a question on > how OpenWRT handles KCONFIG kernel options. > > For example I select "KernelPackage/crypto-core" in OpenWRT's menuconfig > then KCONFIG is populated with: >

Re: [OpenWrt-Devel] [PATCH v2 00/25] ramips: massive code cleanups

2015-08-17 Thread 郭传鈜
Hi! I just wonder why you chose to use the board name in LED names?Sometimes we can use the same dts file for different boards.For example, in ar71xx wr841nd-v3 wr941nd-v2 and wr941nd-v3 shares mach-tl-wr941nd-v2.c(I haven't found such examples in ramips target.)I think the LED name will be a b

Re: [OpenWrt-Devel] [PATCH v2] ramips: add support for Planex DB-WRT01

2015-08-17 Thread Tochiro SrcHack
Sorry, Re-send After correcting the patch. 2015-08-18 3:13 GMT+09:00 Piotr Dymacz : > Hello, > > Please, see my comments inline. > > 2015-08-17 19:20 GMT+02:00 YuheiOKAWA : > > This patch add support for Planex DB-WRT01. DANBOARD route on > > the MT7620A SoC with two Ethernet port and a 802.1

Re: [OpenWrt-Devel] [PATCH v2 00/25] ramips: massive code cleanups

2015-08-17 Thread Jonathan Bennett
Those sort of emails are always just a bit discouraging. Keep in mind that they tend to come from people that are slightly autistic or have Aspergers. >From the rest of us, though, thank you for your hard work. --Jonathan Bennett On Mon, Aug 17, 2015 at 6:24 AM Piotr Dymacz wrote: > 2015-08-17

Re: [OpenWrt-Devel] [PATCH] [libubox] ulog: check if /dev/kmsg is special file

2015-08-17 Thread John Crispin
On 17/08/2015 22:37, Sergiy Kibrik wrote: > hi John, > >> the patch is quite invasive. how about just using "r+" >> >> from the man page --> "r+ Open for reading and writing. The stream >> is positioned at the beginning of the file." >> >> could you try the following and not apply any othe

Re: [OpenWrt-Devel] lantiq DSL drivers / firmware info

2015-08-17 Thread John Crispin
Hi, On 15/08/2015 23:38, Mathias Kresin wrote: > Am 24.07.2015 um 01:20 schrieb Martin Blumenstingl: >> On Fri, Jul 24, 2015 at 1:00 AM, Aleksander Wałęski >> wrote: >>> Actually, it just dawned on me that they can be doing just that. In >>> the bootloader. This is the only part of firmware we ar

Re: [OpenWrt-Devel] [PATCH v2] AR71xx: Add Minibox V1.0 support

2015-08-17 Thread John Crispin
On 17/08/2015 23:25, Karl Palsson wrote: > Personally I'd like to see Gainstrong mentioned _somewhere_ in the patch > itself. > >> +--- a/arch/mips/ath79/machtypes.h >> b/arch/mips/ath79/machtypes.h >> +@@ -74,6 +74,7 @@ enum ath79_mach_type { >> +ATH79_MACH_JA76PF2, /* jjPl

[OpenWrt-Devel] [PATCH v2] [libubox] ulog: avoid accidental /dev/kmsg creation

2015-08-17 Thread Sergiy Kibrik
Race is possible in ulog_kmsg(): if no /dev/kmsg exists (e.g. while /dev gets re-mounted) regular file created instead. >From this point system goes without kernel logger: special character file can't be created anymore, all clients keep overwriting single message in regular file. To avoid this we