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 +0000
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.000000] 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.000000] CPU revision is: 00019749 (MIPS 74Kc)
[ 0.000000] bcm47xx: using bcma bus
[ 0.000000] bcma: bus0: Found chip with id 0x5357, rev 0x02 and
package 0x09
[ 0.000000] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id
0x800, rev 0x26, class 0x0)
[ 0.000000] bcma: bus0: Core 3 found: MIPS 74K (manuf 0x4A7, id
0x82C, rev 0x04, class 0x0)
[ 0.000000] bcma: bus0: Found rev 9 PMU (capabilities 0x28A42A09)
[ 0.000000] bcma: bus0: Found serial flash
[ 0.000000] bcma: bus0: Found M25FL128 serial flash (size: 16384KiB,
blocksize: 0x10000, blocks: 256)
[ 0.000000] 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.920000] 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.780000] 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.820000] 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.580000] 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 register sets : 1
kscratch registers : 0
core : 0
VCED exceptions : not available
VCEI exceptions : not available
Thanks!
------------------------------
Message: 3
Date: Mon, 30 Sep 2013 11:53:32 +0200
From: Sedat Dilek <sedat.di...@gmail.com>
To: OpenWrt Development List <openwrt-devel@lists.openwrt.org>
Subject: Re: [OpenWrt-Devel] wget-nossl compile problem in trunk..
Message-ID:
<CA+icZUWr_ry5sftRUq2bej-vGh-EK7HfcKitk5tHi7oVuU7g=q...@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
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
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
`/home/dani/trunk/build_dir/target-mipsel_mips32_uClibc-0.9.33.2/wget-nossl/wget-1.14/src'
Making all in doc
make[6]: Entering directory
`/home/dani/trunk/build_dir/target-mipsel_mips32_uClibc-0.9.33.2/wget-nossl/wget-1.14/doc'
./texi2pod.pl -D VERSION="1.14" ./wget.texi wget.pod
/usr/bin/core_perl/pod2man --center="GNU Wget" --release="GNU Wget 1.14"
wget.pod > wget.1
wget.pod around line 2105: Expected text after =item, not a number
wget.pod around line 2110: Expected text after =item, not a number
wget.pod around line 2116: Expected text after =item, not a number
wget.pod around line 2121: Expected text after =item, not a number
wget.pod around line 2126: Expected text after =item, not a number
wget.pod around line 2131: Expected text after =item, not a number
wget.pod around line 2136: Expected text after =item, not a number
wget.pod around line 2141: Expected text after =item, not a number
POD document had syntax errors at /usr/bin/core_perl/pod2man line 71.
make[6]: *** [wget.1] Error 255
make[6]: Leaving directory
`/home/dani/trunk/build_dir/target-mipsel_mips32_uClibc-0.9.33.2/wget-nossl/wget-1.14/doc'
Making all in po
make[6]: Entering directory
`/home/dani/trunk/build_dir/target-mipsel_mips32_uClibc-0.9.33.2/wget-nossl/wget-1.14/po'
make[6]: Leaving directory
`/home/dani/trunk/build_dir/target-mipsel_mips32_uClibc-0.9.33.2/wget-nossl/wget-1.14/po'
Making all in tests
make[6]: Entering directory
`/home/dani/trunk/build_dir/target-mipsel_mips32_uClibc-0.9.33.2/wget-nossl/wget-1.14/tests'
make[6]: Nothing to be done for `all'.
make[6]: Leaving directory
`/home/dani/trunk/build_dir/target-mipsel_mips32_uClibc-0.9.33.2/wget-nossl/wget-1.14/tests'
Making all in util
make[6]: Entering directory
`/home/dani/trunk/build_dir/target-mipsel_mips32_uClibc-0.9.33.2/wget-nossl/wget-1.14/util'
make[6]: Nothing to be done for `all'.
make[6]: Leaving directory
`/home/dani/trunk/build_dir/target-mipsel_mips32_uClibc-0.9.33.2/wget-nossl/wget-1.14/util'
make[6]: Entering directory
`/home/dani/trunk/build_dir/target-mipsel_mips32_uClibc-0.9.33.2/wget-nossl/wget-1.14'
make[6]: Nothing to be done for `all-am'.
make[6]: Leaving directory
`/home/dani/trunk/build_dir/target-mipsel_mips32_uClibc-0.9.33.2/wget-nossl/wget-1.14'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory
`/home/dani/trunk/build_dir/target-mipsel_mips32_uClibc-0.9.33.2/wget-nossl/wget-1.14'
make[4]: *** [all] Error 2
make[4]: Leaving directory
`/home/dani/trunk/build_dir/target-mipsel_mips32_uClibc-0.9.33.2/wget-nossl/wget-1.14'
make[3]: ***
[/home/dani/trunk/build_dir/target-mipsel_mips32_uClibc-0.9.33.2/wget-nossl/wget-1.14/.built]
Error 2
make[3]: Leaving directory `/home/dani/trunk/feeds/packages/net/wget'
make[2]: *** [package/feeds/packages/wget/compile] Error 2
make[2]: Leaving directory `/home/dani/trunk'
make[1]: ***
[/home/dani/trunk/staging_dir/target-mipsel_mips32_uClibc-0.9.33.2/stamp/.package_compile]
Error 2
make[1]: Leaving directory `/home/dani/trunk'
make: *** [world] Error 2
[dani@x200 trunk]$
any ideas please?
Thanks!
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
------------------------------
Subject: Digest Footer
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
------------------------------
End of openwrt-devel Digest, Vol 93, Issue 87
*********************************************