All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab@linux-m68k.org>
To: Heinrich Schuchardt <xypron.glpk@gmx.de>
Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>,
	 GRUB development mailing list <grub-devel@gnu.org>,
	 Atish Patra <Atish.Patra@wdc.com>,
	 Daniel Kiper <dkiper@net-space.pl>,
	 Leif Lindholm <leif.lindholm@linaro.org>,
	 Nikita Ermakov <arei@altlinux.org>,
	 Ilias Apalodimas <ilias.apalodimas@linaro.org>
Subject: Re: [PATCH v2 0/7] Add LoadFile2 and riscv Linux loader
Date: Mon, 28 Jun 2021 00:07:07 +0200	[thread overview]
Message-ID: <87sg13c67o.fsf@igel.home> (raw)
In-Reply-To: <cddb3cba-1e6e-1002-5b21-7489c34ed2e9@gmx.de> (Heinrich Schuchardt's message of "Sun, 27 Jun 2021 23:01:45 +0200")

On Jun 27 2021, Heinrich Schuchardt wrote:

> On 6/26/21 8:07 PM, Andreas Schwab wrote:
>> On Jun 03 2021, Nikita Ermakov wrote:
>>
>>> This series contains patches to add support for LoadFile2 protocol to load
>>> initrd on EFI systems. Also it contains patches to load Linux kernel with EFI
>>> stub on riscv platforms and unites arm and riscv codes together into common
>>> loader code for EFI systems.
>>
>> That doesn't work with a CD image.  When I try to run
>> http://download.opensuse.org/ports/riscv/tumbleweed/iso/openSUSE-Tumbleweed-NET-riscv64-Media.iso
>> with qemu, the initrd fails to load.
>
> Please, indicate how you built u-boot.bin.

With qemu-riscv64_smode_defconfig.

>> $ qemu-system-riscv64 -M virt -nographic -serial mon:stdio -smp 4 -m 8g -kernel u-boot.bin -drive format=raw,if=virtio,media=cdrom,file=openSUSE-Tumbleweed-NET-riscv64-Media.iso
>
> This command results in an error
>
> qemu-system-riscv64: warning:
> No -bios option specified. Not loading a firmware.

Looks like you use an old qemu.  Nowadays it automatically loads opensbi
as firmware.

> Please, provide a repo with the GRUB code you have been compiling.

https://build.opensuse.org/package/show/openSUSE:Factory:RISCV/grub2

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."


  reply	other threads:[~2021-06-27 22:07 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-02 21:12 [PATCH v2 0/7] Add LoadFile2 and riscv Linux loader Nikita Ermakov
2021-06-02 21:12 ` [PATCH v2 1/7] loader: drop argv[] argument in grub_initrd_load() Nikita Ermakov
2021-06-02 21:12 ` [PATCH v2 2/7] efi: add definition of LoadFile2 protocol Nikita Ermakov
2021-06-02 21:12 ` [PATCH v2 3/7] efi: implemented LoadFile2 initrd loading protocol for Linux Nikita Ermakov
2021-09-23 12:18   ` Andreas Schwab
2021-10-05  9:45     ` Heinrich Schuchardt
2021-10-05 10:05       ` Andreas Schwab
2021-10-05 14:57         ` Heinrich Schuchardt
2021-10-05 15:07           ` Andreas Schwab
2021-10-05 15:30           ` Andreas Schwab
2021-10-06  7:58             ` Heinrich Schuchardt
2021-10-08 17:39               ` Heinrich Schuchardt
2021-06-02 21:12 ` [PATCH v2 4/7] linux: ignore FDT unless we need to modify it Nikita Ermakov
2021-06-02 21:12 ` [PATCH v2 5/7] loader: Move arm64 linux loader to common code Nikita Ermakov
2021-06-02 21:12 ` [PATCH v2 6/7] RISC-V: Update image header Nikita Ermakov
2021-06-02 21:12 ` [PATCH v2 7/7] RISC-V: Use common linux loader Nikita Ermakov
2021-06-26 18:07 ` [PATCH v2 0/7] Add LoadFile2 and riscv Linux loader Andreas Schwab
2021-06-27 21:01   ` Heinrich Schuchardt
2021-06-27 22:07     ` Andreas Schwab [this message]
2021-06-29 13:44       ` Heinrich Schuchardt
2021-10-08 17:34         ` Heinrich Schuchardt
2021-06-28 21:24     ` Heinrich Schuchardt
2021-06-29 19:13       ` Atish Patra
2021-06-30  7:26         ` Ard Biesheuvel
2021-07-02 18:48           ` Atish Patra
2021-08-27 16:22 ` Atish Patra
2021-08-27 16:29   ` Fu Wei
2021-08-28 12:21     ` Nikita Ermakov
2021-08-29  2:30       ` Fu Wei
2021-08-29 12:44         ` Nikita Ermakov
2021-08-30  1:43           ` Heinrich Schuchardt
2021-10-08 17:46 ` Heinrich Schuchardt
2021-10-14 18:49   ` Daniel Kiper
2021-10-16 13:39     ` Nikita Ermakov
2021-10-18  9:27       ` Heinrich Schuchardt
2021-10-18 18:04         ` Daniel Kiper

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=87sg13c67o.fsf@igel.home \
    --to=schwab@linux-m68k.org \
    --cc=Atish.Patra@wdc.com \
    --cc=ard.biesheuvel@arm.com \
    --cc=arei@altlinux.org \
    --cc=dkiper@net-space.pl \
    --cc=grub-devel@gnu.org \
    --cc=ilias.apalodimas@linaro.org \
    --cc=leif.lindholm@linaro.org \
    --cc=xypron.glpk@gmx.de \
    /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.