The invention discloses a method for protecting the integrity of the key area of an embedded Linux operating system. The method comprises the following steps as follows: the establishment of embedded Linux operating system NandFlash partition information, establish the embedded Linux operating system the key area of the root file system, non key zone file system establishment of embedded Linux operating system, embedded Linux operating system programming. At the same time, the invention also discloses a system for protecting the integrity of the key area of the embedded Linux operating system. The technical proposal of the invention can prevent the key areas of the embedded Linux operating system from being tampered with, and ensure the stability of the embedded Linux operating system.
【技术实现步骤摘要】
本专利技术涉及嵌入式Linux系统领域,具体涉及一种保护嵌入式Linux操作系统关 键区域完整性的方法及系统。
技术介绍
随着32位CPU价格不断下跌,片上存储设备的容量相比越来越大,越来越多的嵌 入式系统开始应用各种嵌入式操作系统。一般在嵌入式领域,只要应用到操作系统的必然 会需要一个,甚至是多个文件系统。所谓文件系统,实际上就是在一个具体的存储设备上任 何文件的组织和目录。这个设备可能是各种RAM、NAND FLASH,NOR FLASH等DOC设备,还有 以NAND FLASH为基础的各种存储卡等。目前,针对不同的设备和应用有很多文件系统可供 选择,例如 EXT2、TEMPFS、RAMDISK、CRAMFS、JFFS1/2、YAFFS1/2、XFS 等。除此之外,还有很 多供应商提供的商用文件系统。选择文件系统,要根据具体应用的需求。一般,首先要考虑的就是可靠性,健壮性 和增强的需求。如果是像工控这样的不需经常更新控制程序的应用来说,我们选择CARAMFS 这样的只读文件系统已经足够了,而且它还可以带来的另外一个好处就是CRAMFS的压缩 率高达50 %, ...
【技术保护点】
1.一种保护嵌入式Linux操作系统关键区域完整性的方法,其特征在于,包括:建立嵌入式Linux操作系统NandFlash分区信息;建立嵌入式Linux操作系统关键区域根文件系统;建立嵌入式Linux操作系统非关键区域文件系统;烧写嵌入式Linux操作系统。
【技术特征摘要】
【专利技术属性】
技术研发人员:黄旭阳,张洁,文艳阳,
申请(专利权)人:中山中珩数字科技有限公司,
类型:发明
国别省市:44
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。