openwrt-mirror/package/boot/uboot-mediatek/patches
Andrii Kuiukoff b33df7ba33 mediatek: add support for COMFAST CF-WR632AX
COMFAST CF-WR632AX is a compact/travel (123.4 mm * 88.7 mm * 34 mm)
wireless WiFi 6 router.

Specification
-------------
- SoC          : MediaTek MT7981B dual-core ARM Cortex-A53 1.3 GHz
- RAM          : DDR3 512 MiB
- Flash        : SPI-NAND 128 MiB (Winbond)
- WLAN         : MediaTek MT7976CN dual-band WiFi 6
  - 2.4 GHz    : b/g/n/ax, MU-MIMO (2x 5 dBi antennas)
  - 5 GHz      : a/n/ac/ax, MU-MIMO (2x 5 dBi antennas)
- Ethernet     :
  - LAN x1     : 10/100/1000 Mbps (MT7981 internal PHY)
  - WAN x1     : 10/100/1000/2500 Mbps (Maxlinear GPY211C)
- USB x1       : 3.0
- UART         : through-hole on PCB
  - assignment : (RX), (TX), (GND), [VCC]
  - settings   : 115200n8
- Buttons x1   : Reset
- LEDs x3      : Status (Blue, Green, Red)
- Fan x1       : PWM, 4-wire, 5 V, 0.3 A, 45 mm * 10 mm
- Power        : 5 VDC, 3 A, Type-C

Flash instructions
------------------
WebUI Method:

1. Install the *squashfs-sysupgrade.bin image using the stock WebUI
   update page.
2. Press and hold the reset button after reboot
   to wipe the stock config.

SSH Method:

1. Import stock firmware settings from backup file
   github.com/andros-ua/owrt-misc/blob/main/cf-wr632ax/backup.file
   Note: WebUI password will be reset to admin1234 after import.
2. Connect via SSH using root:openwrt credentials.
3. Upload the *squashfs-sysupgrade.bin image.
4. Use the command: sysupgrade -n
   All checks should pass.

Return to stock
---------------
Flash a stock firmware
using the OpenWrt sysupgrade method.

Recovery
--------
Power on the router while holding the Reset button until
the LED flashes 5 times.
The U-Boot Flash WebUI will be available at http://192.168.1.1
or
Connect UART and use the U-Boot menu to flash the firmware image
or boot an OpenWrt initramfs image.

OpenWrt U-Boot flash instructions
---------------------------------
1. Flash ordinary OpenWrt image.
2. Login into the device and backup everything, especially 'Factory' part.
3. Unlock mtd partitions:
    apk add kmod-mtd-rw
    insmod mtd-rw i_want_a_brick=1
4. Write new BL2 and FIP:
    mtd write openwrt-mediatek-filogic-comfast_cf-wr632ax-ubootmod-preloader.bin BL2
    mtd write openwrt-mediatek-filogic-comfast_cf-wr632ax-ubootmod-bl31-uboot.fip FIP
5. Set static IP on your PC:
    ip 192.168.1.254 mask 255.255.255.0
6. Serve OpenWrt initramfs image using TFTP server.
7. Reboot device, wait for TFTP recovery to complete.
8. After OpenWrt has booted, perform sysupgrade.

MAC Addresses:
----------------------------------------------------------
| Interface    |  MAC              | Source              |
---------------|-------------------|----------------------
| WAN (label)  | 40:A5:EF:xx:xx:xx | Factory, 0xe000     |
| LAN          | 40:A5:EF:xx:xx:xx | Factory, 0xe000 + 1 |
| WLAN 2.4 GHz | 40:A5:EF:xx:xx:xx | Factory, 0x4        |
| WLAN 5 GHz   | 40:A5:EF:xx:xx:xx | Factory, 0x8000     |
----------------------------------------------------------

Signed-off-by: Andrii Kuiukoff <andros.ua@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/20382
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-11-09 19:33:18 +01:00
..
007-ARM-dts-build-DT-for-MT7987-RFB.patch uboot-mediatek: add builds for the MediaTek MT7987 reference board 2025-11-05 14:19:39 +00:00
100-01-drivers-mtd-add-support-for-MediaTek-SPI-NAND-flash-.patch uboot-mediatek: sync with mtk-openwrt/u-boot 20250711 2025-07-19 02:59:16 +01:00
100-02-mtd-mtk-snand-add-support-for-SPL.patch uboot-mediatek: sync with mtk-openwrt/u-boot 20250711 2025-07-19 02:59:16 +01:00
100-03-mtd-add-a-new-mtd-device-type-for-NMBM.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
100-04-mtd-add-core-facility-code-of-NMBM.patch uboot-mediatek: sync with mtk-openwrt/u-boot 20250711 2025-07-19 02:59:16 +01:00
100-05-mtd-nmbm-add-support-for-mtd.patch uboot-mediatek: sync with mtk-openwrt/u-boot 20250711 2025-07-19 02:59:16 +01:00
100-06-common-board_r-add-support-to-initialize-NMBM-after-.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
100-07-cmd-add-nmbm-command.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
100-08-cmd-mtd-add-markbad-subcommand-for-NMBM-testing.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
100-09-mtd-mtk-snand-add-NMBM-support-for-SPL.patch uboot-mediatek: sync with mtk-openwrt/u-boot 20250711 2025-07-19 02:59:16 +01:00
100-10-cmd-add-a-new-command-for-NAND-flash-debugging.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
100-11-env-add-support-for-NMBM-upper-MTD-layer.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
100-12-mtd-spi-nor-add-support-to-read-flash-unique-ID.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
100-13-cmd-sf-add-support-to-read-flash-unique-ID.patch uboot-mediatek: sync with mtk-openwrt/u-boot 20250711 2025-07-19 02:59:16 +01:00
100-14-common-spl-spl_nand-enable-CONFIG_SYS_NAND_U_BOOT_OF.patch uboot-mediatek: sync with mtk-openwrt/u-boot 20250711 2025-07-19 02:59:16 +01:00
100-16-board-mt7622-use-new-spi-nand-driver.patch uboot-mediatek: sync with mtk-openwrt/u-boot 20250711 2025-07-19 02:59:16 +01:00
100-17-board-mt7981-add-reference-board-using-new-spi-nand-.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
100-18-mtd-spi-nor-add-more-flash-ids.patch uboot-mediatek: sync with mtk-openwrt/u-boot 20250711 2025-07-19 02:59:16 +01:00
100-19-mtd-spi-nand-add-more-spi-nand-chips.patch uboot-mediatek: sync with mtk-openwrt/u-boot 20250711 2025-07-19 02:59:16 +01:00
100-20-mtd-spi-nand-add-support-for-FudanMicro-chips.patch uboot-mediatek: sync with mtk-openwrt/u-boot 20250711 2025-07-19 02:59:16 +01:00
100-21-mtd-spi-nand-add-CASN-page-support.patch uboot-mediatek: sync with mtk-openwrt/u-boot 20250711 2025-07-19 02:59:16 +01:00
100-22-mmc-mtk-sd-add-support-to-display-verbose-error-log.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
100-23-cmd-ubi-make-volume-find-create-remove-APIs-public.patch uboot-mediatek: sync with mtk-openwrt/u-boot 20250711 2025-07-19 02:59:16 +01:00
100-24-cmd-ubi-allow-creating-volume-with-all-free-spaces.patch uboot-mediatek: sync with mtk-openwrt/u-boot 20250711 2025-07-19 02:59:16 +01:00
100-25-env-ubi-add-support-to-create-environment-volume-if-.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
100-26-mtd-ubi-add-support-for-UBI-end-of-filesystem-marker.patch uboot-mediatek: sync with mtk-openwrt/u-boot 20250711 2025-07-19 02:59:16 +01:00
101-01-mtd-spinand-add-support-for-FORESEE-F35SQA002G.patch uboot-mediatek: fix FORESEE Flash build warning 2025-07-28 15:07:35 +01:00
101-02-mtd-spinand-add-support-for-FORESEE-F35SQA001G.patch uboot-mediatek: fix FORESEE Flash build warning 2025-07-28 15:07:35 +01:00
101-03-mtd-spinand-fix-support-for-FORESEE.patch uboot-mediatek: update to v2025.07 2025-07-19 02:59:15 +01:00
103-01-mt7622-enable-pstore.patch uboot-mediatek: adjust the reserved memory regions 2025-08-24 13:22:09 +02:00
103-02-mt7981-enable-pstore.patch uboot-mediatek: adjust the reserved memory regions 2025-08-24 13:22:09 +02:00
103-03-mt7986-enable-pstore.patch uboot-mediatek: adjust the reserved memory regions 2025-08-24 13:22:09 +02:00
103-04-mt7988-enable-pstore.patch uboot-mediatek: adjust the reserved memory regions 2025-08-24 13:22:09 +02:00
104-snfi-add-support-for-GD5F1GQ5UE.patch uboot-mediatek: sync with mtk-openwrt/u-boot 20250711 2025-07-19 02:59:16 +01:00
105-configs-add-usefull-stuff-to-mt7988-rfb.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
106-configs-sync-mt7981-rfb-storage.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
107-configs-add-useful-options-to-mt7981-rfb.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
108-dts-arm64-mt7981-rfb-add-mtd-partitions.patch uboot-mediatek: backport more mtk platform pending fixes 2025-02-09 21:50:58 +00:00
109-snfi-FM35Q1GA-is-x4-only.patch uboot-mediatek: sync with mtk-openwrt/u-boot 20250711 2025-07-19 02:59:16 +01:00
110-mtd-spi-nand-add-support-for-FudanMicro-FM25S01A.patch uboot-mediatek: add support for FudanMicro FM25S01A 2025-09-08 14:02:52 +02:00
120-use-xz-instead-of-lzma.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
129-board-mediatek-wire-up-NMBM-support.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
160-net-phy-add-support-for-Airoha-ethernet-PHY-driver.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
200-cmd-add-imsz-and-imszb.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
211-cmd-bootmenu-custom-title.patch uboot-mediatek: bump to v2025.04 2025-05-31 21:16:41 +02:00
220-cmd-env-readmem.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
230-cmd-add-pstore-check.patch uboot-mediatek: update to U-Boot 2024.01 release 2024-02-15 19:06:37 +00:00
250-fix-mmc-erase-timeout.patch uboot-mediatek: update to v2025.07 2025-07-19 02:59:15 +01:00
280-image-fdt-save-name-of-FIT-configuration-in-chosen-node.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
300-mt7623-fix-mmc-get-env-dev.patch uboot-mediatek: update to U-Boot 2024.10 2024-10-13 03:00:45 +01:00
301-mt7622-generic-reset-button-ignore-env.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
302-mt7623-generic-reset-button-ignore-env.patch uboot-mediatek: update to U-Boot 2024.10 2024-10-13 03:00:45 +01:00
303-mt7986-generic-reset-button-ignore-env.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
304-mt7981-generic-reset-button-ignore-env.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
305-mt7988-generic-reset-button-ignore-env.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
306-mt7987-generic-reset-button-ignore-env.patch uboot-mediatek: add builds for the MediaTek MT7987 reference board 2025-11-05 14:19:39 +00:00
310-mt7988-select-rootdisk.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
311-mt7986-select-rootdisk.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
312-mt7622-select-rootdisk.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
313-mt7623-select-rootdisk.patch mediatek: mt7623: phase out uImage.FIT partition parser 2024-02-24 03:02:35 +00:00
314-mt7981-select-rootdisk.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
315-mt7987-select-rootdisk.patch uboot-mediatek: add builds for the MediaTek MT7987 reference board 2025-11-05 14:19:39 +00:00
400-update-bpir2-defconfig.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
401-update-u7623-defconfig.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
402-update-bananapi-bpi-r64-device-tree.patch uboot-mediatek: fix factory/reset button 2023-04-20 11:40:24 +01:00
403-add-bananapi_bpi-r64-snand.patch mediatek: mt7622: convert BPi-R64 to all-UBI layout and fitblk 2024-02-15 19:30:08 +00:00
404-add-bananapi_bpi-r64_defconfigs.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
405-dts-mt7623n-bpi-r2-fix-leds.patch uboot-mediatek: fix factory/reset button 2023-04-20 11:40:24 +01:00
406-dts-mt7623n-bpi-r2-uart0-force-highspeed.patch uboot-mediatek: fix factory/reset button 2023-04-20 11:40:24 +01:00
408-arm-mediatek-add-back-mt7622-LK-image-header.patch uboot-mediatek: fix mt7622 rfb1 build 2025-07-19 02:59:15 +01:00
410-add-linksys-e8450.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
412-add-ubnt-unifi-6-lr.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
420-add-support-for-RAVPower-RP-WD009.patch uboot-mediatek: update to v2025.07 2025-07-19 02:59:15 +01:00
421-zbtlink_zbt-wg3526-16m.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
429-add-netcore-n60.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
430-add-bpi-r3.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
431-add-xiaomi_redmi-ax6000.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
432-add-tplink-xdr608x.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
433-add-qihoo_360t7.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
434-add-xiaomi_mi-router-wr30u.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
435-add-h3c_magic-nx30-pro.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
436-add-glinet-mt6000.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
437-add-cmcc_rax3000m.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
438-add-jcg_q30-pro.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
439-add-zyxel_ex5601-t0.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
440-add-xiaomi_mi-router-ax3000t.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
441-add-jdcloud_re-cp-03.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
442-add-bpi-r3-mini.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
443-add-nokia_ea0326gmp.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
444-add-abt_asr3000.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
445-add-cudy_tr3000-v1.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
445-add-netis-nx31.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
446-add-cmcc_a10.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
447-add-konka_komi-a31.patch mediatek: add Konka KOMI A31 support 2025-10-23 00:00:04 +02:00
448-add-comfast_cf-wr632ax.patch mediatek: add support for COMFAST CF-WR632AX 2025-11-09 19:33:18 +01:00
450-add-bpi-r4.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
451-add-tplink-xtr8488.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
452-add-xiaomi-redmi-ax6s.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
453-add-openwrt-one.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
454-add-glinet-x3000.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
456-add-arcadyan-mozart.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
457-initialized-the-watchdog-subsystem-later.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
458-add-GatoNetworks-GDSP.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
459-add-mercusys-mr90x-v1.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
460-add-routerich-ax3000.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
461-add-asus-zenwifi-bt8.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
462-add-netcore-n60-pro.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
463-add-snr-snr-cpe-ax2.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
464-add-GL.iNet-GL-MT2500-Brume2.patch uboot-mediatek: update to U-Boot v2025.10 2025-10-10 16:35:58 +01:00
465-add-acer_predator-w6x.patch mediatek: Add support for Acer Predator Connect W6x Ubootmod 2025-10-31 09:40:07 +00:00
470-add-bpi-r4-lite.patch uboot-mediatek: add support for the BananaPi BPi-R4 Lite 2025-11-05 14:19:40 +00:00
500-adapt-mt7987-rfb.patch uboot-mediatek: add builds for the MediaTek MT7987 reference board 2025-11-05 14:19:39 +00:00