mirror of https://github.com/wolfSSL/wolfBoot.git
84 lines
2.5 KiB
Plaintext
84 lines
2.5 KiB
Plaintext
ARCH=AARCH64
|
|
TARGET=nxp_ls1028a
|
|
SIGN?=ECC256
|
|
HASH?=SHA256
|
|
DEBUG?=0
|
|
DEBUG_UART?=1
|
|
VTOR?=0
|
|
CORTEX_M0?=0
|
|
NO_ASM?=0
|
|
EXT_FLASH?=1
|
|
SPI_FLASH?=0
|
|
## Force app to be copied into ram
|
|
NO_XIP?=1
|
|
UART_FLASH?=0
|
|
ALLOW_DOWNGRADE?=0
|
|
NVM_FLASH_WRITEONCE?=0
|
|
WOLFBOOT_VERSION?=0
|
|
V?=0
|
|
NO_MPU?=0
|
|
SPMATH?=1
|
|
RAM_CODE?=0
|
|
DUALBANK_SWAP?=0
|
|
PKA?=0
|
|
|
|
# NOR Base Address
|
|
ARCH_FLASH_OFFSET?=0x20000000
|
|
|
|
# Flash Sector Size (128 KB)
|
|
WOLFBOOT_SECTOR_SIZE=0x20000
|
|
|
|
# wolfBoot start address
|
|
WOLFBOOT_ORIGIN=0x20020000
|
|
|
|
# wolfBoot partition size
|
|
BOOTLOADER_PARTITION_SIZE=0x20000
|
|
|
|
# Application Partition size
|
|
WOLFBOOT_PARTITION_SIZE?=0x20000
|
|
|
|
# Location in Flash for Application Partition
|
|
WOLFBOOT_PARTITION_BOOT_ADDRESS?=0x20040000
|
|
|
|
# Load Partition to RAM Address
|
|
WOLFBOOT_LOAD_ADDRESS?=0x18020100
|
|
|
|
# Location in Flash for Update Partition
|
|
WOLFBOOT_PARTITION_UPDATE_ADDRESS?=0x20060000
|
|
|
|
# Location of temporary sector used during updates
|
|
WOLFBOOT_PARTITION_SWAP_ADDRESS?=0x20080000
|
|
|
|
# DTS (Device Tree)
|
|
WOLFBOOT_LOAD_DTS_ADDRESS?=0x80000000
|
|
WOLFBOOT_DTS_BOOT_ADDRESS?=0x20F00000
|
|
WOLFBOOT_DTS_UPDATE_ADDRESS?=0x20F00000
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# wolfIP network test in the test-app (optional)
|
|
# -----------------------------------------------------------------------------
|
|
# Compiles wolfIP + the NXP ENETC ethernet port into the test-app and runs a
|
|
# board-side network test (the Makefile auto-selects nxp_enetc for
|
|
# TARGET=nxp_ls1028a). ENETC is a PCIe integrated-endpoint MAC over ECAM
|
|
# (AArch64 LE, no byte-swap); runs MMU-on with cacheable DDR (required for
|
|
# coherent ENETC DMA), so the driver does explicit cache maintenance.
|
|
#
|
|
# wolfIP does not fit the default 256KB OCRAM load region: load the app into
|
|
# DDR and enlarge the boot partition (override the flash layout below).
|
|
#ENABLE_WOLFIP=1
|
|
#WOLFBOOT_LIB_WOLFIP=../lib/wolfip
|
|
#WOLFBOOT_PARTITION_SIZE=0x100000
|
|
#WOLFBOOT_PARTITION_BOOT_ADDRESS=0x20100000
|
|
#WOLFBOOT_PARTITION_UPDATE_ADDRESS=0x20300000
|
|
#WOLFBOOT_PARTITION_SWAP_ADDRESS=0x20500000
|
|
# Load (and run) the app from DDR rather than OCRAM:
|
|
#WOLFBOOT_LOAD_ADDRESS=0x80100000
|
|
# PHY interface default is port0 SGMII (nxp_enetc_board.h); RGMII boards set 0:
|
|
#CFLAGS_EXTRA+=-DNXP_ENETC_IF_SGMII=0
|
|
# Test mode (neither flag = acquire a DHCP lease and stop):
|
|
# WOLFBOOT_TEST_TFTP=1 RRQ a file from a host tftpd, report size+checksum
|
|
# (set CFLAGS_EXTRA TFTP_EXPECT_SIZE/TFTP_EXPECT_SUM to verify)
|
|
# WOLFIP_SPEED_TEST=1 TCP throughput server on port 9 (drive with nc/dd/pv)
|
|
#WOLFBOOT_TEST_TFTP=1
|
|
#WOLFIP_SPEED_TEST=1
|