Skip to content

Commit b7df5aa

Browse files
iabdalkaderdpgeorge
authored andcommitted
alif/mcu: Add ToC config for dual images.
Note that 128K at the beginning of MRAM is reserved for future bootloaders. Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
1 parent 62beb54 commit b7df5aa

3 files changed

Lines changed: 53 additions & 7 deletions

File tree

ports/alif/mcu/M55_DUAL_cfg.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"DEVICE": {
3+
"disabled" : false,
4+
"binary": "app-device-config.json",
5+
"version" : "0.5.00",
6+
"signed": false
7+
},
8+
"HP_APP": {
9+
"disabled" : false,
10+
"binary": "M55_HP/firmware.bin",
11+
"mramAddress": "0x80020000",
12+
"version": "1.0.0",
13+
"cpu_id": "M55_HP",
14+
"flags": ["boot"],
15+
"signed": false
16+
},
17+
"HE_APP": {
18+
"disabled" : false,
19+
"binary": "M55_HE/firmware.bin",
20+
"mramAddress": "0x80320000",
21+
"version": "1.0.0",
22+
"cpu_id": "M55_HE",
23+
"flags": ["deferred"],
24+
"signed": false
25+
}
26+
}

ports/alif/mcu/M55_HE_cfg.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"DEVICE": {
3+
"disabled" : false,
4+
"binary": "app-device-config.json",
5+
"version" : "0.5.00",
6+
"signed": false
7+
},
8+
"HE_APP": {
9+
"disabled" : false,
10+
"binary": "M55_HE/firmware.bin",
11+
"mramAddress": "0x80320000",
12+
"version": "1.0.0",
13+
"cpu_id": "M55_HE",
14+
"flags": ["boot"],
15+
"signed": false
16+
}
17+
}

ports/alif/mcu/M55_HP_cfg.json

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
{
2-
"USER_APP": {
3-
"binary": "firmware.bin",
4-
"mramAddress": "0x80000000",
2+
"DEVICE": {
3+
"disabled" : false,
4+
"binary": "app-device-config.json",
5+
"version" : "0.5.00",
6+
"signed": false
7+
},
8+
"HP_APP": {
9+
"disabled" : false,
10+
"binary": "M55_HP/firmware.bin",
11+
"mramAddress": "0x80020000",
512
"version": "1.0.0",
613
"cpu_id": "M55_HP",
714
"flags": ["boot"],
815
"signed": false
9-
},
10-
"DEVICE": {
11-
"binary": "app-device-config.json",
12-
"version" : "0.5.00"
1316
}
1417
}

0 commit comments

Comments
 (0)