wolfBoot/config/examples/sim-compressed-update.config

32 lines
1.0 KiB
Plaintext

ARCH=sim
TARGET=sim
SIGN?=ED25519
HASH?=SHA256
WOLFBOOT_SMALL_STACK?=0
SPI_FLASH=0
DEBUG=1
# UPDATE holds a signed gzip stream whose payload is a complete signed
# image, inflated into BOOT, which keeps executing in place.
COMPRESSED_UPDATE=1
# LZ77 window the image was compressed with. The decoder needs twice this in
# RAM and refuses an image compressed with a larger one.
WOLFBOOT_COMPRESSED_WINDOW=16384
# UPDATE is sized for the container alone, close enough to what the test
# fixture compresses to that the signing tool's fit check is exercised near
# its real margin.
# sizes should be multiple of system page size
WOLFBOOT_PARTITION_SIZE=0x50000
WOLFBOOT_PARTITION_UPDATE_SIZE=0x2C000
WOLFBOOT_SECTOR_SIZE=0x1000
WOLFBOOT_PARTITION_BOOT_ADDRESS=0x80000
# if on external flash, it should be multiple of system page size
WOLFBOOT_PARTITION_UPDATE_ADDRESS=0x100000
# No swap step in this mode; still reserved for the keytools.
WOLFBOOT_PARTITION_SWAP_ADDRESS=0x180000
# required for keytools
WOLFBOOT_FIXED_PARTITIONS=1