[1]付志鹏,冯 丹,陈 红,等.基于国产服务器的国产 Linux 操作系统适配研究[J].计算机技术与发展,2023,33(04):89-95.[doi:10. 3969 / j. issn. 1673-629X. 2023. 04. 013]
 FU Zhi-peng,FENG Dan,CHEN Hong,et al.Research on Adaptation of Domestic Linux Operating System on Domestic ARM Server[J].,2023,33(04):89-95.[doi:10. 3969 / j. issn. 1673-629X. 2023. 04. 013]
点击复制

基于国产服务器的国产 Linux 操作系统适配研究()
分享到:

《计算机技术与发展》[ISSN:1006-6977/CN:61-1281/TN]

卷:
33
期数:
2023年04期
页码:
89-95
栏目:
软件技术与工程
出版日期:
2023-04-10

文章信息/Info

Title:
Research on Adaptation of Domestic Linux Operating System on Domestic ARM Server
文章编号:
1673-629X(2023)04-0089-07
作者:
付志鹏冯 丹陈 红张晓梨
鹏城实验室,广东 深圳 518055
Author(s):
FU Zhi-pengFENG DanCHEN HongZHANG Xiao-li
Pengcheng Laboratory,Shenzhen 518055,China
关键词:
国产服务器操作系统适配计算平台计算生态
Keywords:
domesticationserveroperating systemadaptationcomputing platformcomputing ecology
分类号:
TP311. 54
DOI:
10. 3969 / j. issn. 1673-629X. 2023. 04. 013
摘要:
完成国产操作系统对国产服务器的适配是建设国产计算平台及计算生态的基础。 针对国产 ARM 服务器的适配需求,提出国产 Linux 操作系统在国产 ARM 服务器上的适配方案,从固件适配、处理器适配以及外设适配等方面综合考虑。 针对固件适配中存在直接启动和间接启动两种不同方式,分别设置不同的启动加载内容、加载路径以及启动参数。在处理器适配方面,针对 GPIO 驱动模块适配,通过设置 IO 数据传输实现流程来实现;针对 GIC 中断驱动模块适配,通过建立中断操作和中断源的映射关系来实现;针对内存地址随机化模块适配,采用基地址加上随机数来实现。 在外设适配方面,通过网卡注册、初始化以及数据发送接收设置等一系列步骤来实现网卡适配;通过设置渲染缓冲模块中动态多缓冲区和缓冲区池数量来实现显卡适配;通过改进命令服务层,建立不同外部存储和相应命令之间的识别对应来实现外部存储适配;通过建立系统对 RTC 时钟读写操作流程以及增加时钟漂移系数来实现 RTC 时钟芯片 DS1339 适配。 采用该方案对银河麒麟操作系统在鲲鹏服务器上的适配验证表明,该适配方案能够满足国产 Linux 操作系统在国产 ARM 服务器上的适配需求。
Abstract:
Completing the adaptation of domestic operating system to domestic server is the basis for the development?
of domesticcomputing platform and computing ecology. For the adaptation to domestic ARM server,we present an adaptation scheme of domesticLinux operating system,comprehensively considering the adaptation of firmware,processor and external devices. As the adapted firmwareincludes the direct startup mode and the indirect startup mode,we present different setting methods for content loading,loading directoryand startup parameters. In terms of processor adaptation, the GPIO driver module is adapted by setting an IO data transmissionimplementation workflow; the GIC interrupt driver module is adapted by establishing a mapping table between interrupts and interruptsources; the memory address randomization module is adapted by combining the base address and a randomized number. For theadaptation of external devices,the network?
card is adapted by establishing a workflow of network card registration, initialization, andsettings of sending?
and receiving data; the graphics card is adapted by setting the dynamic multiple buffer and the number of buffer poolsin the render buffer module; the storage is adapted by improving a command service layer to establish the corresponding identificationbetween different types of storage and their commands; the DS1339 RTC chip is adapted by setting a read / write workflow for the systemtime and adding a clock drifting quotient. An adaptation test of the Kylin operating system on Kunpeng server shows that this adaptationscheme can meet the adaptation requirements of domestic Linux operating system on domestic ARM server.

相似文献/References:

[1]张步忠 张玉州 江伟.针对中小企业的一个信息化应用方案[J].计算机技术与发展,2007,(12):194.
 ZHANG Bu-zhong,ZHANG Yu-zhou,JIANG Wei.An Applied Scheme for Small- Medium Enterprise Informationization[J].,2007,(04):194.
[2]胡萍 陈志鹏.基于线程池的高性能服务器软件的设计和实现[J].计算机技术与发展,2006,(08):49.
 HU Ping,CHEN Zhi-peng.Design and Realization of Software of High - Performance Server Based on Thread Pool Technology[J].,2006,(04):49.
[3]刘晓萍 曹纪东 胡湘华 刘利 黄双临 马民.服务器高精度时间同步技术研究[J].计算机技术与发展,2012,(02):69.
 LIU Xiao-ping,CAO Ji-dong,HU Xiang-hua,et al.Method of High Precision Time Synchronism Study[J].,2012,(04):69.
[4]喻波,胡怀湘.MR-IOV:下一代数据中心I/O虚拟化技术[J].计算机技术与发展,2013,(10):91.
 YU Bo,HU Huai-xiang.MR-IOV:I/O Virtualization Technology for Next Generation Data Center[J].,2013,(04):91.
[5]张利利,文治洪,马进,等. 基于WiFi的移动心理测评系统的设计与实现[J].计算机技术与发展,2015,25(03):206.
 ZHANG Li-li,WEN Zhi-hong,MA Jin,et al. Design and Implementation of Psychology Measurement System in Android Mobile Devices Based on WiFi[J].,2015,25(04):206.
[6]赵 哲,谭海波,赵 赫,等.基于Zabbix 的网络监控系统[J].计算机技术与发展,2018,28(01):144.[doi:10.3969/ j. issn.1673-629X.2018.01.031]
 ZHAO Zhe,TAN Hai-bo,ZHAO He,et al.Network Monitoring System Based on Zabbix[J].,2018,28(04):144.[doi:10.3969/ j. issn.1673-629X.2018.01.031]
[7]吉利,潘林云,刘姚. 线程池技术在网络服务器中的应用[J].计算机技术与发展,2017,27(08):149.
 JI Li,PAN Lin-yun,LIU Yao. Application of Thread Pool Technique in Network Server[J].,2017,27(04):149.
[8]姜志峰,云中华,朱利娟,等.基于CSMA/ CD 改进的混合 RFID 防碰撞算法[J].计算机技术与发展,2018,28(03):78.[doi:10.3969/ j. issn.1673-629X.2018.03.016]
 JIANG Zhi-feng,YUN Zhong-hua,ZHU Li-juan,et al.An Improved Hybrid RFID Anti-collision Algorithm Based on CSMA/ CD[J].,2018,28(04):78.[doi:10.3969/ j. issn.1673-629X.2018.03.016]
[9]甘绪桐,张厚武,何勇,等.一种智能环境监测系统的设计与实现[J].计算机技术与发展,2018,28(07):200.[doi:10.3969/ j. issn.1673-629X.2018.07.043]
 GAN Xu-tong,ZHANG Hou-wu,HE Yong,et al.Design and Realization of an Intelligent Environmental Monitoring System[J].,2018,28(04):200.[doi:10.3969/ j. issn.1673-629X.2018.07.043]
[10]马小鹏,聂本明,杭平平.国产 FPGA 在存储刀片中的应用验证与设计实现[J].计算机技术与发展,2022,32(01):117.[doi:10. 3969 / j. issn. 1673-629X. 2022. 01. 020]
 MA Xiao-peng,NIE Ben-ming,HANG Ping-ping.Application Verification and Design Realization of DomesticFPGA in Storage Blade[J].,2022,32(04):117.[doi:10. 3969 / j. issn. 1673-629X. 2022. 01. 020]

更新日期/Last Update: 2023-04-10