All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Philippe Mathieu-Daudé via" <qemu-devel@nongnu.org>
To: Laurent Vivier <laurent@vivier.eu>, qemu-devel@nongnu.org
Subject: Re: [PATCH 2/3] m68k: virt: add a bootstrap ROM
Date: Thu, 3 Feb 2022 00:27:36 +0100	[thread overview]
Message-ID: <c64a77e0-33c6-ab26-412f-05e329fe5968@amsat.org> (raw)
In-Reply-To: <20220202223528.1260154-3-laurent@vivier.eu>

On 2/2/22 23:35, Laurent Vivier wrote:
> This ROM will be started by QEMU and will load the firmware.
> The firware will be based on Petit Boot, the aim of the bootstrap

"firmware"

> is to ask QEMU to load the kernel and initramfs to the RAM.
> 
> It also builds the bootinfo structure to pass to the kernel the
> same way QEMU does when it loads directly the kernel.
> 
> To build the bootstrap:
> $ git submodule init roms/m68k-virt
> $ git submodule updage roms/m68k-virt

"update"

You can combine as "update --init".

> $ make -C roms m68k-virt-bootrom
> 
> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
> ---
>   hw/m68k/virt.c      | 32 ++++++++++++++++++++++++++++++++
>   .gitmodules         |  3 +++
>   pc-bios/meson.build |  1 +
>   roms/Makefile       |  7 +++++++
>   roms/m68k-virt      |  1 +
>   5 files changed, 44 insertions(+)
>   create mode 160000 roms/m68k-virt

> diff --git a/.gitmodules b/.gitmodules
> index 84425d87e28a..315d597d057a 100644
> --- a/.gitmodules
> +++ b/.gitmodules
> @@ -67,3 +67,6 @@
>   [submodule "tests/lcitool/libvirt-ci"]
>   	path = tests/lcitool/libvirt-ci
>   	url = http://gitlab.com/libvirt/libvirt-ci
> +[submodule "roms/m68k-virt"]
> +	path = roms/m68k-virt
> +	url = https://github.com/vivier/m68k-virt-bootstrap.git

We'll need to mirror that on gitlab.

Otherwise LGTM.


  reply	other threads:[~2022-02-02 23:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-02 22:35 [PATCH 0/3] m68k: virt: add a firmware to the virt machine (petit boot) Laurent Vivier
2022-02-02 22:35 ` [PATCH 1/3] m68k: bootinfo entry size must be aligned on 4 bytes Laurent Vivier
2022-02-02 22:35 ` [PATCH 2/3] m68k: virt: add a bootstrap ROM Laurent Vivier
2022-02-02 23:27   ` Philippe Mathieu-Daudé via [this message]
2022-02-02 22:35 ` [PATCH 3/3] m68k: virt: add a firmware (petitboot) Laurent Vivier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c64a77e0-33c6-ab26-412f-05e329fe5968@amsat.org \
    --to=qemu-devel@nongnu.org \
    --cc=f4bug@amsat.org \
    --cc=laurent@vivier.eu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.