Skip to content

This is a hacky tool for building a BBL+Linux+InitRAMFS image for RISC-V.

License

Notifications You must be signed in to change notification settings

ccelio/initramfs_linux_flow

Repository files navigation

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.

About

This is a hacky tool for building a BBL+Linux+InitRAMFS image for RISC-V.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published