Change ECC partitioning

pull/773/head
Mattia Moffa 2026-04-30 18:53:09 +02:00 committed by Daniele Lacamera
parent fda8668cc3
commit 8a70a83039
2 changed files with 10 additions and 8 deletions

View File

@ -32,8 +32,8 @@ CFLAGS_EXTRA+=-DWOLFSSL_USE_ALIGN
WOLFBOOT_SECTOR_SIZE?=0x400
# 128KB flash, 16KB SRAM
# 24KB bootloader, 48KB boot/update partitions, 1KB swap at last sector
# 28KB bootloader, 48KB boot/update partitions, 1KB swap at last sector
WOLFBOOT_PARTITION_SIZE?=0xC000
WOLFBOOT_PARTITION_BOOT_ADDRESS?=0x6000
WOLFBOOT_PARTITION_UPDATE_ADDRESS?=0x12000
WOLFBOOT_PARTITION_BOOT_ADDRESS?=0x7000
WOLFBOOT_PARTITION_UPDATE_ADDRESS?=0x13000
WOLFBOOT_PARTITION_SWAP_ADDRESS?=0x1FC00

View File

@ -4751,12 +4751,14 @@ For the LMS variant (partition size `0xB000`):
0xAFFB trigger_magic.bin
```
4) Flash `update.bin` to the update partition base address and reset. On the
next boot wolfBoot will perform the update and launch version 2. The test app
will then light up the onboard LED green instead of blue.
4) Flash `update.bin` to the update partition base address (`0x13000` in both
configs) and reset. On the next boot wolfBoot will perform the update and
launch version 2. The test app will then light up the onboard LED green
instead of blue.
- ECC256 variant: `loadbin update.bin 0x12000`
- LMS variant: `loadbin update.bin 0x13000`
```
loadbin update.bin 0x13000
```
### KL26Z: Debugging