diff --git a/boards/arm64/qemu/qemu-armv8a/README.txt b/boards/arm64/qemu/qemu-armv8a/README.txt index 1beb1396d5a..4e82535d6a4 100644 --- a/boards/arm64/qemu/qemu-armv8a/README.txt +++ b/boards/arm64/qemu/qemu-armv8a/README.txt @@ -71,6 +71,21 @@ Getting Started -device virtio-blk-device,bus=virtio-mmio-bus.3,drive=hd \ -mon chardev=con,mode=readline -kernel ./nuttx + 3.1.2 Single Core with virtio gpu driver (GICv3) + Configuring NuttX and compile: + $ ./tools/configure.sh qemu-armv8a:fb + $ make -j + Running with qemu + $ qemu-system-aarch64 -cpu cortex-a53 \ + -machine virt,virtualization=on,gic-version=3 \ + -chardev stdio,id=con,mux=on -serial chardev:con \ + -global virtio-mmio.force-legacy=false \ + -device virtio-gpu-device,xres=640,yres=480,bus=virtio-mmio-bus.0 \ + -mon chardev=con,mode=readline -kernel ./nuttx + + NuttShell (NSH) NuttX-10.4.0 + nsh> fb + 3.2 SMP (GICv3) Configuring NuttX and compile: $ ./tools/configure.sh -l qemu-armv8a:nsh_smp @@ -324,7 +339,7 @@ save/restore FPU context directly maybe become a solution. Linux kernel introduc kernel_neon_begin/kernel_neon_end function for this case. Similar function will be add to NuttX if this issue need to be handle. -3. More reading +3. More reading for Linux kernel, please reference: - https://www.kernel.org/doc/html/latest/arm/kernel_mode_neon.html diff --git a/boards/risc-v/qemu-rv/rv-virt/README.txt b/boards/risc-v/qemu-rv/rv-virt/README.txt index cfc3a4168d7..bf8a428250b 100644 --- a/boards/risc-v/qemu-rv/rv-virt/README.txt +++ b/boards/risc-v/qemu-rv/rv-virt/README.txt @@ -28,7 +28,7 @@ $ cd nuttx $ make distclean $ # For 64-bit build. - $ ./tools/configure.sh rv-virt:knsh64 + $ ./tools/configure.sh rv-virt:knsh64 $ # For 32-bit build. $ ./tools/configure.sh rv-virt:knsh32 $ make V=1 -j7 @@ -87,7 +87,34 @@ -device virtio-blk-device,bus=virtio-mmio-bus.3,drive=hd \ -bios none -kernel ./nuttx/nuttx -nographic -5. TODO +5. Run the virtio gpu driver with qemu and test fb demo + $ # For 32-bit build. + $ ./tools/configure.sh rv-virt:fb + $ make -j + $ qemu-system-riscv32 -semihosting -M virt -cpu rv32 -smp 8 \ + -chardev stdio,id=con,mux=on \ + -serial chardev:con \ + -device virtio-gpu-device,xres=640,yres=480,bus=virtio-mmio-bus.0 \ + -mon chardev=con,mode=readline \ + -bios none -kernel nuttx + + NuttShell (NSH) NuttX-10.4.0 + nsh> fb + + $ # For 64-bit build. + $ ./tools/configure.sh rv-virt:fb64 + $ make -j + $ qemu-system-riscv64 -semihosting -M virt -cpu rv64 -smp 8 \ + -chardev stdio,id=con,mux=on \ + -serial chardev:con \ + -device virtio-gpu-device,xres=640,yres=480,bus=virtio-mmio-bus.0 \ + -mon chardev=con,mode=readline \ + -bios none -kernel nuttx + + NuttShell (NSH) NuttX-10.4.0 + nsh> fb + +6. TODO Support FPU Support RISC-V User mode