Summary: | 碩士 === 國立臺北科技大學 === 電機工程系所 === 98 === Embedded systems have prevailed in recent years due to small size, high portability, low power consumption, and cheaper price in comparison to traditional PCs. The electronics products such as mobile phones, personal digital assistants (PDA), satellite navigation systems (GPS), etc., are now composed of embedded systems. These embedded systems typically used flash memory (Flash Ram) of limited capacity as a storage space, which has to carry the core of the original configuration, file systems and applications, etc. In practice, if the the kernel and the file system are not carefully configured, the space left for the applications is usually not enough. Therefore, how to save the limited storage space has become an important issue.
Because of the features of open-source and easy maintenance, this paper uses Linux as an embedded kernel of the system. We build the kernel of the environment in accordance with the hardware, and use the call graph to show the kernel of the system calls and the application of the structure of the program calls library, to get the excess part from call graph to find and remove, so as to obtain a more streamlined Linux kernel. In comparison to the traditional, which performs testing step by step to remove the kernel structure, our method gives an insight into the system architecture more clear, and reduces the customization time effectively. Coupled with the use of try and error method (Try & Error), remove the file system is not used to the file, thereby to reduce the file system. This article uses the Qt to construct an application (e-goods inquiry system, EGIS) to verify the effectiveness of our method, in which EGIS integrates user, graphical interface, and database. In EGIS, the user gives a query to the product information through the touch screen, EGIS fetches product information from the database, and pictures including the product information are displayed on the touch screen. Based on the experimental results, the size of the kernel, file system and the application program were respectively reduced to 26.7%, 1.04% and 22.86%, while the system still worked normally.
|