4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-15 15:19:21 +08:00
rt-thread-official/bsp/qemu-virt64-aarch64
Man, Jianting (Meco) bb1084556f [console] 解决在没有定义RT_USING_DEVICE的情况下使用device报错的问题
* [console] 解决在没有定义RT_USING_DEVICE的情况下使用device报错的问题

* format codes

* [libc] 整理格式

* refresh projects
2022-01-09 00:20:32 +08:00
..
2022-01-08 18:24:02 +08:00
2022-01-08 18:24:02 +08:00
2022-01-08 18:24:02 +08:00
2022-01-08 18:24:02 +08:00
2022-01-08 18:24:02 +08:00
2022-01-08 18:24:02 +08:00
2021-12-17 14:28:40 +08:00

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

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
RTC Support -
VIRTIO BLK Support VIRTIO BLK0