[OpenWrt-Devel] How to acces init mtd partition on RB2011-UiAS

2015-01-09 Thread Matt Lee
Hi, How can I access to init mtd partition? Actually I'm only seeing this: dev:size erasesize name mtd0: 0004 0002 booter mtd1: 003c 0002 kernel mtd2: 07c0 0002 rootfs I would like to access to mtd partition: routerboot, hard_config, bios and softconfig from the

Re: [OpenWrt-Devel] [PATCH] ramips: HooToo HT-TM02 factory image generation.

2015-01-09 Thread Vittorio G (VittGam)
Il 09.01.2015 16:17 Florian Fainelli ha scritto: What about a statically linked binary at least? Of course I've missed the obvious thing here. :) Thanks for the suggestion! I'm going to try this as soon as I've some spare time (in a week or so). Otherwise the code is on my github if you

Re: [OpenWrt-Devel] [PATCH] ramips: HooToo HT-TM02 factory image generation.

2015-01-09 Thread Florian Fainelli
Le 9 janv. 2015 07:09, Vittorio G (VittGam) open...@vittgam.net a écrit : Il 09.01.2015 10:48 John Crispin ha scritto: +mkhootoofw.sh $(DL_DIR)/hootoo_mtd_writer $(call sysupname,$(1),$(2)) $(call imgname,$(1),$(2))-factory.bin +endef +BuildFirmware/HooToo8M/initramfs=$(call

Re: [OpenWrt-Devel] [PATCH] ramips: HooToo HT-TM02 factory image generation.

2015-01-09 Thread Vittorio G (VittGam)
Hi, What is the reason has this been rejected? Do I need to change something? Thanks, Vittorio Il 28.12.2014 13:34 Vittorio G (VittGam) ha scritto: The mkhootoofw.sh is a shell script, because official factory images are shell scripts by themselves, and it made more sense to me to just use

Re: [OpenWrt-Devel] Strange LED behavior on ramips

2015-01-09 Thread Vittorio G (VittGam)
Hi everybody, Is nobody else experiencing this on their ramips/rt5350-based router? Cheers, Vittorio G Il 25.12.2014 02:55 Vittorio G (VittGam) ha scritto: Hi everybody, I've got some HooToo HT-TM02 rt5350-based routers, and I've noticed a quite weird thing with LEDs. It seems that the LED

Re: [OpenWrt-Devel] netifd + split dns servers

2015-01-09 Thread Hans Dedecker
On Thu, Jan 8, 2015 at 5:43 PM, Nikos Mavrogiannopoulos n.mavrogiannopou...@gmail.com wrote: Currently a protocol can register a dns server with netifd using the proto_add_dns_server function. That however, does not allow registering a DNS server for a specific domain. I checked the netifd

Re: [OpenWrt-Devel] netifd + split dns servers

2015-01-09 Thread Nikos Mavrogiannopoulos
On Fri, Jan 9, 2015 at 9:48 AM, Hans Dedecker dedec...@gmail.com wrote: On Thu, Jan 8, 2015 at 5:43 PM, Nikos Mavrogiannopoulos n.mavrogiannopou...@gmail.com wrote: Currently a protocol can register a dns server with netifd using the proto_add_dns_server function. That however, does not allow

[OpenWrt-Devel] cmake.mk: ignores package CFLAGS

2015-01-09 Thread Rafał Miłecki
If you look at include/cmake.mk you will notice followiing: -DCMAKE_BUILD_TYPE=Release It means that CMake uses CMAKE_C_FLAGS_RELEASE I've created package and tested it using two variants: 1) TARGET_CFLAGS=-DFOO This is what I got: grep FOO build_dir/target-*/test/CMakeCache.txt

[OpenWrt-Devel] [PATCH] [RESEND] [v2] base-files: Use 200ms LED timing as before for the new phase preinit_regular.

2015-01-09 Thread Vittorio G (VittGam)
This restores normal pre-r43715 200ms blink-period for the System LED we're all accustomed to see while our OpenWrt routers are booting. Failsafe possibility will now be signalled with a new 100ms blinking, which is easily recognizable from the normal 200ms booting. So no existing user will be

Re: [OpenWrt-Devel] [PATCH] ramips: HooToo HT-TM02 factory image generation.

2015-01-09 Thread John Crispin
On 09/01/2015 09:16, Vittorio G (VittGam) wrote: Hi, What is the reason has this been rejected? Do I need to change something? Thanks, Vittorio Il 28.12.2014 13:34 Vittorio G (VittGam) ha scritto: The mkhootoofw.sh is a shell script, because official factory images are shell scripts

[OpenWrt-Devel] Port for Edimax BR-6435ND (RALink 3352F)

2015-01-09 Thread geotti
Hi, as per https://dev.openwrt.org/wiki/SupportDonate [and subsequently jow_laptop's comment on irc to write to openwrt-devel] I'm writing here to offer one or two Edimax BR-6435ND as donation to get an openwrt build for them. Apparently the RAlink RT3352 already has seen some attention

Re: [OpenWrt-Devel] procd/inittab with a delayed console

2015-01-09 Thread Karl Palsson
Stam, Michel [FINT] m.s...@fugro.nl wrote: This, to me, seems the most logical solution, as consoles should be available to the init process early on during boot, and not hot-plugged in afterwards. Do you agree? Well, I don't. What about a usb serial port? I'd like to plug in the usb

Re: [OpenWrt-Devel] procd/inittab with a delayed console

2015-01-09 Thread Michael Heimpold
Am Freitag, 9. Januar 2015, 17:51:48 schrieb Karl Palsson: Stam, Michel [FINT] m.s...@fugro.nl wrote: This, to me, seems the most logical solution, as consoles should be available to the init process early on during boot, and not hot-plugged in afterwards. Do you agree? Well, I

[OpenWrt-Devel] [PATCH 1/4] mvsw6171: rename to 'mvsw61xx'

2015-01-09 Thread Claudio Leite
In preparation for properly supporting switches beyond the 88E6171. Signed-off-by: Claudio Leite lei...@staticky.com --- target/linux/generic/config-3.14 | 2 +- target/linux/generic/config-3.18 | 2 +- .../linux/generic/files/drivers/net/phy/mvsw6171.c |

[OpenWrt-Devel] [PATCH 2/4] mvsw61xx: rework chip recognition

2015-01-09 Thread Claudio Leite
Recognizes 88E6171/6172/6176 at the moment. Signed-off-by: Claudio Leite lei...@staticky.com --- .../linux/generic/files/drivers/net/phy/mvsw61xx.c | 27 -- .../linux/generic/files/drivers/net/phy/mvsw61xx.h | 14 --- 2 files changed, 31 insertions(+), 10 deletions(-)

[OpenWrt-Devel] [PATCH 3/4] mvsw61xx: clean up and expand register definitions

2015-01-09 Thread Claudio Leite
- eliminate MV_CPUPORT; not necessary since we define the CPU port(s) via Device Tree - add STU and expand VTU operations - update register names to match those of 88E61xx rather than mvswitch's 88E6060 - use more consistent formatting Signed-off-by: Claudio Leite lei...@staticky.com ---

[OpenWrt-Devel] [PATCH 4/4] mvsw61xx: track and set per-VLAN port state in STU

2015-01-09 Thread Claudio Leite
Since the driver doesn't know anything about (M)STP we just hard-set the ports to be enabled if they are part of the VLAN. Signed-off-by: Claudio Leite lei...@staticky.com --- .../linux/generic/files/drivers/net/phy/mvsw61xx.c | 38 ++

[OpenWrt-Devel] info about distance optimization

2015-01-09 Thread zhang zhao
I found there exist distance optimization entry in Luci's wifi configure page. I think it's interesting and want to go further about it. Hardware driver programming is not too difficult for me. Anyone have any idea where should I start from? Thinks~ -- Best Regards, Zhao Zhang, Undergraduate

Re: [OpenWrt-Devel] procd/inittab with a delayed console

2015-01-09 Thread Owen Kirby
Michel, Thanks for the suggestion, this particular driver was being loaded from /etc/modules.d, however even when I moved it into /etc/modules-boot.d it still doesn't create /dev/ttyGS0 in time for procd to start the console. I'll try fiddling around with the load order to see if I can get it

[OpenWrt-Devel] [PATCH] [mvebu] use mvsw61xx

2015-01-09 Thread Mark Milburn
Use Claudio's renamed mvsw6171 driver. Depends upon https://patchwork.ozlabs.org/patch/427183/ patchset. Signed-off-by: Mark Milburn mark.a.milb...@gmail.com --- target/linux/mvebu/config-3.14 | 2 +- target/linux/mvebu/config-3.18 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff

Re: [OpenWrt-Devel] procd/inittab with a delayed console

2015-01-09 Thread Owen Kirby
On 15-01-09 09:51 AM, Karl Palsson wrote: Stam, Michel [FINT] m.s...@fugro.nl wrote: This, to me, seems the most logical solution, as consoles should be available to the init process early on during boot, and not hot-plugged in afterwards. Do you agree? Well, I don't. What about a usb

Re: [OpenWrt-Devel] [PATCH v2 uqmi] Add command for listing device capabilities

2015-01-09 Thread Felix Fietkau
On 2015-01-08 19:08, Sławomir Demeszko wrote: Signed-off-by: Sławomir Demeszko s.demes...@wireless-instruments.com --- Sorry, it seems my compiler doesn't suport -Wtautological-compare option, and I was not warned about this. This condition could be removed, but as I read it is unspecified

Re: [OpenWrt-Devel] Install .pc files of Python

2015-01-09 Thread Felix Fietkau
On 2015-01-08 23:28, Szilárd Pfeiffer wrote: Hi, .pc files are not copied to the install directory, so python (as a library) cannot be checked from configure.ac by PKG_CHECK_MODULES. It caused problem during the port of Zorp GPL to OpenWrt. Possible solution is attached. Best regards,

Re: [OpenWrt-Devel] [PATCH] [packages] dnsmasq: add option --quiet-dhcp

2015-01-09 Thread Lars Kruse
The --quiet-dhcp setting increases privacy by omitting DHCP lease logs including MAC addresses. Signed-off-by: Lars Kruse de...@sumpfralle.de --- a/package/network/services/dnsmasq/files/dnsmasq.init +++ b/package/network/services/dnsmasq/files/dnsmasq.init @@ -123,6 +123,7 @@ dnsmasq() {

Re: [OpenWrt-Devel] [PATCH] curl: enable https protocol

2015-01-09 Thread Lars Kruse
Provide optional --enable-https flag for curl. Signed-off-by: Lars Kruse de...@sumpfralle.de --- a/package/network/utils/curl/Config.in +++ b/package/network/utils/curl/Config.in @@ -53,6 +53,10 @@ config LIBCURL_HTTP bool Enable HTTP support default y +config LIBCURL_HTTPS +

Re: [OpenWrt-Devel] netifd + split dns servers

2015-01-09 Thread Nikos Mavrogiannopoulos
On Fri, Jan 9, 2015 at 12:25 PM, Steven Barth cy...@openwrt.org wrote: Our dnsmasq init script registers /tmp/dnsmasq.d as an additional configuration dir, so you can place files there and restart it. However I'm not sure as to how much we want netifd to do dnsmasq-specific stuff or how we

Re: [OpenWrt-Devel] procd/inittab with a delayed console

2015-01-09 Thread Stam, Michel [FINT]
Hello Owen, I was wondering, is the kernel driver for your console not placed in /etc/modules-boot.d ? /sbin/init executes procd, but prior to doing this executes kmodloader to load all modules in /etc/modules-boot.d. If your module is mentioned in this directory, this should load your console

Re: [OpenWrt-Devel] Install .pc files of Python

2015-01-09 Thread Alexandru Ardelean
I've already picked up the patch and looking into. Was going to come back with an answer, but I have some other stuff to look into. @Szilárd: if you want, you can also do a PR on Github. If not, then I'll apply your patch. Looks good to me. On Fri, Jan 9, 2015 at 12:25 PM, Felix Fietkau

Re: [OpenWrt-Devel] [PATCH] [packages] dnsmasq: add option --quiet-dhcp

2015-01-09 Thread Lars Kruse
The --quiet-dhcp setting increases privacy by omitting DHCP lease logs including MAC addresses. Signed-off-by: Lars Kruse de...@sumpfralle.de --- a/package/network/services/dnsmasq/files/dnsmasq.init +++ b/package/network/services/dnsmasq/files/dnsmasq.init @@ -123,6 +123,7 @@ dnsmasq() {

Re: [OpenWrt-Devel] [PATCH] [packages] dnsmasq: add option --quiet-dhcp

2015-01-09 Thread edgar . soldin
On 07.01.2015 23:50, Lars Kruse wrote: The --quiet-dhcp setting increases privacy by omitting DHCP lease logs including MAC addresses. Signed-off-by: Lars Kruse de...@sumpfralle.de --- a/package/network/services/dnsmasq/files/dnsmasq.init +++

Re: [OpenWrt-Devel] netifd + split dns servers

2015-01-09 Thread Steven Barth
Our dnsmasq init script registers /tmp/dnsmasq.d as an additional configuration dir, so you can place files there and restart it. However I'm not sure as to how much we want netifd to do dnsmasq-specific stuff or how we would do it. Of course the bad thing here again is that dnsmasq doesn't

Re: [OpenWrt-Devel] [PATCH] ramips: HooToo HT-TM02 factory image generation.

2015-01-09 Thread Vittorio G (VittGam)
Il 09.01.2015 10:48 John Crispin ha scritto: +mkhootoofw.sh $(DL_DIR)/hootoo_mtd_writer $(call sysupname,$(1),$(2)) $(call imgname,$(1),$(2))-factory.bin +endef +BuildFirmware/HooToo8M/initramfs=$(call BuildFirmware/OF/initramfs,$(1),$(2),$(3)) + this bit is really bad. you cannot install