SuperWRT的设备默认根据分区名,将分区做不同用途。其中,设备硬件相关信息使用大写分区名,其它使用小写分区名。
分区名与功能对应关系如下表:
分区名 | 功能说明 |
---|---|
uboot | uboot的bootloader |
firmware | 将kernel与rootfs打包在一起的分区 |
kernel | 内核存储分区。 |
rootfs | 文件系统分区。 |
config | 配置保存分区。 |
config2 | 配置写入时,异常保护分区。 |
elog | 紧急Log分区。 |
udata | 用户分区,可用于保存用户的文档及程序,仅大容量Flash设置默认提供该分区。 |
custom | 定制信息,用于定制设备初始配置及一些固化配置。 |
DTB | Device Tree的编译后文件。 |
SBI | 用于保存SuperWRT Board Info信息,即硬件相当信息。 |
CAL | 校准数据,一般根据不同厂家芯片,内容格式和有不同。 |
2M Flash(Support 4k erase):
112k(uboot),4k(SBI),4k(CAL),8k(custom),32k(config),1888k(firmware)
4M Flash(Support 4k erase):
112k(uboot),8k(SBI),8k(custom),3776k(firmware),64k(config),64k(config2),48k(CAL),8k(elog)
4M Flash(Not support 4k erase):
128k(uboot),3712k(firmware),64k(config),64k(config2),64k(custom),64k(CAL)
8M Flash(Support 4k erase):
112k(uboot),16k(SBI),7680k(firmware),64k(elog),64k(config),64k(config2),64k(custom),64k(DTB),64k(CAL)
8M Flash(Not support 4k erase):
128k(uboot),7680k(firmware),64k(elog),64k(config),64k(config2),64k(custom),64k(DTB),64k(CAL)
16M Flash(Support 4k erase):
112k(uboot),16k(SBI),11520k(firmware),4160k(udata),64k(elog),128k(config),128k(config2),128k(custom),64k(DTB),64k(CAL)";
16M Flash(Not support 4k erase):
128k(uboot),11520k(firmware),4160k(udata),64k(elog),128k(config),128k(config2),128k(custom),64k(DTB),64k(CAL)