在 2026/8/7 下午3:00, Bibo Mao 写道:
> When booting the Linux kernel without UEFI BIOS, QEMU needs to set the boot param for
> kernel. This patch adds memory boundary checking when adding boot param.
>
> Also this patch set adds bootargs and initrd in the FDT table.
>
> Bibo Mao (2):
> hw/loongarch/boot: Check memory boundary in init_boot_rom()
> hw/loongarch/virt: Add bootargs and initrd to device-tree
>
> hw/loongarch/boot.c | 68 ++++++++++++++++++++++++++++-------
> hw/loongarch/virt-fdt-build.c | 27 ++++++++++++++
> 2 files changed, 82 insertions(+), 13 deletions(-)
>
>
> base-commit: b428fe036233cbd15d37e3c027ab6ca4d3661a80
Reviewed-by: Song Gao <gaosong@loongson.cn>
Thanks.
Song Gao