-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
= Device tree for the cheri-bgas soft-core riscv system | ||
|
||
The cheri-bgas system uses a riscv soft-core. The devices accessible to this soft-core can be exposed to software using this device tree. | ||
To build the device tree, you will need `dtc` installed. You will also need a riscv linker to wrap the device tree in an elf container. | ||
|
||
After cloning this repository, you can run `make devicetree.dtb` to build a device tree binary from the device tree source. | ||
You can also run `make devicetree.wrapped.elf` (or simply `make`) to wrap the device tree in an elf container. | ||
|
||
*Note:* | ||
|
||
__Wrapping the device tree in an elf container is usefull to simplify loading it in the riscv soft-core system's memory using gdb from the ARM HPS system. | ||
The provided `script.ld` will have the device tree loaded at address `0x80000000`.__ | ||
|
||
__See https://github.com/CTSRD-CHERI/DE10Pro-cheri-bgas for more details.__ |