Skip to content

Commit

Permalink
[SAMA5D3] Add build test, expand Target.md
Browse files Browse the repository at this point in the history
  • Loading branch information
danielinux committed Sep 30, 2024
1 parent 294d62d commit 6080cc2
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 24 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/test-configs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
23 changes: 0 additions & 23 deletions config/examples/sama5d3-sram.config

This file was deleted.

File renamed without changes.
11 changes: 10 additions & 1 deletion docs/Targets.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6080cc2

Please sign in to comment.