Skip to content

Commit 8d3369a

Browse files
committed
rename config files
1 parent 33a0dd0 commit 8d3369a

8 files changed

+93
-10
lines changed
File renamed without changes.

config/examples/aurix-tc375-elf-wolfHSM-certs.config renamed to config/examples/aurix-tc375-elf-wolfHSM-certs-ecc.config

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,6 @@ CERT_CHAIN_VERIFY=1
3131
# for actual length
3232
IMAGE_HEADER_SIZE=2048
3333

34-
# If SIGN=RSA4096, use the below options
35-
#WOLFBOOT_HUGE_STACK=1
36-
#IMAGE_HEADER_SIZE=4096
37-
38-
3934
ARCH_FLASH_OFFSET=0x800A0000
4035
WOLFBOOT_SECTOR_SIZE=0x4000
4136

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
ARCH?=AURIX_TC3
2+
TARGET?=aurix_tc3xx
3+
SIGN?=RSA4096
4+
HASH?=SHA256
5+
DEBUG?=0
6+
NO_ASM?=1
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_CLIENT=1
22+
23+
# ELF loading specific configuration
24+
ELF=1
25+
ELF_FLASH_SCATTER=1
26+
27+
# Cert chain options
28+
CERT_CHAIN_VERIFY=1
29+
30+
# RSA4096 cert chains need the larger header and stack
31+
WOLFBOOT_HUGE_STACK=1
32+
IMAGE_HEADER_SIZE=4096
33+
34+
ARCH_FLASH_OFFSET=0x800A0000
35+
WOLFBOOT_SECTOR_SIZE=0x4000
36+
37+
# ELF memory partitioning (same PFLASH1 space as standard wolfBoot):
38+
# Standard wolfBoot uses 0x80300000-0x80600000 (3MB) for BOOT+UPDATE+SWAP
39+
# ELF mode splits this same space into EXEC+BOOT+UPDATE+SWAP:
40+
# - Execution space: 0x80300000 (~1.5MB) - where app runs after scatter loading
41+
# - BOOT partition: 0x8047C000 (~0.75MB) - where signed ELF file is stored
42+
# - UPDATE partition: 0x8053C000 (~0.75MB) - where update ELF file is stored
43+
# - SWAP sector: 0x805FC000 (16KB) - for atomic updates
44+
45+
# ELF storage partitions (where signed ELF files are stored)
46+
WOLFBOOT_PARTITION_BOOT_ADDRESS=0x8047C000
47+
WOLFBOOT_PARTITION_UPDATE_ADDRESS=0x8053C000
48+
WOLFBOOT_PARTITION_SWAP_ADDRESS=0x805FC000
49+
WOLFBOOT_PARTITION_SIZE=0xC0000
50+
51+
# ELF execution space (where test app runs after scatter loading)
52+
# Uses the same space that would be the BOOT partition in standard mode
53+
# This is only needed to configure the memory regions in the test app linker file
54+
# (see test-app/tc3tc_app.ld). For custom user apps with a different memory layout
55+
# and linker file this is not necessary.
56+
WOLFBOOT_ELF_EXEC_ADDRESS=0x80300000
57+
WOLFBOOT_ELF_EXEC_SIZE=0x17C000
File renamed without changes.
File renamed without changes.

config/examples/aurix-tc375-hsm-wolfHSM-certs.config renamed to config/examples/aurix-tc375-hsm-wolfHSM-certs-ecc.config

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,6 @@ CERT_CHAIN_VERIFY=1
2828
# for actual length
2929
IMAGE_HEADER_SIZE=2048
3030

31-
# If SIGN=RSA4096, use the below options
32-
#WOLFBOOT_HUGE_STACK=1
33-
#IMAGE_HEADER_SIZE=4096
34-
35-
3631
ARCH_FLASH_OFFSET=0x80028000
3732
WOLFBOOT_SECTOR_SIZE=0x4000
3833
WOLFBOOT_PARTITION_SIZE=0x30000
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
ARCH?=AURIX_TC3
2+
TARGET?=aurix_tc3xx
3+
AURIX_TC3_HSM=1
4+
SIGN?=RSA4096
5+
HASH?=SHA256
6+
DEBUG?=0
7+
NO_ASM?=1
8+
WOLFBOOT_VERSION?=1
9+
V?=0
10+
SPMATH?=1
11+
RAM_CODE?=1
12+
EXT_FLASH?=1
13+
EXT_BOOT=1
14+
EXT_UPDATE=1
15+
EXT_SWAP=1
16+
FLAGS_INVERT=1
17+
FLASH_MULTI_SECTOR_ERASE=1
18+
DEBUG_UART=1
19+
PRINTF_ENABLED=1
20+
21+
# wolfHSM options
22+
WOLFHSM_SERVER=1
23+
24+
# Cert chain options
25+
CERT_CHAIN_VERIFY=1
26+
27+
# RSA4096 cert chains need the larger header and stack
28+
WOLFBOOT_HUGE_STACK=1
29+
IMAGE_HEADER_SIZE=4096
30+
31+
ARCH_FLASH_OFFSET=0x80028000
32+
WOLFBOOT_SECTOR_SIZE=0x4000
33+
WOLFBOOT_PARTITION_SIZE=0x30000
34+
WOLFBOOT_PARTITION_BOOT_ADDRESS=0x80038000
35+
WOLFBOOT_PARTITION_UPDATE_ADDRESS=0x80068000
36+
WOLFBOOT_PARTITION_SWAP_ADDRESS=0x80098000

0 commit comments

Comments
 (0)