| Embedded OS is the kernel technology to support embedded system. Because of its open source code, powerful technical support, and the ability to be applied to many kinds of hardware, Embedded Linux has become the excellent solution to embedded system. For the sake of its particular application environment, Embedded system is generally real time system, and it requires the operation system have high real time performance. And for the same reason, it is hard to debug and trace the application programs of embedded OS, so a tool, which can full-scale trace the system, is needed.RT-Linux is a kind of embedded Linux. Its real time performance is relative high among numerous kind of embedded Linux. It is reasonable to study and develop the embedded OS based on RT-Linux. This paper first generally discussed the theory and the design problem of real time system; then applied the theory to analyze the RT-Linux in details; at last applied priority inheritance protocol to solve the priority reverse problem in RT-Linux.In order to trace the system roundly, this paper designed a kernel trace tool, and used this tool to test the improvement work that this paper had done before. The test results show that the work eliminated the priority reverse problem, and advanced the real time performance of RT-Linux. |