The Sercomm NA502 is a ZigBee/Z-Wave gateway sold under various brands (e.g. A1 Smart Home Gateway in Austria). It is based on the MediaTek MT7621 SoC with a Gigabit Ethernet port.
Important Some variants, like the Vera or Hornbach gateway, seem to have a crippled U-Boot that don't allow loading code to SDRAM via TFTP (password prompt when interrupting autoboot). The workaround for these devices is as follows:
Important: You need to attach a serial console to the unpopulated PIN header on the main PCB in order to install OpenWrt from U-Boot. There is a recovery mode, but the image format is currently unknown!
You need to attach a serial console to the unpopulated 4-pin header near the LEDs. With the front of the device facing towards you, the pinout is: GND - TXD - ? - RXD. The settings are 57600 8N1 and you should see a bunch of messages immediately after start.
1. Load system code to SDRAM via TFTP.sysupgrade -n /tmp/openwrt.bin to install the image to your device.The device contains a recovery image in the first partition. If the device is brand new, connect it to the Internet so that it auto-updates the second image. Afterwards, the device boots always from image 2 as longs as its checksum is correct.
If you don't install a valid OEM firmware to image 2 first, the auto-update stored in image 1 overwrites OpenWrt right away.
There are Z-Wave and ZigBee modules. Both can be exposed using ser2net so that another gateway solution can connect to it.