forked from Mirrors/opensbi
doc: sifive_fu540: Fix doc styles
- make title underline the same length as the title itself - put all URLs at the end of the doc Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Anup Patel <anup.patel@wdc.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
SiFive FU540 SoC Platform
|
SiFive FU540 SoC Platform
|
||||||
==========================
|
=========================
|
||||||
The FU540-C000 is the world’s first 4+1 64-bit RISC-V SoC from SiFive.
|
The FU540-C000 is the world’s first 4+1 64-bit RISC-V SoC from SiFive.
|
||||||
The HiFive Unleashed development platform is based on FU540-C000 and capable
|
The HiFive Unleashed development platform is based on FU540-C000 and capable
|
||||||
of running Linux.
|
of running Linux.
|
||||||
@@ -25,7 +25,7 @@ make PLATFORM=sifive/fu540 FW_PAYLOAD_PATH=Image FU540_ENABLED_HART_MASK=0x02
|
|||||||
This will let the board boot only hart1 instead of default 1-4.
|
This will let the board boot only hart1 instead of default 1-4.
|
||||||
|
|
||||||
Building SiFive Fu540 Platform
|
Building SiFive Fu540 Platform
|
||||||
-----------------------------
|
------------------------------
|
||||||
|
|
||||||
In order to boot SMP Linux in U-Boot, Linux v5.1 (or higher) and latest
|
In order to boot SMP Linux in U-Boot, Linux v5.1 (or higher) and latest
|
||||||
U-Boot v2020.01 (or higher) should be used.
|
U-Boot v2020.01 (or higher) should be used.
|
||||||
@@ -51,7 +51,7 @@ make PLATFORM=sifive/fu540 FW_PAYLOAD_PATH=<linux_build_directory>/arch/riscv/bo
|
|||||||
The command-line example here assumes that U-Boot was compiled using the
|
The command-line example here assumes that U-Boot was compiled using the
|
||||||
sifive_fu540_defconfig configuration and with U-Boot v2020.01 (or higher).
|
sifive_fu540_defconfig configuration and with U-Boot v2020.01 (or higher).
|
||||||
|
|
||||||
The detailed U-Boot booting guide is avaialble at [U-Boot](https://gitlab.denx.de/u-boot/u-boot/blob/master/doc/board/sifive/fu540.rst)
|
The detailed U-Boot booting guide is avaialble at [U-Boot].
|
||||||
|
|
||||||
```
|
```
|
||||||
make PLATFORM=sifive/fu540 FW_PAYLOAD_PATH=<u-boot_build_dir>/u-boot-dtb.bin
|
make PLATFORM=sifive/fu540 FW_PAYLOAD_PATH=<u-boot_build_dir>/u-boot-dtb.bin
|
||||||
@@ -81,11 +81,10 @@ make PLATFORM=sifive/fu540 FW_PAYLOAD_PATH=/tmp/temp.bin
|
|||||||
```
|
```
|
||||||
|
|
||||||
Flashing the OpenSBI firmware binary to storage media:
|
Flashing the OpenSBI firmware binary to storage media:
|
||||||
-----------------------------------------------------
|
------------------------------------------------------
|
||||||
The first stage boot loader([FSBL](https://github.com/sifive/freedom-u540-c000-bootloader))
|
The first stage boot loader ([FSBL]) expects the storage media to have a GPT
|
||||||
expects the storage media to have a GPT partition table. It tries to look for
|
partition table. It tries to look for a partition with following GUID to load
|
||||||
a partition with following GUID to load the next stage boot loader (OpenSBI
|
the next stage boot loader (OpenSBI in this case).
|
||||||
in this case).
|
|
||||||
|
|
||||||
```
|
```
|
||||||
2E54B353-1271-4842-806F-E436D6AF6985
|
2E54B353-1271-4842-806F-E436D6AF6985
|
||||||
@@ -193,3 +192,6 @@ generated by QEMU, and u-boot.bin should be used as the payload image, like:
|
|||||||
```
|
```
|
||||||
make PLATFORM=sifive/fu540 FW_PAYLOAD_PATH=<u-boot_build_dir>/u-boot.bin
|
make PLATFORM=sifive/fu540 FW_PAYLOAD_PATH=<u-boot_build_dir>/u-boot.bin
|
||||||
```
|
```
|
||||||
|
|
||||||
|
[U-Boot]: https://gitlab.denx.de/u-boot/u-boot/blob/master/doc/board/sifive/fu540.rst
|
||||||
|
[FSBL]: https://github.com/sifive/freedom-u540-c000-bootloader
|
||||||
|
Reference in New Issue
Block a user