[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 0/7] Add LoadFile2 and riscv Linux loader
From: |
Andreas Schwab |
Subject: |
Re: [PATCH v2 0/7] Add LoadFile2 and riscv Linux loader |
Date: |
Mon, 28 Jun 2021 00:07:07 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
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."
- [PATCH v2 0/7] Add LoadFile2 and riscv Linux loader, Nikita Ermakov, 2021/06/02
- [PATCH v2 1/7] loader: drop argv[] argument in grub_initrd_load(), Nikita Ermakov, 2021/06/02
- [PATCH v2 2/7] efi: add definition of LoadFile2 protocol, Nikita Ermakov, 2021/06/02
- [PATCH v2 3/7] efi: implemented LoadFile2 initrd loading protocol for Linux, Nikita Ermakov, 2021/06/02
- [PATCH v2 4/7] linux: ignore FDT unless we need to modify it, Nikita Ermakov, 2021/06/02
- [PATCH v2 6/7] RISC-V: Update image header, Nikita Ermakov, 2021/06/02
- [PATCH v2 5/7] loader: Move arm64 linux loader to common code, Nikita Ermakov, 2021/06/02
- [PATCH v2 7/7] RISC-V: Use common linux loader, Nikita Ermakov, 2021/06/02
- Re: [PATCH v2 0/7] Add LoadFile2 and riscv Linux loader, Andreas Schwab, 2021/06/26