Software for a gem5-based full-system simulation. The corresponding gem5 VP is gem5-sim.
-
Clone the repository including submodules:
git clone --recursive git@github.com:rpelke/gem5_sw.git
-
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
-
Build the Linux system:
./scripts/build_image.bash
-
Build the toolchain:
./scripts/build_toolchain.bash
-
Build the bootcode and device tree:
./scripts/build_bootcode.bash
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
- The generated device tree blob: system.dtb
- The bootcode binaries: boot.arm64 and boot.arm
- The compiled kernel as
elffile: vmlinux - The root file system: rootfs.etx2
- The aarch64 toolchain: aarch64-buildroot-linux-gnu_sdk-buildroot.tar.gz