mirror of https://github.com/ARMmbed/mbed-os.git
Added specific policy file for 2M device to expand slot sizes
parent
9b86b391b2
commit
27f9cf85de
|
@ -13,5 +13,5 @@
|
|||
"priv_key_file": "keys/USERAPP_CM4_KEY_PRIV.pem",
|
||||
"aes_key_file": "keys/image-aes-128.key",
|
||||
"dev_pub_key_file": "keys/dev_pub_key.pem",
|
||||
"policy_file": "policy/policy_single_stage_CM4.json"
|
||||
"policy_file": "policy/policy_single_stage_CM4_2m.json"
|
||||
}
|
||||
|
|
|
@ -0,0 +1,113 @@
|
|||
{
|
||||
"debug" :
|
||||
{
|
||||
"m0p" : {
|
||||
"permission" : "disabled",
|
||||
"control" : "firmware",
|
||||
"key" : 5
|
||||
},
|
||||
"m4" : {
|
||||
"permission" : "allowed",
|
||||
"control" : "firmware",
|
||||
"key" : 5
|
||||
},
|
||||
"system" : {
|
||||
"permission" : "enabled",
|
||||
"control" : "firmware",
|
||||
"key" : 5,
|
||||
"syscall": true,
|
||||
"mmio": true,
|
||||
"flash": true,
|
||||
"workflash": true,
|
||||
"sflash": true,
|
||||
"sram": true
|
||||
},
|
||||
"rma" : {
|
||||
"permission" : "allowed",
|
||||
"destroy_fuses" : [
|
||||
{
|
||||
"start" : 888,
|
||||
"size" : 136
|
||||
},
|
||||
{
|
||||
"start" : 648,
|
||||
"size" : 104
|
||||
}
|
||||
],
|
||||
"destroy_flash" : [
|
||||
{
|
||||
"start" : 268435456,
|
||||
"size" : 851968
|
||||
},
|
||||
{
|
||||
"start" : 269483520,
|
||||
"size" : 16
|
||||
}
|
||||
],
|
||||
"key" : 5
|
||||
}
|
||||
},
|
||||
"wounding" :
|
||||
{
|
||||
},
|
||||
"boot_upgrade" :
|
||||
{
|
||||
"title": "upgrade_policy",
|
||||
"firmware": [
|
||||
{
|
||||
"boot_auth": [
|
||||
3
|
||||
],
|
||||
"id": 0,
|
||||
"launch": 4,
|
||||
"smif_id": 0,
|
||||
"upgrade": false,
|
||||
"upgrade_auth": [
|
||||
3
|
||||
],
|
||||
"resources": [
|
||||
{
|
||||
"type": "FLASH_PC1_SPM",
|
||||
"address": 269287424,
|
||||
"size": 65536
|
||||
},
|
||||
{
|
||||
"type": "SRAM_SPM_PRIV",
|
||||
"address": 134348800,
|
||||
"size": 65536
|
||||
},
|
||||
{
|
||||
"type": "SRAM_DAP",
|
||||
"address": 134397952,
|
||||
"size": 16384
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"boot_auth": [
|
||||
8
|
||||
],
|
||||
"id": 4,
|
||||
"monotonic": 0,
|
||||
"smif_id": 0,
|
||||
"upgrade": true,
|
||||
"upgrade_auth": [
|
||||
8
|
||||
],
|
||||
|
||||
"resources": [
|
||||
{
|
||||
"type": "BOOT",
|
||||
"address": 268435456,
|
||||
"size": 655360
|
||||
},
|
||||
{
|
||||
"type": "UPGRADE",
|
||||
"address": 269090816,
|
||||
"size": 655360
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue