On 2026-10-16T06:54:41, Yao Zi <[email protected]> wrote: > board: emulation: Add qemu-loongarch > > Yet another generic QEMU VIRT machine. > > LoongArch QEMU splits the main RAM into two parts: the first 512M is > placed at 0x0, and the rest is placed at 0x8000000. FDT locates at > 0x100000. BIOS is mapped to the first flash mapped to 0x1c000000, where > U-Boot starts execution. > > Signed-off-by: Jiaxun Yang <[email protected]> > Signed-off-by: Yao Zi <[email protected]> > > arch/loongarch/Kconfig | 4 ++ > board/emulation/qemu-loongarch/Kconfig | 68 > +++++++++++++++++++++++ > board/emulation/qemu-loongarch/MAINTAINERS | 9 +++ > board/emulation/qemu-loongarch/Makefile | 6 ++ > board/emulation/qemu-loongarch/qemu-loongarch.c | 67 ++++++++++++++++++++++ > board/emulation/qemu-loongarch/qemu-loongarch.env | 5 ++ > configs/qemu-loongarch64_defconfig | 35 ++++++++++++ > doc/board/emulation/index.rst | 1 + > doc/board/emulation/qemu-loongarch.rst | 39 +++++++++++++ > include/configs/qemu-loongarch.h | 17 ++++++ > 10 files changed, 251 insertions(+)
Reviewed-by: Simon Glass <[email protected]>
