We choose MPC8250 and Linux ver2.6.x kernel as base hardware and software platform in the satellite communication terminal indoor unit project. In the way of hardware choosing, the hardware context switch mechanism adopted by MPC8250 makes interrupt responding time of MPC8250 have less relation with operation system, so the real-time character of the system is no worse than VxWorks. What is more, the embedded communication process module and the inborn network function of Linux make the system provide a steady performance as the node of LAN. At last,the DMA mode used by PCI makes the data transfers between the MPC8250 and the FPGA speed up.In the way of software choosing, U-BOOT, Linux2.6.x and JFFS2 are our choice. We choose U-Boot as our bootloader, and it does some job such as hardware initialization and Linux kernel loader. We choose Linux2.6.x as our kernel system which manages our system and source allocation, such as device driver, memory allocation, process management, and interrupt management, etc. The JFFS2 which we choose as our file system, all our operations are processed by the file system, all in all, the file system works as the connection between the user and the kernel.This paper begins with the work I have done in the project, operating against the problem I meet, then go deep into the problem, giving the solution both in software and operation system. What's more, with the description of the PCI which is used to connect the MPC8250 and the FPGA, I show you a method to write driver. At last, I describe the configuration of Linux kernel, and the transplant of Linux2.6.x to make our system work. well. |