My attempt at making an easy to build an initramFS Linux image for RISC-V testing.
- A compatible riscv linux toolchain.
This builds an image using the default linux and busybox configurations (
./busybox_config). It auto-generates and initramfs.txt and uses a dummy profile script.
You can specify a diretory whose content you want to pack in linux by setting the DIRNAME when making linux. Its content will be placed under a directory called celio in your linux. (Please do not have a / at the end of the path?)
$ git submodule update --init $ make DIRNAME=/a/cool/directory/you/want/to/pack/in/linux
Augmenting the image
./profile to get what you need on bootup. Look at Makefile for how to change things.
Of course, you can always change the linux and busybox configurations.