mirror of https://github.com/wolfSSL/wolfBoot.git
[SAMA5D3] Add build test, expand Target.md
parent
294d62d0c6
commit
6080cc215c
|
|
@ -22,6 +22,13 @@ jobs:
|
|||
# arch: riscv
|
||||
# config-file: ./config/examples/hifive.config
|
||||
#
|
||||
#
|
||||
sama5d3_test:
|
||||
uses: ./.github/workflows/test-build.yml
|
||||
with:
|
||||
arch: arm
|
||||
config-file: ./config/examples/sama5d3.config
|
||||
|
||||
same51_test:
|
||||
uses: ./.github/workflows/test-build.yml
|
||||
with:
|
||||
|
|
|
|||
|
|
@ -1,23 +0,0 @@
|
|||
ARCH?=ARM
|
||||
TARGET?=sama5d3
|
||||
SIGN?=ECC256
|
||||
HASH?=SHA256
|
||||
DEBUG?=1
|
||||
VTOR?=1
|
||||
CORTEX_M0?=0
|
||||
NO_ASM?=0
|
||||
EXT_FLASH?=1
|
||||
NAND_FLASH?=1
|
||||
SPI_FLASH?=0
|
||||
V?=0
|
||||
SPMATH?=1
|
||||
WOLFBOOT_PARTITION_SIZE?=0x1000000
|
||||
WOLFBOOT_NO_PARTITIONS=0
|
||||
WOLFBOOT_SECTOR_SIZE?=0x1000
|
||||
WOLFBOOT_LOAD_ADDRESS=0x201000
|
||||
WOLFBOOT_LOAD_DTS_ADDRESS=0x281000
|
||||
WOLFBOOT_PARTITION_BOOT_ADDRESS=0x400000
|
||||
WOLFBOOT_PARTITION_UPDATE_ADDRESS=0x800000
|
||||
WOLFBOOT_PARTITION_SWAP_ADDRESS=0x0
|
||||
NO_XIP=1
|
||||
IMAGE_HEADER_SIZE=2048
|
||||
|
|
@ -1447,8 +1447,17 @@ Step 3: program `wolfboot.bin` to the beginning of the flash:
|
|||
|
||||
### Programming the test application into NAND flash
|
||||
|
||||
(TODO)
|
||||
The application can be written to a second partition in nand,
|
||||
e.g. at address "0x40000"
|
||||
|
||||
`sam-ba -p j-link -b sama5d3-xplained -t 5 -a nandflash -c write:test-app/image_v1_signed.bin:0x400000`
|
||||
|
||||
With the example configuration, wolfBoot will evaluate two alternative images
|
||||
at addresses 0x400000 and 0x800000, authenticate, load to DRAM and stage from
|
||||
`LOAD_ADDRESS`.
|
||||
|
||||
Ensure that the application is compiled to run from `LOAD_ADDRESS`.
|
||||
Check `test-app/ARM-sama5d3.ld` for details.
|
||||
|
||||
|
||||
## Microchip SAME51
|
||||
|
|
|
|||
Loading…
Reference in New Issue