[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v1 0/6] Support booting bios and kernel for LoongArch
From: |
Xiaojuan Yang |
Subject: |
[PATCH v1 0/6] Support booting bios and kernel for LoongArch |
Date: |
Tue, 12 Jul 2022 16:32:00 +0800 |
This series add some new funcitons for LoongArch virt machine.
Support loading uefi bios and linux kernel to boot system, and
add fw_cfg table, smbios table, acpi table, fdt table to transmit
information for the system.
We could get the uefi bios and linux kernel file by this address:
The kernel file:
* https://github.com/loongson/linux/tree/loongarch-next
The bios file:
* https://github.com/loongson/edk2
* https://github.com/loongson/edk2-platforms
Xiaojuan Yang (6):
hw/loongarch: Add fw_cfg table support
hw/loongarch: Add uefi bios loading support
hw/loongarch: Add linux kernel booting support
hw/loongarch: Add smbios support
hw/loongarch: Add acpi ged support
hw/loongarch: Add fdt support
hw/loongarch/Kconfig | 3 +
hw/loongarch/acpi-build.c | 609 ++++++++++++++++++++++++++++++++++++
hw/loongarch/fw_cfg.c | 33 ++
hw/loongarch/fw_cfg.h | 15 +
hw/loongarch/loongson3.c | 439 ++++++++++++++++++++++++--
hw/loongarch/meson.build | 4 +
include/hw/loongarch/virt.h | 25 ++
include/hw/pci-host/ls7a.h | 4 +
target/loongarch/cpu.c | 1 +
target/loongarch/cpu.h | 3 +
10 files changed, 1117 insertions(+), 19 deletions(-)
create mode 100644 hw/loongarch/acpi-build.c
create mode 100644 hw/loongarch/fw_cfg.c
create mode 100644 hw/loongarch/fw_cfg.h
--
2.31.1
- [PATCH v1 0/6] Support booting bios and kernel for LoongArch,
Xiaojuan Yang <=