-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
82 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
ARCH=sim | ||
TARGET=sim | ||
SIGN?=ECC384 | ||
HASH?=SHA384 | ||
SPI_FLASH=0 | ||
DEBUG=1 | ||
WOLFTPM=1 | ||
|
||
WOLFBOOT_TPM_KEYSTORE?=1 | ||
WOLFBOOT_TPM_KEYSTORE_NV_INDEX?=0x01400200 | ||
|
||
# sizes should be multiple of system page size | ||
WOLFBOOT_PARTITION_SIZE=0x40000 | ||
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 | ||
WOLFBOOT_PARTITION_SWAP_ADDRESS=0x180000 | ||
|
||
# required for keytools | ||
WOLFBOOT_FIXED_PARTITIONS=1 | ||
|
||
# TPM Logging | ||
#CFLAGS_EXTRA+=-DDEBUG_WOLFTPM | ||
#CFLAGS_EXTRA+=-DWOLFTPM_DEBUG_VERBOSE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
ARCH=sim | ||
TARGET=sim | ||
SIGN?=ED25519 | ||
HASH?=SHA256 | ||
WOLFBOOT_SMALL_STACK=1 | ||
SPI_FLASH=0 | ||
DEBUG=1 | ||
|
||
# Measured boot at test PCR index 16 | ||
MEASURED_BOOT?=1 | ||
MEASURED_PCR_A?=16 | ||
|
||
# sizes should be multiple of system page size | ||
WOLFBOOT_PARTITION_SIZE=0x40000 | ||
WOLFBOOT_SECTOR_SIZE=0x1000 | ||
WOLFBOOT_PARTITION_BOOT_ADDRESS=0x20000 | ||
# if on external flash, it should be multiple of system page size | ||
WOLFBOOT_PARTITION_UPDATE_ADDRESS=0x60000 | ||
WOLFBOOT_PARTITION_SWAP_ADDRESS=0xA0000 | ||
|
||
# required for keytools | ||
WOLFBOOT_FIXED_PARTITIONS=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters