Linux系统移植主要包括bootloader的移植、内核移植、根文件系统的移植等3大部分;在基于Linux的嵌入式系统的构建过程中,根文件系统是不可缺少的重要组成部分;重点对利用busybox构建根文件系统的过程进行了详细地讲解,包括busybox的配置过程、根文件系统的构建过程、Web服务器BOA的构建过程、网络视频服务器MJPG-streamer的构建过程、NFS挂载根文件系统的测试过程以及3种文件系统Cramfs、JFFS2及Ramdisk的制作过程,将几种不同的文件系统的性能进行了对比分析;实验表明制作完成的3种文件系统能够正常使用,并且运行稳定.
The transplantation of Linux system mainly includes the transplantation of bootloader,transplantation of the Linux kernel and transplantation of the root file system.In the process of the construction of the embedded system based on Linux,the root file system is an important and indispensable component.This paper focuses on building the root file systen by busybox,including the configuration process of busybox,the process of the construction of the root file system,the process of the construction of Web server BOA,the process of the construction of network video server MJPG-streamer,the testing process of mounting the root file system by NFS,the process of construction of root file system for Cramfs,JFFS2 and Ramdisk,respectively.Then We,analysis the advantages and disadvantages of these file systems.Experimental results show that completed three file system can be normal use,and running stability.