sdk-hwV1.3/device/config/chips/v851s/configs/perf1/linux/sys_partition.fex

84 lines
2.9 KiB
Plaintext
Raw Normal View History

2024-05-07 10:09:20 +00:00
;---------------------------------------------------------------------------------------------------------
; 说明: 脚本中的字符串区分大小写,用户可以修改"="后面的数值,但是不要修改前面的字符串
;---------------------------------------------------------------------------------------------------------
;--------------------------------------------------------------------------------------------------
; 固件下载参数配置
;--------------------------------------------------------------------------------------------------
;****************************************************
; mbr的大小, 以Kbyte为单位
;****************************************************
[mbr]
size = 4096
;********************************************************************************************************
; 分区配置
;
;
; 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 = boot-res
size = 1024
downloadfile = "boot-resource.fex"
user_type = 0x8000
[partition]
name = env
size = 512
downloadfile = "env.fex"
user_type = 0x8000
[partition]
name = boot
;size = 4096
size = 12288
downloadfile = "boot.fex"
user_type = 0x8000
[partition]
name = rootfs
size = 18432
downloadfile = "rootfs.fex"
user_type = 0x8000
[partition]
name = rootfs_data
size = 102400
user_type = 0x8000
;[partition]
; name = recovery
; size = 12288
; user_type = 0x8000
;
;[partition]
; name = misc
; size = 512
; user_type = 0x8000
;
;[partition]
; name = private
; size = 512
; user_type = 0x8000
[partition]
name = UDISK
user_type = 0x8100