![]() I am compiling the latest 5.2.0 version of QEMU for this. Compiling QEMU and understanding the build system:įor detailed steps on setting up the tooling and compiling all the required pieces, refer to my previous article: Linux & Python on RISC-V using QEMU from scratch.īefore we add things to QEMU, we need first to understand the development ecosystem. Ultimately, we will build a RISC-V machine that has our custom peripheral and driver for that peripheral. This article dives into the depth of how a new peripheral can be added to an existing QEMU machine and how to interact with it using bare-metal C code. But, we often end up using ready-made platforms without thinking twice about how QEMU emulates them. QEMU is an excellent platform to emulate hardware platforms. Adding a custom peripheral to QEMU RISC-V machine emulation & interacting with it using bare-metal C code
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |