Compex find an easyer solution than to write a new driver for atheros ar7130 ethernet
I have in my hands the new model of compex board, the wp-543
It mounts a atheros ar7130 (no cooler over the cpu.. mikrotik has it..)
It offers two minipci cards
It has nand flash as hard disk like mikrotik boards, from 4 to 32mb depending from the model.
There are seven GPIO pin usable !
May be they haven't the driver for the internal ethernet, but they solved the problem using a realtek rtl8201 external ethernet chip.
The result seem good and the price is around the same that mikrotik.
At what i can see the board boot.. (for now i didn't connect it because i'm mounting the serial connector and i haven't pinout informatios, and no level shifter.. just the time to connect it and i'll tell you more).
Normally compex ship his boards with an openwrt inside. So i think they allready have an openwrt patched for this architecture.
Note: this are pre-production boards and you can see it because the master is patched manually adding wires to correct erros.
The only problem: i thimk they are ever using compex bootloader, that require the system packet as trx.. This is ever boring, also because i don't know if the trx format will be the same or will be changed for BE mips.
Sorry.. I have only one so i can't send it to openwrt group, but if you need to test it we can find a way to give you remote access to the system i use to develop it, then we can work on it together. I' m really interested on having an openwrt booting on ar7130. Now it seem to be the better architecture for unexpensives CPE.
FOUND THE LEVEL SHIFTER.
Something tell me that as i connect the serial cable to the correct computer and not the one that is off i can see a bit more..
(115200, 7n1)
MyLoader vesion 2.44.0124
System memory: 32MB
Probing for Serial flash ...
Found SPI serial flash
Flash memory: 4MB
DIO PHY scan:
PHY ID [3] = 0000-8201
ink Up, Full Duplex, 100 Mbps
Load Firmware
Loading Firmware Done.
Linux version 2.6.17 (leihui@rdserver.localdomain) (gcc version 3.4.6) #6 Tue Apr 15 14:32:31 SGT 2008
CPU revision is: 00019374
Determined physical RAM map:
memory: 02000000 @ 0000000 (usable)
Built 1 zonelists
Kernel command line: console=ttyS0,115200 rootfs=squashfs root=/dev/mtdblock3
Primary instruction cache 64kB, physically tagged, 4-way, linesize 32 byes.
Primary data cache 32kB, 4-way, linesize 32 bytes.
Synthesized TLB refill handler (20 instructions).
Synthesized TLB load handler fastpath (32 instructions).
Synthesized TLB store handler fastpath (32 instructions).
Synthesized TLB modify handler fastpath (31 instructions).
Cache parity protection disabled
PID hash table entries: 256 (order: 8, 1024 bytes)
Using 150.000 MHz high precision timer.
Console: colour dummy device 80x25
Dentry cache ash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 30304k/32768k available (1599k kernel code, 2448k reserved, 260k data, 140k init, 0k highmem)
Mount-cache hash table entries: 512
Checking for 'wait' instruction... available.
NET: Registered protocolfamily 16
calling simple_config callback..
TC classifier action (bugs to netdev@vger.kernel.org cc hadi@cyberus.ca)
NET: Registered protocol family 2
IP route cache hash table entres: 256 (order: -2, 1024 bytes)
TCP established hash table entries: 1024 (order: 0, 4096 bytes)
TCP bind hash table entries: 512 (order: -1, 2048 bytes)
TCP: Hash tables configured (established 1024 bind 512)
TCP reno registered
AR7100 GPIOC major 0
squashfs: version 3.1 (2006/08/19) Phillip Lougher
Initializing Cryptographic API
io scheduler noop registeredo scheduler deadline registered (default)
Serial: 8250/16550 driver $Revision: 1.90 $ 1 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x0 (irq = 19) is a 16550A
RAMDISKdriver initialized: 1 RAM disks of 4096K size 1024 blocksize
PPP generic driver version 2.4.2
NET: Registered protocol family 24
ar7100_flash_init : using MyLoader flash mpping
Searching for MyLoader partition table in ar7100-nor0 at offset 0x10000
Creating 5 MTD partitions on "ar7100-nor0":
0x00000000-0x00010000 : "MyLoader"
0x00010000-0x0020000 : "Partition Table"
0x00020000-0x000f0000 : "kernel"
0x00100000-0x003d0000 : "rootfs"
0x003f0000-0x00400000 : "data"
u32 classifier
Actions configured
IPv4 oer IPv4 tunneling driver
GRE over IPv4 tunneling driver
ip_conntrack version 2.4 (256 buckets, 2048 max) - 204 bytes per conntrack
p_conntrack_pptp version 3.1 loaded
ip_nat_pptp version 3.0 loaded
ip_tables: (C) 2000-2006 Netfilter Core Team
CP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
FS: Mounted root (squashfs filesystem) readonly.
Freeing unused kernel memory: 140k freed
lgorithmics/MIPS FPU Emulator v1.5
More product id needs to be defined?
--------config_sys_get errr--------
g7100_mod: module license 'unspecified' taints kernel.
AG7100: Length per segment 1536
AG7100: Max segments per packet2
AG7100: Max tx descriptor count 200
AG7100: Max rx descriptor count 252
AG7100: fifo cfg 3 008001ff
tart watchdog:
watchdog: No such devic
Start button:
tart switch:
Start localtime:
tart netif:
failed to open dev/button
tart account:
tart network:
lan load.
lan: 0.8.4.2 (Atheros/multi-bss)
lan: mac acl policy registered
lan: client bridge registered
th_hal: 0.9.17.1 (AR5212, RF5112, RF2413, RF5413, REGOPS_FUNC)
th_rate_sample: 1.2
th_pci: 0.9.4.5 (Atheros/multi-bss)
PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
ifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: H/Wencryption support: WEP AES AES_CCM TKIP
wifi0: mac 7.8 phy 4.5 radio 5.6
wifi0: Use hw queue 1 for WME_AC_BE traffic
wifi0: Use hw queue 0 for WME_AC_BK traffic
wifi0: Use hw queue 2 for WME_AC_VI traffic
wifi0: Use hw queue 3 for WME_AC_VO traffic
wifi0: Use hw quee 8 for CAB traffic
wifi0: Use hw queue 9 for beacons
wifi0: Atheros 5212: mem=0x10000000, irq=48
PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
ifi1: unable to attach hardware; HAL status 13
lan 0 init.
lan 1 init.
wifi1 doesn't exist
wla 2 init.
wifi2 doesn't exist
wlan 0 config.
lan 1 config.
lan 2 config.
tart wlan:
wlan 0 create.
th0
unc ieee80211_ioctl_siwessid, line 853
et.ath0.maxaid = 33
nvalid command : tx_chainmask
Invalid command: rx_chainmask
lan 1 create.
wlan_applet_create: radio 1 does not exist
lan 2 create.
wlan_applet_create: radio 2 does not exist
tart vaps:
Error: service wlan1 not found!
Error: service wlan1 not found!
Error: service wlan1 not found!
Start wlan1:
Error: servie wlan1 not found!
Error: service wlan2 not found!
Error: service wlan2 not found!
Error: service wlan2 not found!
Start wlan2:
Error: service wlan2 not found!
Start bridge:
G7100: cfg1 0xf cfg2 0x7014
G7100: unit 0 phy is up...Mii 100Mbps full duplex
AG7100: pll reg 0x18050010: 0x1099 AG7100: cfg_1: 0x1ff0000
AG7100: cfg_2: 0x3ff
AG7100: cg_3: 0x8001ff
AG7100: cfg_4: 0x3ffff
AG7100: cfg_5: 0x3ffff
AG7100: done cfg2 0x7115 ifctl 0x10000 miictrl 0x11
Writing 4
evice eth0 entered promiscuous mode
evice ath0 entered promiscuous mode
tart wds:
br0: port 1(eth0) entering learning state
br0: topology change detected, propagating
br0: port 1(eth0) entering forwarding state
r0: port 2(ath0) entering learning state
br0: topology change detected, propagating
br0: port 2(ath0) entering forwarding state
tart stp:
tart duplex:
pen device error!
Start loop:
tart apencrypt:
wlan start.
lan 1 start.
wlan_applet_start: radio 1 does not exist.
lan 2 start.
wlan_applet_start: radio 2 does not exist.
tart lan:
tart execd:
tart uconfig:
tart ntpdate:
tart mem_management:
tpdate: time.nist.gov - unknown host.
tart inetd:
tart snmpd:
tart webs:
tart monitorps:
Note that i put two wireless cards, and the compex firmware see only one.
Another note: the two minipci connectors are too near to put two new compex 26db minipci cards.There is barely the space for two normal minipci.
Enrico.