Skip to content

Commit 6080cc2

Browse files
committed
[SAMA5D3] Add build test, expand Target.md
1 parent 294d62d commit 6080cc2

4 files changed

Lines changed: 17 additions & 24 deletions

File tree

.github/workflows/test-configs.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,13 @@ jobs:
2222
# arch: riscv
2323
# config-file: ./config/examples/hifive.config
2424
#
25+
#
26+
sama5d3_test:
27+
uses: ./.github/workflows/test-build.yml
28+
with:
29+
arch: arm
30+
config-file: ./config/examples/sama5d3.config
31+
2532
same51_test:
2633
uses: ./.github/workflows/test-build.yml
2734
with:

config/examples/sama5d3-sram.config

Lines changed: 0 additions & 23 deletions
This file was deleted.

docs/Targets.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1447,8 +1447,17 @@ Step 3: program `wolfboot.bin` to the beginning of the flash:
14471447

14481448
### Programming the test application into NAND flash
14491449

1450-
(TODO)
1450+
The application can be written to a second partition in nand,
1451+
e.g. at address "0x40000"
14511452

1453+
`sam-ba -p j-link -b sama5d3-xplained -t 5 -a nandflash -c write:test-app/image_v1_signed.bin:0x400000`
1454+
1455+
With the example configuration, wolfBoot will evaluate two alternative images
1456+
at addresses 0x400000 and 0x800000, authenticate, load to DRAM and stage from
1457+
`LOAD_ADDRESS`.
1458+
1459+
Ensure that the application is compiled to run from `LOAD_ADDRESS`.
1460+
Check `test-app/ARM-sama5d3.ld` for details.
14521461

14531462

14541463
## Microchip SAME51

0 commit comments

Comments
 (0)