CMCC RAX3000M CH EC 算力版刷机(中国移动 RAX3000M 算力版)刷机
刷机前面的工作参考:
https://blog.csdn.net/asdcls/article/details/147434218
刷机
eMMC Flash instructions:
1. SSH to RAX3000M, and backup everything, especially 'factory' part.
('data' partition can be ignored, it's useless.)
2. Write new GPT table:
dd if=openwrt-mediatek-filogic-cmcc_rax3000m-emmc-gpt.bin of=/dev/mmcblk0 bs=512 seek=0 count=34 conv=fsync
3. Erase and write new BL2:
echo 0 > /sys/block/mmcblk0boot0/force_ro
dd if=/dev/zero of=/dev/mmcblk0boot0 bs=512 count=8192 conv=fsync
dd if=openwrt-mediatek-filogic-cmcc_rax3000m-emmc-preloader.bin of=/dev/mmcblk0boot0 bs=512 conv=fsync
4. Erase and write new FIP:
dd if=/dev/zero of=/dev/mmcblk0 bs=512 seek=13312 count=8192 conv=fsync
dd if=openwrt-mediatek-filogic-cmcc_rax3000m-emmc-bl31-uboot.fip of=/dev/mmcblk0 bs=512 seek=13312 conv=fsync
5. Set static IP on your PC:
IP 192.168.1.254, GW 192.168.1.1
6. Serve OpenWrt initramfs image using TFTP server.
7. Cut off the power and re-engage, wait for TFTP recovery to complete.
8. After OpenWrt has booted, perform sysupgrade.
9. Additionally, if you want to have eMMC recovery boot feature:
(Don't worry! You will always have TFTP recovery boot feature.)
dd if=openwrt-mediatek-filogic-cmcc_rax3000m-initramfs-recovery.itb of=/dev/mmcblk0p4 bs=512 conv=fsync
1. SSH to RAX3000M, and backup everything, especially 'factory' part.
('data' partition can be ignored, it's useless.)
SSH 登录到 RAX3000M, and 备份数据, 特别是 'factory' 部分.
('data' 分区可以忽略,基本没有啥用)
2.Write new GPT table:
写入新的GPT分区表
dd if=/tmp/openwrt-24.10.1-mediatek-filogic-cmcc_rax3000m-emmc-gpt.bin of=/dev/mmcblk0 bs=512 seek=0 c
ount=34 conv=fsync
3. Erase and write new BL2:
擦除并写入新的BL2:
echo 0 > /sys/block/mmcblk0boot0/force_ro
dd if=/dev/zero of=/dev/mmcblk0boot0 bs=512 count=8192 conv=fsync
dd if=/tmp/openwrt-24.10.1-mediatek-filogic-cmcc_rax3000m-emmc-preloader.bin of=/dev/mmcblk0boot0 bs=512 conv=fsync
4. Erase and write new FIP:
擦除并写入新的FIP:
dd if=/dev/zero of=/dev/mmcblk0 bs=512 seek=13312 count=8192 conv=fsync
dd if=/tmp/openwrt-24.10.1-mediatek-filogic-cmcc_rax3000m-emmc-bl31-uboot.fip of=/dev/mmcblk0 bs=512 seek=13312 conv=fsync
5. Set static IP on your PC:
电脑设置静态IP:
IP 192.168.1.254, 网关地址:192.168.1.1
6. Serve OpenWrt initramfs image using TFTP server.
电脑端启动tftpd服务端, 改为电脑可见模式,关闭防火墙
固件的名字需要改成这个才可以被找到。
openwrt-mediatek-filogic-cmcc_rax3000m-initramfs-recovery.itb
7. Cut off the power and re-engage, wait for TFTP recovery to complete.
路由器断电,重新插电,重启 (不进入可以断电按reset键,再插电后再松开按键)
8. After OpenWrt has booted, perform sysupgrade.
重启后,执行sysupgrade 动作。
you can use ssh:
ssh root@192.168.1.1 "cat > /tmp/openwrt-24.10.1-mediatek-filogic-cmcc_rax3000m-squashfs-sysupgrade.itb" < openwrt-24.10.1-mediatek-filogic-cmcc_rax3000m-squashfs-sysupgrade.itb
(Also ensure you have set a non-null password for your device root account.)
# Flash firmware sysupgrade -v /tmp/openwrt-24.10.1-mediatek-filogic-cmcc_rax3000m-squashfs-sysupgrade.itb
[OpenWrt Wiki] Upgrading OpenWrt firmware using CLI
开始的时候,我没有执行8. After OpenWrt has booted, perform sysupgrade.
重启后配置信息会丢失。系统是存储临时文件中没有持久化的
9. Additionally, if you want to have eMMC recovery boot feature:
(Don't worry! You will always have TFTP recovery boot feature.)
dd if=openwrt-mediatek-filogic-cmcc_rax3000m-initramfs-recovery.itb of=/dev/mmcblk0p4 bs=512 conv=fsync
刷新后,
http://192.168.1.1/
登录,默认密码为空,直接进入
system>software
点击updatelist可以相当于执行opkg update,更新软件列表
然后filter中可以过滤,比如安装主题theme,语言包比如chinese等。
network>wireless
可以设置无线(master模式)
也可以设置无线中继 scan中连接无线wifi 设置为client模式
后续有再学习后更新。
参考:
固件下载:
https://firmware-selector.openwrt.org/?version=24.10.1&target=mediatek%2Ffilogic&id=cmcc_rax3000m
mediatek: add CMCC RAX3000M support by 1715173329 · Pull Request #13513 · openwrt/openwrt