[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GRUB 2.12 release, etc.

From: Xiaotian Wu
Subject: Re: GRUB 2.12 release, etc.
Date: Fri, 1 Jul 2022 18:26:05 +0800
User-agent: Mozilla/5.0 (X11; Linux mips64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0

在 2022/6/30 下午9:12, Daniel Kiper 写道:
On Tue, Jun 14, 2022 at 11:30:47AM -0500, Glenn Washburn wrote:
On Tue, 14 Jun 2022 17:48:39 +0800
Xiaotian Wu <> wrote:

Hi Daniel.

Thank you for your release plan.

I would like to ask, can GRUB-2.12 add a new LoongArch architecture support?

LoongArch is a RISC instruction set from China. Currently, Linux-5.19
adds LoongArch CPU support and will support complete EFIStub in version

On GRUB, including 2 patch sets:

1. Add the basic support of LoongArch so that GRUB can run on the
LoongArch machine. See

2. Add the loader for kernel, but it depends on a series of patch of
Loadfile2. See

These patchs are already available, and tested on CLFS and Archlinux for

If we plan to support LoongArch in GRUB-2.12, I will update these patchs
and release the 4th version of the patch for review.
I think it would be great to have LoongArch in GRUB. It should be a hard
requirement that support for the architecture be added for the make
check tests. This will require that QEMU have support for LoongArch. It
looks like the current release of QEMU does not have support for
LoongArch, but there is a patch series[1] which adds it. I presume that
What is the status of this patch series right now? If it is in or close
by I would ask for at least minimal tests for the LoongArch support in
the GRUB.

These patchs can be worked, and I just sent the V4 version of the patch to the email list.

About the QEMU, we have maintained a branch[1] to generate qemu-system-loongarch64, but there are still some jobs that are not completed. The expected result is to add it to QEMU-7.1.

I have added related tests in the patch of the second part[2], but because the QEMU work is not completed, it cannot pass the all testcase, although it works well on the physical machine.



will get accepted at some point. I'd suggest the tests be made assuming
that (or some other patch LoongArch patch series) will get accepted.
The INSTALL file can be updated to indicate that QEMU > 7 is required,
or something like that. Also, if there's any special build requirements
those should also be noted in the INSTALL file and docs/grub*.texi
should be updated for the new arch. For example, what's the minimum GCC
version needed to compile?
Yeah, that would be nice if INSTALL file is updated too.


Grub-devel mailing list

北京市海淀区中关村环保科技示范园龙芯产业园2号楼 100095
电话: +86 (10) 62546668-1724
传真: +86 (10) 62600826
手机: +86 13120280005

reply via email to

[Prev in Thread] Current Thread [Next in Thread]