AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Riscv qemu tutorial9/24/2023 ![]() ![]() We’ll write and attempt to debug a simple C program of our own, unveil the magic hidden behind main, and examine the hardware layout of a qemu virtual machine. In this post, we’ll break free from the freedom-e-sdk. This is great if you’re looking to quickly become productive, but these details are exactly the sort of thing we want to learn about! ![]() We didn’t have to worry about setting up any linker scripts or writing a runtime that sets up our stack, calls into main, and more. ![]() The freedom-e-sdk made it trivial for us to compile, debug, and run any C program on an emulated or physical RISC-V processor. In the first post of this series, we introduced RISC-V, explained why it’s important, set up the full GNU RISC-V toolchain, and built and ran a simple program on an emulated version of a RISC-V processor with the help of SiFive’s freedom-e-sdk. Welcome to the second post in the RISC-V from scratch series! As a quick recap, throughout RISC-V from scratch we will explore various low-level concepts (compilation and linking, primitive runtimes, assembly, and more), typically through the lens of RISC-V and its ecosystem. ![]()
0 Comments
Read More
Leave a Reply. |