[OpenWrt-Devel] [PATCH] ar71xx: add support for the UniFi AP Outdoor Plus
Stefan Rompf
stefan at loplof.de
Mon Mar 16 16:36:46 EDT 2015
Hi,
On Mittwoch, 11. März 2015 15:14:21 Shvedov Yury wrote:
> Thank you for your answer. We will try to solve this issue with our own
> forces.
any progress on this? I have one of these access points available right now
for hacking (as long as I do not brick it). The last hours I made those
findings:
The libc of UBNT 3.2.7 seems to be compatible to tools of the old kamikaze
release (http://downloads.openwrt.org/kamikaze/8.09/ar71xx/packages/). So far
I've tested io for looking at the gpio ports and strace.
It seems that the filter it not statically connected to gpio. By adressing
AR71XX_GPIO_REG_SET and AR71XX_GPIO_REG_CLEAR, I could switch the blue and
white leds as expected:
/tmp/io -4 -w 0x18040010 1 # blue off
/tmp/io -4 -w 0x1804000c 2 # white on
Ten GPIO lines seem to be configured as output:
/tmp/io -4 -r 0x18040000
18040000: 00000cff
However, independant of the channel selected the ports are always set to
0x00081405 (or 0x00081404 or 0x00081406 depending on the LED setting):
BZ.v3.2.7# /tmp/io -4 -r 0x18040004
18040004: 00081405
If anyone has ideas where else to look, please share. Meanwhile let's see what
I can do with strace ;-)
Stefan
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list