92 lines
3.2 KiB
Plaintext
92 lines
3.2 KiB
Plaintext
|
;---------------------------------------------------------------------------------------------------
|
|||
|
; 说明: 脚本中的字符串区分大小写,用户可以修改"="后面的数值,但是不要修改前面的字符串
|
|||
|
;---------------------------------------------------------------------------------------------------
|
|||
|
|
|||
|
|
|||
|
;---------------------------------------------------------------------------------------------------
|
|||
|
; 固件下载参数配置
|
|||
|
;---------------------------------------------------------------------------------------------------
|
|||
|
;***************************************************************************************************
|
|||
|
; mbr的大小, 以Kbyte为单位
|
|||
|
;***************************************************************************************************
|
|||
|
[mbr]
|
|||
|
size = 512
|
|||
|
|
|||
|
;***************************************************************************************************
|
|||
|
; 分区配置
|
|||
|
;
|
|||
|
;
|
|||
|
; partition 定义范例:
|
|||
|
; [partition] ; //表示是一个分区
|
|||
|
; name = USERFS2 ; //分区名称
|
|||
|
; size = 16384 ; //分区大小 单位: 扇区.分区表示个数最多2^31 * 512 = 2T
|
|||
|
; downloadfile = "123.fex" ; //下载文件的路径和名称,可以使用相对路径,相对是指相对于image.cfg文件所在分区。也可以使用绝对路径
|
|||
|
; keydata = 1 ; //私有数据分区,重新量产数据将不丢失
|
|||
|
; encrypt = 1 ; //采用加密方式烧录,将提供数据加密,但损失烧录速度
|
|||
|
; = ? ; //私有用法
|
|||
|
; verify = 1 ; //要求量产完成后校验是否正确
|
|||
|
;
|
|||
|
; 注:1、name唯一, 不允许同名
|
|||
|
; 2、name最大12个字符
|
|||
|
; 3、size = 0, 将创建一个无大小的空分区
|
|||
|
; 4、为了安全和效率考虑,分区大小最好保证为16M字节的整数倍
|
|||
|
;***************************************************************************************************
|
|||
|
[partition_start]
|
|||
|
|
|||
|
[partition]
|
|||
|
name = boot-res
|
|||
|
size = 512
|
|||
|
downloadfile = "boot-resource.fex"
|
|||
|
user_type = 0x8000
|
|||
|
|
|||
|
[partition]
|
|||
|
name = env
|
|||
|
size = 1024
|
|||
|
downloadfile = "env.fex"
|
|||
|
user_type = 0x8000
|
|||
|
|
|||
|
[partition]
|
|||
|
name = boot
|
|||
|
size = 8192
|
|||
|
downloadfile = "boot.fex"
|
|||
|
user_type = 0x8000
|
|||
|
|
|||
|
[partition]
|
|||
|
name = rootfs
|
|||
|
size = 105536
|
|||
|
downloadfile = "rootfs.fex"
|
|||
|
user_type = 0x8000
|
|||
|
|
|||
|
[partition]
|
|||
|
name = rootfs_data
|
|||
|
size = 8192
|
|||
|
user_type = 0x8000
|
|||
|
|
|||
|
[partition]
|
|||
|
name = ota_info
|
|||
|
size = 512
|
|||
|
user_type = 0x8000
|
|||
|
|
|||
|
; recovery分区说明
|
|||
|
; 如果启用了OTA升级,默认以boot_initramfs.img作为recovery.fex,否则recovery.fex为空
|
|||
|
|
|||
|
;[partition]
|
|||
|
; name = recovery
|
|||
|
; size = 32768
|
|||
|
; downloadfile="recovery.fex"
|
|||
|
; user_type = 0x8000
|
|||
|
|
|||
|
[partition]
|
|||
|
name = misc
|
|||
|
size = 1024
|
|||
|
user_type = 0x8000
|
|||
|
|
|||
|
[partition]
|
|||
|
name = private
|
|||
|
size = 1024
|
|||
|
user_type = 0x8000
|
|||
|
|
|||
|
[partition]
|
|||
|
name = UDISK
|
|||
|
user_type = 0x8100
|