Skip to content

Commit 8a70a83

Browse files
mattia-moffadanielinux
authored andcommitted
Change ECC partitioning
1 parent fda8668 commit 8a70a83

2 files changed

Lines changed: 10 additions & 8 deletions

File tree

config/examples/kinetis-kl26.config

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ CFLAGS_EXTRA+=-DWOLFSSL_USE_ALIGN
3232
WOLFBOOT_SECTOR_SIZE?=0x400
3333

3434
# 128KB flash, 16KB SRAM
35-
# 24KB bootloader, 48KB boot/update partitions, 1KB swap at last sector
35+
# 28KB bootloader, 48KB boot/update partitions, 1KB swap at last sector
3636
WOLFBOOT_PARTITION_SIZE?=0xC000
37-
WOLFBOOT_PARTITION_BOOT_ADDRESS?=0x6000
38-
WOLFBOOT_PARTITION_UPDATE_ADDRESS?=0x12000
37+
WOLFBOOT_PARTITION_BOOT_ADDRESS?=0x7000
38+
WOLFBOOT_PARTITION_UPDATE_ADDRESS?=0x13000
3939
WOLFBOOT_PARTITION_SWAP_ADDRESS?=0x1FC00

docs/Targets.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4751,12 +4751,14 @@ For the LMS variant (partition size `0xB000`):
47514751
0xAFFB trigger_magic.bin
47524752
```
47534753
4754-
4) Flash `update.bin` to the update partition base address and reset. On the
4755-
next boot wolfBoot will perform the update and launch version 2. The test app
4756-
will then light up the onboard LED green instead of blue.
4754+
4) Flash `update.bin` to the update partition base address (`0x13000` in both
4755+
configs) and reset. On the next boot wolfBoot will perform the update and
4756+
launch version 2. The test app will then light up the onboard LED green
4757+
instead of blue.
47574758
4758-
- ECC256 variant: `loadbin update.bin 0x12000`
4759-
- LMS variant: `loadbin update.bin 0x13000`
4759+
```
4760+
loadbin update.bin 0x13000
4761+
```
47604762
47614763
### KL26Z: Debugging
47624764

0 commit comments

Comments
 (0)