This is a hacky tool for building a BBL+Linux+InitRAMFS image for RISC-V.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
busybox @ e73f3c1
riscv-pk @ a684d50
.gitignore
.gitmodules
LICENSE
Makefile
README.md
build-initram.py
build-pk.sh
busybox_config
dummy_profile
inittab
linux_config

README.md

My attempt at making an easy to build an initramFS Linux image for RISC-V testing.

Prerequistes

  • A compatible riscv linux toolchain.

Default Flow

This builds an image using the default linux and busybox configurations (./linux_config, ./busybox_config). It auto-generates and initramfs.txt and uses a dummy profile script.

$ git submodule update --init
$ make

Augmenting the image

Set ./profile to get what you need on bootup. Look at Makefile for how to change things.

Set ./initramfs.txt to what you want (also auto-generated by build-initram.py).

Of course, you can always change the linux and busybox configurations.