mirror of https://github.com/ARMmbed/mbed-os.git
Added policy file and removed old secure tools config file.
parent
f8c1c446f1
commit
e873669b04
|
@ -0,0 +1,134 @@
|
|||
{
|
||||
"debug" :
|
||||
{
|
||||
"m0p" : {
|
||||
"permission" : "enabled",
|
||||
"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,
|
||||
"monotonic": 0,
|
||||
"smif_id": 0,
|
||||
"upgrade": false,
|
||||
"upgrade_auth": [
|
||||
3
|
||||
],
|
||||
"resources": [
|
||||
{
|
||||
"type": "FLASH_PC1_SPM",
|
||||
"address": 270336000,
|
||||
"size": 65536
|
||||
},
|
||||
{
|
||||
"type": "SRAM_SPM_PRIV",
|
||||
"address": 135004160,
|
||||
"size": 262144
|
||||
},
|
||||
{
|
||||
"type": "SRAM_DAP",
|
||||
"address": 135184384,
|
||||
"size": 16384
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"boot_auth": [
|
||||
8
|
||||
],
|
||||
"boot_keys": [
|
||||
{ "kid": 8, "key": "../keys/USERAPP_CM4_KEY.json" }
|
||||
],
|
||||
"id": 4,
|
||||
"monotonic": 0,
|
||||
"smif_id": 0,
|
||||
"upgrade": true,
|
||||
"version": "0.1",
|
||||
"rollback_counter": 0,
|
||||
"encrypt": false,
|
||||
"encrypt_key": "../keys/image-aes-128.key",
|
||||
"encrypt_key_id": 1,
|
||||
"encrypt_peer": "../keys/dev_pub_key.pem",
|
||||
"upgrade_auth": [
|
||||
8
|
||||
],
|
||||
"upgrade_keys": [
|
||||
{ "kid": 8, "key": "../keys/USERAPP_CM4_KEY.json" }
|
||||
],
|
||||
"resources": [
|
||||
{
|
||||
"type": "BOOT",
|
||||
"address": 268435456,
|
||||
"size": 327680
|
||||
},
|
||||
{
|
||||
"type": "UPGRADE",
|
||||
"address": 268763136,
|
||||
"size": 327680
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"cy_bootloader":
|
||||
{
|
||||
"mode": "debug"
|
||||
},
|
||||
"provisioning":
|
||||
{
|
||||
"packet_dir": "../packet",
|
||||
"chain_of_trust": []
|
||||
}
|
||||
}
|
|
@ -1,17 +0,0 @@
|
|||
{
|
||||
"boot0" : {
|
||||
"VERSION" : "0.1",
|
||||
"ROLLBACK_COUNTER" : "0"
|
||||
},
|
||||
|
||||
"boot1" : {
|
||||
"VERSION" : "0.1",
|
||||
"ROLLBACK_COUNTER" : "0"
|
||||
},
|
||||
|
||||
"sdk_path" : "targets/TARGET_Cypress/TARGET_PSOC6/sb-tools/",
|
||||
"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"
|
||||
}
|
Loading…
Reference in New Issue