在2024年9月23日九月 下午1:34,gaosong写道:
> 在 2024/9/14 下午8:10, Jiaxun Yang 写道:
>> Hi all,
>>
>> This series refactored booting protocol generation code
>> to better accommodate different host ABI / Alignment and
>> endianess.
>>
>> It also enhanced LoongArch32 support.
> Hi,
>
> I tested LoongArch64 and it works well.
>
> But how to test LoongArch32? Could you provide an example?
I have a W.I.P. LoonngArch 32 kernel tree[1] that can boot in QEMU,
but it still requires many other fixes in QEMU TCG.
32-bit stuff is just a bonus to this series and the main motivation
is to improve booting protocol quality.
Thanks
[1]: https://github.com/FlyGoat/linux/tree/b4/la32
>
> Thanks.
> Song Gao
>> Thanks
>>
>> Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com>
>> ---
>> Jiaxun Yang (2):
>> hw/loongarch/boot: Refactor EFI booting protocol generation
>> hw/loongarch/boot: Rework boot code generation
>>
>> hw/loongarch/boot.c | 321
>> ++++++++++++++++++++++++++++----------------
>> include/hw/loongarch/boot.h | 106 ++++++++++++---
>> 2 files changed, 293 insertions(+), 134 deletions(-)
>> ---
>> base-commit: 28ae3179fc52d2e4d870b635c4a412aab99759e7
>> change-id: 20240914-loongarch-booting-b5ae3f4976b7
>>
>> Best regards,
--
- Jiaxun