| 
qcc30xx ota 分区的问题
×
马上注册,享用更多功能,让你轻松玩转社区。您需要 登录 才可以下载或查看,没有账号?立即注册   
 是否ota升级和alt_image_offset有关,看到16M的flash alt_image_offset值为0,32M的flash alt_image_offset值为32*64*1024(这个是2048KB?也就是16Mbit)
 
 复制代码{
    "flash_device": {
    "block_size": 64 * 1024,
    "boot_block_size": None,
    "alt_image_offset": 0
},
"encrypt": False,
"layout": [
    ("curator_fs",      { "capacity" :  1 * 64 * 1024,  "authenticate": False, "src_file_signed": False}),
    ("apps_p0",         { "capacity" : 10 * 64 * 1024,  "authenticate": True, "src_file_signed": True}),
    ("apps_p1",         { "capacity" :  8 * 64 * 1024,  "authenticate": False}),
    # Device config filesystem size limited by size of production test buffer,  ( 1024*2)-10.
    ("device_ro_fs",    { "capacity" :  1 * 64 * 1024,  "authenticate": False, "inline_auth_hash": True }),
    ("rw_config",       { "capacity" :  2 * 64 * 1024}),
    ("rw_fs",           { "capacity" :  1 * 64 * 1024}),
    ("ro_cfg_fs",       { "capacity" :  2 * 64 * 1024,  "authenticate": False}),
    ("ro_fs",           { "capacity" :  5 * 64 * 1024,  "authenticate": False})
]
}
 
 |