基于嵌入式Linux系统的NVRAM驱动架构设计  被引量:2

NVRAM Driver Software Archtecture Design Based on Embedded Linux System

在线阅读下载全文

作  者:张拓智 孔德岐[1] 郑涛 李雪源 石杰 ZHANG Tuo zhi;KONG De qi;ZHENG Tao;LI Xue yuan;SHI Jie(Xi′an Aeronautics Computing Technique Research Institute,AVIC,Xi′an 710000,China)

机构地区:[1]航空工业西安航空计算技术研究所,陕西西安710000

出  处:《航空计算技术》2022年第3期109-111,129,共4页Aeronautical Computing Technique

基  金:航空科学基金项目资助(2020Z069031001)。

摘  要:针对嵌入式Linux系统下的NVRAM驱动如何设计和实现的问题,根据NVRAM硬件设备的特点在Linux系统下的总线设备驱动模型的基础上设计出通用的NVRAM设备驱动架构模型。并以一款常用的FM25H20芯片为例从设备树修改以及驱动实现两方面介绍了基于Linux SPI总线的NVRAM驱动模型具体设计步骤,重点分析了NVRAM驱动软件内部架构和具体的设计流程,并通过压力测试验证了驱动架构的正确性。经测试证明驱动模型严格遵守软件工程的“低耦合、高内聚”的设计原则,几乎适用于市面上所有SPI接口的NVRAM芯片,并具有良好的可移植性,能够在不修改代码的基础上移植于新的嵌入式硬件平台。Aiming at the problem of how to design and implement NVRAM driver in embedded Linux system,according to the characteristics of NVRAM hardware equipment,this paper designs a general NVRAM device driver architecture model based on the bus device driver model in Linux system.Taking a commonly used FM25H20 chip as an example,this paper introduces the specific design steps of NVRAM driver model based on Linux SPI bus from two aspects:device tree modification and driver implementation,focuses on the internal architecture and specific design process of NVRAM driver software,and verifies the correctness of the driver architecture through stress test.The test shows that the driving model strictly abides by the design principle of"low coupling and high cohesion"of software engineering,is applicable to almost all NVRAM chips with SPI interface on the market,and has good portability.It can be transplanted to the new embedded hardware platform without modifying a line of code.

关 键 词:LINUX FM25H20 NVRAM 驱动软件 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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