aboutsummaryrefslogtreecommitdiff
path: root/platform/ext
diff options
context:
space:
mode:
authorRaymondNgun <raymond.ngun@infineon.com>2021-06-22 17:41:42 -0700
committerDavid Hu <david.hu@arm.com>2021-07-08 09:56:52 +0200
commit310d8b22bd7819b5db16fbe378647808adf36e22 (patch)
tree4786e4affd463ce969b778756c28cc781453073a /platform/ext
parentb3d98c31378d1f252e9cb6f9b2450772a6d33c01 (diff)
downloadtrusted-firmware-m-310d8b22bd7819b5db16fbe378647808adf36e22.tar.gz
psoc64: Update policies used with production board
Change-Id: Ie7e532a320935490970779a0784cd3bc2fe36483 Signed-off-by: Raymond Ngun <raymond.ngun@infineon.com>
Diffstat (limited to 'platform/ext')
-rw-r--r--platform/ext/target/cypress/psoc64/security/policy/policy_multi_CM0_CM4_tfm.json63
-rwxr-xr-xplatform/ext/target/cypress/psoc64/security/policy/policy_multi_CM0_CM4_tfm_dev_certs.json61
2 files changed, 100 insertions, 24 deletions
diff --git a/platform/ext/target/cypress/psoc64/security/policy/policy_multi_CM0_CM4_tfm.json b/platform/ext/target/cypress/psoc64/security/policy/policy_multi_CM0_CM4_tfm.json
index ccf45f7c3e..956d0d6499 100644
--- a/platform/ext/target/cypress/psoc64/security/policy/policy_multi_CM0_CM4_tfm.json
+++ b/platform/ext/target/cypress/psoc64/security/policy/policy_multi_CM0_CM4_tfm.json
@@ -1,4 +1,8 @@
{
+ "policy": {
+ "platform": "psoc64",
+ "version": 1.0
+ },
"debug" :
{
"m0p" : {
@@ -32,12 +36,12 @@
],
"destroy_flash" : [
{
- "start" : 270270464,
- "size" : 65536
+ "start" : 270254080,
+ "size" : 49152
},
{
"start" : 268763136,
- "size" : 1179648
+ "size" : 1163264
}
],
"key" : 5
@@ -60,11 +64,14 @@
"id": 0,
"launch": 1,
"acq_win": 100,
+ "wdt_timeout": 4000,
+ "wdt_enable": true,
"monotonic": 0,
"smif_id": 0,
"clock_flags": 578,
"protect_flags": 1,
"upgrade": false,
+ "upgrade_mode": "swap",
"resources": [
{
"type": "FLASH_PC1_SPM",
@@ -80,6 +87,16 @@
"type": "SRAM_DAP",
"address": 135184384,
"size": 16384
+ },
+ {
+ "type": "STATUS_PARTITION",
+ "address": 270303232,
+ "size": 32768
+ },
+ {
+ "type": "SCRATCH",
+ "address": 405274624,
+ "size": 524288
}
]
},
@@ -94,7 +111,10 @@
"monotonic": 0,
"smif_id": 0,
"acq_win": 100,
- "multi_image" : 1,
+ "wdt_timeout": 5000,
+ "wdt_enable": true,
+ "set_img_ok": true,
+ "multi_image": 1,
"upgrade": true,
"version": "0.1",
"rollback_counter": 0,
@@ -116,7 +136,7 @@
},
{
"type": "UPGRADE",
- "address": 269942784,
+ "address": 269926400,
"size": 327680
}
]
@@ -131,7 +151,8 @@
"id": 16,
"monotonic": 8,
"smif_id": 1,
- "multi_image" : 2,
+ "smif_sector_size": 262144,
+ "multi_image": 2,
"upgrade": true,
"version": "0.1",
"rollback_counter": 0,
@@ -149,12 +170,12 @@
{
"type": "BOOT",
"address": 268763136,
- "size": 1179648
+ "size": 1163264
},
{
"type": "UPGRADE",
- "address": 402653184,
- "size": 1179648
+ "address": 402801664,
+ "size": 1163264
}
]
}
@@ -200,6 +221,30 @@
"hw_version": "060456527282910010",
"implementation_id": [170, 170, 170, 170, 170, 170, 170, 170, 187, 187, 187, 187, 187, 187, 187, 187,
204, 204, 204, 204, 204, 204, 204, 204, 221, 221, 221, 221, 221, 221, 221, 221]
+ },
+ "its":
+ {
+ "offset": 1818624,
+ "size": 16384,
+ "num_assets": 8,
+ "max_asset_size": 2048
+ },
+ "ps":
+ {
+ "offset": 1835008,
+ "size": 24576,
+ "num_assets": 10,
+ "max_asset_size": 2008
+ },
+ "nv_counters":
+ {
+ "offset": 1866752,
+ "size": 1024
+ },
+ "debug_port":
+ {
+ "uart_base" : 1080360960,
+ "enabled" : true
}
}
}
diff --git a/platform/ext/target/cypress/psoc64/security/policy/policy_multi_CM0_CM4_tfm_dev_certs.json b/platform/ext/target/cypress/psoc64/security/policy/policy_multi_CM0_CM4_tfm_dev_certs.json
index 2cbb0a2aa4..11ece5bf2b 100755
--- a/platform/ext/target/cypress/psoc64/security/policy/policy_multi_CM0_CM4_tfm_dev_certs.json
+++ b/platform/ext/target/cypress/psoc64/security/policy/policy_multi_CM0_CM4_tfm_dev_certs.json
@@ -1,4 +1,8 @@
{
+ "policy": {
+ "platform": "psoc64",
+ "version": 1.0
+ },
"debug" :
{
"m0p" : {
@@ -32,12 +36,12 @@
],
"destroy_flash" : [
{
- "start" : 270270464,
- "size" : 65536
+ "start" : 270254080,
+ "size" : 49152
},
{
"start" : 268763136,
- "size" : 1179648
+ "size" : 1163264
}
],
"key" : 5
@@ -60,11 +64,14 @@
"id": 0,
"launch": 1,
"acq_win": 100,
+ "wdt_timeout": 4000,
+ "wdt_enable": true,
"monotonic": 0,
"smif_id": 0,
"clock_flags": 578,
"protect_flags": 1,
"upgrade": false,
+ "upgrade_mode": "swap",
"resources": [
{
"type": "FLASH_PC1_SPM",
@@ -80,6 +87,16 @@
"type": "SRAM_DAP",
"address": 135184384,
"size": 16384
+ },
+ {
+ "type": "STATUS_PARTITION",
+ "address": 270303232,
+ "size": 32768
+ },
+ {
+ "type": "SCRATCH",
+ "address": 405274624,
+ "size": 524288
}
]
},
@@ -94,7 +111,10 @@
"monotonic": 0,
"smif_id": 0,
"acq_win": 100,
- "multi_image" : 1,
+ "wdt_timeout": 5000,
+ "wdt_enable": true,
+ "set_img_ok": true,
+ "multi_image": 1,
"upgrade": true,
"version": "0.1",
"rollback_counter": 0,
@@ -116,7 +136,7 @@
},
{
"type": "UPGRADE",
- "address": 269942784,
+ "address": 269926400,
"size": 327680
}
]
@@ -131,7 +151,8 @@
"id": 16,
"monotonic": 8,
"smif_id": 1,
- "multi_image" : 2,
+ "smif_sector_size": 262144,
+ "multi_image": 2,
"upgrade": true,
"version": "0.1",
"rollback_counter": 0,
@@ -149,12 +170,12 @@
{
"type": "BOOT",
"address": 268763136,
- "size": 1179648
+ "size": 1163264
},
{
"type": "UPGRADE",
- "address": 402653184,
- "size": 1179648
+ "address": 402801664,
+ "size": 1163264
}
]
}
@@ -203,17 +224,27 @@
},
"its":
{
- "offset": 1835008,
+ "offset": 1818624,
"size": 16384,
- "num_assets": 10,
- "max_asset_size": 512
+ "num_assets": 8,
+ "max_asset_size": 2048
},
- "sst":
+ "ps":
{
- "offset": 1851392,
- "size": 20480,
+ "offset": 1835008,
+ "size": 24576,
"num_assets": 10,
"max_asset_size": 2008
+ },
+ "nv_counters":
+ {
+ "offset": 1866752,
+ "size": 1024
+ },
+ "debug_port":
+ {
+ "uart_base" : 1080360960,
+ "enabled" : true
}
}
}