rt-thread-official/bsp/qemu-virt64-aarch64
Yang sheng eb2fc60207
[bsp] Make all warnings into errors with qemu-vexpress-a9 qemu-virt64… (#5785)
* [bsp] Make all warnings into errors with qemu-vexpress-a9 qemu-virt64-aarch64 and stm32f411-st-nucleo.
* [RTC] Fix compile errors
2022-04-09 00:39:00 +08:00
..
applications Merge AArch64 libcpu and add some drivers for their bsps 2021-09-26 15:01:59 +08:00
driver [libcpu/aarch64] add gicv3 support and bsp/rockchip/rk3568 (#5722) 2022-03-29 11:08:25 +08:00
.config [bsp] Update all projects. 2022-03-29 19:28:06 +08:00
Kconfig [libcpu/aarch64] add gtimer frq set and stack align (#5642) 2022-03-07 22:41:56 +08:00
README.md [libcpu/aarch64] add gicv3 support and bsp/rockchip/rk3568 (#5722) 2022-03-29 11:08:25 +08:00
README_zh.md [libcpu/aarch64] add gicv3 support and bsp/rockchip/rk3568 (#5722) 2022-03-29 11:08:25 +08:00
SConscript [bsp/virt64/aarch64] Add 'qemu-virt64-aarch64' bsp 2021-08-06 18:35:58 +08:00
SConstruct [update] CFLAGS 2021-12-17 14:28:40 +08:00
link.lds fixup .bss size define in link.lds and set spsel=1 in aarch64 2021-11-30 11:14:17 +08:00
qemu.bat [libcpu/aarch64] add gicv3 support and bsp/rockchip/rk3568 (#5722) 2022-03-29 11:08:25 +08:00
qemu.sh [libcpu/aarch64] add gicv3 support and bsp/rockchip/rk3568 (#5722) 2022-03-29 11:08:25 +08:00
rtconfig.h [bsp] Update all projects. 2022-03-29 19:28:06 +08:00
rtconfig.py [bsp] Make all warnings into errors with qemu-vexpress-a9 qemu-virt64… (#5785) 2022-04-09 00:39:00 +08:00

README.md

QEMU/AArch64 VIRT BSP Introduction

中文页 | English

1. Introduction

The AArch64 execution state was introduced with the ARMv8 ISA for machines executing A64 instructions. This project ported RT-Thread on QEMU AArch64 VIRT machine.

2. Compiling

Usage ARM Developer GNU ToolChain, it support Linux and Windows:

https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-a/downloads/

Download the xxx-aarch64-none-elf of x86_64 hosted platformset the RTT_EXEC_PATH is system environment after decompress the binary.

Enter directory rt-thread/bsp/qemu-virt64-aarch64 and input:

scons

3. Execution

The project execution tool is qemu-system-aarch64, the project can be configured to Cortex-A53/A57/A72, GIC supports V2/V3 version, and V2 of GIC can use 8 processors max.

Download Windows platform from website:

https://www.qemu.org/download/

On Linux platform (Ubuntu, Deepin and so on), install QEMU by apt.

sudo apt update
sudo apt install qemu-system-arm

Please fixup the exec scripts if modify the default configuration of the project. Run qemu.bat or qemu.sh in terminal:

heap: [0x40042aa0 - 0x40142aa0]

 \ | /
- RT -     Thread Operating System
 / | \     4.0.4 build Aug  6 2021
 2006 - 2021 Copyright by rt-thread team
Hi, this is RT-Thread!!
msh />

4. Condition

Driver Condition Remark
UART Support UART0
RTC Support -
VIRTIO BLK Support -