Re: [OpenWrt-Devel] dhcpv6.script being triggered a lot

2013-09-30 Thread Steven Barth

Hi Nathan,

I've seen this being reported by someone else already a few months ago 
also involving Comcast ( 
https://forum.openwrt.org/viewtopic.php?pid=191916#p191916 ). It seems 
they have a rather weird way of sending out Router Advertisements every 
3 seconds at some locations which is causing this behaviour. While 3 
seconds is technically the lower bound of the interval range it doesn't 
make much sense to spam these control messages around at that interval 
so it might be a good idea to contact Comcast about it.



Cheers,

Steven
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] wget-nossl compile problem in trunk..

2013-09-30 Thread Daniel Petre
Hello, i'm sorry to post here but openwrt ticket system fails to 
interpret my ticket as anything but spam,


so i cannot compile wget-nossl , the error is this:

[..]

mipsel-openwrt-linux-uclibc-gcc -DHAVE_CONFIG_H 
-DSYSTEM_WGETRC=\/etc/wgetrc\ -DLOCALEDIR=\/usr/share/locale\ -I. 
-I../lib -I../lib 
-I/home/dani/trunk/staging_dir/target-mipsel_mips32_uClibc-0.9.33.2/usr/include 
-I/home/dani/trunk/staging_dir/target-mipsel_mips32_uClibc-0.9.33.2/include 
-I/home/dani/trunk/staging_dir/toolchain-mipsel_mips32_gcc-4.6-linaro_uClibc-0.9.33.2/usr/include 
-I/home/dani/trunk/staging_dir/toolchain-mipsel_mips32_gcc-4.6-linaro_uClibc-0.9.33.2/include 
  -Os -pipe -mno-branch-likely -mips32 -mtune=mips32 -fno-caller-saves 
-fhonour-copts -Wno-error=unused-but-set-variable -msoft-float  -MT 
build_info.o -MD -MP -MF .deps/build_info.Tpo -c -o build_info.o 
build_info.c

mv -f .deps/build_info.Tpo .deps/build_info.Po
echo '/* version.c */'  version.c
echo '/* Autogenerated by Makefile - DO NOT EDIT */'  version.c
echo ''  version.c
echo 'const char *version_string = 1.14;'  version.c
echo 'const char *compilation_string = 'mipsel-openwrt-linux-uclibc-gcc 
-DHAVE_CONFIG_H -DSYSTEM_WGETRC=\/etc/wgetrc\ 
-DLOCALEDIR=\/usr/share/locale\ -I.  -I../lib -I../lib 
-I/home/dani/trunk/staging_dir/target-mipsel_mips32_uClibc-0.9.33.2/usr/include 
-I/home/dani/trunk/staging_dir/target-mipsel_mips32_uClibc-0.9.33.2/include 
-I/home/dani/trunk/staging_dir/toolchain-mipsel_mips32_gcc-4.6-linaro_uClibc-0.9.33.2/usr/include 
-I/home/dani/trunk/staging_dir/toolchain-mipsel_mips32_gcc-4.6-linaro_uClibc-0.9.33.2/include 
  -Os -pipe -mno-branch-likely -mips32 -mtune=mips32 -fno-caller-saves 
-fhonour-copts -Wno-error=unused-but-set-variable -msoft-float ';' \

| sed -e 's/[\\]/\\/g' -e 's/\\//' -e 's/\\;$/;/'  version.c
echo 'const char *link_string = 'mipsel-openwrt-linux-uclibc-gcc  -Os 
-pipe -mno-branch-likely -mips32 -mtune=mips32 -fno-caller-saves 
-fhonour-copts -Wno-error=unused-but-set-variable -msoft-float  \


-L/home/dani/trunk/staging_dir/target-mipsel_mips32_uClibc-0.9.33.2/usr/lib 
-L/home/dani/trunk/staging_dir/target-mipsel_mips32_uClibc-0.9.33.2/lib 
-L/home/dani/trunk/staging_dir/toolchain-mipsel_mips32_gcc-4.6-linaro_uClibc-0.9.33.2/usr/lib 
-L/home/dani/trunk/staging_dir/toolchain-mipsel_mips32_gcc-4.6-linaro_uClibc-0.9.33.2/lib 
 -lz  -lpcre  ftp-opie.o ../lib/libgnu.a';' \

| sed -e 's/[\\]/\\/g' -e 's/\\//' -e 's/\\;$/;/'  version.c
mipsel-openwrt-linux-uclibc-gcc -DHAVE_CONFIG_H 
-DSYSTEM_WGETRC=\/etc/wgetrc\ -DLOCALEDIR=\/usr/share/locale\ -I. 
-I../lib -I../lib 
-I/home/dani/trunk/staging_dir/target-mipsel_mips32_uClibc-0.9.33.2/usr/include 
-I/home/dani/trunk/staging_dir/target-mipsel_mips32_uClibc-0.9.33.2/include 
-I/home/dani/trunk/staging_dir/toolchain-mipsel_mips32_gcc-4.6-linaro_uClibc-0.9.33.2/usr/include 
-I/home/dani/trunk/staging_dir/toolchain-mipsel_mips32_gcc-4.6-linaro_uClibc-0.9.33.2/include 
  -Os -pipe -mno-branch-likely -mips32 -mtune=mips32 -fno-caller-saves 
-fhonour-copts -Wno-error=unused-but-set-variable -msoft-float  -MT 
version.o -MD -MP -MF .deps/version.Tpo -c -o version.o version.c

mv -f .deps/version.Tpo .deps/version.Po
mipsel-openwrt-linux-uclibc-gcc -DHAVE_CONFIG_H 
-DSYSTEM_WGETRC=\/etc/wgetrc\ -DLOCALEDIR=\/usr/share/locale\ -I. 
-I../lib -I../lib 
-I/home/dani/trunk/staging_dir/target-mipsel_mips32_uClibc-0.9.33.2/usr/include 
-I/home/dani/trunk/staging_dir/target-mipsel_mips32_uClibc-0.9.33.2/include 
-I/home/dani/trunk/staging_dir/toolchain-mipsel_mips32_gcc-4.6-linaro_uClibc-0.9.33.2/usr/include 
-I/home/dani/trunk/staging_dir/toolchain-mipsel_mips32_gcc-4.6-linaro_uClibc-0.9.33.2/include 
  -Os -pipe -mno-branch-likely -mips32 -mtune=mips32 -fno-caller-saves 
-fhonour-copts -Wno-error=unused-but-set-variable -msoft-float  -MT 
ftp-opie.o -MD -MP -MF .deps/ftp-opie.Tpo -c -o ftp-opie.o ftp-opie.c

mv -f .deps/ftp-opie.Tpo .deps/ftp-opie.Po
mipsel-openwrt-linux-uclibc-gcc  -Os -pipe -mno-branch-likely -mips32 
-mtune=mips32 -fno-caller-saves -fhonour-copts 
-Wno-error=unused-but-set-variable -msoft-float 
-L/home/dani/trunk/staging_dir/target-mipsel_mips32_uClibc-0.9.33.2/usr/lib 
-L/home/dani/trunk/staging_dir/target-mipsel_mips32_uClibc-0.9.33.2/lib 
-L/home/dani/trunk/staging_dir/toolchain-mipsel_mips32_gcc-4.6-linaro_uClibc-0.9.33.2/usr/lib 
-L/home/dani/trunk/staging_dir/toolchain-mipsel_mips32_gcc-4.6-linaro_uClibc-0.9.33.2/lib 
 -o wget cmpt.o connect.o convert.o cookies.o ftp.o css_.o css-url.o 
ftp-basic.o ftp-ls.o hash.o host.o html-parse.o html-url.o http.o init.o 
log.o main.o netrc.o progress.o ptimer.o recur.o res.o retr.o spider.o 
url.o warc.o utils.o exits.o build_info.o  version.o ftp-opie.o 
../lib/libgnu.a -lz  -lpcre
make[7]: Leaving directory 
`/home/dani/trunk/build_dir/target-mipsel_mips32_uClibc-0.9.33.2/wget-nossl/wget-1.14/src'
make[6]: Leaving directory 

[OpenWrt-Devel] firewall3 does not use default network option

2013-09-30 Thread Bruno Randolf

Hi!

I'm reporting this here because your Trac believes this is Spam when I 
try to create an issue.


http://wiki.openwrt.org/doc/uci/firewall#zones says:

network:

List of interfaces attached to this zone. If omitted and neither extra* 
options, subnets or devices are given, the value of name is used by default


firewall3 does not use the name by default, instead it issues a warning:

root@OpenWRT:~# fw3
Warning: Section 'wan' has no device, network, subnet or extra options

For backwards compatibility with existing config files the default 
should be set as documented.


bruno
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] firewall3 does not use default network option

2013-09-30 Thread Jo-Philipp Wich
Hi.

I understand the backwards compatibility issue but the problem with the
fallback to name approach is that there is no clean way to have a zone
called name that is *not* covering a network called wan automatically.

I'd rather change the documentation on this and maybe add a uci-defaults
script to migrate old configuration.

~ Jow



signature.asc
Description: OpenPGP digital signature
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] zte h218n (bcm5357) wireless support

2013-09-30 Thread Daniel Petre

Hello,
Hauke was kind to add board support for this zte h218n router and so far 
booting ramdisk images with bgmac driver works okay, i can connect via 
pppoe and i get like 80 Mbit/s at speed tests but i am wondering if 
wireless will be supported in the near future..
Here are the revelant portions of dmesg when booting a bgmac and wl 
legacy driver:


[0.00] Linux version 3.10.13 (dani@x200) (gcc version 4.6.4 
(OpenWrt/Linaro GCC 4.6-2013.05 r38234) ) #6 Mon Sep 30 12:38:40 EEST 2013

[0.00] CPU revision is: 00019749 (MIPS 74Kc)
[0.00] bcm47xx: using bcma bus
[0.00] bcma: bus0: Found chip with id 0x5357, rev 0x02 and 
package 0x09
[0.00] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id 
0x800, rev 0x26, class 0x0)
[0.00] bcma: bus0: Core 3 found: MIPS 74K (manuf 0x4A7, id 
0x82C, rev 0x04, class 0x0)

[0.00] bcma: bus0: Found rev 9 PMU (capabilities 0x28A42A09)
[0.00] bcma: bus0: Found serial flash
[0.00] bcma: bus0: Found M25FL128 serial flash (size: 16384KiB, 
blocksize: 0x1, blocks: 256)

[0.00] bcma: bus0: Early bus registered

[..]

[0.064000] PCI: CLS 0 bytes, default 32
[2.888000] bcma: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 
0x812, rev 0x1C, class 0x0)
[2.888000] bcma: bus0: Core 2 found: GBit MAC (manuf 0x4BF, id 
0x82D, rev 0x03, class 0x0)
[2.888000] bcma: bus0: Core 4 found: USB 2.0 Host (manuf 0x4BF, id 
0x819, rev 0x05, class 0x0)
[2.888000] bcma: bus0: Core 5 found: DDR1/DDR2 Memory Controller 
(manuf 0x4BF, id 0x82E, rev 0x02, class 0x0)
[2.888000] bcma: bus0: Core 6 found: I2S (manuf 0x4BF, id 0x834, rev 
0x02, class 0x0)
[2.888000] bcma: bus0: Core 7 found: Internal Memory (manuf 0x4BF, 
id 0x80E, rev 0x0B, class 0x0)
[2.892000] can not parse nvram name sb/1/rxpo2g(null) with value 
0xff got -34
[2.892000] can not parse nvram name sb/1/ag2(null) with value 0xff 
got -34
[2.892000] can not parse nvram name sb/1/ag3(null) with value 0xff 
got -34

[2.912000] bcma: bus0: Using SPROM revision 8 provided by platform.
[2.912000] bcma: bus0: PMU resource config unknown or not needed for 
device 0x5357
[2.912000] bcma: bus0: Workarounds unknown or not needed for device 
0x5357

[2.912000] bcma: bus0: Initializing MIPS core...
[2.912000] bcma: bus0: set_irq: core 0x0812, irq 3 = 3
[2.912000] bcma: bus0: set_irq: core 0x082d, irq 4 = 4
[2.912000] bcma: bus0: set_irq: core 0x0819, irq 5 = 5
[2.912000] bcma: bus0: set_irq: core 0x0800, irq 2 = 2
[2.912000] bcma: bus0: set_irq: core 0x0834, irq 2 = 2
[2.912000] bcma: bus0: IRQ reconfiguration done
[2.912000] bcma: core 0x0800, irq : 2(S)* 3  4  5  6  D  I
[2.912000] bcma: core 0x082c, irq : 2(S)  3  4  5  6  D  I*
[2.912000] bcma: core 0x0812, irq : 2(S)  3* 4  5  6  D  I
[2.912000] bcma: core 0x082d, irq : 2(S)  3  4* 5  6  D  I
[2.912000] bcma: core 0x0819, irq : 2(S)  3  4  5* 6  D  I
[2.912000] bcma: core 0x082e, irq : 2(S)  3  4  5  6  D* I
[2.912000] bcma: core 0x0834, irq : 2(S)* 3  4  5  6  D  I
[2.912000] bcma: core 0x080e, irq : 2(S)  3  4  5  6  D  I*
[2.92] bcma: bus0: Bus registered

[..]

[3.716000] bgmac bcma0:1: Found PHY addr: 30 (NOREGS)
[3.728000] bgmac bcma0:1: Support for Roboswitch not implemented
[3.736000] libphy: bgmac mii bus: probed
[3.748000] b53_common: found switch: BCM5325, rev 4
[3.752000] (unregistered net_device): attached PHY driver [Broadcom 
B53 (2)] (mii_bus:phy_addr=bgmac-0-0:1e)

[3.764000] bgmac: Broadcom 47xx GBit MAC driver loaded
[3.776000] diag: kernel found a ZTE H218N
[3.78] diag: board was detected as ZTE H218N, but not gpio 
configuration available

[3.792000] diag: now trying legacy detect
[3.796000] diag: Router model not detected.
[3.804000] diag: kernel found a ZTE H218N
[3.812000] diag: board was detected as ZTE H218N, but not gpio 
configuration available

[3.82] diag: now trying legacy detect
[3.824000] diag: Router model not detected.

[..]

[8.488000] wl: module license 'unspecified' taints kernel.
[8.496000] Disabling lock debugging due to kernel taint
[8.568000] wl0: 5.10.56.27 driver failed with code 13
[8.572000] The attach callback failed, BCMA probe aborted
[8.58] SSB/BCMA glue driver successfully attached

also, this is the cpu:

root@OpenWrt:/sys/devices/bcma0:0# cat /proc/cpuinfo
system type : Broadcom BCM5357 (ZTE H218N)
machine : Unknown
processor   : 0
cpu model   : MIPS 74Kc V4.9
BogoMIPS: 249.34
wait instruction: no
microsecond timers  : yes
tlb_entries : 64
extra interrupt vector  : yes
hardware watchpoint : yes, count: 4, address/irw mask: [0x0ffc, 
0x0ffc, 0x0ffb, 0x0ffb]

isa : mips1 mips2 mips32r1 mips32r2
ASEs implemented: mips16 dsp dsp2
shadow 

Re: [OpenWrt-Devel] wget-nossl compile problem in trunk..

2013-09-30 Thread Sedat Dilek
Try to attach your build-log as a text-file (Bug-Tracking-System
and/or Mailing-List)?

From what I see (on a quick look) sth. wrong when generating the
docs... I am wondering why the docs are built/generated here.

I any case, please add also your config files!
( Not that I am willing or able to help, just some general
recommendations, you can follow or not... )

- Sedat -

On Mon, Sep 30, 2013 at 10:49 AM, Daniel Petre daniel.pe...@gmail.com wrote:
 Hello, i'm sorry to post here but openwrt ticket system fails to interpret
 my ticket as anything but spam,

 so i cannot compile wget-nossl , the error is this:

 [..]

 mipsel-openwrt-linux-uclibc-gcc -DHAVE_CONFIG_H
 -DSYSTEM_WGETRC=\/etc/wgetrc\ -DLOCALEDIR=\/usr/share/locale\ -I.
 -I../lib -I../lib
 -I/home/dani/trunk/staging_dir/target-mipsel_mips32_uClibc-0.9.33.2/usr/include
 -I/home/dani/trunk/staging_dir/target-mipsel_mips32_uClibc-0.9.33.2/include
 -I/home/dani/trunk/staging_dir/toolchain-mipsel_mips32_gcc-4.6-linaro_uClibc-0.9.33.2/usr/include
 -I/home/dani/trunk/staging_dir/toolchain-mipsel_mips32_gcc-4.6-linaro_uClibc-0.9.33.2/include
 -Os -pipe -mno-branch-likely -mips32 -mtune=mips32 -fno-caller-saves
 -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float  -MT
 build_info.o -MD -MP -MF .deps/build_info.Tpo -c -o build_info.o
 build_info.c
 mv -f .deps/build_info.Tpo .deps/build_info.Po
 echo '/* version.c */'  version.c
 echo '/* Autogenerated by Makefile - DO NOT EDIT */'  version.c
 echo ''  version.c
 echo 'const char *version_string = 1.14;'  version.c
 echo 'const char *compilation_string = 'mipsel-openwrt-linux-uclibc-gcc
 -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\/etc/wgetrc\
 -DLOCALEDIR=\/usr/share/locale\ -I.  -I../lib -I../lib
 -I/home/dani/trunk/staging_dir/target-mipsel_mips32_uClibc-0.9.33.2/usr/include
 -I/home/dani/trunk/staging_dir/target-mipsel_mips32_uClibc-0.9.33.2/include
 -I/home/dani/trunk/staging_dir/toolchain-mipsel_mips32_gcc-4.6-linaro_uClibc-0.9.33.2/usr/include
 -I/home/dani/trunk/staging_dir/toolchain-mipsel_mips32_gcc-4.6-linaro_uClibc-0.9.33.2/include
 -Os -pipe -mno-branch-likely -mips32 -mtune=mips32 -fno-caller-saves
 -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float ';' \
 | sed -e 's/[\\]/\\/g' -e 's/\\//' -e 's/\\;$/;/'  version.c
 echo 'const char *link_string = 'mipsel-openwrt-linux-uclibc-gcc  -Os -pipe
 -mno-branch-likely -mips32 -mtune=mips32 -fno-caller-saves -fhonour-copts
 -Wno-error=unused-but-set-variable -msoft-float  \

 -L/home/dani/trunk/staging_dir/target-mipsel_mips32_uClibc-0.9.33.2/usr/lib
 -L/home/dani/trunk/staging_dir/target-mipsel_mips32_uClibc-0.9.33.2/lib
 -L/home/dani/trunk/staging_dir/toolchain-mipsel_mips32_gcc-4.6-linaro_uClibc-0.9.33.2/usr/lib
 -L/home/dani/trunk/staging_dir/toolchain-mipsel_mips32_gcc-4.6-linaro_uClibc-0.9.33.2/lib
 -lz  -lpcre  ftp-opie.o ../lib/libgnu.a';' \
 | sed -e 's/[\\]/\\/g' -e 's/\\//' -e 's/\\;$/;/'  version.c
 mipsel-openwrt-linux-uclibc-gcc -DHAVE_CONFIG_H
 -DSYSTEM_WGETRC=\/etc/wgetrc\ -DLOCALEDIR=\/usr/share/locale\ -I.
 -I../lib -I../lib
 -I/home/dani/trunk/staging_dir/target-mipsel_mips32_uClibc-0.9.33.2/usr/include
 -I/home/dani/trunk/staging_dir/target-mipsel_mips32_uClibc-0.9.33.2/include
 -I/home/dani/trunk/staging_dir/toolchain-mipsel_mips32_gcc-4.6-linaro_uClibc-0.9.33.2/usr/include
 -I/home/dani/trunk/staging_dir/toolchain-mipsel_mips32_gcc-4.6-linaro_uClibc-0.9.33.2/include
 -Os -pipe -mno-branch-likely -mips32 -mtune=mips32 -fno-caller-saves
 -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float  -MT
 version.o -MD -MP -MF .deps/version.Tpo -c -o version.o version.c
 mv -f .deps/version.Tpo .deps/version.Po
 mipsel-openwrt-linux-uclibc-gcc -DHAVE_CONFIG_H
 -DSYSTEM_WGETRC=\/etc/wgetrc\ -DLOCALEDIR=\/usr/share/locale\ -I.
 -I../lib -I../lib
 -I/home/dani/trunk/staging_dir/target-mipsel_mips32_uClibc-0.9.33.2/usr/include
 -I/home/dani/trunk/staging_dir/target-mipsel_mips32_uClibc-0.9.33.2/include
 -I/home/dani/trunk/staging_dir/toolchain-mipsel_mips32_gcc-4.6-linaro_uClibc-0.9.33.2/usr/include
 -I/home/dani/trunk/staging_dir/toolchain-mipsel_mips32_gcc-4.6-linaro_uClibc-0.9.33.2/include
 -Os -pipe -mno-branch-likely -mips32 -mtune=mips32 -fno-caller-saves
 -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float  -MT
 ftp-opie.o -MD -MP -MF .deps/ftp-opie.Tpo -c -o ftp-opie.o ftp-opie.c
 mv -f .deps/ftp-opie.Tpo .deps/ftp-opie.Po
 mipsel-openwrt-linux-uclibc-gcc  -Os -pipe -mno-branch-likely -mips32
 -mtune=mips32 -fno-caller-saves -fhonour-copts
 -Wno-error=unused-but-set-variable -msoft-float
 -L/home/dani/trunk/staging_dir/target-mipsel_mips32_uClibc-0.9.33.2/usr/lib
 -L/home/dani/trunk/staging_dir/target-mipsel_mips32_uClibc-0.9.33.2/lib
 -L/home/dani/trunk/staging_dir/toolchain-mipsel_mips32_gcc-4.6-linaro_uClibc-0.9.33.2/usr/lib
 -L/home/dani/trunk/staging_dir/toolchain-mipsel_mips32_gcc-4.6-linaro_uClibc-0.9.33.2/lib
 -o wget cmpt.o connect.o convert.o cookies.o ftp.o css_.o css-url.o
 

[OpenWrt-Devel] [PATCH] [ramips] Add support for Belkin F5D8233-4 V4 wireless router

2013-09-30 Thread Chris Bajumpaa

From: cbaju...@gmail.com


This patch adds OpenWRT 12.09.1 support for the Belkin F5D8233-4 V4
wireless router.

Technical details for this router can be found at
http://www.belkin.com/us/support-product?rnId=332
and http://wikidevi.com/wiki/Belkin_F5D8233-4_v4

I've added the patch as an attachment to this message as well included 
it inline.



Adds:
target/linux/ramips/rt288x/profiles/belkin-f5d8233_v4.mk
target/linux/ramips/files/arch/mips/ralink/rt288x/mach-f5d8233-v4.c

Modifies:
target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
target/linux/ramips/base-files/etc/uci-defaults/network
target/linux/ramips/base-files/lib/ramips.sh
target/linux/ramips/files/arch/mips/include/asm/mach-ralink/machine.h
target/linux/ramips/files/arch/mips/ralink/rt288x/Kconfig
target/linux/ramips/files/arch/mips/ralink/rt288x/Makefile
target/linux/ramips/image/Makefile
target/linux/ramips/rt288x/config-3.3



u-boot tftp flash procedure:

You need a serial console. There is an unpopulated 4-pin header on 
the board.


Has this pinout:

1 - Square Pad - 3.3V
2 - TX
3 - RX
4 - GND

 From u-boot:

setenv ipaddr 192.168.1.1

setenv serverip 192.168.1.2

tftp 0x8a8 sysupgrade.bin

erase 0xbc44 0xbc7e

protect off 0xbc44 0xbc7e

cp.b 0x8a8 0xbc44 0x3b

bootm



Signed-off-by: Chris Bajumpaa cbaju...@gmail.com


---

index bc4ea02..82878c0 100644
--- 
a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
+++ 
b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom

@@ -49,6 +49,7 @@ case $FIRMWARE in
 ;;

 f5d8235-v1 | \
+f5d8233-v4 | \
 f5d8235-v2)
 rt2x00_eeprom_extract u-boot 262144 512
 ;;
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/network 
b/target/linux/ramips/base-files/etc/uci-defaults/network

index cf9c0bb..46b60e3 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/network
+++ b/target/linux/ramips/base-files/etc/uci-defaults/network
@@ -115,6 +115,10 @@ ramips_setup_interfaces()
 ucidef_set_interface_lan eth0
 ;;

+f5d8233-v4)
+ucidef_set_interfaces_lan eth0
+;;
+
 *)
 RT3X5X=`cat /proc/cpuinfo | egrep (RT3.5|RT5350)`
 if [ -n ${RT3X5X} ]; then
diff --git a/target/linux/ramips/base-files/lib/ramips.sh 
b/target/linux/ramips/base-files/lib/ramips.sh

index 25a1205..a646cef 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -107,6 +107,9 @@ ramips_board_name() {
 *ESR-9753)
 name=esr-9753
 ;;
+*F5D8233 v4)
+name=f5d8233-v4
+;;
 *F5D8235 v1)
 name=f5d8235-v1
 ;;
diff --git 
a/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/machine.h 
b/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/machine.h

index 83d2e26..186febd 100644
--- a/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/machine.h
+++ b/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/machine.h
@@ -15,6 +15,7 @@ enum ramips_mach_type {
 RAMIPS_MACH_GENERIC,
 /* RT2880 based machines */
 RAMIPS_MACH_F5D8235_V1,/* Belkin F5D8235 v1 */
+RAMIPS_MACH_F5D8233_V4,/* Belkin F5D8233 v4 */
 RAMIPS_MACH_RT_N15,/* Asus RT-N15 */
 RAMIPS_MACH_V11ST_FE,/* Ralink V11ST-FE */
 RAMIPS_MACH_WLI_TX4_AG300N,/* Buffalo WLI-TX4-AG300N */
diff --git a/target/linux/ramips/files/arch/mips/ralink/rt288x/Kconfig 
b/target/linux/ramips/files/arch/mips/ralink/rt288x/Kconfig

index 31dcc81..3498737 100644
--- a/target/linux/ramips/files/arch/mips/ralink/rt288x/Kconfig
+++ b/target/linux/ramips/files/arch/mips/ralink/rt288x/Kconfig
@@ -2,6 +2,10 @@ if RALINK_RT288X

 menu Ralink RT288x machine selection

+config RT288X_MACH_F5D8233_V4
+bool Belkin F5D8233 V4 board support
+select RALINK_DEV_GPIO_LEDS
+
 config RT288X_MACH_F5D8235_V1
 bool Belkin F5D8235 V1 board support
 select RALINK_DEV_GPIO_LEDS
diff --git a/target/linux/ramips/files/arch/mips/ralink/rt288x/Makefile 
b/target/linux/ramips/files/arch/mips/ralink/rt288x/Makefile

index 473f855..b783b49 100644
--- a/target/linux/ramips/files/arch/mips/ralink/rt288x/Makefile
+++ b/target/linux/ramips/files/arch/mips/ralink/rt288x/Makefile
@@ -14,6 +14,7 @@ obj-y:= irq.o setup.o rt288x.o devices.o clock.o
 obj-$(CONFIG_EARLY_PRINTK)+= early_printk.o

 obj-$(CONFIG_RT288X_MACH_F5D8235_V1)+= mach-f5d8235-v1.o
+obj-$(CONFIG_RT288X_MACH_F5D8233_V4)+= mach-f5d8233-v4.o
 obj-$(CONFIG_RT288X_MACH_RT_N15)+= mach-rt-n15.o
 obj-$(CONFIG_RT288X_MACH_V11ST_FE)+= mach-v11st-fe.o
 obj-$(CONFIG_RT288X_MACH_WLI_TX4_AG300N) += mach-wli-tx4-ag300n.o
diff --git a/target/linux/ramips/image/Makefile 
b/target/linux/ramips/image/Makefile

index 3c0024b..7b4d973 100644
--- a/target/linux/ramips/image/Makefile
+++ 

Re: [OpenWrt-Devel] [PATCH] [ramips] Add support for Belkin F5D8233-4 V4 wireless router

2013-09-30 Thread Chris Bajumpaa
Here is the actual patch... I included the wrong one in the previous 
message... Sorry.


diff --git a/target/linux/ramips/base-files/etc/diag.sh 
b/target/linux/ramips/base-files/etc/diag.sh

index 395ed6f..cdd7772 100755
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -51,6 +51,9 @@ get_status_led() {
 f5d8235-v2)
 status_led=f5d8235v2:blue:router
 ;;
+f5d8233-v4)
+status_led=f5d8233-v4:blue:power
+;;
 fonera20n)
 status_led=fonera20n:green:power
 ;;
diff --git 
a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom 
b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom

index bc4ea02..dde7aaa 100644
--- a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
+++ b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
@@ -97,6 +97,11 @@ case $FIRMWARE in
 rt2x00_eeprom_extract board-nvram 64880 512
 ;;

+f5d8233-v4)
+rt2x00_eeprom_extract factory 64880 512
+;;
+
+
 *)
 rt2x00_eeprom_die board $board is not supported yet
 ;;
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/network 
b/target/linux/ramips/base-files/etc/uci-defaults/network

index cf9c0bb..7f49c3a 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/network
+++ b/target/linux/ramips/base-files/etc/uci-defaults/network
@@ -115,6 +115,13 @@ ramips_setup_interfaces()
 ucidef_set_interface_lan eth0
 ;;

+f5d8233-v4)
+ucidef_set_interfaces_lan_wan eth0.1 eth0.2
+ucidef_add_switch switch0 1 1
+ucidef_add_switch_vlan switch0 1 0 1 2 3 5t
+ucidef_add_switch_vlan switch0 2 4 5t
+;;
+
 *)
 RT3X5X=`cat /proc/cpuinfo | egrep (RT3.5|RT5350)`
 if [ -n ${RT3X5X} ]; then
diff --git a/target/linux/ramips/base-files/lib/ramips.sh 
b/target/linux/ramips/base-files/lib/ramips.sh

index 25a1205..23cc2ab 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -107,6 +107,9 @@ ramips_board_name() {
 *ESR-9753)
 name=esr-9753
 ;;
+*F5D8233-4 v4)
+name=f5d8233-v4
+;;
 *F5D8235 v1)
 name=f5d8235-v1
 ;;
diff --git 
a/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/machine.h 
b/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/machine.h

index 83d2e26..186febd 100644
--- a/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/machine.h
+++ b/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/machine.h
@@ -15,6 +15,7 @@ enum ramips_mach_type {
 RAMIPS_MACH_GENERIC,
 /* RT2880 based machines */
 RAMIPS_MACH_F5D8235_V1,/* Belkin F5D8235 v1 */
+RAMIPS_MACH_F5D8233_V4,/* Belkin F5D8233 v4 */
 RAMIPS_MACH_RT_N15,/* Asus RT-N15 */
 RAMIPS_MACH_V11ST_FE,/* Ralink V11ST-FE */
 RAMIPS_MACH_WLI_TX4_AG300N,/* Buffalo WLI-TX4-AG300N */
diff --git a/target/linux/ramips/files/arch/mips/ralink/rt288x/Kconfig 
b/target/linux/ramips/files/arch/mips/ralink/rt288x/Kconfig

index 31dcc81..3498737 100644
--- a/target/linux/ramips/files/arch/mips/ralink/rt288x/Kconfig
+++ b/target/linux/ramips/files/arch/mips/ralink/rt288x/Kconfig
@@ -2,6 +2,10 @@ if RALINK_RT288X

 menu Ralink RT288x machine selection

+config RT288X_MACH_F5D8233_V4
+bool Belkin F5D8233 V4 board support
+select RALINK_DEV_GPIO_LEDS
+
 config RT288X_MACH_F5D8235_V1
 bool Belkin F5D8235 V1 board support
 select RALINK_DEV_GPIO_LEDS
diff --git a/target/linux/ramips/files/arch/mips/ralink/rt288x/Makefile 
b/target/linux/ramips/files/arch/mips/ralink/rt288x/Makefile

index 473f855..b783b49 100644
--- a/target/linux/ramips/files/arch/mips/ralink/rt288x/Makefile
+++ b/target/linux/ramips/files/arch/mips/ralink/rt288x/Makefile
@@ -14,6 +14,7 @@ obj-y:= irq.o setup.o rt288x.o devices.o clock.o
 obj-$(CONFIG_EARLY_PRINTK)+= early_printk.o

 obj-$(CONFIG_RT288X_MACH_F5D8235_V1)+= mach-f5d8235-v1.o
+obj-$(CONFIG_RT288X_MACH_F5D8233_V4)+= mach-f5d8233-v4.o
 obj-$(CONFIG_RT288X_MACH_RT_N15)+= mach-rt-n15.o
 obj-$(CONFIG_RT288X_MACH_V11ST_FE)+= mach-v11st-fe.o
 obj-$(CONFIG_RT288X_MACH_WLI_TX4_AG300N) += mach-wli-tx4-ag300n.o
diff --git 
a/target/linux/ramips/files/arch/mips/ralink/rt288x/mach-f5d8233-v4.c 
b/target/linux/ramips/files/arch/mips/ralink/rt288x/mach-f5d8233-v4.c

new file mode 100644
index 000..731cf7e
--- /dev/null
+++ b/target/linux/ramips/files/arch/mips/ralink/rt288x/mach-f5d8233-v4.c
@@ -0,0 +1,267 @@
+/*
+ *  Belkin F5D8233 V4 board support
+ *
+ *  Copyright (C) 2013 Chris Bajumpaa cbaju...@gmail.com
+ *
+ *  This program is free software; you can redistribute it and/or modify it
+ *  under the terms of the GNU General Public License version 2 as 
published

+ *  by the Free Software 

[OpenWrt-Devel] [PATCH] [packages] alpine: New package (v2)

2013-09-30 Thread Antti Seppälä
Add Alpine v. 2.10 console mail client as new package to OpenWrt.

Alpine stands for Alternatively Licensed Program for Internet News and 
Email and is suitable for both the inexperienced email user as well as 
for the most demanding power user.

This is a v2 of my previous patch fixing build issues in certain 
flavours of Linux. Thanks to Szymon Zygmunt for reporting.

Signed-off-by: Antti Seppälä a.sepp...@gmail.com
---
 mail/alpine/Makefile | 70 
 1 file changed, 70 insertions(+)
 create mode 100644 mail/alpine/Makefile

diff --git a/mail/alpine/Makefile b/mail/alpine/Makefile
new file mode 100644
index 000..8a31525
--- /dev/null
+++ b/mail/alpine/Makefile
@@ -0,0 +1,70 @@
+#
+# Copyright (C) 2013 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=alpine
+PKG_VERSION:=2.10
+PKG_RELEASE:=1
+
+PKG_SOURCE_URL:=http://patches.freeiz.com/alpine/patches/alpine-2.10/
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).clean.tar.lzma
+PKG_MD5SUM:=727a6eaa577857b98ea74fac6ea42a25
+
+PKG_CAT:=lzcat
+PKG_INSTALL:=1
+
+include $(INCLUDE_DIR)/package.mk
+
+define Package/alpine
+  SECTION:=mail
+  CATEGORY:=Mail
+  DEPENDS:=+libopenssl +libncurses +libpthread
+  TITLE:=Alternatively Licensed Program for Internet News and Email
+  URL:=http://www.washington.edu/alpine
+endef
+
+define Package/alpine/description
+ Alpine (Alternatively Licenced Program for Internet News and Email) is a
+ free software email client developed at the University of Washington.
+ It is suitable for both the inexperienced email user as well as for
+ the most demanding power user.
+endef
+
+CONFIGURE_ARGS += \
+   --with-ssl-include-dir=$(STAGING_DIR)/usr/include/openssl/. \
+   --without-tcl \
+   --without-ldap \
+   --without-krb5 \
+   --with-system-pinerc=/etc/pine.conf \
+   --with-system-fixed-pinerc=/etc/pine.conf.fixed \
+   --disable-debug \
+   --disable-mouse \
+   --with-c-client-target=slx \
+
+ifeq ($(CONFIG_IPV6),y)
+  DISABLE_IPV6:=
+else
+  DISABLE_IPV6:=--without-ipv6
+endif
+
+define Build/Compile
+   ( cd $(PKG_BUILD_DIR)/pith ; \
+   $(HOSTCC) help_h_gen.c -c -o help_h_gen.o ; \
+   $(HOSTCC) help_h_gen.o -o help_h_gen ; \
+   $(HOSTCC) help_c_gen.c -c -o help_c_gen.o ; \
+   $(HOSTCC) help_c_gen.o -o help_c_gen ; \
+   )
+   $(call Build/Compile/Default)
+endef
+
+define Package/alpine/install
+   $(INSTALL_DIR) $(1)/usr/bin
+   $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/alpine $(1)/usr/bin/
+endef
+
+$(eval $(call BuildPackage,alpine))
-- 
1.8.1.5
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] We are seeking bandwith per user configuration

2013-09-30 Thread Weedy
On Sat, Sep 28, 2013 at 7:21 PM,  atilla.o.er...@gmail.com wrote:
 Dear friends long time i can not solve
 per user  mac+ip+DL+UL  reservation

 are you able to help me by example command and dependency packages
 for OpenWRT

 we have about 10 20 user in office and each one has own speed own reserved
 ip from OpenWRT
 basicaly  OpenWRT received request from MAC automaticalt give reserved IP
 from dhcpd
 and dedicated DL UL speed limit for it

I poke the list a couple times a year in hopes of getting bandwidth
slicing added to qos_scripts but it doesn't seem like there has been
any serious interest in it.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] per user DL and UL script

2013-09-30 Thread atilla.o.ersoz

dear friends
realy any one used OpenWRT in a small office
per user dedicated download speed and upload speed

per user must use combination of MAC+IPV4 to connect to internet
and connection dedicated users DL+UL
if users manualy changed their IP address internet auto disabled


please help



- Original Message - 
From: openwrt-devel-requ...@lists.openwrt.org

To: openwrt-devel@lists.openwrt.org
Sent: Monday, September 30, 2013 1:00 PM
Subject: openwrt-devel Digest, Vol 93, Issue 87



Send openwrt-devel mailing list submissions to
openwrt-devel@lists.openwrt.org

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
or, via email, send a message with subject or body 'help' to
openwrt-devel-requ...@lists.openwrt.org

You can reach the person managing the list at
openwrt-devel-ow...@lists.openwrt.org

When replying, please edit your Subject line so it is more specific
than Re: Contents of openwrt-devel digest...


Today's Topics:

  1. Re: firewall3 does not use default network option
 (Jo-Philipp Wich)
  2. zte h218n (bcm5357) wireless support (Daniel Petre)
  3. Re: wget-nossl compile problem in trunk.. (Sedat Dilek)


--

Message: 1
Date: Mon, 30 Sep 2013 11:43:54 +
From: Jo-Philipp Wich j...@openwrt.org
To: openwrt-devel@lists.openwrt.org
Subject: Re: [OpenWrt-Devel] firewall3 does not use default network
option
Message-ID: 524963fa.2080...@openwrt.org
Content-Type: text/plain; charset=iso-8859-1

Hi.

I understand the backwards compatibility issue but the problem with the
fallback to name approach is that there is no clean way to have a zone
called name that is *not* covering a network called wan automatically.

I'd rather change the documentation on this and maybe add a uci-defaults
script to migrate old configuration.

~ Jow

-- next part --
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: 
http://lists.openwrt.org/pipermail/openwrt-devel/attachments/20130930/5f3a7bee/attachment-0001.sig


--

Message: 2
Date: Mon, 30 Sep 2013 12:48:34 +0300
From: Daniel Petre daniel.pe...@gmail.com
To: OpenWrt Devel List openwrt-devel@lists.openwrt.org
Subject: [OpenWrt-Devel] zte h218n (bcm5357) wireless support
Message-ID: 524948f2.8070...@gmail.com
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hello,
Hauke was kind to add board support for this zte h218n router and so far
booting ramdisk images with bgmac driver works okay, i can connect via
pppoe and i get like 80 Mbit/s at speed tests but i am wondering if
wireless will be supported in the near future..
Here are the revelant portions of dmesg when booting a bgmac and wl
legacy driver:

[0.00] Linux version 3.10.13 (dani@x200) (gcc version 4.6.4
(OpenWrt/Linaro GCC 4.6-2013.05 r38234) ) #6 Mon Sep 30 12:38:40 EEST 2013
[0.00] CPU revision is: 00019749 (MIPS 74Kc)
[0.00] bcm47xx: using bcma bus
[0.00] bcma: bus0: Found chip with id 0x5357, rev 0x02 and
package 0x09
[0.00] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id
0x800, rev 0x26, class 0x0)
[0.00] bcma: bus0: Core 3 found: MIPS 74K (manuf 0x4A7, id
0x82C, rev 0x04, class 0x0)
[0.00] bcma: bus0: Found rev 9 PMU (capabilities 0x28A42A09)
[0.00] bcma: bus0: Found serial flash
[0.00] bcma: bus0: Found M25FL128 serial flash (size: 16384KiB,
blocksize: 0x1, blocks: 256)
[0.00] bcma: bus0: Early bus registered

[..]

[0.064000] PCI: CLS 0 bytes, default 32
[2.888000] bcma: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id
0x812, rev 0x1C, class 0x0)
[2.888000] bcma: bus0: Core 2 found: GBit MAC (manuf 0x4BF, id
0x82D, rev 0x03, class 0x0)
[2.888000] bcma: bus0: Core 4 found: USB 2.0 Host (manuf 0x4BF, id
0x819, rev 0x05, class 0x0)
[2.888000] bcma: bus0: Core 5 found: DDR1/DDR2 Memory Controller
(manuf 0x4BF, id 0x82E, rev 0x02, class 0x0)
[2.888000] bcma: bus0: Core 6 found: I2S (manuf 0x4BF, id 0x834, rev
0x02, class 0x0)
[2.888000] bcma: bus0: Core 7 found: Internal Memory (manuf 0x4BF,
id 0x80E, rev 0x0B, class 0x0)
[2.892000] can not parse nvram name sb/1/rxpo2g(null) with value
0xff got -34
[2.892000] can not parse nvram name sb/1/ag2(null) with value 0xff
got -34
[2.892000] can not parse nvram name sb/1/ag3(null) with value 0xff
got -34
[2.912000] bcma: bus0: Using SPROM revision 8 provided by platform.
[2.912000] bcma: bus0: PMU resource config unknown or not needed for
device 0x5357
[2.912000] bcma: bus0: Workarounds unknown or not needed for device
0x5357
[2.912000] bcma: bus0: Initializing MIPS core...
[2.912000] bcma: bus0: set_irq: core 0x0812, irq 3 = 3
[2.912000] bcma: bus0: set_irq: core 0x082d, irq 4 = 4
[2.912000] bcma: bus0

[OpenWrt-Devel] [PATCH 0/5] Initial WNDR4300 support with UBIFS

2013-09-30 Thread Stefan Agner
Hi,

Using this patch one can build an factory image
openwrt-ar71xx-nand-wndr4300-ubifs-factory.img for WNDR4300 which is
25MiB in size (exactly the firmware partition size). The image contains
only one UBIFS filesystem, so there is no recovery possible currently.
Its implemented in the nand subtarget, the old nand subtarget was
renamed to nand-yaffs2.

I published a branch on Github as well:
https://github.com/falstaff84/openwrt

Since UBIFS needs a clean NAND, the image consist mostly of 0xff. U-Boot
doesn't clean the whole firmware partition by itself, so its done by
using a full sized image.


I tried using two UBIFS, overlaying each other (one read-only mounted,
the other read-write). Some test showed that it worked, but the rootfs
needs a lot more space than a squashfs filesystem. UBIFS has a weaker
compressing algorithm and needs space for its journal. 

Here is where I ask myself what the goal is, which way should OpenWRT's
NAND/UBI support take...?

If we want to fit the image in those 25MiB Netgear uses, squashfs looks
like the way to go: A squashfs ontop of UBI. Gluebi is probably most
appropriate at the moment since its already supported in the kernel.
Then create a script/program which creates a second UBI volume and the
rootfs_data filesystem using UBIFS.

On the other hand, this router has a lot of free space (96MiB) at the
end (partition is called reserved, maybe we should just use this.
Since 25MiB for rootfs would be enough even with UBI, a UBI only
solution would work too. To provide easy factory reset, the startscript
just have to explicitly mount the rootfs (rom) ro

However, U-Boot can only write those 25MiB Netgear uses. So the image
has to be below that line in any case (actual usable size is a lot
smaller)...

My preferred solution:
Use the reserved partition as rootfs_data: Rename that partition in
the mtdpart list. Create a script which creates a new UBI partition,
create a volume and a UBIFS on it. (a second volume is needed since the
partition caldata_backup is in between). The rootfs could be UBIFS ro
or squashfs on UBI.

Comments welcome :-)

See also
http://wiki.openwrt.org/toh/netgear/wndr4300

--
Stefan

Stefan Agner (5):
  ar71xx: create new subtarget nand-yaffs2
  ar71xx: altered subtarget nand for UBI/UBIFS
  ar71xx: Added ubinize.cfg and UBI flags to image Makefile
  ar71xx: factory image generation for WNDR4300
  ar71xx: Empty whole rootfs partition on WNDR4300

 target/linux/ar71xx/Makefile   |  6 +-
 target/linux/ar71xx/image/Makefile | 72
+-
 target/linux/ar71xx/image/ubinize.cfg  | 14 +
 target/linux/ar71xx/nand-yaffs2/config-default | 34 ++
 .../ar71xx/nand-yaffs2/profiles/01-minimal.mk  | 16 +
 .../linux/ar71xx/nand-yaffs2/profiles/02-ath5k.mk  | 16 +
 target/linux/ar71xx/nand-yaffs2/target.mk  |  8 +++
 target/linux/ar71xx/nand/config-default| 53

 target/linux/ar71xx/nand/target.mk |  5 +-
 9 files changed, 188 insertions(+), 36 deletions(-)
 create mode 100644 target/linux/ar71xx/image/ubinize.cfg
 create mode 100644 target/linux/ar71xx/nand-yaffs2/config-default
 create mode 100644
target/linux/ar71xx/nand-yaffs2/profiles/01-minimal.mk
 create mode 100644 target/linux/ar71xx/nand-yaffs2/profiles/02-ath5k.mk
 create mode 100644 target/linux/ar71xx/nand-yaffs2/target.mk

-- 
1.8.4
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH 1/5] ar71xx: create new subtarget nand-yaffs2

2013-09-30 Thread Stefan Agner
This target will be used for Mikrotik devices using YAFFS2 flash.
The subtarget nand will support NAND devices on UBI/UBIFS.

Signed-off-by: Stefan Agner ste...@agner.ch
---
 target/linux/ar71xx/Makefile   |  6 +---
 target/linux/ar71xx/nand-yaffs2/config-default | 34
++
 .../ar71xx/nand-yaffs2/profiles/01-minimal.mk  | 16 ++
 .../linux/ar71xx/nand-yaffs2/profiles/02-ath5k.mk  | 16 ++
 target/linux/ar71xx/nand-yaffs2/target.mk  |  8 +
 5 files changed, 75 insertions(+), 5 deletions(-)
 create mode 100644 target/linux/ar71xx/nand-yaffs2/config-default
 create mode 100644
target/linux/ar71xx/nand-yaffs2/profiles/01-minimal.mk
 create mode 100644 target/linux/ar71xx/nand-yaffs2/profiles/02-ath5k.mk
 create mode 100644 target/linux/ar71xx/nand-yaffs2/target.mk

diff --git a/target/linux/ar71xx/Makefile b/target/linux/ar71xx/Makefile
index cabcf04..120328a 100644
--- a/target/linux/ar71xx/Makefile
+++ b/target/linux/ar71xx/Makefile
@@ -11,7 +11,7 @@ BOARD:=ar71xx
 BOARDNAME:=Atheros AR7xxx/AR9xxx
 FEATURES:=squashfs targz mips16
 CPU_TYPE=34kc
-SUBTARGETS:=generic nand
+SUBTARGETS:=generic nand nand-yaffs2
 
 LINUX_VERSION:=3.10.13
 
@@ -22,8 +22,4 @@ DEFAULT_PACKAGES += \
kmod-ledtrig-default-on kmod-ledtrig-timer kmod-ledtrig-netdev \
kmod-ath9k wpad-mini uboot-envtools
 
-define Target/Description
-   Build firmware images for Atheros AR7xxx/AR9xxx based boards.
-endef
-
 $(eval $(call BuildTarget))
diff --git a/target/linux/ar71xx/nand-yaffs2/config-default
b/target/linux/ar71xx/nand-yaffs2/config-default
new file mode 100644
index 000..efa562c
--- /dev/null
+++ b/target/linux/ar71xx/nand-yaffs2/config-default
@@ -0,0 +1,34 @@
+CONFIG_ATH79_MACH_RB2011=y
+CONFIG_ATH79_MACH_RB4XX=y
+CONFIG_ATH79_MACH_RB750=y
+CONFIG_ATH79_MACH_RB95X=y
+CONFIG_ATH79_ROUTERBOOT=y
+CONFIG_CMDLINE=rootfstype=yaffs noinitrd
+# CONFIG_JFFS2_FS is not set
+CONFIG_LEDS_RB750=y
+CONFIG_MDIO_BITBANG=y
+CONFIG_MDIO_GPIO=y
+CONFIG_MTD_NAND=y
+CONFIG_MTD_NAND_AR934X=y
+CONFIG_MTD_NAND_ECC=y
+CONFIG_MTD_NAND_RB4XX=y
+CONFIG_MTD_NAND_RB750=y
+# CONFIG_MTD_SM_COMMON is not set
+# CONFIG_OVERLAYFS_FS is not set
+CONFIG_RLE_DECOMPRESS=y
+CONFIG_SPI_RB4XX=y
+CONFIG_SPI_RB4XX_CPLD=y
+# CONFIG_SQUASHFS is not set
+CONFIG_YAFFS_9BYTE_TAGS=y
+CONFIG_YAFFS_ALWAYS_CHECK_CHUNK_ERASED=y
+CONFIG_YAFFS_AUTO_YAFFS2=y
+# CONFIG_YAFFS_DISABLE_BACKGROUND is not set
+# CONFIG_YAFFS_DISABLE_BLOCK_REFRESHING is not set
+# CONFIG_YAFFS_DISABLE_TAGS_ECC is not set
+# CONFIG_YAFFS_DISABLE_WIDE_TNODES is not set
+# CONFIG_YAFFS_EMPTY_LOST_AND_FOUND is not set
+CONFIG_YAFFS_FS=y
+CONFIG_YAFFS_SHORT_NAMES_IN_RAM=y
+CONFIG_YAFFS_XATTR=y
+CONFIG_YAFFS_YAFFS1=y
+CONFIG_YAFFS_YAFFS2=y
diff --git a/target/linux/ar71xx/nand-yaffs2/profiles/01-minimal.mk
b/target/linux/ar71xx/nand-yaffs2/profiles/01-minimal.mk
new file mode 100644
index 000..3651c88
--- /dev/null
+++ b/target/linux/ar71xx/nand-yaffs2/profiles/01-minimal.mk
@@ -0,0 +1,16 @@
+#
+# Copyright (C) 2009 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License
v2.
+# See /LICENSE for more information.
+#
+
+define Profile/DefaultNoWifi
+   NAME:=Default Profile (no WiFi)
+   PACKAGES:=
+endef
+
+define Profile/DefaultNoWifi/Description
+   Default package set compatible with most boards.
+endef
+$(eval $(call Profile,DefaultNoWifi))
diff --git a/target/linux/ar71xx/nand-yaffs2/profiles/02-ath5k.mk
b/target/linux/ar71xx/nand-yaffs2/profiles/02-ath5k.mk
new file mode 100644
index 000..a291ff6
--- /dev/null
+++ b/target/linux/ar71xx/nand-yaffs2/profiles/02-ath5k.mk
@@ -0,0 +1,16 @@
+#
+# Copyright (C) 2009-2012 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License
v2.
+# See /LICENSE for more information.
+#
+
+define Profile/Ath5k
+   NAME:=Atheros WiFi (ath5k)
+   PACKAGES:=kmod-ath5k -kmod-ath9k
+endef
+
+define Profile/Ath5k/Description
+   Package set compatible with hardware using Atheros WiFi cards.
+endef
+$(eval $(call Profile,Ath5k))
diff --git a/target/linux/ar71xx/nand-yaffs2/target.mk
b/target/linux/ar71xx/nand-yaffs2/target.mk
new file mode 100644
index 000..756c9d0
--- /dev/null
+++ b/target/linux/ar71xx/nand-yaffs2/target.mk
@@ -0,0 +1,8 @@
+BOARDNAME:=Devices with NAND flash using YAFFS2
+
+define Target/Description
+   Build firmware images for Atheros AR71xx/AR913x based boards with 
+   NAND flash and YAFFS2 filesystem, e.g. MikroTik RB-4xx or RB-750
+endef
+
+
-- 
1.8.4
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH 3/5] ar71xx: Added ubinize.cfg and UBI flags to image Makefile

2013-09-30 Thread Stefan Agner
In order to generate UBI root filesytems the ubinize.cfg needs
to be in place. The Makefile provides working default parameters
for WNDR4300 used by the UBI utilities.

Signed-off-by: Stefan Agner ste...@agner.ch
---
 target/linux/ar71xx/image/Makefile|  3 +++
 target/linux/ar71xx/image/ubinize.cfg | 14 ++
 2 files changed, 17 insertions(+)
 create mode 100644 target/linux/ar71xx/image/ubinize.cfg

diff --git a/target/linux/ar71xx/image/Makefile
b/target/linux/ar71xx/image/Makefile
index 1b276c5..ea97a29 100644
--- a/target/linux/ar71xx/image/Makefile
+++ b/target/linux/ar71xx/image/Makefile
@@ -9,6 +9,9 @@ include $(INCLUDE_DIR)/image.mk
 
 JFFS2_BLOCKSIZE = 64k 128k 256k
 
+UBIFS_OPTS = -m 2048 -e 124KiB -c 4096
+UBINIZE_OPTS = -m 2048 -p 128KiB
+
 define imgname
 $(BIN_DIR)/$(IMG_PREFIX)-$(2)-$(patsubst jffs2-%,jffs2,$(patsubst
squashfs-%,squashfs,$(1)))
 endef
diff --git a/target/linux/ar71xx/image/ubinize.cfg
b/target/linux/ar71xx/image/ubinize.cfg
new file mode 100644
index 000..49d55b9
--- /dev/null
+++ b/target/linux/ar71xx/image/ubinize.cfg
@@ -0,0 +1,14 @@
+[rootfs]
+# Volume mode (other option is static)
+mode=ubi
+# Source image
+image=root.ubifs
+# Volume ID in UBI image
+vol_id=0
+# Allow for dynamic resize
+vol_type=dynamic
+# Volume name
+vol_name=rootfs
+# Autoresize volume at first mount
+vol_flags=autoresize
+
-- 
1.8.4
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH 4/5] ar71xx: factory image generation for WNDR4300

2013-09-30 Thread Stefan Agner
Add factory image generation using UBI/UBIFS. The rootfile is
mounted rw, no overlay support yet.

Just in front of the rootfs (still on the kernel partition),
a fake header needs to be in place to make stock U-Boot happy.
This fake header tells the system rootfs is 4 bytes long. The
first for bytes of the rootfs is an UBI magic (ASCII UBI#).

Signed-off-by: Stefan Agner ste...@agner.ch
---
 target/linux/ar71xx/image/Makefile  | 64
+++--
 target/linux/ar71xx/nand/config-default |  2 +-
 2 files changed, 63 insertions(+), 3 deletions(-)

diff --git a/target/linux/ar71xx/image/Makefile
b/target/linux/ar71xx/image/Makefile
index ea97a29..f9912f0 100644
--- a/target/linux/ar71xx/image/Makefile
+++ b/target/linux/ar71xx/image/Makefile
@@ -710,7 +710,67 @@ define Image/Build/Netgear/initramfs
$(5)
 endef
 
-Image/Build/NetgearNAND/initramfs=$(call
Image/Build/Netgear/initramfs,$(1),$(2),$(3),$(4),$(5))
+
+# $1: squashfs-64k
+# $2: Board name (small caps)
+# $3: Kernel board specific cmdline
+# $4: Kernel mtdparts definition
+# $5: U-Boot magic
+# $6: Board name (upper caps)
+# $7:
+# $8: DNI Hardware version
+define Image/Build/NetgearNAND
+   # Append UBI image to rootfs and generate DNI image
+   ( \
+   cat vmlinux-$(2).uImage.fakehdrforubi; \
+   cat $(KDIR)/root.ubi \
+   )  $(call imgname,ubifs,$(2))-uboot.img
+   $(STAGING_DIR_HOST)/bin/mkdniimg \
+   -B $(6) -v OpenWrt.$(REVISION) -r r $(8) \
+   -i $(call imgname,ubifs,$(2))-uboot.img \
+   -o $(call imgname,ubifs,$(2))-factory.img
+endef
+
+# $1: (empty?)
+# $2: Board name (small caps)
+# $3: Kernel board specific cmdline
+# $4: Kernel mtdparts definition
+# $5: U-Boot magic
+define Image/Build/NetgearNAND/buildkernel
+   $(eval kernelsize=$(call mtdpartsize,kernel,$(4)))
+   echo == NetgearNAND buildkernel ==
+   $(call MkuImageLzma,$(2),$(3) $(4),-d20)
+   -rm -rf $(KDIR_TMP)/$(2)
+   mkdir -p $(KDIR_TMP)/$(2)/image
+   $(STAGING_DIR_HOST)/bin/wndr3700 \
+   $(KDIR_TMP)/vmlinux-$(2).uImage \
+   $(KDIR_TMP)/vmlinux-$(2).uImage.tmp \
+   $(5)
+   # Create fake header using UBI EC Header magic (UBI_EC_HDR_MAGIC)
+   echo -n UBI#  $(KDIR_TMP)/ubihdr
+   mkimage -A mips -O linux -T filesystem -C none \
+   -a 0xbf07 -e 0xbf07 \
+   -n 'MIPS OpenWrt rootfs' \
+   -d $(KDIR_TMP)/ubihdr \
+   $(KDIR_TMP)/ubihdr.uImage
+   $(STAGING_DIR_HOST)/bin/wndr3700 \
+   $(KDIR_TMP)/ubihdr.uImage \
+   $(KDIR_TMP)/ubihdr-$(2).uImage \
+   $(5)
+   # Calculate size between kernel and header of root filesystem
+   # (this will be filled with zeros)
+   paddingsize=(($(kernelsize) - `stat -c%s
$(KDIR_TMP)/vmlinux-$(2).uImage.tmp` - 64)); \
+   ( \
+   cat $(KDIR_TMP)/vmlinux-$(2).uImage.tmp; \
+   dd if=/dev/zero bs=1 count={paddingsize}; \
+   head -c 64 $(KDIR_TMP)/ubihdr-$(2).uImage \
+   )  vmlinux-$(2).uImage.fakehdrforubi
+endef
+
+
+define Image/Build/NetgearNAND/initramfs
+   $(call Image/Build/Netgear,$(1),$(2),$(3),$(4),$(5),$(6),$(7),$(8))
+endef
 
 ifdef CONFIG_PACKAGE_uboot-ar71xx-nbg460n_550n_550nh
   Image/Build/ZyXEL/buildkernel=$(call MkuImageLzma,$(2),$(3))
@@ -866,7 +926,7 @@ $(eval $(call
SingleProfile,Netgear,64kraw,WNDR3800,wndr3800,WNDR3700,ttyS0,1152
 $(eval $(call
SingleProfile,Netgear,64kraw,WNDRMAC,wndrmac,WNDR3700,ttyS0,115200,$$(wndr3700v2_mtdlayout),3701,WNDRMAC,,-H
29763654+16+64))
 $(eval $(call
SingleProfile,Netgear,64kraw,WNDRMACV2,wndrmacv2,WNDR3700,ttyS0,115200,$$(wndr3700v2_mtdlayout),3701,WNDRMACv2,,-H
29763654+16+128))
 
-$(eval $(call
SingleProfile,NetgearNAND,64k,WNDR4300,wndr4300,WNDR4300,ttyS0,115200,$$(wndr4300_mtdlayout),3703,WNDR4300,,-H
29763948+0+128+128+2x2+3x3))
+$(eval $(call
SingleProfile,NetgearNAND,128k,WNDR4300,wndr4300,WNDR4300,ttyS0,115200,$$(wndr4300_mtdlayout),3703,WNDR4300,,-H
29763948+0+128+128+2x2+3x3))
 
 $(eval $(call SingleProfile,OpenMesh,squashfs-only,OM2P,om2pOM2P))
 $(eval $(call
SingleProfile,OpenMesh,squashfs-only,MR600,mr600MR600))
diff --git a/target/linux/ar71xx/nand/config-default
b/target/linux/ar71xx/nand/config-default
index 6b9170e..b1be7c9 100644
--- a/target/linux/ar71xx/nand/config-default
+++ b/target/linux/ar71xx/nand/config-default
@@ -1,7 +1,7 @@
 CONFIG_ATH79_MACH_WNDR4300=y
 CONFIG_ATH79_DEV_NFC
 # CONFIG_ATH79_ROUTERBOOT is not set
-CONFIG_CMDLINE=console=ttyS0,115200 rootfstype=squashfs,jffs2
noinitrd
+CONFIG_CMDLINE=ubi.mtd=8 root=ubi0:rootfs rootfstype=ubifs,squashfs
noinitrd
 CONFIG_JFFS2_FS=y
 CONFIG_LZO_COMPRESS=y
 CONFIG_LZO_DECOMPRESS=y
-- 
1.8.4
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org

[OpenWrt-Devel] [PATCH 5/5] ar71xx: Empty whole rootfs partition on WNDR4300

2013-09-30 Thread Stefan Agner
UBIFS needs the whole partition to be empty upon first mounting.
Since the bootloader only flashes the used amount of the UBI
image, this patch padds the image with 0xff.

Signed-off-by: Stefan Agner ste...@agner.ch
---
 target/linux/ar71xx/image/Makefile | 17 +++--
 1 file changed, 11 insertions(+), 6 deletions(-)

diff --git a/target/linux/ar71xx/image/Makefile
b/target/linux/ar71xx/image/Makefile
index f9912f0..33e620d 100644
--- a/target/linux/ar71xx/image/Makefile
+++ b/target/linux/ar71xx/image/Makefile
@@ -720,14 +720,19 @@ endef
 # $7:
 # $8: DNI Hardware version
 define Image/Build/NetgearNAND
-   # Append UBI image to rootfs and generate DNI image
-   ( \
-   cat vmlinux-$(2).uImage.fakehdrforubi; \
-   cat $(KDIR)/root.ubi \
-   )  $(call imgname,ubifs,$(2))-uboot.img
+   $(eval firmwaresize=$(call mtdpartsize,firmware,$(4)))
+   $(eval kernelsize=$(call mtdpartsize,kernel,$(4)))
+   $(eval imageraw=$(call imgname,ubifs,$(2))-raw.img)
+   # Create firmware image full of 0xff to use the UBIFS auto-resize
function
+   firmwareblocks=(($(firmwaresize) / 131072)); \
+   dd if=/dev/zero bs=128k count={firmwareblocks} conv=sync | tr
'\000' '\377'  $(imageraw)
+   # Insert Kernel and UBI image to rootfs and generate DNI image
+   dd if=vmlinux-$(2).uImage.fakehdrforubi of=$(imageraw) conv=notrunc 
+   kernelblocks=(($(kernelsize) / 131072)); \
+   dd if=$(KDIR)/root.ubi of=$(imageraw) bs=128k seek={kernelblocks}
conv=notrunc
$(STAGING_DIR_HOST)/bin/mkdniimg \
-B $(6) -v OpenWrt.$(REVISION) -r r $(8) \
-   -i $(call imgname,ubifs,$(2))-uboot.img \
+   -i $(imageraw) \
-o $(call imgname,ubifs,$(2))-factory.img
 endef
 
-- 
1.8.4
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH 2/5] ar71xx: altered subtarget nand for UBI/UBIFS

2013-09-30 Thread Stefan Agner
Altered the subtarget nand, use UBI/UBIFS instead of YAFFS2.
Added the first board WNDR4000 to the subtarget to generate
an initramfs image with NAND/UBI/UBIFS support.

Signed-off-by: Stefan Agner ste...@agner.ch
---
 target/linux/ar71xx/nand/config-default | 53
-
 target/linux/ar71xx/nand/target.mk  |  5 ++--
 2 files changed, 29 insertions(+), 29 deletions(-)

diff --git a/target/linux/ar71xx/nand/config-default
b/target/linux/ar71xx/nand/config-default
index efa562c..6b9170e 100644
--- a/target/linux/ar71xx/nand/config-default
+++ b/target/linux/ar71xx/nand/config-default
@@ -1,34 +1,33 @@
-CONFIG_ATH79_MACH_RB2011=y
-CONFIG_ATH79_MACH_RB4XX=y
-CONFIG_ATH79_MACH_RB750=y
-CONFIG_ATH79_MACH_RB95X=y
-CONFIG_ATH79_ROUTERBOOT=y
-CONFIG_CMDLINE=rootfstype=yaffs noinitrd
-# CONFIG_JFFS2_FS is not set
-CONFIG_LEDS_RB750=y
+CONFIG_ATH79_MACH_WNDR4300=y
+CONFIG_ATH79_DEV_NFC
+# CONFIG_ATH79_ROUTERBOOT is not set
+CONFIG_CMDLINE=console=ttyS0,115200 rootfstype=squashfs,jffs2
noinitrd
+CONFIG_JFFS2_FS=y
+CONFIG_LZO_COMPRESS=y
+CONFIG_LZO_DECOMPRESS=y
+CONFIG_CRC16=y
+CONFIG_CRYPTO_DEFLATE=y
+CONFIG_CRYPTO_LZO=y
+CONFIG_CRYPTO_XZ=y
 CONFIG_MDIO_BITBANG=y
 CONFIG_MDIO_GPIO=y
 CONFIG_MTD_NAND=y
 CONFIG_MTD_NAND_AR934X=y
+CONFIG_MTD_NAND_AR934X_HW_ECC=y
 CONFIG_MTD_NAND_ECC=y
-CONFIG_MTD_NAND_RB4XX=y
-CONFIG_MTD_NAND_RB750=y
+CONFIG_MTD_UBI=y
+CONFIG_MTD_UBI_BEB_LIMIT=20
+# CONFIG_MTD_UBI_FASTMAP is not set
+# CONFIG_MTD_UBI_GLUEBI is not set
+CONFIG_MTD_UBI_WL_THRESHOLD=4096
 # CONFIG_MTD_SM_COMMON is not set
-# CONFIG_OVERLAYFS_FS is not set
+CONFIG_OVERLAYFS_FS=y
 CONFIG_RLE_DECOMPRESS=y
-CONFIG_SPI_RB4XX=y
-CONFIG_SPI_RB4XX_CPLD=y
-# CONFIG_SQUASHFS is not set
-CONFIG_YAFFS_9BYTE_TAGS=y
-CONFIG_YAFFS_ALWAYS_CHECK_CHUNK_ERASED=y
-CONFIG_YAFFS_AUTO_YAFFS2=y
-# CONFIG_YAFFS_DISABLE_BACKGROUND is not set
-# CONFIG_YAFFS_DISABLE_BLOCK_REFRESHING is not set
-# CONFIG_YAFFS_DISABLE_TAGS_ECC is not set
-# CONFIG_YAFFS_DISABLE_WIDE_TNODES is not set
-# CONFIG_YAFFS_EMPTY_LOST_AND_FOUND is not set
-CONFIG_YAFFS_FS=y
-CONFIG_YAFFS_SHORT_NAMES_IN_RAM=y
-CONFIG_YAFFS_XATTR=y
-CONFIG_YAFFS_YAFFS1=y
-CONFIG_YAFFS_YAFFS2=y
+CONFIG_SQUASHFS=y
+CONFIG_UBIFS_FS=y
+CONFIG_UBIFS_FS_ADVANCED_COMPR=y
+CONFIG_UBIFS_FS_LZO=y
+CONFIG_UBIFS_FS_XZ=y
+CONFIG_UBIFS_FS_ZLIB=y
+CONFIG_ZLIB_DEFLATE=y
+CONFIG_ZLIB_INFLATE=y
diff --git a/target/linux/ar71xx/nand/target.mk
b/target/linux/ar71xx/nand/target.mk
index c571c50..a1617bf 100644
--- a/target/linux/ar71xx/nand/target.mk
+++ b/target/linux/ar71xx/nand/target.mk
@@ -1,8 +1,9 @@
-BOARDNAME:=Devices with NAND flash (mostly Mikrotik)
+BOARDNAME:=Devices with NAND flash
+FEATURES:=squashfs ubifs targz mips16
 
 define Target/Description
Build firmware images for Atheros AR71xx/AR913x based boards with 
-   NAND flash, e.g. MikroTik RB-4xx or RB-750
+   NAND flash and UBI/UBIFS, e.g. Netgear WNDR4300
 endef
 
 
-- 
1.8.4
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] wget-nossl compile problem in trunk..

2013-09-30 Thread Jonathan McCrohan
Hi Daniel,

On Mon, 30 Sep 2013 11:49:31 +0300, Daniel Petre wrote:
 so i cannot compile wget-nossl , the error is this:

 [..]

 any ideas please?
 Thanks!

This is due to new behaviour in Perl 5.18. I submitted a patch for this
issue two weeks ago.

http://patchwork.openwrt.org/patch/4062/

Jon
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] dhcpv6.script being triggered a lot

2013-09-30 Thread Nathan Hintz
On Mon, 30 Sep 2013 08:18:58 +0200
Steven Barth cy...@openwrt.org wrote:

 Hi Nathan,
 
 I've seen this being reported by someone else already a few months ago 
 also involving Comcast ( 
 https://forum.openwrt.org/viewtopic.php?pid=191916#p191916 ). It seems 
 they have a rather weird way of sending out Router Advertisements every 
 3 seconds at some locations which is causing this behaviour. While 3 
 seconds is technically the lower bound of the interval range it doesn't 
 make much sense to spam these control messages around at that interval 
 so it might be a good idea to contact Comcast about it.
 
 
 Cheers,
 
 Steven
 ___
 openwrt-devel mailing list
 openwrt-devel@lists.openwrt.org
 https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
 

Thanks Steven!

I've posted the question on the Comcast support forums.

If the content of the RA is completely unchanged, should odhcpc6 be
treating it as a duplicate and filter it out?

-- 
Nathan
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel