节点文献

嵌入式开源操作系统的多处理器功能扩展及应用

The Extension and Application of Open Source Operating System Multiprocessor

【作者】 牛英香

【导师】 戴志涛;

【作者基本信息】 北京邮电大学 , 计算机科学与技术, 2013, 硕士

【摘要】 RTEMS作为一款实时嵌入式操作系统,目前广泛应用于军事,工业,科研等领域。其模块化的系统结构使得用户可以根据实际应用需要对系统进行剪裁。RTEMS支持的CPU类型较多,几乎可以支持所有支持GCC编译的处理器。Nios II嵌入式软核处理器是Altera公司推出的第二代片上可编程处理器,配以价格低廉、性能优越的FPGA器件,极大地方便了嵌入式系统的开发。具有灵活配置性特点的NiosⅡ处理器与可编程FPGA器件相结合,具有较强的系统灵活性,使得FPGA器件在现代电子设计中得到广泛的应用。调试是嵌入式系统开发的一个重要过程,设计开发GDB/GDBServer工具对RTEMS进行任务级的应用调试具有较强的实际意义。在终端设备进行三维立体图形的呈现渲染也是实际应用中比较常见的,通过设置光照参数或纹理贴图显示立体图形的材质细节是OpenGL ES的重要特点。本文分析了开源操作系统RTEMS的基本架构和MPCI多处理器通信接口层的工作原理,修改和编写多核处理器的BSP文件、相关的Makefile文件以实现对Nios II处理器的支持,编写MPCI接口层代码以完成多处理器间的通信,实现了RTEMS在Nios II多处理器上的移植。同时对该系统进行GDB/GDBServer远程调试的功能扩展,从而可对RTEMS进行任务级的应用调试。最后,论文在分析OpenGL ES图像编程的基本原理和关键技术的基础之上,设计开发OpenGL ES应用程序,实现了发光球体的显示和立方体纹理贴图效果的展示。

【Abstract】 RTEMS is a real-time embedded system, which is widely used in military, industry and scientific research etc. For its modular structure of system, the user can tailor the RTEMS system as required. RTEMS supports different kinds of CPU, it can support all sorts of CPU which supports GCC compilation. Altera launched the second generation of on-chip programmable embedded soft core processor Nios II, coordinated with low cost and cost-effective FPGA device, make the embedded system development become more convenient. Compared with dedicated hardware, configurable Nios II and programmable FPGA device features make FPGA device have great advantages of flexibility, thus FPGA device is widely used in modern electronic design. Debugging is an important process in the development of embedded system, design and develop GDB/GDBServer tools for RTEMS task-level debugging has strong practical significance. Rendering three-dimensional graphics in the terminal device has widely practical application, display texture details of3D graphics by setting the illumination parameters or texture mapping is the important characteristic of OpenGL ES.This paper analyzed the basic architecture of RTEMS open source operating system and working principle of multiprocessor communications interface, revised and wrote BSP files and related Makefile for multiprocessor to support Nios II, wrote MPCI to communicate with multiprocessor, implemented porting RTEMS to Nios II multiprocessor system. Meanwhile, the research extended GDB/GDBServer remote debugger feature to debug RTEMS task-level application. At last, on the basis of OpenGL ES principle and key technology, developed OpenGL ES applications to display luminescent sphere and cube texture mapping effect.

节点文献中: