JDC-ax1800 ttl 备份和刷写
备份
mmc read 0x50000000 0x00000000 0x00000022 && tftpput 0x50000000 0x00004400 mmcblk0p_GPT.bin
mmc read 0x50000000 0x00000022 0x00000600 && tftpput 0x50000000 0x000c0000 mmcblk0p1_0SBL1.bin
mmc read 0x50000000 0x00000622 0x00000200 && tftpput 0x50000000 0x00040000 mmcblk0p2_0BOOTCONFIG.bin
mmc read 0x50000000 0x00000822 0x00000200 && tftpput 0x50000000 0x00040000 mmcblk0p3_0BOOTCONFIG1.bin
mmc read 0x50000000 0x00000a22 0x00000e00 && tftpput 0x50000000 0x001c0000 mmcblk0p4_0QSEE.bin
mmc read 0x50000000 0x00001822 0x00000e00 && tftpput 0x50000000 0x001c0000 mmcblk0p5_0QSEE_1.bin
mmc read 0x50000000 0x00002622 0x00000200 && tftpput 0x50000000 0x00040000 mmcblk0p6_0DEVCFG.bin
mmc read 0x50000000 0x00002822 0x00000200 && tftpput 0x50000000 0x00040000 mmcblk0p7_0DEVCFG_1.bin
mmc read 0x50000000 0x00002a22 0x00000200 && tftpput 0x50000000 0x00040000 mmcblk0p8_0RPM.bin
mmc read 0x50000000 0x00002c22 0x00000200 && tftpput 0x50000000 0x00040000 mmcblk0p9_0RPM_1.bin
mmc read 0x50000000 0x00002e22 0x00000200 && tftpput 0x50000000 0x00040000 mmcblk0p10_0CDT.bin
mmc read 0x50000000 0x00003022 0x00000200 && tftpput 0x50000000 0x00040000 mmcblk0p11_0CDT_1.bin
mmc read 0x50000000 0x00003222 0x00000200 && tftpput 0x50000000 0x00040000 mmcblk0p12_0APPSBLENV.bin
mmc read 0x50000000 0x00003422 0x00000500 && tftpput 0x50000000 0x000a0000 mmcblk0p13_0APPSBL.bin
mmc read 0x50000000 0x00003922 0x00000500 && tftpput 0x50000000 0x000a0000 mmcblk0p14_0APPSBL_1.bin
mmc read 0x50000000 0x00003e22 0x00000200 && tftpput 0x50000000 0x00040000 mmcblk0p15_0ART.bin
mmc read 0x50000000 0x00004022 0x00003000 && tftpput 0x50000000 0x00600000 mmcblk0p16_0HLOS.bin
mmc read 0x50000000 0x00007022 0x00003000 && tftpput 0x50000000 0x00600000 mmcblk0p17_0HLOS_1.bin
mmc read 0x50000000 0x0000a022 0x0001e000 && tftpput 0x50000000 0x03c00000 mmcblk0p18_rootfs.bin
mmc read 0x50000000 0x00028022 0x00002000 && tftpput 0x50000000 0x00400000 mmcblk0p19_0WIFIFW.bin
mmc read 0x50000000 0x0002a022 0x0001e000 && tftpput 0x50000000 0x03c00000 mmcblk0p20_rootfs_1.bin
mmc read 0x50000000 0x00048022 0x00002000 && tftpput 0x50000000 0x00400000 mmcblk0p21_0WIFIFW_1.bin
mmc read 0x50000000 0x0004a022 0x0000a000 && tftpput 0x50000000 0x01400000 mmcblk0p22_rootfs_data.bin
mmc read 0x50000000 0x00054022 0x00000400 && tftpput 0x50000000 0x00080000 mmcblk0p23_0ETHPHYFW.bin
mmc read 0x50000000 0x00054422 0x0002bc00 && tftpput 0x50000000 0x05780000 mmcblk0p24_plugin.bin
mmc read 0x50000000 0x00080022 0x00020000 && tftpput 0x50000000 0x04000000 mmcblk0p25_log1.bin
mmc read 0x50000000 0x000a0022 0x00020000 && tftpput 0x50000000 0x04000000 mmcblk0p25_log2.bin
mmc read 0x50000000 0x000c0022 0x00020000 && tftpput 0x50000000 0x04000000 mmcblk0p25_log3.bin
mmc read 0x50000000 0x000e0022 0x00020000 && tftpput 0x50000000 0x04000000 mmcblk0p25_log4.bin
mmc read 0x50000000 0x00100022 0x00016000 && tftpput 0x50000000 0x02c00000 mmcblk0p25_log5.bin
mmc read 0x50000000 0x00116022 0x00020000 && tftpput 0x50000000 0x04000000 mmcblk0p26_swap1.bin
mmc read 0x50000000 0x00136022 0x00020000 && tftpput 0x50000000 0x04000000 mmcblk0p26_swap2.bin
mmc read 0x50000000 0x00156022 0x00020000 && tftpput 0x50000000 0x04000000 mmcblk0p26_swap3.bin
mmc read 0x50000000 0x00176022 0x00020000 && tftpput 0x50000000 0x04000000 mmcblk0p26_swap4.bin
mmc read 0x50000000 0x00196022 0x00020000 && tftpput 0x50000000 0x04000000 mmcblk0p26_swap5.bin
mmc read 0x50000000 0x001b6022 0x00020000 && tftpput 0x50000000 0x04000000 mmcblk0p26_swap6.bin
mmc read 0x50000000 0x001d6022 0x00020000 && tftpput 0x50000000 0x04000000 mmcblk0p26_swap7.bin
mmc read 0x50000000 0x001f6022 0x00020000 && tftpput 0x50000000 0x04000000 mmcblk0p26_swap8.bin
刷写
# GPT 表分区备份写入
tftpboot $fileaddr mmcblk0p_GPT.bin && mmc write $fileaddr 0x0 0x22
# SBL1(Secondary Boot Loader 1)写入
tftpboot $fileaddr mmcblk0p1_0SBL1.bin && mmc write $fileaddr 0x22 0x600
# BOOTCONFIG 配置文件写入
tftpboot $fileaddr mmcblk0p2_0BOOTCONFIG.bin && mmc write $fileaddr 0x622 0x200
# BOOTCONFIG1 配置文件备份写入
tftpboot $fileaddr mmcblk0p3_0BOOTCONFIG1.bin && mmc write $fileaddr 0x822 0x200
# QSEE(Qualcomm Secure Execution Environment)写入
tftpboot $fileaddr mmcblk0p4_0QSEE.bin && mmc write $fileaddr 0xa22 0xe00
# QSEE 备份写入
tftpboot $fileaddr mmcblk0p5_0QSEE_1.bin && mmc write $fileaddr 0x1822 0xe00
# DEVCFG(设备配置)写入
tftpboot $fileaddr mmcblk0p6_0DEVCFG.bin && mmc write $fileaddr 0x2622 0x200
# DEVCFG 备份写入
tftpboot $fileaddr mmcblk0p7_0DEVCFG_1.bin && mmc write $fileaddr 0x2822 0x200
# RPM(Resource and Power Manager)写入
tftpboot $fileaddr mmcblk0p8_0RPM.bin && mmc write $fileaddr 0x2a22 0x200
# RPM 备份写入
tftpboot $fileaddr mmcblk0p9_0RPM_1.bin && mmc write $fileaddr 0x2c22 0x200
# CDT(Clock and Device Tree)写入
tftpboot $fileaddr mmcblk0p10_0CDT.bin && mmc write $fileaddr 0x2e22 0x200
# CDT 备份写入
tftpboot $fileaddr mmcblk0p11_0CDT_1.bin && mmc write $fileaddr 0x3022 0x200
# APPSBLENV(应用启动环境)写入
tftpboot $fileaddr mmcblk0p12_0APPSBLENV.bin && mmc write $fileaddr 0x3222 0x200
# APPSBL(Application Secondary Boot Loader)写入
tftpboot $fileaddr mmcblk0p13_0APPSBL.bin && mmc write $fileaddr 0x3422 0x500
# APPSBL 备份写入
tftpboot $fileaddr mmcblk0p14_0APPSBL_1.bin && mmc write $fileaddr 0x3922 0x500
# ART(无线电校准数据)写入
tftpboot $fileaddr mmcblk0p15_0ART.bin && mmc write $fileaddr 0x3e22 0x200
# HLOS(高层操作系统)写入
tftpboot $fileaddr mmcblk0p16_0HLOS.bin && mmc write $fileaddr 0x4022 0x3000
# HLOS 备份写入
tftpboot $fileaddr mmcblk0p17_0HLOS_1.bin && mmc write $fileaddr 0x7022 0x3000
# rootfs(根文件系统)写入
tftpboot $fileaddr mmcblk0p18_rootfs.bin && mmc write $fileaddr 0xa022 0x1e000
# WIFIFW(WiFi 固件)写入
tftpboot $fileaddr mmcblk0p19_0WIFIFW.bin && mmc write $fileaddr 0x28022 0x2000
# rootfs_1(根文件系统备份)写入
tftpboot $fileaddr mmcblk0p20_rootfs_1.bin && mmc write $fileaddr 0x2a022 0x1e000
# WIFIFW_1(WiFi 固件备份)写入
tftpboot $fileaddr mmcblk0p21_0WIFIFW_1.bin && mmc write $fileaddr 0x48022 0x2000
# rootfs_data(根文件系统数据)写入
tftpboot $fileaddr mmcblk0p22_rootfs_data.bin && mmc write $fileaddr 0x4a022 0xa000
# ETHPHYFW(以太网 PHY 固件)写入
tftpboot $fileaddr mmcblk0p23_0ETHPHYFW.bin && mmc write $fileaddr 0x54022 0x400
# plugin 插件写入
tftpboot $fileaddr mmcblk0p24_plugin.bin && mmc write $fileaddr 0x54422 0x2bc00
# log1 日志文件写入
tftpboot $fileaddr mmcblk0p25_log1.bin && mmc write $fileaddr 0x80022 0x20000
# log2 日志文件写入
tftpboot $fileaddr mmcblk0p25_log2.bin && mmc write $fileaddr 0xa0022 0x20000
# log3 日志文件写入
tftpboot $fileaddr mmcblk0p25_log3.bin && mmc write $fileaddr 0xc0022 0x20000
# log4 日志文件写入
tftpboot $fileaddr mmcblk0p25_log4.bin && mmc write $fileaddr 0xe0022 0x20000
# log5 日志文件写入
tftpboot $fileaddr mmcblk0p25_log5.bin && mmc write $fileaddr 0x100022 0x16000
# swap1 交换分区写入
tftpboot $fileaddr mmcblk0p26_swap1.bin && mmc write $fileaddr 0x116022 0x20000
# swap2 交换分区写入
tftpboot $fileaddr mmcblk0p26_swap2.bin && mmc write $fileaddr 0x136022 0x20000
# swap3 交换分区写入
tftpboot $fileaddr mmcblk0p26_swap3.bin && mmc write $fileaddr 0x156022 0x20000
# swap4 交换分区写入
tftpboot $fileaddr mmcblk0p26_swap4.bin && mmc write $fileaddr 0x176022 0x20000
# swap5 交换分区写入
tftpboot $fileaddr mmcblk0p26_swap5.bin && mmc write $fileaddr 0x196022 0x20000
# swap6 交换分区写入
tftpboot $fileaddr mmcblk0p26_swap6.bin && mmc write $fileaddr 0x1b6022 0x20000
# swap7 交换分区写入
tftpboot $fileaddr mmcblk0p26_swap7.bin && mmc write $fileaddr 0x1d6022 0x20000
# swap8 交换分区写入
tftpboot $fileaddr mmcblk0p26_swap8.bin && mmc write $fileaddr 0x1f6022 0x20000