Building Risc-V Linux kernel images for qemu without rebuilding bbl

Stef O'Rear sorear2 at gmail.com
Tue Feb 27 15:12:36 PST 2018


On Tue, Feb 27, 2018 at 2:55 PM, Guenter Roeck <linux at roeck-us.net> wrote:
> Hi folks,
>
> I have been trying to set up Risc-V qemu test builds on kerneltests.org.
> Major hold-up at this point is the need to continuously rebuild bbl images
> with embedded kernel images. Due to various reasons, this is all but
> impossible with my auto-build system.
>
> Is there a means to load bbl and vmlinux images separately into qemu,
> or maybe a tool to attach the kernel to a pre-built bbl image ?
> Of course, it would be even better if it was possible to just specify
> "-kernel vmlinux" or something similar on the kernel command line.

This isn't currently possible, but several people have expressed an
interest in it.

Recent discussion:

https://github.com/sifive/freedom-u-sdk/issues/33#issuecomment-368260995

https://github.com/riscv/riscv-qemu/pull/109#issuecomment-367885879

-s



More information about the linux-riscv mailing list