Research on RT-Thread Porting Method Based on BL602

Yuan Lei, Zhang Xinchen

Integrated Circuits and Embedded Systems ›› 2023, Vol. 23 ›› Issue (10) : 19-22.

PDF(1076 KB)
PDF(1076 KB)
Integrated Circuits and Embedded Systems ›› 2023, Vol. 23 ›› Issue (10) : 19-22.
TOPICAL DISCUSS

Research on RT-Thread Porting Method Based on BL602

Author information +
History +

Abstract

RT-Thread is an embedded real-time operating system.It is popular among embedded developers because of its easy portability and good tailoring.The BL602 chip contains a 32-bit RISC-V architecture microprocessor.BL602 chip not only has high performance,but also has the characteristics of ultra-low power consumption.However,there is no mature scheme for porting RT-Thread real-time operating system to BL602 chip.In view of this phenomenon,a detailed scheme to migrate RT-Thread to BL602 chip is presented.Migration is done by tailoring the source code,modifying the configuration file, changing the system clock,adding serial port output,and using polling or interrupt callbacks to implement serial port input.The experiment results show that the RT-Thread operating system ported to BL602 can run normally and it has a series of functions such as task management and task scheduling.The migration scheme proposed in this paper not only reduces the difficulty of BL602 development,but also improves the CPU utilization.It also provides a reference for other RTOS porting.

Key words

RT-Thread / real-time operating system porting / RISC-V / BL602

Cite this article

Download Citations
Yuan Lei , Zhang Xinchen. Research on RT-Thread Porting Method Based on BL602[J]. Integrated Circuits and Embedded Systems. 2023, 23(10): 19-22

References

[1]
董艳雪, 韩卫光. 基于多核ARM的Linux操作系统的实时性研究[J]. 小型微型计算机系统, 2017, 38(6):1262-1266.
鉴于数控系统在单核处理器上运行遇到了性能上的瓶颈,本文就采用多核处理器平台搭建数控系统时的一些实时性问题展开研究.在分析了Linux系统在实时性方面的缺陷之后,提出了通过增加实时抢占补丁来提高Linux系统实时性的方案;在此基础上探讨了进程在内核上的分配,将数控系统实时任务与特定CPU核绑定,并采用改进的DRM算法进行调度;最后以上下文切换时间和中断响应时间作为性能指标对改造后的系统进行测,验证了此方案对提高数控系统实时性的有效性.
[2]
欧阳湘臻, 朱怡安, 李联, 等. 一种安全关键的嵌入式实时操作系统内核设计[J]. 计算机工程, 2019, 45(7):78-85.
在研究ARINC-653标准的时空隔离原理基础上,设计并实现一种安全关键的嵌入式实时操作系统。采用微内核设计,通过基于Manifest的任务与分区管理、软硬件结合的分区保护及软件静态验证,提升系统可靠性与可配置性。在PowerPC平台上实现嵌入式实时操作系统内核原型并对其进行功能与性能测试,结果表明该操作系统内核功能完备,满足软硬件分区、栈溢出保护与监测、驱动故障保护等需求,且综合性能优于同类操作系统内核。
[3]
刘长勇, 王宜怀, 彭涛, 等. 实时操作系统mbedOS的移植方法[J]. 计算机系统应用, 2020, 29(5):117-122.
[4]
赵剑川, 赵静, 欧启标, 等. 实时操作系统RT-Thread启动流程剖析[J]. 单片机与嵌入式系统应用, 2022, 22(6):22-25.
[5]
王兆滨, 韩鹏程. MSP432的RT-Thread操作系统移植[J]. 单片机与嵌入式系统应用, 2021, 21(5):39-42.
[6]
张伟, 刘斌, 董群锋. 基于S3C2410上U-BOOT的移植与实现[J]. 计算机系统应用, 2014, 23(9):204-207.
[7]
张翔, 杨东升. 基于STM32的mbedOS移植与低功耗研究[J]. 小型微型计算机系统, 2020, 41(3):564-568.
mbed OS是ARM公司新推出的物联网嵌入式系统,它提供了高效开发物联网产品所需的所有功能,开发流程简单、应用广泛.为满足物联网硬件及能耗的需求,本文提出了以基于STM32上的mbed OS移植方案,突破了mbed OS所适用芯片的局限性,对mbed OS的低功耗模式进行了研究,提出了优化功耗的可行性策略,同时针对mbed OS未涉及的看门狗功能,设计了一种在该系统下的实现方案并提出了低功耗模式下的运行策略,通过能耗测量实验证实了mbed OS功耗性能可观.
[8]
季志均, 马文丽, 陈虎, 等. 四种嵌入式实时操作系统关键技术分析[J]. 计算机应用研究, 2005(9):4-8.
[9]
陈瑞雪, 王宜怀, 王庭琛. 实时操作系统RT-Thread启动流程剖析[J]. 现代电子技术, 2022, 45(12):36-42.
PDF(1076 KB)

Accesses

Citation

Detail

Sections
Recommended

/