[boards] Update BK7231T partition layout

This commit is contained in:
Kuba Szczodrzyński
2022-06-26 19:12:12 +02:00
parent b405adb359
commit 3bfd62d075
3 changed files with 11 additions and 8 deletions

View File

@@ -6,10 +6,12 @@
},
"flash": {
"bootloader": "0x000000+0x11000",
"app": "0x011000+0x119000",
"app": "0x011000+0x121000",
"download": "0x132000+0xA6000",
"kvs": "0x1D8000+0x6000",
"userdata": "0x1DE000+0x22000"
"kvs": "0x1D8000+0x8000",
"tlv": "0x1E0000+0x1000",
"net": "0x1E1000+0x2000",
"userdata": "0x1E3000+0x1D000"
},
"upload": {
"maximum_size": 1083136

View File

@@ -53,10 +53,11 @@ Hex values are in bytes.
Name | Start | Length | End
----------------|----------|--------------------|---------
Bootloader | 0x000000 | 68 KiB / 0x11000 | 0x011000
App Image | 0x011000 | 1.1 MiB / 0x119000 | 0x12A000
(reserved) | 0x12A000 | 32 KiB / 0x8000 | 0x132000
App Image | 0x011000 | 1.1 MiB / 0x121000 | 0x132000
OTA Image | 0x132000 | 664 KiB / 0xA6000 | 0x1D8000
Key-Value Store | 0x1D8000 | 24 KiB / 0x6000 | 0x1DE000
User Data | 0x1DE000 | 136 KiB / 0x22000 | 0x200000
Key-Value Store | 0x1D8000 | 32 KiB / 0x8000 | 0x1E0000
TLV Store | 0x1E0000 | 4 KiB / 0x1000 | 0x1E1000
Network Data | 0x1E1000 | 8 KiB / 0x2000 | 0x1E3000
User Data | 0x1E3000 | 116 KiB / 0x1D000 | 0x200000
Bootloader and app partitions contain CRC16 sums every 32 bytes. That results in the actual flash offsets/sizes not aligned to sector boundaries. To simplify calculations, the values shown in the table (extracted from bootloader's partition table) were aligned to 4096 bytes.

Submodule tools/boardgen updated: 77c4d6c066...7ab5a50be7