Skip to content

Commit 57b4ee2

Browse files
dgarskedanielinux
authored andcommitted
Adjust NXP T1024 flash layout, so existing device tree location does not have to move.
1 parent 5808b4c commit 57b4ee2

2 files changed

Lines changed: 14 additions & 12 deletions

File tree

config/examples/nxp-t1024.config

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@ WOLFBOOT_ORIGIN=0xEFF40000
3737
# wolfBoot partition size (custom)
3838
BOOTLOADER_PARTITION_SIZE=0xC0000
3939

40-
# Application Partition Size
41-
WOLFBOOT_PARTITION_SIZE?=0x01E00000
40+
# Application Partition Size (15MB)
41+
WOLFBOOT_PARTITION_SIZE?=0xF00000
4242
# Location in Flash for Application Partition
4343
WOLFBOOT_PARTITION_BOOT_ADDRESS?=0xEE000000
4444
# Load Partition to RAM Address
4545
WOLFBOOT_LOAD_ADDRESS?=0x70000000
4646

4747
# Location in Flash for Update Partition
48-
WOLFBOOT_PARTITION_UPDATE_ADDRESS?=0xEC200000
48+
WOLFBOOT_PARTITION_UPDATE_ADDRESS?=0xEEF00000
4949

5050
# Location of temporary sector used during updates
5151
WOLFBOOT_PARTITION_SWAP_ADDRESS?=0xEC0F0000
@@ -58,8 +58,8 @@ WOLFBOOT_STAGE1_FLASH_ADDR=0xEFFFC000
5858
WOLFBOOT_STAGE1_LOAD_ADDR=0x7FF00000
5959

6060
# DTS (Device Tree)
61-
WOLFBOOT_DTS_BOOT_ADDRESS?=0xEC020000
62-
WOLFBOOT_DTS_UPDATE_ADDRESS?=0xEC040000
61+
WOLFBOOT_DTS_BOOT_ADDRESS?=0xEC800000
62+
WOLFBOOT_DTS_UPDATE_ADDRESS?=0xEC820000
6363
# DTS Load to RAM Address
6464
WOLFBOOT_LOAD_DTS_ADDRESS?=0x7F100000
6565

docs/Targets.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1375,14 +1375,16 @@ Default NOR Flash Memory Layout (64MB) (128KB block, 1K page)
13751375
| Description | Address | Size |
13761376
| ----------------- | ---------- | ------------------- |
13771377
| RCW | 0xEC000000 | 0x00020000 (128 KB) |
1378-
| Primary (FDT) | 0xEC020000 | 0x00020000 (128 KB) |
1379-
| Update (FDT) | 0xEC040000 | 0x00020000 (128 KB) |
1380-
| Free | 0xEC060000 | 0x00090000 (576 KB) |
1378+
| Free | 0xEC020000 | 0x000D0000 (832 KB) |
13811379
| Swap Sector | 0xEC0F0000 | 0x00010000 ( 64 KB) |
1382-
| Free | 0xEC100000 | 0x00100000 ( 1 MB) |
1383-
| Update (OS) | 0xEC200000 | 0x01E00000 ( 30 MB) |
1384-
| Ethenet Config | 0xED0E0000 | 0x00000400 ( 1 KB) |
1385-
| Application (OS) | 0xEE000000 | 0x01E00000 ( 30 MB) |
1380+
| Free | 0xEC100000 | 0x00700000 ( 7 MB) |
1381+
| FDT (Primary) | 0xEC800000 | 0x00020000 (128 KB) |
1382+
| FDT (Update) | 0xEC820000 | 0x00020000 (128 KB) |
1383+
| Free | 0xEC840000 | 0x008A0000 ( 8MB) |
1384+
| Ethenet Config | 0xED0E0000 | 0x00000400 ( 1 KB) |
1385+
| Free | 0xED100000 | 0x00F00000 ( 15 MB) |
1386+
| Application (OS) | 0xEE000000 | 0x00F00000 ( 15 MB) |
1387+
| Update (OS) | 0xEEF00000 | 0x00F00000 ( 15 MB) |
13861388
| QUICC | 0xEFE00000 | 0x00100000 ( 1 MB) |
13871389
| DPAA (FMAN) | 0xEFF00000 | 0x00020000 (128 KB) |
13881390
| wolfBoot | 0xEFF40000 | 0x000BC000 (752 KB) |

0 commit comments

Comments
 (0)