Skip to content

Commit 26395b4

Browse files
committed
Process with drivers (flash, DTS, multi-core / spin table)
1 parent cce1825 commit 26395b4

4 files changed

Lines changed: 333 additions & 36 deletions

File tree

arch.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1001,6 +1001,7 @@ ifeq ($(TARGET),nxp_t2080)
10011001
LDFLAGS+=$(ARCH_FLAGS)
10021002
LDFLAGS+=-Wl,--hash-style=both # generate both sysv and gnu symbol hash table
10031003
LDFLAGS+=-Wl,--as-needed # remove weak functions not used
1004+
OBJS+=src/boot_ppc_mp.o # support for spin table
10041005
UPDATE_OBJS:=src/update_ram.o
10051006
OBJS+=src/fdt.o
10061007
endif

config/examples/nxp-t2080.config

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,19 @@ RAM_CODE?=0
2121
DUALBANK_SWAP?=0
2222
PKA?=1
2323
WOLFTPM?=0
24-
WOLFBOOT_ORIGIN?=0xEFFF0000
24+
WOLFBOOT_ORIGIN?=0xEFFE0000
2525
WOLFBOOT_PARTITION_SIZE?=0x20000
2626
WOLFBOOT_SECTOR_SIZE?=0x10000
2727

28-
ARCH_FLASH_OFFSET?=0xEFFF0000
29-
BOOTLOADER_PARTITION_SIZE=0x10000
28+
ARCH_FLASH_OFFSET?=0xEFFE0000
29+
BOOTLOADER_PARTITION_SIZE=0x20000
3030

31-
WOLFBOOT_PARTITION_BOOT_ADDRESS?=0xEFFD0000
31+
WOLFBOOT_PARTITION_BOOT_ADDRESS?=0xEFFC0000
3232
WOLFBOOT_LOAD_ADDRESS?=0x19000
33-
WOLFBOOT_PARTITION_UPDATE_ADDRESS?=0xEFFB0000
33+
WOLFBOOT_PARTITION_UPDATE_ADDRESS?=0xEFFA0000
3434

3535
# Location of temporary sector used during updates
36-
WOLFBOOT_PARTITION_SWAP_ADDRESS?=0xEFFA0000
36+
WOLFBOOT_PARTITION_SWAP_ADDRESS?=0xEFF90000
3737

3838
# DTS (Device Tree)
3939
WOLFBOOT_DTS_BOOT_ADDRESS?=0xE8040000

0 commit comments

Comments
 (0)