Skip to content

rpelke/gem5_sw

Repository files navigation

Gem5 – AArch64 Linux Image

Software for a gem5-based full-system simulation. The corresponding gem5 VP is gem5-sim.

Build & Install

  1. Clone the repository including submodules:

    git clone --recursive git@github.com:rpelke/gem5_sw.git
  2. The default configuration files for buildroot and Linux can be found in the config folder. If you want to change the configuration(s), use:

    ./scripts/create_buildroot_config.bash
    ./scripts/create_linux_config.bash
  3. Build the Linux system:

    ./scripts/build_image.bash
  4. Build the toolchain:

    ./scripts/build_toolchain.bash
  5. Build the bootcode and device tree:

    ./scripts/build_bootcode.bash

Output

Build artifacts are written to the images folder:

images/
├── aarch64-buildroot-linux-gnu_sdk-buildroot.tar.gz
└── system/
    ├── system.dtb
    └── binaries/
        ├── boot.arm
        ├── boot.arm64
        ├── rootfs.ext2
        └── vmlinux

About

Use Buildroot to create a Linux image (aarch64) for gem5 with a kernel driver for a custom accelerator.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors