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!
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel