mirror of https://github.com/wolfSSL/wolfBoot.git
add self-header to tricore config
parent
e43e012e98
commit
2ca5ae3894
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue