Skip to content

Workshop: Embracing RISC-V: Building and Booting a Minimalistic Operating System

Notifications You must be signed in to change notification settings

gnudeep/Embracing-RISC-V

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

ICTer2023 Workshop - Embracing-RISC-V

In this workshop participants will get an introduction to RISC-V architecture, hands-on tutorial to build a simple OS kernel, bootloader, and hardware interfacing.

In the hands-on tutorial we build a simple bootloader and boot StarFive VisionFive2 board.

To follow this tutorial, participants need a Linux machine with an Internet connection.

  • Preferred OS: Ubuntu 22.04 LTS 64 bit.
  • Ubuntu packages
    • autoconf automake autotools-dev curl python3 python3-pip libmpc-dev libmpfr-dev libgmp-dev gawk build-essential bison flex texinfo gperf libtool patchutils bc zlib1g-dev libexpat-dev ninja-build git cmake libglib2.0-dev
    • device-tree-compiler
    • u-boot-tools
  • Machine or a laptop with a USB port.

To build binaries, we need to setup the GNU tool chain.

You can try to build the sample C program using this toolchain.

Spike RISC-V simulater helps to simulate the program on x86 Linux.

Build the example boot loader using the RISC-V toolchain.

To test the build bootloader we need a QEMU emulator with qemu-system-riscv64 capability.

About

Workshop: Embracing RISC-V: Building and Booting a Minimalistic Operating System

Resources

Stars

Watchers

Forks

Packages

No packages published