OpenWRT has quite a bit of information about the hardware platform, including how to use the on-board serial port:
The FreeBSD wifi build project has instructions on how to build and flash the unit: