• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

计算机工程与科学

• 高性能计算 • 上一篇    下一篇

基于龙芯宇航级芯片的BSP开发和移植

徐帅1,2,林宝军2,3,4,刘迎春2,3,赵帅3   

  1. (1.中国科学院空天信息创新研究院,北京 100094;2.中国科学院大学,北京 100094;
    3.中国科学院微小卫星创新研究院,上海201203;4.上海科技大学信息科学与技术学院,上海 201203)
  • 收稿日期:2019-09-26 修回日期:2019-11-26 出版日期:2020-04-25 发布日期:2020-04-25

Development and transplantation of BSP
based on Godson aerospace chip

XU Shuai1,2,LIN Bao-jun2,3,4,LIU Ying-chun2,3,ZHAO Shuai3   

  1. (1.Aerospace Information Research Institute,Chinese Academy of Sciences,Beijing 100094;
    2.University of Chinese Academy of Sciences,Beijing 100094;
    3.Institute of Microsatellite Innovation,Chinese Academy of Sciences,Shanghai 201203;
    4.School of Information Science and Technology,Shanghai University of Science and Technology,Shanghai 201203,China)
  • Received:2019-09-26 Revised:2019-11-26 Online:2020-04-25 Published:2020-04-25

摘要:

随着北斗三号导航卫星系统开始组网运行,星上系统对星载计算机系统提出了更快的数据传输和运算速度需求。中国科学院研制的北斗卫星采用高运算性能和高数据传输性能的星上计算机系统,其核心部件全部自主可控,即以龙芯中科公司生产的龙芯1E高性能宇航级处理器芯片为主构建的硬件环境,以实时操作系统VxWorks为软件环境。为适应龙芯中科1E系列的新型升级芯片,本文通过开发BSP和串口驱动,并在设备驱动管理上配置支持VxBus型驱动架构,实现VxWorks在新型芯片上的移植和运行,同时使驱动程序的可靠性、可移植性、独立性等性能得到有效提升。
 

关键词: BSP移植;龙芯;VxWorks, 串口驱动;VxBus

Abstract:

With the Beidou-3 global navigation satellites system starting to operate in network, the on-board system requires faster speed of data transmission and data operation for the on-board computer systems. The core components of on-board computers for Beidou-3 satellites developed by CAS are all made or autonomously controlled by China. The on-board computers adopt the Godson 1E high-performance aerospace-class processing chip produced by Godson Corporation as the main hardware environment, and the real-time operating system VxWorks as the software environment, which constitute an on-board computer system with high performance of data computing and data transmission. In order to adapt to the new Godson 1E chips, this paper not only develop Board Support Package (BSP) and serial port drivers, but also configure the VxBus-type driver architecture on device driver management, in order to realize the porting and operation of  VxWorks on the new chips. Meanwhile, the reliability, portability, and independence of the driver are effectively improved.
 

Key words: BSP transplantation, Godson, VxWorks, serial port driver, VxBus