王朴, 周晴. 基于龙芯1E的嵌入式Linux实时性的优化与可靠性设计[J]. 微电子学与计算机, 2019, 36(11): 11-15.
引用本文: 王朴, 周晴. 基于龙芯1E的嵌入式Linux实时性的优化与可靠性设计[J]. 微电子学与计算机, 2019, 36(11): 11-15.
WANG Pu, ZHOU Qing. Real-time optimization and reliability Realization of embedded Linux based on Loonson 1E[J]. Microelectronics & Computer, 2019, 36(11): 11-15.
Citation: WANG Pu, ZHOU Qing. Real-time optimization and reliability Realization of embedded Linux based on Loonson 1E[J]. Microelectronics & Computer, 2019, 36(11): 11-15.

基于龙芯1E的嵌入式Linux实时性的优化与可靠性设计

Real-time optimization and reliability Realization of embedded Linux based on Loonson 1E

  • 摘要: 为了满足航天领域对嵌入式操作系统实时性需求, 采用实时抢占补丁的方法来优化Linux系统的实时性, 并对移植了RT-preempt Linux系统的龙芯1E平台进行实时性测试, 分别测试了系统进程切换上下文时间、中断响应时间、中断恢复时间以及系统延时.结果表明实时抢占补丁能满足航天任务对操作系统实时性的需求.为了实现航天领域对嵌入式操作系统的可靠性, 通过为每个异常设计异常处理策略对MIPS CPU的异常处理机制进行优化, 最后通过对典型的异常处理程序进行测试, 验证了该方法的有效性.

     

    Abstract: In order to meet the real-time requirements of the embedded operating system in the aerospace field, the RT-preempt patch method is adopted to optimize the real-time performance of the Linux system, and test the real-time performance of the Loongson 1E platform transplanted with the RT-preempt Linux system. The system process switching context time, interrupt response time, interrupt recovery time, and system delay are tested separately. The results show that the RT-preempt patch can meet the real-time requirements of the aerospace mission. In order to realize the reliability of the embedded operating system in the aerospace field, the exception handling mechanism of the MIPS CPU is optimized by designing an exception handling strategy for each exception. Finally, the effectiveness of the method is verified by testing typical exception handling procedures.

     

/

返回文章
返回