OpenWrt support for Aruba AP200 series (AP-214)

Folks

I could not find any openwrt support on AP 200 series. Any idea whether it is supportable or if anyone has tried. Love to hear about that. I have three of these in instant on mode. But I'd much rather run openwrt on it.

Anil

Open it up, post the chipset, or check fccid.io for pics.

Some hardware specs from https://community.arubanetworks.com/community-home/digestviewer/viewthread?MID=48153

AP-214/5 256MB 32MB FSL-P1010

https://fccid.io/Q9DAPIN0214215 can't read out the chips though :confused:

It turns out that I have two AP 215 (in the attic currently) and one AP 115 in garage. I dread taking all the struggle to get into the attic and then being cooked! So can we start with AP 115 for now?

All the three offer SSH and have a RJ45 serial interface. Here are the pictures and also, I took the boot log using a USB serial cable. The output is also attached.

Pictures are here:

and the log:

APBoot 1.4.0.5 (build 38142)                                                 
Built: 2013-04-21 at 22:03:44                                                
                                                                             
Model: AP-11x
CPU:   QCA9550 revision: 1.0
Clock: 720 MHz, DDR rate: 600 MHz, Bus clock: 200 MHz
DRAM:  256 MB
POST1: passed
Copy:  done
Flash: 32 MB
Power: 802.3at POE
PCI:   scanning bus 0 ...
       dev fn venID devID class  rev    MBAR0    MBAR1    MBAR2    MBAR3
       00  00  168c  0033 00002   01 00000004 00000000 00000000 00000000
Net:   eth0
Radio: ar9590#0, qca9550#1

Hit <Enter> to stop autoboot:  0 
Booting OS partition 1
Switching to flash bank: 2
Checking image @ 0xbf100000 (bank 2)

Image is signed; verifying checksum... passed
Signer Cert OK
Policy Cert OK
RSA signature verified. 
ELF file is 32 bit
Loading .text @ 0x81c00000 (11150408 bytes)
Loading .data @ 0x826a2450 (32 bytes)
Clearing .bss @ 0x826a2470 (16 bytes)
## Starting application at 0x81c00000 ...
Uncompressing............................................................................................................


Aruba Networks
ArubaOS Version 6.5.4.21-6.5.4.21 (build 81611 / label #81611) 
Built by p4build@pr-hpn-build09 on 2021-09-20 at 23:18:58 UTC (gcc version 4.3.3)
CPU Rev: 1130
955x CPU
flash_size passed from bootloader = 32
arg 1: mem=256M
Flash variant: default
cpu apb ddr apb ath_955x_sys_frequency: cpu 720 ddr 600 ahb 200
Cache parity protection disabled
ath_timer_init: plat time init done
Using 360.000 MHz high precision timer. cycles_per_jiffy=720000
Memory: 245248k/262144k available (1721k kernel code, 16780k reserved, 790k data, 10144k init, 0k highmem)
 available.
detected lzma initramfs
initramfs: LZMA lc=3,lp=0,pb=2,dictSize=8388608,origSize=36627968
LZMA initramfs by Ming-Ching Tiew <mctiew@yahoo.com> ........................................................................................
qca955x_pcibios_init: bus 0
qca955x_pcibios_init(1239): PCI 0 CMD write: 0x356
qca955x_pcibios_init: bus 1
qca955x_pcibios_map_irq: IRQ 75 for bus 0
ATH GPIOC major 0
wdt: registered with refresh
Enabling Watchdog
Talisker RSSI LED initialization
Concatenating MTD devices:
(0): "bank1"
(1): "bank2"
into device "flash"
Creating 1 MTD partitions on "flash":
0x00000000-0x02000000 : "flash"
i2c /dev entries driver
i2c-talisker: using default base 0x18040000
lo: Disabled Privacy Extensions
IPv6 over IPv4 tunneling driver

Starting Kernel SHA1 KAT ...Completed Kernel SHA1 KAT 
Starting Kernel HMAC-SHA1 KAT ...Completed Kernel HMAC-SHA1 KAT 
Starting Kernel DES KAT ...Completed Kernel DES KAT 
Starting Kernel AES KAT ...Completed Kernel AES KAT 

Starting Kernel AESGCM KAT ...Completed Kernel AESGCM KAT 

Thu Jan  1 00:00:00 PST 1970
Domain Name: SetMeUp.arubanetworks.com
Current OEM Name : Aruba Networks
Disabling ipv6 for devices by default
/etc/init.d/rcS: 748: cannot create /proc/sys/net/ipv6/conf/default/disable_ipv6: Directory nonexistent
No panic info available
Backup ENV.
qca955x_GMAC: Length per segment 1536
955x_GMAC: qca955x_gmac_attach
955x_GMAC: qca955x_set_gmac_caps
Currently in polling mode unit0
mac:0 Registering S17....
qca955x_GMAC  -------athr_gmac_init:Init DMA HANG CHECK timer
qca955x_GMAC: RX TASKLET - Pkts per Intr:100
qca955x_GMAC: Mac address for unit 0:80d91bc0
qca955x_GMAC: 18:64:72:c4:d0:28 
qca955x_GMAC: Max segments per packet :   1
qca955x_GMAC: Max tx descriptor count :   128
qca955x_GMAC: Max rx descriptor count :   2048
qca955x_GMAC: Mac capability flags    :   2201
_athrs17_mac0_intf done
athrs17_reg_init:done
Phy setup Complete
Enter non-FIPS mode
Cfg len is 3077
Starting watchdog process...
Loading configuration file of length 3077...
wifi uplink not present...
extended ssid config detected...
Terminal access enabled...
Valid SSID detected...
touching file /tmp/ip_mode_0
To set s17 LOOKUP_CTRL_REG registers, flag 0 
athr_gmac_ring_alloc Allocated 2048 at 0x80d5c000
athr_gmac_ring_alloc Allocated 32768 at 0x8d7c8000
955x_GMAC: eth0 in RGMII MODE
Scorpion -----> S17 PHY
FINAL XMII VAL after RX Calibration - 0x84000101
Error: cannot be initialized twice!
athrs17_reg_init:done
Setting PHY...
Phy setup Complete
To set s17 LOOKUP_CTRL_REG registers, flag 1 
ADDRCONF(NETDEV_UP): bond0: link is not ready
do ethtool autoneg on for bond0
eth1 admin down
SIOCGIFFLAGS: No such device
init usb modem ... 
CSLIP: code copyright 1989 Regents of the University of California
PPP generic driver version 2.4.2
drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
drivers/usb/serial/usb-serial.c: USB Serial Driver core
SCSI subsystem initialized
usb_storage: Ignoring new-style parameters in presence of obsolete ones
Initializing USB Mass Storage driver...
USB Mass Storage support registered.
Port Status 1c000004 
ath-ehci ath-ehci.0: ATH EHCI
ehci_reset Intialize USB CONTROLLER in host mode: 13
ehci_reset Port Status 1c000000 
ath-ehci ath-ehci.0: new USB bus registered, assigned bus number 1
ath-ehci ath-ehci.0: irq 3, io mem 0x1b000000
ehci_reset Intialize USB CONTROLLER in host mode: 13
ehci_reset Port Status 1c000000 
ath-ehci ath-ehci.0: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
USB Device: 0x00000000
USB Product: ATH EHCI
USB Manufacturer: Linux 2.6.16 ehci_hcd
USB SerialNumber: ath-ehci.0
usb usb1: c->desc.bMaxPower 0, udev->busmA 0
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
insmod: cannot insert `/lib/ehci-hcd.ko': File exists (-1): File exists

Enet:0 port0 up
eth0  RGMII  1000Mbps  full duplex
ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready
No USB Plugged in
drivers/usb/serial/usb-serial.c: USB Serial deregistering driver generic
disable auto topology rules
Starting up in standalone mode
extended ssid is activated on the platform ...
copying bootuplodrvlog_mod: module license 'Proprietary' taints kernel.
g ... 
AP xml model 72, num_radios 2 (jiffies 27100)
apType 72 hw_opmode 0
radio 0: band 1 ant 0 max_ssid 16
radio 1: band 0 ant 0 max_ssid 16
init_asap_mod: installation:0
election init: rand=16 HZ=500
IAP client match init
set device anul0 mtu to 2000
notify asap_mod 3g no present...
notify asap standalone ap...
apdot1x authentication is not enabled
Starting DHCP
Getting an IP address...
Jan  1 00:00:46 udhcpc[1929]: udhcpc (v0.9.9-pre) started
Jan  1 00:00:46 udhcpc[1929]: send_discover: pkt num 0, secs 0
Jan  1 00:00:46 udhcpc[1929]: Sending discover...
Jan  1 00:00:46 udhcpc[1929]: send_selecting: pkt num 0, secs 0
Jan  1 00:00:46 udhcpc[1929]: Sending select for 192.168.111.12...
Jan  1 00:00:46 udhcpc[1929]: Lease of 192.168.111.12 obtained, lease time 7200
Jan  1 00:00:46 udhcpc[1929]: Domain invalid [lan]: Contains only top-level domain
ip_time_handler: Got ip and packets on bond0 Started master election 27-0, rand 23
192.168.111.12 255.255.254.0 192.168.110.1
Compressing all files in the /etc/httpd directory...
Done.
Starting Webserver
bind: Transport endpoint is not connected
bind: Transport endpoint is not connected
bind: Transport endpoint is not connected
NTP server time.google.com from configuration.
Put ntpclient to the first of nannylist.
ath_hal: 0.9.17.1 (AR5416, AR9380, REGOPS_FUNC, PRIVATE_DIAG, WRITE_EEPROM, 11D)
ath_rate_atheros: Copyright (c) 2001-2005 Atheros Communications, Inc, All Rights Reserved
ath_rate_atheros: Aruba Networks Rate Control Algorithm
ath_dfs: Version 2.0.0
Copyright (c) 2005-2006 Atheros Communications, Inc. All Rights Reserved
ath_spectrum: Version 2.0.0
Copyright (c) 2005-2006 Atheros Communications, Inc. All Rights Reserved
ath_dev: Copyright (c) 2001-2007 Atheros Communications, Inc, All Rights Reserved
ath_pci: 0.9.4.5 (Atheros/multi-bss)
Restoring Cal data from Flash
Reading from Addr: 0xbffe5000
ath_attach: scn 8c030280 sc 8c200000 ah 8c240000
wifi0: Base BSSID 18:64:72:cd:02:90, 16 available BSSID(s)
bond0 address=18:64:72:c4:d0:28
br0 address=18:64:72:c4:d0:28
wifi0: AP type AP-115, radio 0, max_bssids 16
wifi0: Atheros 9580: mem=0x10000000, irq=75 hw_base=0xb0000000
ath_ahb: 0.9.4.5 (Atheros/multi-bss)
ath_ahb: init_ath_wmac
Enterprise mode: 0x30000000
Restoring Cal data from Flash
Reading from Addr: 0xbffe1000
ath_attach: scn 8bce0280 sc 8bd00000 ah 8bd40000
wifi1: Base BSSID 18:64:72:cd:02:80, 16 available BSSID(s)
bond0 address=18:64:72:c4:d0:28
br0 address=18:64:72:c4:d0:28
wifi1: AP type AP-115, radio 1, max_bssids 16
wifi1: Atheros 955x: mem=0xb8100000, irq=2
shutting down watchdog process (nanny will restart it)...
 
        <<<<<       Welcome to the Access Point     >>>>>
 
Completed SW FIPS KAT test
User: 


Thanks.

And I found an interesting link on TFTP with Aruba AP:

https://wizardfi.com/wifi/2019/09/30/boot-aruba-ap-from-tftp.html

And this:

Hello guys, any advise?

Thanks.

Anil

Are they AP or IAP? I think AP versions are pretty locked into being run by their central controller hardware or cloud service.

For AP-115 managed to dump the chips by desoldering them with hot air station, but broke the pads during this, also there are tiny resistors and caps right next to the chip.

Do not think there is any other way to read off of them: https://gist.github.com/Python1320/b67449388a178fa1f1718c74ecb075ad?permalink_comment_id=4400263#gistcomment-4400263

AP-115 appears to be supported now (see instructions inside, you need a serial cable, any cheap adapter will likely do): https://github.com/openwrt/openwrt/commit/1b467a902ec9b8bf29805c6928627e8bbad0f14c
There were no hiccups booting from the stock firmware builds: https://firmware-selector.openwrt.org/?target=ath79%2Fgeneric&id=aruba_ap-115

Amazing progress. So impressed with the tenacity. I am going to find out where my Aruba's are and make them play nice in fast roaming with the rest of the openwrt network. I think they also have a lot of RAM and so perhaps even an MQTT.

Cheers!