|
楼主 |
发表于 2025-4-2 10:44:34
|
显示全部楼层
7 j) s6 y! W1 F% S5 [8 n3 u9 j
upgradetest switchver 0 //切换版本0或1
- k" g" o3 r% w7 qfw_flashing //查看当前主备分区调用情况
9 E7 j/ Z1 c" t) k; y: X6 ^6 scat /proc/mtd //查看全部分区% K P! A" Z/ o& ^; g
cat /proc/csp/versionstates //查看分区激活及校验信息' g3 k1 K) @0 N+ Q
* u# a* U' \3 j- _( P) tfw_flashing //查看当前调用分区情况,0在mtd9分区,1在mtd10分区" t& Y, P1 W4 @* r/ ~6 @5 o' h R7 a
cd /mnt/USB2_disc1 //进入u盘目录,根据实际情况更改USB2_disc1
E! T0 ~" x: w# cecho 2 > /proc/zteinfo/factory/factorymode //写入数字2到factorymode" V8 K) E: O1 M! j; \7 y
touch /userconfig/nanddebug //创建nanddubug临时目录+ \) b9 W- t0 X8 d+ l% f2 h
nand kerase /dev/mtd7 0x0 0x1000000 //擦除mtd7- a- I% h# N" D) j
nand kwrite /dev/mtd7 0x0 0x1000000 ./mtd7.bin //写入mtd7
" ^0 J N" T6 T5 X6 Q' |- w3 Bnand kerase /dev/mtd10 0x0 0x3000000 //擦除mtd10+ s: @' k% b; [) \
nand kwrite /dev/mtd10 0x0 0x3000000 ./mtd10.bin //写入mtd10) S k, i9 I2 U
nand kerase /dev/mtd8 0x0 0x200000 //擦除mtd8 dbus分区 M3 J9 z$ ~4 o% R) l
nand kerase /dev/mtd11 0x0 0x6800000 //擦除mtd11 plugin_data分区4 L& `6 c4 c1 B+ O- t9 o
rm /userconfig/nanddebug //删除nanddebug临时目录
8 J. {- `6 Q5 N; V/ @1 Xreboot //重启光猫 |
|