Skip to content

Commit

Permalink
Adjust NXP T1024 flash layout, so existing device tree location does …
Browse files Browse the repository at this point in the history
…not have to move.
  • Loading branch information
dgarske committed Feb 6, 2024
1 parent b8c68a6 commit aa9e274
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
10 changes: 5 additions & 5 deletions config/examples/nxp-t1024.config
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@ WOLFBOOT_ORIGIN=0xEFF40000
# wolfBoot partition size (custom)
BOOTLOADER_PARTITION_SIZE=0xC0000

# Application Partition Size
WOLFBOOT_PARTITION_SIZE?=0x01E00000
# Application Partition Size (15MB)
WOLFBOOT_PARTITION_SIZE?=0xF00000
# Location in Flash for Application Partition
WOLFBOOT_PARTITION_BOOT_ADDRESS?=0xEE000000
# Load Partition to RAM Address
WOLFBOOT_LOAD_ADDRESS?=0x70000000

# Location in Flash for Update Partition
WOLFBOOT_PARTITION_UPDATE_ADDRESS?=0xEC200000
WOLFBOOT_PARTITION_UPDATE_ADDRESS?=0xEEF00000

# Location of temporary sector used during updates
WOLFBOOT_PARTITION_SWAP_ADDRESS?=0xEC0F0000
Expand All @@ -58,8 +58,8 @@ WOLFBOOT_STAGE1_FLASH_ADDR=0xEFFFC000
WOLFBOOT_STAGE1_LOAD_ADDR=0x7FF00000

# DTS (Device Tree)
WOLFBOOT_DTS_BOOT_ADDRESS?=0xEC020000
WOLFBOOT_DTS_UPDATE_ADDRESS?=0xEC040000
WOLFBOOT_DTS_BOOT_ADDRESS?=0xEC800000
WOLFBOOT_DTS_UPDATE_ADDRESS?=0xEC820000
# DTS Load to RAM Address
WOLFBOOT_LOAD_DTS_ADDRESS?=0x7F100000

Expand Down
16 changes: 9 additions & 7 deletions docs/Targets.md
Original file line number Diff line number Diff line change
Expand Up @@ -1375,14 +1375,16 @@ Default NOR Flash Memory Layout (64MB) (128KB block, 1K page)
| Description | Address | Size |
| ----------------- | ---------- | ------------------- |
| RCW | 0xEC000000 | 0x00020000 (128 KB) |
| Primary (FDT) | 0xEC020000 | 0x00020000 (128 KB) |
| Update (FDT) | 0xEC040000 | 0x00020000 (128 KB) |
| Free | 0xEC060000 | 0x00090000 (576 KB) |
| Free | 0xEC020000 | 0x000D0000 (832 KB) |
| Swap Sector | 0xEC0F0000 | 0x00010000 ( 64 KB) |
| Free | 0xEC100000 | 0x00100000 ( 1 MB) |
| Update (OS) | 0xEC200000 | 0x01E00000 ( 30 MB) |
| Ethenet Config | 0xED0E0000 | 0x00000400 ( 1 KB) |
| Application (OS) | 0xEE000000 | 0x01E00000 ( 30 MB) |
| Free | 0xEC100000 | 0x00700000 ( 7 MB) |
| FDT (Primary) | 0xEC800000 | 0x00020000 (128 KB) |
| FDT (Update) | 0xEC820000 | 0x00020000 (128 KB) |
| Free | 0xEC840000 | 0x008A0000 ( 8MB) |
| Ethenet Config | 0xED0E0000 | 0x00000400 ( 1 KB) |
| Free | 0xED100000 | 0x00F00000 ( 15 MB) |
| Application (OS) | 0xEE000000 | 0x00F00000 ( 15 MB) |
| Update (OS) | 0xEEF00000 | 0x00F00000 ( 15 MB) |
| QUICC | 0xEFE00000 | 0x00100000 ( 1 MB) |
| DPAA (FMAN) | 0xEFF00000 | 0x00020000 (128 KB) |
| wolfBoot | 0xEFF40000 | 0x000BC000 (752 KB) |
Expand Down

0 comments on commit aa9e274

Please sign in to comment.