add self-header to tricore config

pull/772/head
Brett Nicholas 2026-03-12 12:11:17 -06:00 committed by Daniele Lacamera
parent e43e012e98
commit 2ca5ae3894
1 changed files with 6 additions and 1 deletions

View File

@ -34,6 +34,10 @@ IMAGE_HEADER_SIZE=4096
ARCH_FLASH_OFFSET=0x800A0000
WOLFBOOT_SECTOR_SIZE=0x4000
# self-header feature (persist header in external flash)
WOLFBOOT_SELF_HEADER=1
SELF_HEADER_EXT=1
# ELF memory partitioning (same PFLASH1 space as standard wolfBoot):
# Standard wolfBoot uses 0x80300000-0x80600000 (3MB) for BOOT+UPDATE+SWAP
# ELF mode splits this same space into EXEC+BOOT+UPDATE+SWAP:
@ -43,10 +47,11 @@ WOLFBOOT_SECTOR_SIZE=0x4000
# - SWAP sector: 0x805FC000 (16KB) - for atomic updates
# ELF storage partitions (where signed ELF files are stored)
WOLFBOOT_PARTITION_SIZE=0xC0000
WOLFBOOT_PARTITION_SELF_HEADER_ADDRESS=0x80240000
WOLFBOOT_PARTITION_BOOT_ADDRESS=0x8047C000
WOLFBOOT_PARTITION_UPDATE_ADDRESS=0x8053C000
WOLFBOOT_PARTITION_SWAP_ADDRESS=0x805FC000
WOLFBOOT_PARTITION_SIZE=0xC0000
# ELF execution space (where test app runs after scatter loading)
# Uses the same space that would be the BOOT partition in standard mode