From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1lxcvx-0005Bu-Nj for mharc-grub-devel@gnu.org; Sun, 27 Jun 2021 18:07:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43634) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lxcvv-0005Be-Q3 for grub-devel@gnu.org; Sun, 27 Jun 2021 18:07:19 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:55897) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lxcvr-0006O2-Or for grub-devel@gnu.org; Sun, 27 Jun 2021 18:07:17 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4GClG54P2Sz1qtQC; Mon, 28 Jun 2021 00:07:09 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4GClG529FWz1qwZZ; Mon, 28 Jun 2021 00:07:09 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id J4Hcez8zY1o1; Mon, 28 Jun 2021 00:07:07 +0200 (CEST) X-Auth-Info: a1myejfzynGWupkyJMr20q7l/7TQzliqAuOtQOe5Ap+evpqSXISQkgN8oYTalmOv Received: from igel.home (ppp-46-244-172-31.dynamic.mnet-online.de [46.244.172.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Mon, 28 Jun 2021 00:07:07 +0200 (CEST) Received: by igel.home (Postfix, from userid 1000) id 65B762C2201; Mon, 28 Jun 2021 00:07:07 +0200 (CEST) From: Andreas Schwab To: Heinrich Schuchardt Cc: Ard Biesheuvel , GRUB development mailing list , Atish Patra , Daniel Kiper , Leif Lindholm , Nikita Ermakov , Ilias Apalodimas Subject: Re: [PATCH v2 0/7] Add LoadFile2 and riscv Linux loader References: <20210602211235.377366-1-arei@altlinux.org> <8735t4lct1.fsf@igel.home> X-Yow: How do I get HOME? Date: Mon, 28 Jun 2021 00:07:07 +0200 In-Reply-To: (Heinrich Schuchardt's message of "Sun, 27 Jun 2021 23:01:45 +0200") Message-ID: <87sg13c67o.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=212.18.0.9; envelope-from=whitebox@nefkom.net; helo=mail-out.m-online.net X-Spam_score_int: -23 X-Spam_score: -2.4 X-Spam_bar: -- X-Spam_report: (-2.4 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.248, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Jun 2021 22:07:20 -0000 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."