Added specific policy file for 2M device to expand slot sizes

pull/11434/head
Roman Okhrimenko 2019-10-15 16:07:56 +03:00
parent 9b86b391b2
commit 27f9cf85de
2 changed files with 114 additions and 1 deletions

View File

@ -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"
}

View File

@ -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
}
]
}
]
}
}