148 lines
4.0 KiB
Plaintext
148 lines
4.0 KiB
Plaintext
;---------------------------------------------------------------------------------------------------------
|
||
; 说明: 脚本中的字符串区分大小写,用户可以修改"="后面的数值,但是不要修改前面的字符串
|
||
;---------------------------------------------------------------------------------------------------------
|
||
|
||
|
||
;--------------------------------------------------------------------------------------------------
|
||
; 固件下载参数配置
|
||
;--------------------------------------------------------------------------------------------------
|
||
;****************************************************
|
||
; mbr的大小, 以Kbyte为单位
|
||
;****************************************************
|
||
[mbr]
|
||
size = 16
|
||
|
||
;********************************************************************************************************
|
||
; 分区配置
|
||
;
|
||
;
|
||
; partition 定义范例:
|
||
; [partition] ; //表示是一个分区
|
||
; name = USERFS2 ; //分区名称
|
||
; size = 16384 ; //分区大小 单位: 扇区.分区表示个数最多2^31 * 512 = 2T
|
||
; downloadfile = "123.fex" ; //下载文件的路径和名称,可以使用相对路径,相对是指相对于image.cfg文件所在分区。也可以使用绝对路径
|
||
; keydata = 1 ; //私有数据分区,重新量产数据将不丢失
|
||
; encrypt = 1 ; //采用加密方式烧录,将提供数据加密,但损失烧录速度
|
||
; user_type = ? ; //私有用法
|
||
; verify = 1 ; //要求量产完成后校验是否正确
|
||
;
|
||
; 注:1、name唯一, 不允许同名
|
||
; 2、name最大12个字符
|
||
; 3、size = 0, 将创建一个无大小的空分区
|
||
; 4、为了安全和效率考虑,分区大小最好保证为16M字节的整数倍
|
||
;********************************************************************************************************
|
||
[partition_start]
|
||
|
||
[partition]
|
||
name = env
|
||
size = 128
|
||
downloadfile = "env.fex"
|
||
user_type = 0x8000
|
||
|
||
[partition]
|
||
name = env-redund
|
||
size = 128
|
||
downloadfile = "env.fex"
|
||
user_type = 0x8000
|
||
|
||
[partition]
|
||
name = boot
|
||
size = 4608
|
||
downloadfile = "boot.fex"
|
||
user_type = 0x8000
|
||
|
||
[partition]
|
||
name = rootfs
|
||
size = 11136
|
||
downloadfile = "rootfs.fex"
|
||
user_type = 0x8000
|
||
|
||
[partition]
|
||
name = extend
|
||
size = 2048
|
||
downloadfile = "usr.fex"
|
||
user_type = 0x8000
|
||
|
||
[partition]
|
||
name = recovery
|
||
size = 5120
|
||
downloadfile = "recovery.fex"
|
||
user_type = 0x8000
|
||
|
||
[partition]
|
||
name = rootfs_data
|
||
size = 1024
|
||
user_type = 0x8000
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
;[partition]
|
||
; name = boot
|
||
; size = 4480
|
||
; downloadfile = "boot.fex"
|
||
; user_type = 0x8000
|
||
;
|
||
;[partition]
|
||
; name = boot_backup
|
||
; size = 3712
|
||
; downloadfile = "boot.fex"
|
||
; user_type = 0x8000
|
||
;
|
||
;[partition]
|
||
; name = rootfs
|
||
; size = 4352
|
||
; downloadfile = "rootfs.fex"
|
||
; user_type = 0x8000
|
||
;
|
||
;[partition]
|
||
; name = rootfs_backup
|
||
; size = 1280
|
||
; downloadfile = "rootfs.fex"
|
||
; user_type = 0x8000
|
||
;
|
||
;[partition]
|
||
; name = extend
|
||
; size = 2304
|
||
; downloadfile = "usr.fex"
|
||
; user_type = 0x8000
|
||
;
|
||
;[partition]
|
||
; name = extend_backup
|
||
; size = 768
|
||
; downloadfile = "usr.fex"
|
||
; user_type = 0x8000
|
||
;
|
||
;;[partition]
|
||
;; name = recovery
|
||
; size = 6400
|
||
;; downloadfile = "recovery.fex"
|
||
;; user_type = 0x8000
|
||
;
|
||
;[partition]
|
||
; name = rootfs_data
|
||
; size = 1024
|
||
; user_type = 0x8000
|
||
;
|
||
;[partition]
|
||
; name = env
|
||
; size = 128
|
||
; downloadfile = "env.fex"
|
||
; user_type = 0x8000
|
||
|
||
|