All of lore.kernel.org
 help / color / mirror / Atom feed
* Building Risc-V Linux kernel images for qemu without rebuilding bbl
@ 2018-02-27 22:55 Guenter Roeck
  2018-02-27 23:12 ` Stef O'Rear
  0 siblings, 1 reply; 3+ messages in thread
From: Guenter Roeck @ 2018-02-27 22:55 UTC (permalink / raw)
  To: linux-riscv

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.

Thanks,
Guenter

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Building Risc-V Linux kernel images for qemu without rebuilding bbl
  2018-02-27 22:55 Building Risc-V Linux kernel images for qemu without rebuilding bbl Guenter Roeck
@ 2018-02-27 23:12 ` Stef O'Rear
  2018-02-27 23:38   ` Guenter Roeck
  0 siblings, 1 reply; 3+ messages in thread
From: Stef O'Rear @ 2018-02-27 23:12 UTC (permalink / raw)
  To: linux-riscv

On Tue, Feb 27, 2018 at 2:55 PM, Guenter Roeck <linux@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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Building Risc-V Linux kernel images for qemu without rebuilding bbl
  2018-02-27 23:12 ` Stef O'Rear
@ 2018-02-27 23:38   ` Guenter Roeck
  0 siblings, 0 replies; 3+ messages in thread
From: Guenter Roeck @ 2018-02-27 23:38 UTC (permalink / raw)
  To: linux-riscv

On Tue, Feb 27, 2018 at 03:12:36PM -0800, Stef O'Rear wrote:
> On Tue, Feb 27, 2018 at 2:55 PM, Guenter Roeck <linux@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
> 
Excellent. I am looking forward for it to be available in some form. 

Something to consider in this context might be to ship bbl with qemu
and hide it behind the qemu command line. This is done for various other
architectures, so I would assume it should be possible for Risc-V as well.
This way the user could specify "-kernel vmlinux" or similar without
having to bother about the bootloader in the first place.

Thanks,
Guenter

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-02-27 23:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-27 22:55 Building Risc-V Linux kernel images for qemu without rebuilding bbl Guenter Roeck
2018-02-27 23:12 ` Stef O'Rear
2018-02-27 23:38   ` Guenter Roeck

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.