|
10 | 10 | #CFLAGS_EXTRA+=-DBOARD_NAII_68PPC2 |
11 | 11 | # |
12 | 12 | # For CW VPX3-152 (256 MB NOR flash at 0xF0000000), uncomment the BOARD |
13 | | -# define AND the address override block at the bottom of this file. |
| 13 | +# define below AND the entire address-override block at the bottom of this |
| 14 | +# file. That block includes OS_64BIT=1, which is REQUIRED to boot a 64-bit |
| 15 | +# RTOS (VxWorks 7 / Green Hills INTEGRITY-178 tuMP) -- it gates the e6500 SMP |
| 16 | +# spin-table + DDR-LAW handoff in hal/nxp_t2080.c; without it the loader runs |
| 17 | +# but the OS hangs silently right after "do_boot: jumping". |
14 | 18 | #CFLAGS_EXTRA+=-DBOARD_CW_VPX3152 |
15 | 19 |
|
16 | 20 | ARCH=PPC |
@@ -79,28 +83,40 @@ WOLFBOOT_DTS_UPDATE_ADDRESS?=0xE8050000 |
79 | 83 | WOLFBOOT_LOAD_DTS_ADDRESS?=0x200000 |
80 | 84 |
|
81 | 85 | # ----------------------------------------------------------------------------- |
82 | | -# CW VPX3-152 address overrides (256 MB NOR flash @ 0xF0000000) |
83 | | -# Uncomment ALL lines below when building for VPX3-152. |
84 | | -# Also uncomment CFLAGS_EXTRA+=-DBOARD_CW_VPX3152 at the top of this file. |
| 86 | +# CW VPX3-152 overrides (256 MB NOR flash @ 0xF0000000, 4 GB DDR3L) |
| 87 | +# Uncomment ALL lines below when building for VPX3-152, AND uncomment |
| 88 | +# CFLAGS_EXTRA+=-DBOARD_CW_VPX3152 at the top of this file. This is the |
| 89 | +# known-good config used to boot VxWorks 7 and Green Hills INTEGRITY-178 |
| 90 | +# tuMP (Ada Scheduler) on this board. |
85 | 91 | # ----------------------------------------------------------------------------- |
86 | 92 | #ARCH_FLASH_OFFSET=0xFFFE0000 |
87 | 93 | #L2SRAM_ADDR=0xEE900000 |
88 | 94 | #WOLFBOOT_ORIGIN=0xFFFE0000 |
89 | | -#WOLFBOOT_PARTITION_BOOT_ADDRESS=0xFFEE0000 |
90 | | -#WOLFBOOT_PARTITION_UPDATE_ADDRESS=0xFFDE0000 |
91 | | -#WOLFBOOT_PARTITION_SWAP_ADDRESS=0xFFDD0000 |
| 95 | +# 8 MB partitions -- full RTOS images do not fit the 1 MB RDB default. |
| 96 | +#WOLFBOOT_PARTITION_SIZE=0x800000 |
| 97 | +#WOLFBOOT_PARTITION_BOOT_ADDRESS=0xFF000000 |
| 98 | +#WOLFBOOT_PARTITION_UPDATE_ADDRESS=0xFE800000 |
| 99 | +#WOLFBOOT_PARTITION_SWAP_ADDRESS=0xFE7F0000 |
92 | 100 | #WOLFBOOT_DTS_BOOT_ADDRESS=0xF0040000 |
93 | 101 | #WOLFBOOT_DTS_UPDATE_ADDRESS=0xF0050000 |
94 | | -#WOLFBOOT_LOAD_DTS_ADDRESS=0xF000000 |
95 | | -# ELF staging buffer. wolfBoot copies the signed image here, then |
96 | | -# elf_load scatters PT_LOAD segments IN PLACE to their vaddrs. It MUST sit |
97 | | -# ABOVE the ELF's vaddr span (e.g. a VxWorks/Integrity ELF spanning |
98 | | -# 0x2000-0x75F000) or the in-place loader's collide-guard silently drops |
99 | | -# the segment overlapping the program-header table -- the OS then executes |
100 | | -# unloaded memory and traps early. The 0x19000 default overlaps the span; |
101 | | -# 0x900000 is above it, below the 16MB DDR stack, inside the 32MB cache- |
102 | | -# inhibit window. Raw uImage kernels override this via ih_load (unaffected). |
| 102 | +#WOLFBOOT_LOAD_DTS_ADDRESS=0x03FE6000 |
| 103 | +# REQUIRED for 64-bit RTOS boot (VxWorks 7 / INTEGRITY-178 tuMP). Gates the |
| 104 | +# e6500 SMP spin-table (0x7FEE41C0) + DDR-LAW-slot-17 handoff in |
| 105 | +# hal/nxp_t2080.c. Without it the loader runs but the OS hangs silently after |
| 106 | +# "do_boot: jumping" (it is NOT a missing device tree -- tuMP has no FDT |
| 107 | +# parser; this build option is what was actually missing). |
| 108 | +#OS_64BIT=1 |
| 109 | +# ELF staging buffer. wolfBoot copies the signed image here, then elf_load |
| 110 | +# scatters PT_LOAD segments IN PLACE to their vaddrs. It MUST sit ABOVE the |
| 111 | +# ELF's vaddr span (a VxWorks/INTEGRITY ELF spans ~0x2000-0x75F000) or the |
| 112 | +# in-place loader's collide-guard silently drops the segment overlapping the |
| 113 | +# program-header table -- the OS then executes unloaded memory and traps |
| 114 | +# early. The 0x19000 default overlaps the span; 0x900000 is above it, below |
| 115 | +# the 16 MB DDR stack, inside the 32 MB cache-inhibit window. Raw uImage |
| 116 | +# kernels override this via ih_load (unaffected). |
103 | 117 | #WOLFBOOT_LOAD_ADDRESS=0x900000 |
| 118 | +# Optional: verbose pre-OS register/TLB/LAW dump for handoff debugging. |
| 119 | +#CFLAGS_EXTRA+=-DWOLFBOOT_PPC_PRE_OS_DUMP |
104 | 120 |
|
105 | 121 | # Flash erase/write/read test at update partition address |
106 | 122 | #TEST_FLASH?=1 |
|
0 commit comments