Skip to content

Commit a17bed3

Browse files
committed
Change policy to multi image, as one supported for es100
1 parent e873669 commit a17bed3

File tree

1 file changed

+48
-15
lines changed

1 file changed

+48
-15
lines changed

targets/TARGET_Cypress/TARGET_PSOC6/TARGET_CY8CKIT_064B0S2_4343W/policy_single_stage_CM4.json renamed to targets/TARGET_Cypress/TARGET_PSOC6/TARGET_CY8CKIT_064B0S2_4343W/policy_multi_CM0_CM4.json

Lines changed: 48 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,7 @@
1515
"permission" : "enabled",
1616
"control" : "firmware",
1717
"key" : 5,
18-
"syscall": true,
19-
"mmio": true,
20-
"flash": true,
21-
"workflash": true,
22-
"sflash": true,
23-
"sram": true
18+
"flash": true
2419
},
2520
"rma" : {
2621
"permission" : "allowed",
@@ -59,7 +54,7 @@
5954
3
6055
],
6156
"id": 0,
62-
"launch": 4,
57+
"launch": 1,
6358
"monotonic": 0,
6459
"smif_id": 0,
6560
"upgrade": false,
@@ -89,34 +84,72 @@
8984
8
9085
],
9186
"boot_keys": [
92-
{ "kid": 8, "key": "../keys/USERAPP_CM4_KEY.json" }
87+
{ "kid": 8, "key": "./keys/USERAPP_CM4_KEY.json" }
9388
],
94-
"id": 4,
89+
"id": 1,
9590
"monotonic": 0,
9691
"smif_id": 0,
92+
"multi_image" : 1,
9793
"upgrade": true,
9894
"version": "0.1",
9995
"rollback_counter": 0,
10096
"encrypt": false,
101-
"encrypt_key": "../keys/image-aes-128.key",
97+
"encrypt_key": "./keys/image-aes-128.key",
10298
"encrypt_key_id": 1,
103-
"encrypt_peer": "../keys/dev_pub_key.pem",
99+
"encrypt_peer": "./keys/dev_pub_key.pem",
104100
"upgrade_auth": [
105101
8
106102
],
107103
"upgrade_keys": [
108-
{ "kid": 8, "key": "../keys/USERAPP_CM4_KEY.json" }
104+
{ "kid": 8, "key": "./keys/USERAPP_CM4_KEY.json" }
109105
],
110106
"resources": [
111107
{
112108
"type": "BOOT",
113109
"address": 268435456,
114-
"size": 327680
110+
"size": 458752
115111
},
116112
{
117113
"type": "UPGRADE",
118-
"address": 268763136,
119-
"size": 327680
114+
"address": 268894208,
115+
"size": 458752
116+
}
117+
]
118+
},
119+
{
120+
"boot_auth": [
121+
8
122+
],
123+
"boot_keys": [
124+
{ "kid": 8, "key": "./keys/USERAPP_CM4_KEY.json" }
125+
],
126+
"id": 16,
127+
"monotonic": 0,
128+
"smif_id": 0,
129+
"multi_image" : 2,
130+
"upgrade": true,
131+
"version": "0.1",
132+
"rollback_counter": 0,
133+
"encrypt": false,
134+
"encrypt_key": "./keys/image-aes-128.key",
135+
"encrypt_key_id": 1,
136+
"encrypt_peer": "./keys/dev_pub_key.pem",
137+
"upgrade_auth": [
138+
8
139+
],
140+
"upgrade_keys": [
141+
{ "kid": 8, "key": "./keys/USERAPP_CM4_KEY.json" }
142+
],
143+
"resources": [
144+
{
145+
"type": "BOOT",
146+
"address": 269352960,
147+
"size": 458752
148+
},
149+
{
150+
"type": "UPGRADE",
151+
"address": 269811712,
152+
"size": 458752
120153
}
121154
]
122155
}

0 commit comments

Comments
 (0)