Commit Graph

13 Commits

Author SHA1 Message Date
Alistair Francis
d77546d36e qemuriscv: Allow overriding RISCV_SBI_PLAT
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-04-10 11:16:42 -07:00
Chin Huat Ang
014066d318 qemuriscv.inc: use ttyS0 as serial console
Fix /etc/inittab issue seen when running "runqemu nographic serial":

  INIT: Id "AMA0" respawning too fast: disabled for 5 minutes

Signed-off-by: Chin Huat Ang <chinhuat@gmail.com>
2019-03-26 11:17:51 -07:00
Alistair Francis
41ef243e31 qemuriscv: Add the virtio-rng device to pass entropy to the guest
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-03-14 19:34:26 -07:00
Alistair Francis
b7a47b47b5 machine: qemuriscv: Update the serial consoles
Update the serial console settings to be more supportive of running QEMU
ptests.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-03-14 19:34:26 -07:00
Alistair Francis
fbfab7fbaf qemuriscv: Enable earlycon via SBI
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-03-07 20:23:00 -08:00
Alistair Francis
f28b3cfb9a qemuriscv: Enable OpenSBI by default for booting
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-03-07 20:23:00 -08:00
Alistair Francis
e253804993 qemuriscv64: Don't use the linux-riscv kernel
Default to the mainline 4.19 kernel for the 64-bit QEMU machine.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-01-14 10:15:52 -08:00
Alistair Francis
9c2038912a machine: qemuriscv: Don't set TCLIBC
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2018-12-17 09:48:19 -08:00
sungwon.pino
7a3af75462 qemu : Usermode fails with invalid instruction error (for riscv32)
- backport for riscv32 arch
- Usermode fails with invalid instruction error (for riscv32)

Signed-off-by: pino-kim <sungwon.pino@gmail.com>
2018-12-13 09:38:57 -08:00
Alistair Francis
51ebe0bf47 qemuriscv32: Add support for a 32-bit machine
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2018-11-29 18:57:44 -08:00
Khem Raj
b7526a3e22 risc-v: Fix packagegroup dependencies for no clang
clang is not yet supported and when meta-clang is in
layermix things start to fail.

This patch patches by assuming the dependencies
and later adding them to bad recommendations so
they are dropped from runtime deps too

might not work with with dpkg backend

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-29 18:08:30 -07:00
Taras Kondratiuk
39a3237db5 machine: remove MACHINE_ARCH override to fix package collision
Machine-specific packages (like Linux kernel) should have
machine-specific PACKAGE_ARCH that is obtained from MACHINE_ARCH. This
allows to separate their build artifacts in TMPDIR.

Currently all RISC-V machines override MACHINE_ARCH and artifacts for
machine-specific recipes collide. For example kernels of both
qemuriscv64 and freedom-u540 machines will be deployed into the same
$D directory.

Remove MACHINE_ARCH override and set tune PACKAGE_ARCH via
PACKAGE_EXTRA_ARCHS.

Signed-off-by: Taras Kondratiuk <takondra@cisco.com>
2018-04-29 07:19:32 -07:00
Khem Raj
80e2da578c machine: Add machines for riscv32 baremetal
- Organize the machines a bit better
- Add baremetal machine configs for 32/64 bit
  so we can generate SDKs for zephyr and other RTOSes
- Fixup tune files to match BSP layer norms

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-03-16 14:57:23 -07:00