Skip to content

Commit cf3a7d9

Browse files
twcook86danielinux
authored andcommitted
Bump up sector size to accomodate rsa4096
1 parent 1f99a35 commit cf3a7d9

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

config/examples/lpc55s69-tz.config

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ FLASH_MULTI_SECTOR_ERASE?=1
3131
WOLFCRYPT_TZ?=1
3232
WOLFCRYPT_TZ_PKCS11?=1
3333

34-
# 512-byte pages erasable/writeable
35-
WOLFBOOT_SECTOR_SIZE?=0x200
34+
# 1024-byte sector to accomodate RSA4096
35+
WOLFBOOT_SECTOR_SIZE?=0x400
3636

37-
# 200KB boot, 80KB keyvault, 8KB NSC, 56KB partitions, 512 swap
37+
# 200KB boot, 80KB keyvault, 8KB NSC, 56KB partitions, 1024 swap
3838
WOLFBOOT_KEYVAULT_ADDRESS?=0x10032000
3939
WOLFBOOT_KEYVAULT_SIZE?=0x14000
4040
WOLFBOOT_NSC_ADDRESS?=0x10046000

config/examples/lpc55s69.config

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ DUALBANK_SWAP?=0
2929
PKA?=1
3030
FLASH_MULTI_SECTOR_ERASE?=1
3131

32-
# 512-byte pages erasable/writeable
33-
WOLFBOOT_SECTOR_SIZE?=0x200
32+
# 1024-byte sector to accomodate RSA4096
33+
WOLFBOOT_SECTOR_SIZE?=0x400
3434

3535
# Default configuration
36-
# 40KB boot, 44KB partitions, 512 swap
36+
# 40KB boot, 44KB partitions, 1024 swap
3737
WOLFBOOT_PARTITION_SIZE?=0xB000
3838
WOLFBOOT_PARTITION_BOOT_ADDRESS?=0xA000
3939
WOLFBOOT_PARTITION_UPDATE_ADDRESS?=0x15000

0 commit comments

Comments
 (0)