On 2024/3/25 下午5:25, xianglai wrote:
From: Bibo Mao
Temparory stack memory on PEI is hardcoded now, also minimium memory
size 256M is hardcoded now. Here memory map table from fw cfg can be
parsed. If there is memory map entry contains pei stack, it can be
published as usable memory at PEI s
On 2024/1/5 下午5:45, Chao Li wrote:
Add a CPU timer driver named StableTimerDxe, which proviedes
EFI_TIMER_ARCH_PROTOCOL for LoongArch.
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4584
Cc: Ard Biesheuvel
Cc: Jiewen Yao
Cc: Jordan Justen
Cc: Gerd Hoffmann
Cc: Bibo Mao
Cc: Dongyan Q
On 2024/1/10 上午10:47, Chao Li wrote:
Hi Bibo,
Thanks,
Chao
On 2024/1/10 09:24, maobibo wrote:
On 2024/1/5 下午5:45, Chao Li wrote:
This Library is used to collect APs resources, but is currently NULL
for OvmfPkg, because it is not used by the LoongArch virtual machine.
BZ: https
On 2024/1/5 下午5:46, Chao Li wrote:
Add self introduction file for LoongArch virtual machine.
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4584
Cc: Ard Biesheuvel
Cc: Jiewen Yao
Cc: Jordan Justen
Cc: Gerd Hoffmann
Cc: Bibo Mao
Cc: Dongyan Qian
Signed-off-by: Chao Li
---
OvmfPkg
On 2024/1/5 下午5:46, Chao Li wrote:
Add infrastructure files to build edk2 for LoongArch QEMU virtual
machine.
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4584
Cc: Ard Biesheuvel
Cc: Jiewen Yao
Cc: Jordan Justen
Cc: Gerd Hoffmann
Cc: Bibo Mao
Cc: Dongyan Qian
Signed-off-by: Chao
On 2024/1/5 下午5:46, Chao Li wrote:
This library for PEI phase, and obtains the QemuFwCfg base address by
directly parsing the FDT, reads and writes the data in QemuFwCfg by
operating on the QemuFwCfg base address.
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4584
Cc: Ard Biesheuvel
Cc
On 2024/1/5 下午5:46, Chao Li wrote:
Add NorFlashQemuLib for LoongArch, it is referenced from ArmVirtPkg.
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4584
Cc: Ard Biesheuvel
Cc: Jiewen Yao
Cc: Jordan Justen
Cc: Gerd Hoffmann
Cc: Bibo Mao
Cc: Dongyan Qian
Signed-off-by: Chao Li
Co
On 2024/1/5 下午5:45, Chao Li wrote:
Add a early serial port output library into LoongArchVirt that named
EarlyFdtSerialPortLib16550, this library is referenced from
MdeModulePkg.
This library is used in the PEI phase. Since the serial port address can
not be saved in memory of the LoongArch QE
On 2024/1/5 下午5:45, Chao Li wrote:
This Library is used to collect APs resources, but is currently NULL
for OvmfPkg, because it is not used by the LoongArch virtual machine.
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4584
Cc: Ard Biesheuvel
Cc: Jiewen Yao
Cc: Jordan Justen
Cc: Ger
On 2024/1/5 下午5:46, Chao Li wrote:
Add SEC code for LoongArch virtual machine.
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4584
Cc: Ard Biesheuvel
Cc: Jiewen Yao
Cc: Jordan Justen
Cc: Gerd Hoffmann
Cc: Bibo Mao
Cc: Dongyan Qian
Signed-off-by: Chao Li
Co-authored-by: Xianglai Li
On 2023/12/28 下午6:07, Chao Li wrote:
Add SEC code for LoongArch virtual machine.
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4584
Cc: Ard Biesheuvel
Cc: Jiewen Yao
Cc: Jordan Justen
Cc: Gerd Hoffmann
Signed-off-by: Chao Li
Co-authored-by: Xianglai Li
Co-authored-by: Bibo Mao
--
On 2023/12/28 下午6:07, Chao Li wrote:
This library provides interface related to restart and shudown the
LoongArch64 virtual machine.
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4584
Cc: Ard Biesheuvel
Cc: Jiewen Yao
Cc: Jordan Justen
Cc: Gerd Hoffmann
Signed-off-by: Chao Li
Co-au
On 2023/12/28 下午6:07, Chao Li wrote:
This library is provides real time clock for LoongArch virtual machine.
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4584
Cc: Ard Biesheuvel
Cc: Jiewen Yao
Cc: Jordan Justen
Cc: Gerd Hoffmann
Signed-off-by: Chao Li
Co-authored-by: Baoqi Zhang
On 2023/12/28 下午6:07, Chao Li wrote:
Add a serial port hook library in LoongArchVirt named
Fdt16550SerialProtHookLib, this library is referenced from ArmVirtPkg.
LoongArch QEMU virtual machine uses register of LOONGARCH_CSR_KS1 to
transfer serial port base addres from the PEI phase to the DXE
On 2023/12/28 下午6:07, Chao Li wrote:
Platfrom PEI module for LoongArch platfrom initialization.
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4584
Cc: Ard Biesheuvel
Cc: Jiewen Yao
Cc: Jordan Justen
Cc: Gerd Hoffmann
Signed-off-by: Chao Li
Co-authored-by: Xianglai Li
Co-authored-b
on the actual and virtual machines to
ensure it works right.
If so, it is ok for me-:)
Regards
Bibo Mao
Thanks,
Chao
在 2023/11/3 15:51, maobibo 写道:
On 2023/11/3 下午3:08, Chao Li wrote:
Hi Ray,
Thanks for review.
I think the MpInitLib is necessary, because this library will serve
PEI and
On 2023/11/3 下午3:08, Chao Li wrote:
Hi Ray,
Thanks for review.
I think the MpInitLib is necessary, because this library will serve PEI
and DEX phases. In LoongArch, the MP initialization function will be
called first in the PEI phase. It will wake up all of AP, collect
accurate online c
在 2023/5/11 09:33, xianglai li 写道:
> Default page size is 16K for loongarch qemu tcg code section
> separated with data section with 16K page alignment,
> And data write operation in the same page with code section
> will cause qemu TB flush.
Xianglai,
Could you add more data supporting? such a
the loongarch firmware gcc
> throws errors:
>
> loongarch64-linux-gnu-gcc: error: unrecognized command-line option
> ‘-mno-explicit-reloc
what is your option about this issue?
Regards
Bibo, Mao
在 2023/4/1 13:11, maobibo 写道:
>
>
> On 2023/3/31 20:12, Gerd Hoffmann wrote:
>>
在 2023/1/4 11:10, xianglai li 写道:
> 1.Open the NULL pointer protection policy.
> 2.Fixed the bug of converting huge page to page entry.
> 3.Adjust the access level of page entry.
> 4.Optimize the existence of page entry judgment functions.
Can we split the patch into 4 small patches? All the fi
在 2023/1/4 11:10, xianglai li 写道:
> Add pflash driver for loongarch.
>
> Cc: Ard Biesheuvel
> Cc: Bibo Mao
> Cc: Chao Li
> Cc: Leif Lindholm
> Cc: Liming Gao
> Cc: Michael D Kinney
> Signed-off-by: xianglai li
> ---
> .../Library/NorFlashQemuLib/NorFlashQemuLib.c | 138 +
Ping for reviewing, Any comments is welcome.
>From edk2 mailing list, Soft Feature Freeze start on 2022-11-07 for
>edk2-stable202211,
is edk2-platform is affected also?
And there are series of submition for Riscv ovmf supports recently, we will
adopt
the new multi-arch schemes on Loongarch virt
在 2022/10/21 15:11, xianglai li 写道:
> Read the memory map information through the QemuFwCfg interface,
> then build the page table through the memory map information,
> and finally enable Mmu.
>
> REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4054
>
> Signed-off-by: xianglai li
> ---
>
Hi xianglai,
I reply inline.
在 2022/10/21 15:11, xianglai li 写道:
> Serial Port library for LoongarchQemuPkg
>
> REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4054
>
> Signed-off-by: xianglai li
> ---
> .../LoongArchQemuPkg/Include/Library/Cpu.h| 387 +++
> .../Include/Loon
On 11/26/2021 10:24 AM, Groups.io Notification wrote:
> Hello,
>
> Thank you for your interest in the https://edk2.groups.io/g/devel group at
> Groups.io. If you did not request or do not want to join
> devel@edk2.groups.io, please ignore this message.
>
> If you only want to send and receiv
On 11/25/2021 06:38 PM, Gerd Hoffmann wrote:
> Hi,
>
>> PcdStatus = PcdSet64S (PcdFlashNvStorageVariableBase64, (UINT32)(UINTN)
>> Ptr);
>> ASSERT_RETURN_ERROR (PcdStatus);
>
> I guess you are referring to that UINT32 cast?
> Not sure why it is there. I think you can just drop it.
Yes,
Hi Gerd,
I am porting Loongarch Qemu uefi bios, and I want to use reuse ovmf code. And
I encounter one problem
when using OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.c
here is piece of code:
---
Initialize = TRUE;
if (PcdGet64 (PcdEmuVaria
27 matches
Mail list logo