OpenWrt Forum Archive

Topic: Asus RT-AC1200G, BCM47189+ BCM43217 chipset

The content of this topic has been archived on 20 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I found this model is a new chipset of Broadcom SoC with Cortex A7 ARM CPU.
https://www.asus.com/Networking/RT-AC1200G/
https://www.asus.com/Networking/RT-AC1200G-plus/

https://wikidevi.com/wiki/ASUS_RT-AC1200GP

BCM47189 and BCM53573 are the same series of Cortex A7 CPU.
In OpenWRT kernel
arch/arm/mach-bcm53xx is for Broadcom SoC with ARM Cortex A9 CPU
I believe A7 is similar to A9 arch, but need to patch some driver to support BCM47189 and ARM Cortex A7.

The wireless may support by b43
https://wireless.wiki.kernel.org/en/use … rs/b43/soc

Also I think the wikidevi is incorrect with switch chip. BCM47189 have RGMII interface, but not include gigabit  switch.
I do not find the open-box to confirm the switch chip.

Will OpenWRT support this model/chipset ?

I started working on this, but it still requires quite a lot of work. If few months maybe.

Thanks Zajec, it's great to know this work is in progress.

Actually I got a package from Broadcom with 47189 EVB and some patches to support openwrt.
The OpenWRT base is old with kernel 3.10, but is ready to boot on BCM47189 EVB.
I'm trying to use bcma/bgmac/b53 driver for switch on this patched version of OpenWRT. But still issues and I keep studying the driver code.

I'm also working on it. I can help but need some time. If there is a new patch, I may help verify it.
Any suggestion is welcome.

any progress on this apparently my router uses the same bcm processor

I sent upstream most of the stuff needed for BCM53573/BCM47189. That includes bcma, bgmac, USB, arch and DT changes. All these were backported to LEDE and you can find images for Tenda AC9 there. Once OpenWrt gets code from LEDE it should support Tenda AC9 as well.

What's unsupported is integrated radio. As always support for BCM43217 is very limited.

you mean the wifi would not work?

Thanks for the dev work it seems the ac9 uses the BCM53125 is that supported?

openwrtddrthelp2013 wrote:

Thanks for the dev work it seems the ac9 uses the BCM53125 is that supported?

Yes. If Ethernet/switch weren't supported, I'd definitely mention this in my previous post.

Zajec wrote:

I sent upstream most of the stuff needed for BCM53573/BCM47189. That includes bcma, bgmac, USB, arch and DT changes. All these were backported to LEDE and you can find images for Tenda AC9 there. Once OpenWrt gets code from LEDE it should support Tenda AC9 as well.

What's unsupported is integrated radio. As always support for BCM43217 is very limited.

Does this mean I can flash this on my asus rt-ac1200g+ router?

aocodes wrote:

Does this mean I can flash this on my asus rt-ac1200g+ router?

Please provide a bootlog from this device & output of

nvram show | grep gpio
nvram show | grep ports

commands. This way I should be able to prepare specific image.

got 30000Mbps with iperf on broadshit!! big_smile witzh b43

Zajec wrote:
aocodes wrote:

Does this mean I can flash this on my asus rt-ac1200g+ router?

Please provide a bootlog from this device & output of

nvram show | grep gpio
nvram show | grep ports

commands. This way I should be able to prepare specific image.

Wow, thanks for the speedy reply. Anyways, is this ok?:

ASUSWRT RT-AC1200G+_3.0.0.4 Tue Aug 16 01:18:41 UTC 2016
admin@(none):/tmp/home/root# nvram show | grep gpio
size: 39383 bytes (26153 left)
btn_rst_gpio=4101
reset_gpio=5
gpio2=robo_reset
gpio8=usbport1
gpio9=wps_button
led_usb_gpio=4111
btn_wps_gpio=4105
led_2g_gpio=255
led_usb3_gpio=255
led_wan_gpio=255
led_5g_gpio=255
led_wps_gpio=4106
led_turbo_gpio=255
led_lan_gpio=255
btn_radio_gpio=255
pwr_usb_gpio=255
led_all_gpio=255
have_fan_gpio=255
fan_gpio=255
gpio10=
led_pwr_gpio=4106
pwr_usb_gpio2=255
admin@(none):/tmp/home/root# nvram show | grep ports
size: 39383 bytes (26153 left)
ehci_ports=1-1
vlan2ports=0 8u
ohci_ports=2-1
ftp_ports=ports=21,2021
vlan1ports=1 2 3 4 8*
wanports=0
lanports=1 2 3 4
admin@(none):/tmp/home/root#

admin@(none):/tmp/home/root# dmesg
istered
io scheduler cfq registered
Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x18000300 (irq = 32) is a 16550A
console [ttyS0] enabled, bootconsole disabled
brd: module loaded
loop: module loaded
pflash: found no supported devices
bcmsflash: squash filesystem found at block 30
Creating 5 MTD partitions on "bcmsflash":
0x000000000000-0x000000040000 : "boot"
0x000000040000-0x000000ff0000 : "linux"
0x0000001ef244-0x000000d30000 : "rootfs"
0x000000d30000-0x000000ff0000 : "jffs2"
0x000000ff0000-0x000001000000 : "nvram"
PPP generic driver version 2.4.2
PPP MPPE Compression module registered
NET: Registered protocol family 24
PPTP driver version 0.8.5
=== PPTP init ===
u32 classifier
    Actions configured
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (1960 buckets, 7840 max)
ctnetlink v0.93: registering with nfnetlink.
xt_time: kernel timezone is -0000
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP cubic registered
NET: Registered protocol family 10
ip6_tables: (C) 2000-2006 Netfilter Core Team
NET: Registered protocol family 17
L2TP core driver, V2.0
PPPoL2TP kernel driver, V2.0
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
Registering the dns_resolver key type
VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
devtmpfs: mounted
Freeing init memory: 192K
ctf: module license 'Proprietary' taints kernel.
Disabling lock debugging due to kernel taint
et_module_init: passivemode set to 0x0
et_module_init: txworkq set to 0x1
et_module_init: et_txq_thresh set to 0xce4
et_module_init: et_rxlazy_timeout set to 0x3e8
et_module_init: et_rxlazy_framecnt set to 0x20
bcm_robo_enable_switch: EEE is disabled
eth0: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 9.10.178.27 (r584393)
wl_module_init: passivemode set to 0x0
wl_module_init: txworkq set to 0x1
PCI: Enabling device 0001:01:00.0 (0140 -> 0142)
eth1: Broadcom BCM43227 802.11 Wireless Controller 9.10.178.27 (r584393)
External imprecise Data abort at addr=0x2aded004, fsr=0x1c06, pc=0x2ab207a4 lr=0x2acb5174 ignored.
eth2: Broadcom BCM43c8 802.11 Wireless Controller 9.10.178.27 (r584393)
JFFS2 version 2.2. (NAND) Ac 2001-2006 Red Hat, Inc.
device vlan1 entered promiscuous mode
device eth0 entered promiscuous mode
device eth1 entered promiscuous mode
br0: topology change detected, propagating
br0: port 2(eth1) entering forwarding state
br0: port 2(eth1) entering forwarding state
br0: topology change detected, propagating
br0: port 1(vlan1) entering forwarding state
br0: port 1(vlan1) entering forwarding state
device wds1.1 entered promiscuous mode
br0: topology change detected, propagating
br0: port 3(wds1.1) entering forwarding state
br0: port 3(wds1.1) entering forwarding state
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
SCSI subsystem initialized
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci_hcd 0000:00:04.1: EHCI Host Controller
ehci_hcd 0000:00:04.1: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:04.1: irq 36, io mem 0x18004000
ehci_hcd 0000:00:04.1: USB 0.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ohci_hcd 0000:00:04.0: OHCI Host Controller
ohci_hcd 0000:00:04.0: new USB bus registered, assigned bus number 2
ohci_hcd 0000:00:04.0: irq 36, io mem 0x1800d000
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
usbcore: registered new interface driver usblp
usbcore: registered new interface driver asix
usbcore: registered new interface driver cdc_ether
usbcore: registered new interface driver rndis_host
cdc_ncm: 14-Mar-2012
usbcore: registered new interface driver cdc_ncm
usbcore: registered new interface driver cdc_wdm
usbcore: registered new interface driver qmi_wwan
cdc_mbim: loaded
usbcore: registered new interface driver cdc_mbim
nf_conntrack_rtsp v0.6.21 loading
nf_nat_rtsp v0.6.21 loading

gro disabled
Attempt to kill tasklet from interrupt
device eth0 left promiscuous mode
br0: port 1(vlan1) entering forwarding state
device eth0 entered promiscuous mode
br0: topology change detected, propagating
br0: port 1(vlan1) entering forwarding state
br0: port 1(vlan1) entering forwarding state
br0: port 3(wds1.1) entering forwarding state
br0: port 2(eth1) entering forwarding state
br0: port 1(vlan1) entering forwarding state
device eth0 left promiscuous mode
device vlan1 left promiscuous mode
br0: port 1(vlan1) entering disabled state
device eth1 left promiscuous mode
br0: port 2(eth1) entering disabled state
device wds1.1 left promiscuous mode
br0: port 3(wds1.1) entering disabled state
wl_module_init: passivemode set to 0x0
wl_module_init: txworkq set to 0x1
eth1: Broadcom BCM43227 802.11 Wireless Controller 9.10.178.27 (r584393)
External imprecise Data abort at addr=0x2ac863b0, fsr=0x1c06, pc=0x80201538 lr=0x802085cc ignored.
External imprecise Data abort at addr=0x2ac863b0, fsr=0x1c06, pc=0x8020151c lr=0x802085cc ignored.
eth2: Broadcom BCM43c8 802.11 Wireless Controller 9.10.178.27 (r584393)
device vlan1 entered promiscuous mode
device eth0 entered promiscuous mode
device eth1 entered promiscuous mode
br0: topology change detected, propagating
br0: port 2(eth1) entering forwarding state
br0: port 2(eth1) entering forwarding state
br0: topology change detected, propagating
br0: port 1(vlan1) entering forwarding state
br0: port 1(vlan1) entering forwarding state
device wds1.1 entered promiscuous mode
br0: topology change detected, propagating
br0: port 3(wds1.1) entering forwarding state
br0: port 3(wds1.1) entering forwarding state
br0: port 2(eth1) entering forwarding state
device eth1 left promiscuous mode
br0: port 2(eth1) entering disabled state
br0: port 3(wds1.1) entering forwarding state
device wds1.1 left promiscuous mode
br0: port 3(wds1.1) entering disabled state
wl_module_init: passivemode set to 0x0
wl_module_init: txworkq set to 0x1
eth1: Broadcom BCM43227 802.11 Wireless Controller 9.10.178.27 (r584393)
External imprecise Data abort at addr=0x2acc4004, fsr=0x1c06, pc=0x2ab58798 lr=0x2acc3ffc ignored.
eth2: Broadcom BCM43c8 802.11 Wireless Controller 9.10.178.27 (r584393)
device eth1 entered promiscuous mode
br0: topology change detected, propagating
br0: port 2(eth1) entering forwarding state
br0: port 2(eth1) entering forwarding state
device wds1.1 entered promiscuous mode
br0: topology change detected, propagating
br0: port 3(wds1.1) entering forwarding state
br0: port 3(wds1.1) entering forwarding state
br0: port 2(eth1) entering forwarding state
device eth1 left promiscuous mode
br0: port 2(eth1) entering disabled state
br0: port 3(wds1.1) entering forwarding state
device wds1.1 left promiscuous mode
br0: port 3(wds1.1) entering disabled state
wl_module_init: passivemode set to 0x0
wl_module_init: txworkq set to 0x1
eth1: Broadcom BCM43227 802.11 Wireless Controller 9.10.178.27 (r584393)
External imprecise Data abort at addr=0x2ac863b0, fsr=0x1c06, pc=0x80201538 lr=0x802085cc ignored.
External imprecise Data abort at addr=0x2ac863b0, fsr=0x1c06, pc=0x7f7ddb2c lr=0x802085cc ignored.
eth2: Broadcom BCM43c8 802.11 Wireless Controller 9.10.178.27 (r584393)
device eth1 entered promiscuous mode
br0: topology change detected, propagating
br0: port 2(eth1) entering forwarding state
br0: port 2(eth1) entering forwarding state
device eth2 entered promiscuous mode
br0: topology change detected, propagating
br0: port 3(eth2) entering forwarding state
br0: port 3(eth2) entering forwarding state
device wds1.1 entered promiscuous mode
br0: topology change detected, propagating
br0: port 4(wds1.1) entering forwarding state
br0: port 4(wds1.1) entering forwarding state
br0: port 2(eth1) entering forwarding state
device eth1 left promiscuous mode
br0: port 2(eth1) entering disabled state
br0: port 4(wds1.1) entering forwarding state
device wds1.1 left promiscuous mode
br0: port 4(wds1.1) entering disabled state
br0: port 3(eth2) entering forwarding state
device eth2 left promiscuous mode
br0: port 3(eth2) entering disabled state
wl_module_init: passivemode set to 0x0
wl_module_init: txworkq set to 0x1
eth1: Broadcom BCM43227 802.11 Wireless Controller 9.10.178.27 (r584393)
External imprecise Data abort at addr=0x2ac863b0, fsr=0x1c06, pc=0x80201538 lr=0x802085cc ignored.
External imprecise Data abort at addr=0x2ac863b0, fsr=0x1c06, pc=0x8020151c lr=0x802085cc ignored.
eth2: Broadcom BCM43c8 802.11 Wireless Controller 9.10.178.27 (r584393)
device eth1 entered promiscuous mode
br0: topology change detected, propagating
br0: port 2(eth1) entering forwarding state
br0: port 2(eth1) entering forwarding state
device eth2 entered promiscuous mode
br0: topology change detected, propagating
br0: port 3(eth2) entering forwarding state
br0: port 3(eth2) entering forwarding state
br0: port 2(eth1) entering forwarding state
device eth1 left promiscuous mode
br0: port 2(eth1) entering disabled state
br0: port 3(eth2) entering forwarding state
device eth2 left promiscuous mode
br0: port 3(eth2) entering disabled state
wl_module_init: passivemode set to 0x0
wl_module_init: txworkq set to 0x1
eth1: Broadcom BCM43227 802.11 Wireless Controller 9.10.178.27 (r584393)
External imprecise Data abort at addr=0x2ac863b0, fsr=0x1c06, pc=0x2ac69e20 lr=0x9eb0 ignored.
eth2: Broadcom BCM43c8 802.11 Wireless Controller 9.10.178.27 (r584393)
device eth1 entered promiscuous mode
br0: topology change detected, propagating
br0: port 2(eth1) entering forwarding state
br0: port 2(eth1) entering forwarding state
device eth2 entered promiscuous mode
br0: topology change detected, propagating
br0: port 3(eth2) entering forwarding state
br0: port 3(eth2) entering forwarding state
device wds1.1 entered promiscuous mode
br0: topology change detected, propagating
br0: port 4(wds1.1) entering forwarding state
br0: port 4(wds1.1) entering forwarding state
Attempt to kill tasklet from interrupt
device eth0 left promiscuous mode
br0: port 1(vlan1) entering forwarding state
device eth0 entered promiscuous mode
br0: topology change detected, propagating
br0: port 1(vlan1) entering forwarding state
br0: port 1(vlan1) entering forwarding state
br0: port 2(eth1) entering forwarding state
device eth1 left promiscuous mode
br0: port 2(eth1) entering disabled state
br0: port 4(wds1.1) entering forwarding state
device wds1.1 left promiscuous mode
br0: port 4(wds1.1) entering disabled state
br0: port 3(eth2) entering forwarding state
device eth2 left promiscuous mode
br0: port 3(eth2) entering disabled state
wl_module_init: passivemode set to 0x0
wl_module_init: txworkq set to 0x1
eth1: Broadcom BCM43227 802.11 Wireless Controller 9.10.178.27 (r584393)
External imprecise Data abort at addr=0x2ac863b0, fsr=0x1c06, pc=0x2ac69e20 lr=0x9eb0 ignored.
eth2: Broadcom BCM43c8 802.11 Wireless Controller 9.10.178.27 (r584393)
device eth1 entered promiscuous mode
br0: topology change detected, propagating
br0: port 2(eth1) entering forwarding state
br0: port 2(eth1) entering forwarding state
device eth2 entered promiscuous mode
br0: topology change detected, propagating
br0: port 3(eth2) entering forwarding state
br0: port 3(eth2) entering forwarding state
txerr valid (1) reason 0100 tst 2222 pctls 1cc2 1c13 0025
plcp 000b 00ab || d807 1f06 0000 || 2999 29d2 || rxestats2 0000
txerr_tm 003c txerr_txbytes 0000 txfunfl 0 1 0 0 0 0 txtplunfl 0
debug1 29d2 debug2 0000 debug3 0000 debug4 0000
br0: port 2(eth1) entering forwarding state
device eth1 left promiscuous mode
br0: port 2(eth1) entering disabled state
br0: port 3(eth2) entering forwarding state
device eth2 left promiscuous mode
br0: port 3(eth2) entering disabled state
wl_module_init: passivemode set to 0x0
wl_module_init: txworkq set to 0x1
eth1: Broadcom BCM43227 802.11 Wireless Controller 9.10.178.27 (r584393)
External imprecise Data abort at addr=0x2ac863b0, fsr=0x1c06, pc=0x2ac69e20 lr=0x9eb0 ignored.
eth2: Broadcom BCM43c8 802.11 Wireless Controller 9.10.178.27 (r584393)
device eth1 entered promiscuous mode
br0: topology change detected, propagating
br0: port 2(eth1) entering forwarding state
br0: port 2(eth1) entering forwarding state
device eth2 entered promiscuous mode
br0: topology change detected, propagating
br0: port 3(eth2) entering forwarding state
br0: port 3(eth2) entering forwarding state
txerr valid (1) reason 0100 tst 2222 pctls 30c2 521a 0025
plcp 000b 02dc || 680c 0f24 0000 || b284 b29b || rxestats2 0000
txerr_tm 0031 txerr_txbytes 0000 txfunfl 0 1 0 0 0 0 txtplunfl 0
debug1 b29b debug2 0000 debug3 0000 debug4 0000
txerr valid (1) reason 0100 tst 2222 pctls 08c2 0a12 0025
plcp 000b 0b04 || a802 1f23 0000 || 5892 58a8 || rxestats2 0000
txerr_tm 007d txerr_txbytes 0000 txfunfl 0 2 0 0 0 0 txtplunfl 0
debug1 58a8 debug2 0000 debug3 0000 debug4 0000
txerr valid (1) reason 0100 tst 2222 pctls 18c2 1a0a 0025
plcp 000b 0b8b || 2a06 8f70 0000 || 04cf 04e5 || rxestats2 0000
txerr_tm 003e txerr_txbytes 0000 txfunfl 0 3 0 0 0 0 txtplunfl 0
debug1 04e6 debug2 0000 debug3 0000 debug4 0000
txerr valid (1) reason 0100 tst 2222 pctls 34c2 591a 0025
plcp 000b 0126 || fa0d 8f12 0000 || 796e 7984 || rxestats2 0000
txerr_tm 0030 txerr_txbytes 0000 txfunfl 0 4 0 0 0 0 txtplunfl 0
debug1 7985 debug2 0000 debug3 0000 debug4 0000
Attempt to kill tasklet from interrupt
device eth0 left promiscuous mode
br0: port 1(vlan1) entering forwarding state
device eth0 entered promiscuous mode
br0: topology change detected, propagating
br0: port 1(vlan1) entering forwarding state
br0: port 1(vlan1) entering forwarding state
br0: port 2(eth1) entering forwarding state
device eth1 left promiscuous mode
br0: port 2(eth1) entering disabled state
br0: port 3(eth2) entering forwarding state
device eth2 left promiscuous mode
br0: port 3(eth2) entering disabled state
wl_module_init: passivemode set to 0x0
wl_module_init: txworkq set to 0x1
eth1: Broadcom BCM43227 802.11 Wireless Controller 9.10.178.27 (r584393)
External imprecise Data abort at addr=0x2ac863b0, fsr=0x1c06, pc=0x2ac69e20 lr=0x9eb0 ignored.
eth2: Broadcom BCM43c8 802.11 Wireless Controller 9.10.178.27 (r584393)
device eth1 entered promiscuous mode
br0: topology change detected, propagating
br0: port 2(eth1) entering forwarding state
br0: port 2(eth1) entering forwarding state
device eth2 entered promiscuous mode
br0: topology change detected, propagating
br0: port 3(eth2) entering forwarding state
br0: port 3(eth2) entering forwarding state
txerr valid (1) reason 0100 tst 2222 pctls 1cc2 1c0a 0025
plcp 000b 00a5 || 7e07 8f06 0000 || 872c 8742 || rxestats2 0000
txerr_tm 0022 txerr_txbytes 0000 txfunfl 0 1 0 0 0 0 txtplunfl 0
debug1 8742 debug2 0000 debug3 0000 debug4 0000
txerr valid (1) reason 0100 tst 2222 pctls 14c2 190a 0025
plcp 000b 00c6 || 5405 8f06 0000 || 1f5f 1f75 || rxestats2 0000
txerr_tm 0030 txerr_txbytes 0000 txfunfl 0 2 0 0 0 0 txtplunfl 0
debug1 1f76 debug2 0000 debug3 0000 debug4 0000
txerr valid (1) reason 0100 tst 2222 pctls 3cc2 5c1a 0025
plcp 000b 0057 || 540f 8f06 0000 || bab1 bac7 || rxestats2 0000
txerr_tm 001d txerr_txbytes 0000 txfunfl 0 3 0 0 0 0 txtplunfl 0
debug1 bac8 debug2 0000 debug3 0000 debug4 0000
admin@(none):/tmp/home/root#

So, any new development for this device?

I just flashed the build for tenda ac9 on this router, and (from what i read) it works the same way.
5GHz ac/an network doesn't work, 2GHz network works but only as a generic b/g device, network range is shorter than Bluetooth and no multi ssid.
everything else (usb gigabit-lan wan leds ipk's) works ok though.

The discussion might have continued from here.