|
|
使用QEMU分析RT-Thread系统
|
Abstract:
本文基于QEMU vexpress-a9平台,搭建无需硬件的RT-Thread调试环境。通过arm-none-eabi-gdb远程连接,跟踪系统上电、MMU/页表建立、堆初始化、多任务调度、中断异常与设备驱动全过程;并对RT-Thread的初始化全流程进行分析说明。
This article is based on the QEMU vexpress-a9 platform to build a hardware-free RT-Thread debugging environment. Through the remote connection of arm-none-eabi-gdb, the entire process from system power-on, MMU/page table establishment, heap initialization, multi-task scheduling, interrupt exceptions and device drivers is tracked; and the entire initialization process of RT-Thread is analyzed and explained.
| [1] | QEMU Project. https://www.qemu.org/ |
| [2] | RT-Thread. https://www.rt-thread.org/ |
| [3] | ARM® Architecture Reference Manual. https://documentation-service.arm.com/static/5f8dacfff86e16515cdb8bb1?token= |
| [4] | 邱祎, 熊谱翔, 朱天龙. 嵌入式实时操作系统RT-Thread设计与实现[M]. 北京: 机械工业出版社, 2019. |
| [5] | 郑苗秀. RT-Thread实时操作系统内核、驱动和应用开发技术[M]. 北京: 电子工业出版社, 2019. |