From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1mJeji-0001y4-4W for mharc-grub-devel@gnu.org; Fri, 27 Aug 2021 12:29:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42534) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mJejg-0001vu-N0 for grub-devel@gnu.org; Fri, 27 Aug 2021 12:29:44 -0400 Received: from mail-qv1-xf30.google.com ([2607:f8b0:4864:20::f30]:41793) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mJejf-0000jU-3S for grub-devel@gnu.org; Fri, 27 Aug 2021 12:29:44 -0400 Received: by mail-qv1-xf30.google.com with SMTP id f7so4269499qvt.8 for ; Fri, 27 Aug 2021 09:29:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=OuuDUsQX9V6gBfFu2r3nKPkKqMf2pbwGmQ8sUEAAfpE=; b=d8g+SZJxAnvyAQHon83oxUr5qF4/7M5P3UHY1W3WesAG3MTidEDnglOl24/v2DNtkb EWDg+CG9CLUGnKO4Yd0lh3XgSy3EdxtHyjUFwvbMtqmudcyfSIvSlyrXU2njbOuhJvc4 pmeML55v/k0gxb9kvMTY8HX8YRNjRBrNUhv7FL08DPtm+ZGCJ4uvZWQG5vgQeOC0I45I CYeTasKixKcR2NgHiwpiN3oL7uEiZTy28eVS0DXrL1l1lAX+MUXG7030En8bOj3/YJ2B swanRFNBpLvNxlSHENTo1d5h34FE+lH8eeDv8VHdY+DePzNqulAfOUpysLJs1gF4Oniq 3x2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=OuuDUsQX9V6gBfFu2r3nKPkKqMf2pbwGmQ8sUEAAfpE=; b=r7xPuVaiHar6fK8K8F2CsjRp2fPZZgHu8ONYbfR69/ntEdQPXkOOBOhyQNb4lEpquj yGG5FEAoG49i9dOMvuQe6l3p0nyU9K/x5eNvwaV5jsJhRqeGZBxYRMTjSBTakf3Wi6Ig sYz25hmz97hSMg/RZdyYN0Ik6FAtWoxyDA+zSz9OtHqgxB6rZVIO95dGn07chukLsSK0 S/LtrCBcvDBd9Fuf4nhF0wivS6umf89A56j8aMEQiEsGgFDZVP+f9EJkoIh+FAdMss8p SKBCwqoGXBuYHDw6WOTh2JgwkrWKbSxWcx/XPmoiVSjgHSovYn4noQhW6JWyLtGTpddP odSw== X-Gm-Message-State: AOAM530Y/KZVdV8p6eM37ghjPr+zhZiTZWwq5qlQVWx20LmoHCX7HBeG 0mvOecj6Lzal2mpj3l0tnVzb0GeQNXl8mOfEHhU= X-Google-Smtp-Source: ABdhPJxuRN2GjWRiQF+klOR2jBJnxtHdhWJquCV+C/NwkabG1fJnf2o67tU1PcN7OzN89xN3ogWBn+TS9E4aU/dnyWg= X-Received: by 2002:a05:6214:20eb:: with SMTP id 11mr10614929qvk.52.1630081781443; Fri, 27 Aug 2021 09:29:41 -0700 (PDT) MIME-Version: 1.0 References: <20210602211235.377366-1-arei@altlinux.org> In-Reply-To: From: Fu Wei Date: Sat, 28 Aug 2021 00:29:30 +0800 Message-ID: Subject: Re: [PATCH v2 0/7] Add LoadFile2 and riscv Linux loader To: Atish Patra Cc: The development of GNU GRUB , Ard Biesheuvel , Atish Patra , Daniel Kiper , Heinrich Schuchardt , Leif Lindholm , Nikita Ermakov Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::f30; envelope-from=tekkamanninja@gmail.com; helo=mail-qv1-xf30.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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: Fri, 27 Aug 2021 16:29:44 -0000 Hi Atish, Great thanks for adding me the loop! I have tested this these whole patchset on Starlight board and Allwinner D1= , https://github.com/tekkamanninja/grub/tree/riscv_devel_Nikita_V2 I would be nice If you can add my Tested-by for this patchset! Tested-by: Wei Fu Atish Patra =E4=BA=8E2021=E5=B9=B48=E6=9C=8828=E6= =97=A5=E5=91=A8=E5=85=AD =E4=B8=8A=E5=8D=8812:22=E5=86=99=E9=81=93=EF=BC=9A > > On Wed, Jun 2, 2021 at 2:13 PM Nikita Ermakov wrote: > > > > Hello, > > > > This is the second version of the patch series. The patch series is alm= ost the > > same as the previous one except that the Heinrich's suggestions were > > implemented. > > > > This series contains patches to add support for LoadFile2 protocol to l= oad > > initrd on EFI systems. Also it contains patches to load Linux kernel wi= th EFI > > stub on riscv platforms and unites arm and riscv codes together into co= mmon > > loader code for EFI systems. > > + Wei Fu who tested this series on Beagleboard. > > According to Wei we do another patch to add a boot-hartid entry in the > chosen node if DTB is > loaded from grub instead of U-Boot [1]. > > [1] https://github.com/tekkamanninja/grub/commit/99c5dc1ba897e506f185eb19= d4dadc6d41937214 > > > > Ard Biesheuvel (3): > > efi: add definition of LoadFile2 protocol > > efi: implemented LoadFile2 initrd loading protocol for Linux > > linux: ignore FDT unless we need to modify it > > > > Atish Patra (3): > > loader: Move arm64 linux loader to common code > > RISC-V: Update image header > > RISC-V: Use common linux loader > > > > Nikita Ermakov (1): > > loader: drop argv[] argument in grub_initrd_load() > > > > grub-core/Makefile.core.def | 8 +- > > grub-core/commands/efi/lsefi.c | 1 + > > grub-core/loader/arm/linux.c | 2 +- > > grub-core/loader/efi/fdt.c | 7 +- > > grub-core/loader/{arm64 =3D> efi}/linux.c | 143 +++++++++++++++++++-= -- > > grub-core/loader/i386/linux.c | 2 +- > > grub-core/loader/i386/pc/linux.c | 2 +- > > grub-core/loader/i386/xen.c | 3 +- > > grub-core/loader/ia64/efi/linux.c | 2 +- > > grub-core/loader/linux.c | 4 +- > > grub-core/loader/mips/linux.c | 2 +- > > grub-core/loader/powerpc/ieee1275/linux.c | 2 +- > > grub-core/loader/riscv/linux.c | 59 --------- > > grub-core/loader/sparc64/ieee1275/linux.c | 2 +- > > include/grub/arm/linux.h | 2 +- > > include/grub/arm64/linux.h | 2 +- > > include/grub/efi/api.h | 15 +++ > > include/grub/linux.h | 2 +- > > include/grub/riscv32/linux.h | 16 +-- > > include/grub/riscv64/linux.h | 16 +-- > > 20 files changed, 185 insertions(+), 107 deletions(-) > > rename grub-core/loader/{arm64 =3D> efi}/linux.c (72%) > > delete mode 100644 grub-core/loader/riscv/linux.c > > > > -- > > 2.29.3 > > > > > > _______________________________________________ > > Grub-devel mailing list > > Grub-devel@gnu.org > > https://lists.gnu.org/mailman/listinfo/grub-devel > > > > -- > Regards, > Atish