diff options
Diffstat (limited to 'docs/platform')
-rw-r--r-- | docs/platform/platform.md | 10 | ||||
-rw-r--r-- | docs/platform/qemu_sifive_u.md | 60 |
2 files changed, 2 insertions, 68 deletions
diff --git a/docs/platform/platform.md b/docs/platform/platform.md index 17cbfb8..d977646 100644 --- a/docs/platform/platform.md +++ b/docs/platform/platform.md @@ -8,14 +8,9 @@ OpenSBI currently supports the following virtual and hardware platforms: development and tests. More details on this platform can be found in the file *[qemu_virt.md]*. -* **QEMU SiFive Unleashed Machine**: Platform support for the *sifive_u* QEMU - virtual RISC-V machine. This is an emulation machine of the HiFive Unleashed - board by SiFive. More details on this platform can be found in the file - *[qemu_sifive_u.md]*. - * **SiFive FU540 SoC**: Platform support for SiFive FU540 SoC used on the - HiFive Unleashed board. This platform is very similar to the *QEMU sifive_u* - platform. More details on this platform can be found in the file + HiFive Unleashed board, as well as the *sifive_u* QEMU virtual RISC-V + machine. More details on this platform can be found in the file *[sifive_fu540.md]*. * **Kendryte K210 SoC**: Platform support for the Kendryte K210 SoC used on @@ -35,7 +30,6 @@ template files for implementing support for a new platform. The *object.mk*, facilitate the implementation. [qemu_virt.md]: qemu_virt.md -[qemu_sifive_u.md]: qemu_sifive_u.md [sifive_fu540.md]: sifive_fu540.md [ariane-fpga.md]: ariane-fpga.md [andes_ae350.md]: andes-ae350.md diff --git a/docs/platform/qemu_sifive_u.md b/docs/platform/qemu_sifive_u.md deleted file mode 100644 index b5c4f0e..0000000 --- a/docs/platform/qemu_sifive_u.md +++ /dev/null @@ -1,60 +0,0 @@ -QEMU SiFive Unleashed Machine Platform -====================================== - -The **QEMU SiFive Unleashed Machine** is an emulation of the SiFive Unleashed -platform. - -To build this platform specific library and firmwares, provide the -*PLATFORM=qemu/sifive_u* parameter to the top level `make` command line. - -Note with QEMU v4.2 release, the QEMU *sifive_u* machine has been updated to -closely match the SiFive HiFive Unleashed hardware and can therefore run the -same firmware as what gets loaded onto the board, and OpenSBI's *qemu/sifive_u* -platform should only be used with QEMU v4.1 release or before. - -The special *qemu/sifive_u* platform support will be dropped in the future -OpenSBI release. - -Platform Options ----------------- - -The *QEMU SiFive Unleashed Machine* platform does not have any platform specific -options. - -Executing on QEMU RISC-V 64-bit -------------------------------- - -**No Payload Case** - -Build: -``` -make PLATFORM=qemu/sifive_u -``` - -Run: -``` -qemu-system-riscv64 -M sifive_u -m 256M -display none -serial stdio \ - -kernel build/platform/qemu/sifive_u/firmware/fw_payload.elf -``` - -**U-Boot as a Payload** - -Note: the command line examples here assume that U-Boot was compiled using -the `sifive_fu540_defconfig` configuration. - -Build: -``` -make PLATFORM=qemu/sifive_u FW_PAYLOAD_PATH=<uboot_build_directory>/u-boot.bin -``` - -Run: -``` -qemu-system-riscv64 -M sifive_u -m 256M -display none -serial stdio \ - -kernel build/platform/qemu/sifive_u/firmware/fw_payload.elf -``` -or -``` -qemu-system-riscv64 -M sifive_u -m 256M -display none -serial stdio \ - -kernel build/platform/qemu/sifive_u/firmware/fw_jump.elf \ - -device loader,file=<uboot_build_directory>/u-boot.bin,addr=0x80200000 -``` |