aboutsummaryrefslogtreecommitdiff
path: root/platform/ext/target/cypress/psoc64/security/policy_multi_img_CM0p_CM4_debug_2M.json
diff options
context:
space:
mode:
Diffstat (limited to 'platform/ext/target/cypress/psoc64/security/policy_multi_img_CM0p_CM4_debug_2M.json')
-rw-r--r--platform/ext/target/cypress/psoc64/security/policy_multi_img_CM0p_CM4_debug_2M.json175
1 files changed, 175 insertions, 0 deletions
diff --git a/platform/ext/target/cypress/psoc64/security/policy_multi_img_CM0p_CM4_debug_2M.json b/platform/ext/target/cypress/psoc64/security/policy_multi_img_CM0p_CM4_debug_2M.json
new file mode 100644
index 0000000000..e2515f16e6
--- /dev/null
+++ b/platform/ext/target/cypress/psoc64/security/policy_multi_img_CM0p_CM4_debug_2M.json
@@ -0,0 +1,175 @@
+{
+ "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": 1,
+ "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": 1,
+ "launch": 16,
+ "monotonic": 0,
+ "smif_id": 0,
+ "multi_image" : 1,
+ "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" }
+ ],
+ "backup": false,
+ "resources": [
+ {
+ "type": "BOOT",
+ "address": 268435456,
+ "size": 327680
+ },
+ {
+ "type": "UPGRADE",
+ "address": 269942784,
+ "size": 327680
+ }
+ ]
+ },
+ {
+ "boot_auth": [
+ 8
+ ],
+ "boot_keys": [
+ { "kid": 8, "key": "./keys/USERAPP_CM4_KEY.json" }
+ ],
+ "id": 16,
+ "monotonic": 0,
+ "smif_id": 0,
+ "multi_image" : 2,
+ "upgrade": false,
+ "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" }
+ ],
+ "backup": false,
+ "resources": [
+ {
+ "type": "BOOT",
+ "address": 268763136,
+ "size": 1179648
+ },
+ {
+ "type": "UPGRADE",
+ "address": 270307840,
+ "size": 28160
+ }
+ ]
+ }
+ ]
+ },
+ "cy_bootloader":
+ {
+ "mode": "debug"
+ },
+ "provisioning":
+ {
+ "packet_dir": "../packet",
+ "chain_of_trust": []
+ }
+}