Skip to content

Commit b5cd889

Browse files
IkerGalardimidnightveil
authored andcommitted
docs: add qemu_virt_aarch64_el1 to manual
Platform information was missing on the manual. Signed-off-by: IkerGalardi <contacto.ikergalardi@gmail.com>
1 parent 0eb5c5f commit b5cd889

1 file changed

Lines changed: 28 additions & 3 deletions

File tree

docs/manual.md

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1111,6 +1111,7 @@ The currently supported platforms are:
11111111
* odroidc2
11121112
* odroidc4
11131113
* qemu_virt_aarch64
1114+
* qemu_virt_aarch64_el1
11141115
* qemu_virt_riscv64
11151116
* rockpro64
11161117
* rock3b
@@ -1290,9 +1291,9 @@ you can load the image and DTB at another address.
12901291

12911292
## QEMU virt (AArch64) {#qemu_virt_aarch64}
12921293

1293-
Support is available for the virtual AArch64 QEMU platform. This is a platform that is not based
1294-
on any specific SoC or hardware platform and is intended for simulating systems for
1295-
development or testing.
1294+
Support is available for the virtual AArch64 QEMU platform running in EL2. This is a
1295+
platform that is not based on any specific SoC or hardware platform and is intended for simulating
1296+
systems for development or testing.
12961297

12971298
It should be noted that the platform support is configured with 2GB of main memory and the
12981299
Cortex-A53 CPU. seL4 needs to know the memory layout and CPU at build-time so if
@@ -1311,6 +1312,30 @@ You can use the following command to simulate a Microkit system:
13111312

13121313
When using the [SMP configurations](#multicore_config) add the `-smp 4` argument to the QEMU command.
13131314

1315+
## QEMU virt (AArch64) in EL1 {#qemu_virt_aarch64_el1}
1316+
1317+
Support is available for the virtual AArch64 QEMU platform running in EL1. This is a platform that
1318+
is not based on any specific SoC or hardware platform and is intended for simulating systems for
1319+
development or testing. This platform differs from the standard QEMU virt platform in that seL4 runs
1320+
in EL1, making it usable on KVM based virtual machines.
1321+
1322+
It should be noted that the platform support is configured with 2GB of main memory and the
1323+
Cortex-A53 CPU. seL4 needs to know the memory layout and CPU at build-time so if
1324+
you want to change these parameters (e.g to allow more memory), you will have to change the kernel
1325+
options for `qemu_virt_aarch64_el1` in `build_sdk.py`.
1326+
1327+
You can use the following command to simulate a Microkit system:
1328+
1329+
$ qemu-system-aarch64 \
1330+
-machine virt \
1331+
-cpu cortex-a53 \
1332+
-nographic \
1333+
-serial mon:stdio \
1334+
-device loader,file=[SYSTEM IMAGE],addr=0x70000000,cpu-num=0 \
1335+
-m size=2G
1336+
1337+
When using the [SMP configurations](#multicore_config) add the `-smp 4` argument to the QEMU command.
1338+
13141339
You can find more about the QEMU virt platform in the
13151340
[QEMU documentation](https://www.qemu.org/docs/master/system/target-arm.html).
13161341

0 commit comments

Comments
 (0)