Skip to content

Commit e16dfe6

Browse files
bigbrettdanielinux
authored andcommitted
add new AURIX monolithic self update config
1 parent 04e1e06 commit e16dfe6

1 file changed

Lines changed: 47 additions & 0 deletions

File tree

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
ARCH?=AURIX_TC3
2+
TARGET?=aurix_tc3xx
3+
AURIX_TC3_HSM=1
4+
SIGN?=RSA4096
5+
HASH?=SHA256
6+
DEBUG?=0
7+
WOLFBOOT_VERSION?=1
8+
V?=0
9+
SPMATH?=1
10+
RAM_CODE?=1
11+
EXT_FLASH?=1
12+
EXT_BOOT=1
13+
EXT_UPDATE=1
14+
EXT_SWAP=1
15+
FLAGS_INVERT=1
16+
FLASH_MULTI_SECTOR_ERASE=1
17+
DEBUG_UART=1
18+
PRINTF_ENABLED=1
19+
20+
# wolfHSM options
21+
WOLFHSM_SERVER=1
22+
23+
# Cert chain options
24+
CERT_CHAIN_VERIFY=1
25+
26+
# RSA4096 cert chains need the larger header and stack
27+
WOLFBOOT_HUGE_STACK=1
28+
IMAGE_HEADER_SIZE=4096
29+
30+
# self-header feature (persist header in external flash)
31+
WOLFBOOT_SELF_HEADER=1
32+
SELF_HEADER_EXT=1
33+
34+
# Monolithic updates
35+
SELF_UPDATE_MONOLITHIC=1
36+
37+
# Enable wolfBoot hooks
38+
WOLFBOOT_HOOK_LOADER_POSTINIT=1
39+
WOLFBOOT_HOOKS_FILE=../wolfBoot-callbacks/wolfboot_hooks.c
40+
41+
ARCH_FLASH_OFFSET=0x80028000
42+
WOLFBOOT_SECTOR_SIZE=0x4000
43+
WOLFBOOT_PARTITION_SIZE=0x30000
44+
WOLFBOOT_PARTITION_BOOT_ADDRESS=0x80038000
45+
WOLFBOOT_PARTITION_UPDATE_ADDRESS=0x80068000
46+
WOLFBOOT_PARTITION_SWAP_ADDRESS=0x80098000
47+
WOLFBOOT_PARTITION_SELF_HEADER_ADDRESS=0x8009C000

0 commit comments

Comments
 (0)