mirror of https://github.com/wolfSSL/wolfBoot.git
Change ECC partitioning
parent
fda8668cc3
commit
8a70a83039
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue