[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-arch
Subject:    Re: Re: [PATCH V11 09/22] LoongArch: Add boot and setup routines
From:       李超 <lichao () loongson ! cn>
Date:       2022-05-24 12:48:49
Message-ID: 7254fade.54d5.180f61ce0ca.Coremail.lichao () loongson ! cn
[Download RAW message or body]

Hi Ruoyao,

I got a message from Huacai that you want to get the firmware that can boot this \
kernel, so what kind of machine do you have? Can you provide information on SMBIOS \
type0, type1 and type2 of the machine at hand? I think it would be better if you \
could provid the image of machine and motherboard.

Referring to Huacai, we are going create a webpage on the Github that can provide the \
firmware which can boot the new interface kernels, we will provide as many kinds of \
machine firmware as possible, including qemu firmware. I beleve it will see you soon. \
:)

Thanks,
Chao

&gt; -----原始邮件-----
&gt; 发件人: "Huacai Chen" <chenhuacai@gmail.com>
&gt; 发送时间: 2022-05-24 18:59:50 (星期二)
&gt; 收件人: "Xi Ruoyao" <xry111@xry111.site>, lichao@loongson.cn
&gt; 抄送: "Huacai Chen" <chenhuacai@loongson.cn>, "Arnd Bergmann" <arnd@arndb.de>, \
"Andy Lutomirski" <luto@kernel.org>, "Thomas Gleixner" <tglx@linutronix.de>, "Peter \
Zijlstra" <peterz@infradead.org>, "Andrew Morton" <akpm@linux-foundation.org>, "David \
Airlie" <airlied@linux.ie>, "Jonathan Corbet" <corbet@lwn.net>, "Linus Torvalds" \
<torvalds@linux-foundation.org>, linux-arch <linux-arch@vger.kernel.org>, "open \
list:DOCUMENTATION" <linux-doc@vger.kernel.org>, LKML <linux-kernel@vger.kernel.org>, \
"Xuefeng Li" <lixuefeng@loongson.cn>, "Yanteng Si" <siyanteng@loongson.cn>, "Guo Ren" \
<guoren@kernel.org>, "Xuerui Wang" <kernel@xen0n.name>, "Jiaxun Yang" \
<jiaxun.yang@flygoat.com>, "Stephen Rothwell" <sfr@canb.auug.org.au>, linux-efi \
<linux-efi@vger.kernel.org>, "Ard Biesheuvel" <ardb@kernel.org> &gt; 主题: Re: \
[PATCH V11 09/22] LoongArch: Add boot and setup routines &gt; 
&gt; Hi, Ruoyao,
&gt; 
&gt; On Tue, May 24, 2022 at 4:27 PM Xi Ruoyao <xry111@xry111.site> wrote:
&gt; &gt;
&gt; &gt; On Wed, 2022-05-18 at 17:26 +0800, Huacai Chen wrote:
&gt; &gt; &gt; Currently an existing interface between the kernel and the bootloader
&gt; &gt; &gt; is  implemented. Kernel gets 2 values from the bootloader, passed in
&gt; &gt; &gt; registers a0 and a1; a0 is an "EFI boot flag" distinguishing UEFI and
&gt; &gt; &gt; non-UEFI firmware, while a1 is a pointer to an FDT with systable,
&gt; &gt; &gt; memmap, cmdline and initrd information.
&gt; &gt;
&gt; &gt; If I understand this correctly, we can:
&gt; &gt;
&gt; &gt; - set a0 to 0
&gt; &gt; - set a1 a pointer (virtual address or physical address?) to the FDT
&gt; &gt; with these information
&gt; &gt;
&gt; &gt; in the bootloader before invoking the kernel, then it will be possible
&gt; &gt; to boot this kernel w/o firmware update?
&gt; Unfortunately, there is no released firmware for you since we recently
&gt; changed the interface again and again. :(
&gt; You can contact with Li Chao (lichao@loongson.cn), I think he can
&gt; provide help as much as possible (at least provide temporary firmwares
&gt; for developers).
&gt; We will also provide qemu-system and virtual machine's firmware as
&gt; soon as possible.
&gt; 
&gt; Huacai
&gt; 
&gt; &gt;
&gt; &gt; I'd prefer to receive a firmware update anyway, but we need an
&gt; &gt; alternative if some vendor just say "no way, our customized distro works
&gt; &gt; fine and you should use it".  (I'm not accusing LoongArch: such annoying
&gt; &gt; behavior is common among vendors of all architectures, and even worse
&gt; &gt; with x86 because they often say "just use Windoge".)
&gt; &gt; --
&gt; &gt; Xi Ruoyao <xry111@xry111.site>
&gt; &gt; School of Aerospace Science and Technology, Xidian University
</xry111@xry111.site></xry111@xry111.site></ardb@kernel.org></linux-efi@vger.kernel.or \
g></sfr@canb.auug.org.au></jiaxun.yang@flygoat.com></kernel@xen0n.name></guoren@kernel \
.org></siyanteng@loongson.cn></lixuefeng@loongson.cn></linux-kernel@vger.kernel.org></ \
linux-doc@vger.kernel.org></linux-arch@vger.kernel.org></torvalds@linux-foundation.org \
></corbet@lwn.net></airlied@linux.ie></akpm@linux-foundation.org></peterz@infradead.or \
> g></tglx@linutronix.de></luto@kernel.org></arnd@arndb.de></chenhuacai@loongson.cn></xry111@xry111.site></chenhuacai@gmail.com>
> 

本邮件及其附件含有龙芯中科的商业秘密信息,仅限于发送给上 \
地址中列出的个人或群组。禁止任何其他人以任何形式使用(包 \
但不限于全部或部分地泄露、复制或散发)本邮件及其附件中的 \
信息。如果您错收本邮件,请您立即电话或邮件通知发件人并 \
除本邮件。  This email and its attachments contain confidential information from \
Loongson Technology , which is intended only for the person or entity whose address \
is listed above. Any use of the information contained herein in any way (including, \
but not limited to, total or partial disclosure, reproduction or dissemination) by \
persons other than the intended recipient(s) is prohibited. If you receive this email \
in error, please notify the sender by phone or email immediately and delete it. 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic