Skip to content

Commit

Permalink
docs: Address issues documented in #92
Browse files Browse the repository at this point in the history
  • Loading branch information
paulsc96 committed Feb 23, 2024
1 parent 87c8d74 commit 0fb1aa4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/tg/xilinx.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Baremetal code can be preloaded through JTAG using OpenOCD and GDB or loaded fro
First, connect to UART using a serial communication program like minicom:

```
minicom -cD /dev/ttyUSBX
minicom -c on D /dev/ttyUSBX
```

Make sure that hardware flow control matches your board's setup (usually *off*).
Expand Down Expand Up @@ -105,7 +105,7 @@ Clone the `cheshire` branch of CVA6 SDK and build the firmware (OpenSBI + U-boot

```
git submodule update --init --recursive sw/deps/cva6-sdk
make -C sw/deps/cva6-sdk images
cd sw/deps/cva6-sdk && make images
```

In principle, we can boot Linux through JTAG by loading all images into memory, launching OpenSBI, and instructing U-boot to load the kernel directly from memory. Here, we focus on autonomous boot from SD card.
Expand All @@ -115,10 +115,10 @@ In this case, OpenSBI is loaded by a regular baremetal program called the [Zero-
To create a full Linux disk image from the ZSL, device tree, firmware, and Linux, run:

```
make sw/boot/linux.gpt.bin
make ${CHS_ROOT}/sw/boot/linux.gpt.bin
```

Flash this image to an SD card as you did in the previous section, then insert the SD card and reset into boot mode 1. You should first see the ZSL print on the UART:
where `CHS_ROOT` is the root of the Cheshire repository. Flash this image to an SD card as you did in the previous section, then insert the SD card and reset into boot mode 1. You should first see the ZSL print on the UART:

```
/\___/\ Boot mode: 1
Expand Down

0 comments on commit 0fb1aa4

Please sign in to comment.