qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question about loading bare metal firmware


From: Clément Chigot
Subject: Re: Question about loading bare metal firmware
Date: Tue, 13 Sep 2022 16:53:16 +0200

> > Hi all,
> >
> > I'm wondering if there is an official way to load bare metal software
> > within qemu emulations.
> > I've seen a lot of people (including us) using -kernel. However, the
> > doc seems to imply that the generic loader would be a better approach
> > (cf [1]). I know that the compatibility with older Qemus is one of the
> > reasons why -kernel is still highly used. I've also seen that the
> > reset vector can be initialized automatically by -kernel unlike with
> > the generic loader (this is the case with RiscV AFAICT).
> > But is there any kind of official recommendation on that topic ?
>
> The recommendation is in the document you linked. For bare metal use the
> generic loader and make sure you put the blob in the right place so the
> architectural reset vector will jump to it.

Alright. I should have missed something when I tried with the generic loader.
Thanks for the inputs and the confirmation that we were doing something wrong !

Thanks,
Clément



reply via email to

[Prev in Thread] Current Thread [Next in Thread]