guo cda8caeda0 Merge pull request #5180 from liukangcc/bsp 3 years ago
..
applications 740cd9dfb0 Merge AArch64 libcpu and add some drivers for their bsps 3 years ago
driver 740cd9dfb0 Merge AArch64 libcpu and add some drivers for their bsps 3 years ago
.config 7dc99c1ff4 [update] bsp .config file and rtconfig.h file. 3 years ago
Kconfig ab47a8f5af [bsp/virt64/aarch64] Fixed Kconfig GIC's select format 3 years ago
README.md 740cd9dfb0 Merge AArch64 libcpu and add some drivers for their bsps 3 years ago
README_zh.md 740cd9dfb0 Merge AArch64 libcpu and add some drivers for their bsps 3 years ago
SConscript b7dd004de0 [bsp/virt64/aarch64] Add 'qemu-virt64-aarch64' bsp 4 years ago
SConstruct b1baf42d4e Revert "Fix compiler flags issue" 3 years ago
link.lds 740cd9dfb0 Merge AArch64 libcpu and add some drivers for their bsps 3 years ago
qemu.bat 740cd9dfb0 Merge AArch64 libcpu and add some drivers for their bsps 3 years ago
qemu.sh 740cd9dfb0 Merge AArch64 libcpu and add some drivers for their bsps 3 years ago
rtconfig.h 7dc99c1ff4 [update] bsp .config file and rtconfig.h file. 3 years ago
rtconfig.py 740cd9dfb0 Merge AArch64 libcpu and add some drivers for their bsps 3 years ago

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 platform,set the RTT_EXEC_PATH is system environment after decompress the binary.

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

scons

2. Execution

The project execution tool is qemu-system-aarch64

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

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 />

3. Condition

Driver Condition Remark
UART Support UART0
VIRTIO BLK Support VIRTIO BLK0