Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CVA6 docs (hopefully) #400

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 10 additions & 8 deletions docs/source/Getting-Started/Running-Keystone-on-CVA6.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Follow :doc:`QEMU-Setup-Repository` to setup the repository.
After you setup the repository, you can run the following commands to build Keystone.

::

export BUILD_ROOT=<absolute path to build directory>
mkdir <build directory>
cd <build directory>
Expand Down Expand Up @@ -61,15 +62,16 @@ bootloader itself. (Likely never)

The CVA6 image uses a simplified structure due to bootloader ROM integration on the device:
:: code-block:: bash
#!/bin/bash

set -e

# format disk
sgdisk --clear --new=1:2048:67583 --new=2 --typecode=1:3000 --typecode=2:8300 /dev/sdc

# flash image
dd if=sm.build/platform/generic/firmware/fw_payload.bin of=/dev/sdc1 status=progress oflag=sync bs=1M
#!/bin/bash

set -e

# format disk
sgdisk --clear --new=1:2048:67583 --new=2 --typecode=1:3000 --typecode=2:8300 /dev/sdc

# flash image
dd if=sm.build/platform/generic/firmware/fw_payload.bin of=/dev/sdc1 status=progress oflag=sync bs=1M


Running on the CVA6
Expand Down