Being the crucial part of the embedded system, the embedded operating system must meet the requirement of the embedded system which not only is domain-dependent and applications-dependent but runs on special hardware whose resources are limited. Therefore. the research on tailoring embedded operating systems bears both significant theoretical and practical values. As an open-source operating system, The research about uClinux is in full swing, and gets a rapid progress in recent years. uClinux is a huge.efficacious and complicated operating system, and it has a lot of superabundance, so how to optimize uClinux according to the application become the importance and difficulty in the development of embedded system.The thesis,mainly studies the uClinux system reduction. The main purpose of reducing uClinux is to build a embedded uClinux system matched with the software/hardware requirement of the special embedded application system. With the application on the embedded environment increasing and source-free software like uClinux developing, many software engineers develop the embedded system based on uClinux. In the processes, a key problem is the reduction of uClinux kernel and other system software such as libc,file system and so on. But now the studies on the problem are rare.In view of these situations, This thesis points out two methods to realize the coarse grain and fine grain reduction of uClinux.First: Points out the hierarchical and modularizing method ,and realizes the (?)oarse grain reduction of kernel.Second: Analyzes the source code of uClinux kernel,puts forward the tailoring method ground on call graph and realizes the fine grain reduction of kernel.Third: The optimize of the file system is the importance of the optimize of uClinux. In the dissertation,taking JFFS2 as an example, we introduce the (?)ptimization of uClinux from the aspects of VFS, and library functions adopting the method of from the top to the bottom, from application by library functions to system routines .Finally make the file system tally with the hardware.Using these methods , this thesis realizes the reduction of uClinux. through analyzing the result ,the technical feasibility of reduction method is validated. |