Hi Paul, I opened a pull request on GitHub to support the Mi Router 4A Gigabit Edition, which is essentially the same device. You can find it at https://github.com/openwrt/openwrt/pull/2486
There are a few differences you may want to address: >>> + xiaomi,mir3g-v2) >>> + wan_mac=$(mtd_get_mac_binary factory 0xe006) >>> + ;; You may want to add "label_mac=$wan_mac" there, if the MAC address on the back label matches the WAN interface (on the R4G it does). Also, it looks like a newline should be added at the end of the .dts file. >>> +define Device/xiaomi_mir3g-v2 >>> + MTK_SOC := mt7621 >>> + IMAGE_SIZE := 14848k >>> + DEVICE_VENDOR := Xiaomi >>> + DEVICE_MODEL := Mi Router 3G >>> + DEVICE_VARIANT := v2 >>> + DEVICE_ALT0_VENDOR := Xiaomi >>> + DEVICE_ALT0_MODEL := Mi Router 4A Gigabit Edition >>> + DEVICE_PACKAGES := kmod-mt7603 kmod-mt76x2 wpad-basic >>> +endef >>> +TARGET_DEVICES += xiaomi_mir3g-v2 Since there are two Xiaomi Router 4A variants, the 100m and the Gigabit Edition, you may want to use: + DEVICE_ALT0_VENDOR := Xiaomi + DEVICE_ALT0_MODEL := Mi Router 4A + DEVICE_ALT0_VARIANT := Gigabit Edition Last, I added the device to uboot-envtools. Feel free to copy it: https://github.com/openwrt/openwrt/pull/2486/commits/2625499ca554449e7a19bb5f6f61acdefb5a69e1 Best, Roger
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel