Android nvflash中flash.cfg的配置档案解析

Tody Guo 2011-12-01 01:46:05
下面的代码是nvflash用的flash.cfg的配置档案。
现在就是不了解
分区中的下面两个细节:
type=boot_config_table
name=BCT


[device]
type=nand
instance=0

[partition]
name=BCT
id=2
type=boot_config_table
allocation_policy=sequential
filesystem_type=basic
size=3145728
file_system_attribute=0
partition_attribute=0
allocation_attribute=8
percent_reserved=0

[partition]
name=PT
id=3
type=partition_table
allocation_policy=sequential
filesystem_type=basic
size=4096
file_system_attribute=0
partition_attribute=0
allocation_attribute=8
percent_reserved=0

[partition]
name=EBT
id=4
type=bootloader
allocation_policy=sequential
filesystem_type=basic
size=2097152
file_system_attribute=0
partition_attribute=0
allocation_attribute=8
percent_reserved=0
filename=bootloader.bin

[partition]
name=MBT
id=5
type=data
allocation_policy=sequential
filesystem_type=basic
size=16384
file_system_attribute=0
partition_attribute=0
allocation_attribute=8
percent_reserved=0
filename=mbtdata.img

# update information partition
[partition]
name=MSC
id=6
type=data
allocation_policy=sequential
filesystem_type=yaffs2
size=16777216
file_system_attribute=0
partition_attribute=0
allocation_attribute=0x10
percent_reserved=0

[partition]
name=SOS
id=7
type=data
allocation_policy=sequential
filesystem_type=basic
size=16777216
file_system_attribute=0
partition_attribute=0
allocation_attribute=8
percent_reserved=0
filename=recovery.img

[partition]
name=LNX
id=8
type=data
allocation_policy=sequential
filesystem_type=basic
size=16777216
file_system_attribute=0
partition_attribute=0
allocation_attribute=8
percent_reserved=0
filename=boot.img

[partition]
name=APP
id=9
type=data
allocation_policy=sequential
filesystem_type=yaffs2
size=209715200
file_system_attribute=0
partition_attribute=0
allocation_attribute=0x10
percent_reserved=0
filename=system.img

[partition]
name=CAC
id=10
type=data
allocation_policy=sequential
filesystem_type=yaffs2
size=0xFFFFFFFFFFFFFFFF
file_system_attribute=0
partition_attribute=0
allocation_attribute=0x10
percent_reserved=0
...全文
442 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
iwillbeback008 2012-02-02
  • 打赏
  • 举报
回复
最近也在做NV的方案,想找人交流交流
QQ:929739889
zhpy_0825 2011-12-01
  • 打赏
  • 举报
回复
这个没必要深究吧, 就是一个放bct配置文件的分区而已吧..
lz做nV芯片开发的吗? 手机还是平板啊?

80,351

社区成员

发帖
与我相关
我的任务
社区描述
移动平台 Android
androidandroid-studioandroidx 技术论坛(原bbs)
社区管理员
  • Android
  • yechaoa
  • 失落夏天
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧