Linux on a CH32V006 based emulator: starting out

It’s been done before both on the RP2040 and CH32V003, but I’d like to develop a CH32V006 based emulator that can run RISC-V Linux. The goals are:

  • Run RV32 Linux with a console, RAM, and SPI storage
  • Make it as fast as possible. In addition to optimising the emulator, look at adding a cache and QSPI modes
  • Make it portable via building on Zephyr
  • Include a display generator
  • Hardware should be re-usable for a future ZX81 emulator

The scope includes the emulator and hardware. Looks like the phram driver can be used to expose a memory-mapped SPI flash as MTD, and the gpio-syscon driver can be used to blink some LEDs. Let’s see how it goes!

Avatar
Michael Hope
Software Engineer