当前位置: 首页 > news >正文

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

相关文章:

  • 汉诺塔用python编写
  • leetcode刷题日记——基本计算器
  • QML Date:日期处理示例
  • MIL、SIL、HIL与Back-to-Back测试详解:从模型到硬件的完整验证链
  • python怎么查看函数原型及变量是什么类型
  • [SystemVerilog] Clocking
  • 2软考系统架构设计师:第一章系统架构概述 - 练习题附答案及超详细解析
  • 基于libdxfrw库读取样条曲线并离散为点
  • DHCP配置文件详解
  • FreeRTOS事件标志组详解:高效的任务间通知机制
  • 区分PROJECT_SOURCE_DIR, CMAKE_SOURCE_DIR,CMAKE_CURRENT_SOURCE_DIR
  • windows下查看idea运行的进程占的JVM情况工具
  • Agent2Agent
  • 校平机:金属板材加工的核心设备
  • x86系列CPU寄存器和汇编指令总结
  • Kettle学习
  • VSCode远程登录云服务器并设置免密登录全攻略
  • LeetCode --- 446 周赛
  • 2.4.5goweb项目上传到csdn的git仓库
  • Eigen的主要类及其功能
  • 2025厦门体育产业采风活动圆满举行
  • 以军称若停火谈判无进展,将大幅扩大加沙军事行动
  • 传染病防治法修订草案:拟加强医疗机构疾病预防控制能力建设
  • 冯象|那“交出”后的崩溃,如撒旦坠落诸天
  • 帕力旦·吐尔逊已任喀什大学党委副书记、校长
  • 中国牵头制定,在线旅游机构和展览与活动领域ISO国际标准发布