zephyrproject-rtos / meta-zephyr-sdk

Zephyr SDK (obsolete)
MIT License
44 stars 29 forks source link

QEMU: Upstream QEMU supports and has updated target machines for RISC-V #101

Closed nategraff-sifive closed 5 years ago

nategraff-sifive commented 6 years ago

Upstream QEMU has decent support for RISC-V, so it’s possible for the Zephyr SDK to drop the RISC-V port and just build the "riscv32-softmmu” target on the latest stable QEMU.

Concurrently, the qemu_riscv32 board in Zephyr would need to be updated to use the same DTS as the HiFive1, since the QEMU target machine “sifive_e” emulates the exact same hardware and the old "sifive" target is gone.

Since RISC-V has its own QEMU recipe already, one option is just to retarget that against a newer upstream version, if upgrading QEMU for all architectures is undesirable right now. Any thoughts?

nashif commented 6 years ago

@nategraff-sifive this was now integrated in sdk pre-release, however we have an issue with tests running on hifive. Can you please take a look?

nashif commented 5 years ago

This is not part of the SDK