[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[RFC PATCH v3 01/27] target/loongarch: Update README
From: |
Xiaojuan Yang |
Subject: |
[RFC PATCH v3 01/27] target/loongarch: Update README |
Date: |
Sat, 4 Dec 2021 20:06:59 +0800 |
Mainly introduce how to run the softmmu
Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn>
Signed-off-by: Song Gao <gaosong@loongson.cn>
---
target/loongarch/README | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/target/loongarch/README b/target/loongarch/README
index 09f809cf80..49c1f1575a 100644
--- a/target/loongarch/README
+++ b/target/loongarch/README
@@ -71,6 +71,26 @@
./qemu-loongarch64 /opt/clfs/usr/bin/pwd
...
+- Softmmu emulation
+
+ Add support softmmu emulation support in the following series patches.
+ Mainly emulate a virt 3A5000 board that is not exactly the same as the host.
+ Kernel code is on the github and the uefi code will be opened in the near
future.
+ All required binaries can get from github for test.
+
+ 1.Download kernel and the cross-tools.(vmlinux)
+
+ https://github.com/loongson/linux/tree/loongarch-next
+
https://github.com/loongson/build-tools/releases/latest/download/loongarch64-clfs-20210831-cross-tools.tar.xz
+
+ 2.Download the clfs-system and make a ramdisk with busybox.(ramdisk)
+
+ 3.Run with command,eg:
+
+ ./build/qemu-system-loongarch64 -m 4G -smp 4 --cpu Loongson-3A5000
--machine loongson3-ls7a -kernel ./vmlinux -initrd ./ramdisk -append
"root=/dev/ram console=ttyS0,115200 rdinit=/sbin/init loglevel=8" -monitor
tcp::4000,server,nowait -nographic
+
+The vmlinux, ramdisk and uefi binary loongarch_bios.bin can get from :
+ git clone https://github.com/yangxiaojuan-loongson/qemu-binary
- Note.
We can get the latest LoongArch documents or LoongArch tools at
https://github.com/loongson/
--
2.27.0
- [RFC PATCH v3 00/27] Add LoongArch softmmu support., Xiaojuan Yang, 2021/12/04
- [RFC PATCH v3 05/27] target/loongarch: Add stabletimer support, Xiaojuan Yang, 2021/12/04
- [RFC PATCH v3 11/27] target/loongarch: Add LoongArch interrupt and exception handle, Xiaojuan Yang, 2021/12/04
- [RFC PATCH v3 04/27] target/loongarch: Implement qmp_query_cpu_definitions(), Xiaojuan Yang, 2021/12/04
- [RFC PATCH v3 01/27] target/loongarch: Update README,
Xiaojuan Yang <=
- [RFC PATCH v3 12/27] target/loongarch: Add timer related instructions support., Xiaojuan Yang, 2021/12/04
- [RFC PATCH v3 09/27] target/loongarch: Add TLB instruction support, Xiaojuan Yang, 2021/12/04
- [RFC PATCH v3 03/27] target/loongarch: Add basic vmstate description of CPU., Xiaojuan Yang, 2021/12/04
- [RFC PATCH v3 10/27] target/loongarch: Add other core instructions support, Xiaojuan Yang, 2021/12/04
- [RFC PATCH v3 14/27] hw/pci-host: Add ls7a1000 PCIe Host bridge support for Loongson3 Platform, Xiaojuan Yang, 2021/12/04
- [RFC PATCH v3 15/27] hw/loongarch: Add support loongson3-ls7a machine type., Xiaojuan Yang, 2021/12/04