Skip to content

brempusz/buildroot_renode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Buildroot project that allows building linux images for Renode machines.

  • Based on https://github.com/buildroot/buildroot/tree/master/board/qemu/riscv32-virt.

  • DTB extracted by adding -machine dumpdtb=renode_riscv32_virt.dtb parameter to original start-qemu.sh.

  • DTS created with dtc -o renode_riscv32_virt.dts renode_riscv32_virt.dtb

  • Base repl file downloaded from renodepedia and manualy updated to match DTB/DTS.

  • Example configuration for renode_riscv32_virt_defconfig:

    • Works with Renode 1.15.1
    • OpenSBI 1.5
    • Linux kernel version 6.6.36 (no patches)

Usage:

  1. Learn how to configure and use buildroot by reading buildroot manual.
  2. Use "external configuration" to build renode-ready linux image, renode platform description and startup script:
git clone https://github.com/buildroot/buildroot.git
git clone https://github.com/brempusz/buildroot_renode.git
cd buildroot
make BR2_EXTERNAL=../buildroot_renode/buildroot renode_riscv32_virt_defconfig
make
cd output/images
PATH=/path/to/renode/binary/directory:$PATH ./start-renode_riscv32_virt.sh
  1. Enjoin!

About

buildroot configurations for Renode

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published