26 Nov, 2018
4 commits
-
Enable distro boot on the qemu-riscv32/64 boards. Supported boot target
devices are VirtIO and DHCP.Signed-off-by: Lukas Auer
Reviewed-by: Bin Meng
Reviewed-by: Alexander Graf -
Support booting Linux (as payload of BBL) from FIT images. For this, the
default CONFIG_SYS_BOOTM_LEN is increased to 16 MB, and the environment
variables fdt_high and initrd_high are set to mark the device tree and
initrd as in-place.Signed-off-by: Lukas Auer
Reviewed-by: Bin Meng -
QEMU provides a device tree, which is passed to U-Boot using register
a1. We are now able to directly select the device tree with the
configuration CONFIG_OF_PRIOR_STAGE. Replace the hard-coded address in
qemu-riscv with it.Signed-off-by: Lukas Auer
Reviewed-by: Bin Meng
Reviewed-by: Rick Chen -
RISC-V defines the base integer instruction sets as RV32I and RV64I.
Rename CPU_RISCV_32 and CPU_RISCV_64 to ARCH_RV32I and ARCH_RV64I to
match this convention.Signed-off-by: Lukas Auer
Reviewed-by: Bin Meng
Reviewed-by: Rick Chen
03 Oct, 2018
1 commit
-
This adds QEMU RISC-V 'virt' board target support, with the hope of
helping people easily test U-Boot on RISC-V.The QEMU virt machine models a generic RISC-V virtual machine with
support for the VirtIO standard networking and block storage devices.
It has CLINT, PLIC, 16550A UART devices in addition to VirtIO and
it also uses device-tree to pass configuration information to guest
software. It implements RISC-V privileged architecture spec v1.10.Both 32-bit and 64-bit builds are supported. Support is pretty much
preliminary, only booting to U-Boot shell with the UART driver on
a single core. Booting Linux is not supported yet.Signed-off-by: Bin Meng
Reviewed-by: Lukas Auer