[ath79]: Support for D-Link DCH-G020 (Z-Wave Hub)

Meanwhile, I have found that the factory image format is actually consistent with DAP-1330 from the ar71xx target, building the images works automatically now.

@Seirix Feel free to test this before I rebase to master and consider making a PR :grinning:

http://sebastianschaper.net/openwrt/openwrt-ath79-generic-dlink_dch-g020-a1-squashfs-factory.bin
http://sebastianschaper.net/openwrt/openwrt-ath79-generic-dlink_dch-g020-a1-squashfs-sysupgrade.bin

Known issues:

  • This is still based on 19.07.2, a few things might (hopefully?) become easier upon rebasing to master

  • MAC addresses are in 17 bytes ASCII format, there is currently no dts binding for this. The current workaround is to use ifconfig in /board.d/02_network (I thought the wifi stuff should belong in /hotplug.d/10-ath9k-eeprom, but that script is not even called)

  • real-time clock: currently no driver available
    can we just keep it in the dts anyways, e.g. compatible = "pericom,pt7c43390"; just in case a driver will someday be available?

  • z-wave is working (run MinOZW as proof-of-concept), though I haven't figured out how feasible it would be to use extroot for having enough free space to install domoticz

  • I wonder if we can safely overwrite mydlink and data partitions for a little more free space?
    Maybe we could check which OEM partitions the emergency bootloader actually overwrites

  • is there / will there be a dts binding for the switch ports?
    So we can leave that out of board.d/02_network

1 Like