openwrt-pf/package/boot
Guillaume RISCHARD cdc44e906a
mediatek: filogic: add support for COMFAST CF-WA933
The Comfast CF-WA933[1] is an outdoor dual-band WiFi 6 access
point/router. They also OEM their routers for other providers. This PR
adds support based on, and substantially updates, the downstream device
definition[2] from Wayru, one such white label client.

It can be powered by a 12V DC barrel jack (standard 5.5x2.5mm, center
positive) or via 802.3af POE.

Hardware summary:
- SoC: MediaTek MT7981A
- RAM: 256 MiB
- Flash: SPI-NAND 128 MiB (Factory uses 64M; see details below to use
  the full 128M!)
- WiFi (MT7976DA): dual-band 802.11ax
- Ethernet (MT7531AE): 3x gigabit: 1x WAN + 2x LAN (labeled lan1/lan2).
- Button: reset
- LEDs: Power (always on), WLAN, WAN, LAN1, LAN2
- Serial: Internal header (Four unpopulated headers, clearly labeled)

MAC addresses on the tested unit:
- Label:   40:a5:ef:f0:5e:0f
- LAN:     40:a5:ef:f0:5e:0f  Factory 0xe000
- WAN:     40:a5:ef:f0:5e:10  Factory 0xe000 + 1
- 2.4 GHz: 40:a5:ef:f0:5e:11  Factory 0x0004
- 5 GHz:   40:a5:ef:f0:5e:13  Factory 0x8000 + 1

The serial number is stored as an ASCII string at Factory 0xe100.

Disassembly:

Unscrew the six 3mm hex bolts on the dome and the six 5mm bolts on the
side of the arm, then lift the dome. For reassembly, make sure the large
O ring is in the groove in the dome.

OpenWrt installation:

1. Connect to Ethernet on the WAN port. Manually set your IP address to
192.168.1.10 (important!)
2. Upload the OpenWrt sysupgrade image at http://192.168.1.1

The default U-Boot partition layout does not expose the full flash
capacity. Change the mtdparts U-Boot environment variable before
rebooting and then installing the image for the 128 MiB variant through
the same bootloader recovery/upgrade page.

Method 1: Using the serial console

1. Disassemble the unit and connect to the serial console (115200 8N1).
   Leave 3.3V disconnected.
2. On the boot loader, go straight to "0. U-Boot console"
3. Then enter:
   setenv mtdparts 'nmbm0:1024k(bl2),512k(u-boot-env),2048k(factory),2048k(fip),117248k(ubi)'
   saveenv
   reset

Method 2: From OpenWrt using uboot-envtools

apk add uboot-envtools
fw_setenv mtdparts 'nmbm0:1024k(bl2),512k(u-boot-env),2048k(factory),2048k(fip),117248k(ubi)'
reboot

Return to vendor firmware:
1. If you have changed the mtdparts environment variable, undo the
   change by setting:
   mtdparts 'nmbm0:1024k(bl2),512k(u-boot-env),2048k(factory),2048k(fip),65536k(ubi)'
2. Re-enter the same bootloader recovery/upgrade page.
3. Upload a stock COMFAST firmware image, e.g. from
   http://www.comfast.com.cn/index.php?m=content&c=index&a=show&catid=85&id=773

[1]: https://comfastgroup.com/product/cf-wa933/
[2]: https://github.com/Wayru-Network/wayru-os/tree/main/profiles/prometheus

Signed-off-by: Guillaume RISCHARD <git@stereo.lu>
Link: https://github.com/openwrt/openwrt/pull/22379
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
2026-08-03 16:25:52 +02:00
..
apboot-aruba-ipq806x ipq806x: add apboot package for AP-32x 2026-06-16 16:08:11 +02:00
apex
arm-trusted-firmware-bcm63xx treewide: remove references for obsolete binutils versions 2026-04-18 19:34:21 +02:00
arm-trusted-firmware-imx arm-trusted-firmware-imx: add new package 2026-06-01 17:49:36 +02:00
arm-trusted-firmware-mediatek arm-trusted-firmware-mediatek: cudy-ddr3: reduce ram speed to 1866 MT/s 2026-07-01 09:32:35 +02:00
arm-trusted-firmware-microchipsw
arm-trusted-firmware-mvebu arm-trusted-firmware-mvebu: bump to 2.14 2026-04-11 12:23:36 +02:00
arm-trusted-firmware-rockchip
arm-trusted-firmware-stm32 arm-trusted-firmware-stm32: bump to v2.14 2026-02-26 23:34:10 +01:00
arm-trusted-firmware-sunxi arm-trusted-firmware-sunxi: bump to 2.14 2026-02-08 00:56:16 +01:00
arm-trusted-firmware-tools package: arm-trusted-firmware-tools: add proper patch header 2026-06-23 12:17:00 +02:00
at91bootstrap
fconfig
grub2
imx-bootlets treewide: use HTTPS for PKG_SOURCE_URL where possible 2026-04-20 11:58:37 +08:00
kexec-tools
kobs-ng treewide: use HTTPS for PKG_SOURCE_URL where possible 2026-04-20 11:58:37 +08:00
mt7623n-preloader
opensbi
optee-os-stm32 optee-os-stm32: bump to 4.9.0 2026-02-26 23:34:10 +01:00
rkbin
tfa-layerscape tfa-layerscape: bump to lf-6.18.2-1.0.0 2026-06-26 18:50:56 +02:00
uboot-airoha uboot-airoha: fix eMMC boot failure caused by redundant env 2026-08-02 22:59:57 +02:00
uboot-armsr
uboot-at91 uboot-at91: fix build failure with GCC 14.4 2026-07-03 22:14:17 +02:00
uboot-ath79 uboot-ath79: update to v2026.04 2026-05-25 22:06:34 +02:00
uboot-bcm53xx
uboot-bcm4908
uboot-bmips
uboot-d1
uboot-fritz4040 uboot-fritz4040: update to Git HEAD (2026-03-08) 2026-03-14 21:46:31 +01:00
uboot-imx uboot-imx: do not build efimkcapsule tool 2026-06-04 00:47:20 +02:00
uboot-kirkwood
uboot-lantiq uboot-lantiq: fix C-style comments in AWK scripts 2026-03-23 01:23:33 +01:00
uboot-layerscape uboot-layerscape: bump to lf-6.18.2-1.0.0 2026-06-26 18:50:56 +02:00
uboot-mediatek mediatek: filogic: add support for netis N6 V2 2026-08-02 23:45:58 +02:00
uboot-microchipsw
uboot-mvebu mvebu: MikroTik: add support for RB5009UPr+S+IN 2026-07-01 17:03:40 +02:00
uboot-mxs
uboot-omap uboot-omap: update to 2024.07 2026-06-07 11:45:36 +02:00
uboot-qoriq
uboot-rockchip uboot-rockchip: update to v2026.07 2026-07-28 09:26:17 +02:00
uboot-sifiveu
uboot-stm32 uboot-stm32: bump to 2026.01 2026-02-26 23:34:10 +01:00
uboot-sunxi uboot-sunxi: bump to 2026.04 2026-05-29 08:23:24 +02:00
uboot-tegra
uboot-tools mediatek: filogic: add support for COMFAST CF-WA933 2026-08-03 16:25:52 +02:00
uboot-zynq zynq: add Bitmain Antminer S9 control board support 2026-06-16 20:19:24 +02:00