Skip to content

Commit

Permalink
README.adoc: Update Indtroduction.
Browse files Browse the repository at this point in the history
Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
  • Loading branch information
guoren83 committed May 30, 2024
1 parent f90700e commit 812a3c1
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,30 @@ opensbi: https://github.com/riscv-software-src/opensbi
Linux: https://kernel.org/
....

= Compile zero_stage_boot
Compiling zero_stage_boot is very straightforward, requiring only a standard RISC-V GCC compiler:

CROSS_COMPILE=riscv64-unknown-linux-gnu- make

However, we strongly recommend using the released binaries for the FPGA bringup. Click the Releases button on the right to obtain pre-compiled binaries for zsb, OpenSBI, and Image (Linux). These binary files have undergone comprehensive testing prior to release and contain detailed and precise version information.

- 64lp64 means running 64lp64 ABI on 64-bit Hardware.

- 32ilp32 means running 32ilp32 ABI on 32-bit Hardware.

- 64ilp32 means runing 64ilp64 ABI on 64-bit Hardware.

- zsb means zero_stage_boot.

- Linux-5.10 + opensbi-0.9 is for early customers.

- Linux-6.6 + opensbi-1.3 is for current.

- zsb-64lp64-xt is simply recompiled with a custom compiler; functionally, it is identical to zsb-64lp64.

For a rv64 processor, you can download zsb-64lp64.tar.gz + opensbi-1.3-64lp64.tar.gz + linux-6.6-64lp64.tar.gz and prepare your own DTS + gdbinit.

Then, you can use Jtag to run FPGA Platform.

= linux-6.6 opensbi-1.3 DTS Example

The T-HEAD C9xx DTB provided to OpenSBI generic firmware will usually have
Expand Down

0 comments on commit 812a3c1

Please sign in to comment.