Shawn  Pieterse

Shawn Pieterse

1626080767

In Ubuntu 20.04, How To Set Up A RISCV-64 Linux Kernel Development Environment

I have read some articles related to set up a QEMU environment for enabling RISC-V Linux kernel development. Unfortunately, none of them describes all the required steps to get a fully prepared RISC-V 64bit system.
PREREQUISITES
I use Ubuntu as my main desktop OS, so all the described steps related to it. Probably it could be reproduced on other Debian-based distributions.
Their intention is following:

  • busybox - contains minimal command-line environment to work with the Kernel.
  • initramfs - initial RAM disk for the Kernel.
  • qemu - emulator I run the RISC-V enabled Kernel on.

#ubuntu #environment #riscv-64 #ubuntu 20.04

In Ubuntu 20.04, How To Set Up A RISCV-64 Linux Kernel Development Environment