基于国产服务器的国产Linux操作系统适配研究  被引量:5

Research on Adaptation of Domestic Linux Operating System on Domestic ARM Server

在线阅读下载全文

作  者:付志鹏 冯丹 陈红 张晓梨 FU Zhi-peng;FENG Dan;CHEN Hong;ZHANG Xiao-li(Pengcheng Laboratory,Shenzhen 518055,China)

机构地区:[1]鹏城实验室,广东深圳518055

出  处:《计算机技术与发展》2023年第4期89-95,共7页Computer Technology and Development

基  金:广东省重点领域研发计划资助(2020B010166001)。

摘  要:完成国产操作系统对国产服务器的适配是建设国产计算平台及计算生态的基础。针对国产ARM服务器的适配需求,提出国产Linux操作系统在国产ARM服务器上的适配方案,从固件适配、处理器适配以及外设适配等方面综合考虑。针对固件适配中存在直接启动和间接启动两种不同方式,分别设置不同的启动加载内容、加载路径以及启动参数。在处理器适配方面,针对GPIO驱动模块适配,通过设置IO数据传输实现流程来实现;针对GIC中断驱动模块适配,通过建立中断操作和中断源的映射关系来实现;针对内存地址随机化模块适配,采用基地址加上随机数来实现。在外设适配方面,通过网卡注册、初始化以及数据发送接收设置等一系列步骤来实现网卡适配;通过设置渲染缓冲模块中动态多缓冲区和缓冲区池数量来实现显卡适配;通过改进命令服务层,建立不同外部存储和相应命令之间的识别对应来实现外部存储适配;通过建立系统对RTC时钟读写操作流程以及增加时钟漂移系数来实现RTC时钟芯片DS1339适配。采用该方案对银河麒麟操作系统在鲲鹏服务器上的适配验证表明,该适配方案能够满足国产Linux操作系统在国产ARM服务器上的适配需求。Completing the adaptation of domestic operating system to domestic server is the basis for the development of domestic computing platform and computing ecology.For the adaptation to domestic ARM server,we present an adaptation scheme of domestic Linux operating system,comprehensively considering the adaptation of firmware,processor and external devices.As the adapted firmware includes the direct startup mode and the indirect startup mode,we present different setting methods for content loading,loading directory and startup parameters.In terms of processor adaptation,the GPIO driver module is adapted by setting an IO data transmission implementation workflow;the GIC interrupt driver module is adapted by establishing a mapping table between interrupts and interrupt sources;the memory address randomization module is adapted by combining the base address and a randomized number.For the adaptation of external devices,the network card is adapted by establishing a workflow of network card registration,initialization,and settings of sending and receiving data;the graphics card is adapted by setting the dynamic multiple buffer and the number of buffer pools in the render buffer module;the storage is adapted by improving a command service layer to establish the corresponding identification between different types of storage and their commands;the DS1339 RTC chip is adapted by setting a read/write workflow for the system time and adding a clock drifting quotient.An adaptation test of the Kylin operating system on Kunpeng server shows that this adaptation scheme can meet the adaptation requirements of domestic Linux operating system on domestic ARM server.

关 键 词:国产 服务器 操作系统 适配 计算平台 计算生态 

分 类 号:TP311.54[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象