| After more than one hundred years of development, digital electronic technology has been widely used in various fields, such as communication, computer, aerospace, automatic control and so on. In the world of digital electronic technology, system on a programmable chip(SOPC), embedded Linux and USB have always been three popular research topics. With the help of SOPC technology, many functional units can be integrated into a same programmable chip. It’s a flexible and efficient solution for SOC. Embedded Linux operating system has been widely used due to its strong applicability, stable performance and excellent configurability. Thanks to its fast transmission speed, wide range for use and hot pluggable access, USB has been favored by many electronic engineers since its birth. Based on the three kinds of hot technology mentioned above, using Xilinx ML605 evaluation kit as the development platform, this project implemented a SOPC embedded system in FPGA, and transplanted a Linux operating system with USB host controller driver(USB HCD) for it.Firstly, this paper introduces the implementation process of the hardware system with the help of Xilinx Platform Studio tool. This system integrated a Micro Blaze softcore as the center processor and a DDR3 SDRAM as the main running memory. It used a Universal Asynchronous Receiver/Transmitter(UART) and an Ethernet interface as its main communication method. Besides, some other functional modules such as BPI flash controller, Compact Flash controller and EZ-HOST HPI controller were integrated into this system. The programming flexibility of SOPC technology was fully demonstrated during development and almost all of the functional units were implemented by IP core.Secondly, this paper introduces the process of transplanting the Linux operating system. It includes process of the BIOS transplantation, the u-boot transplantation, the kernel and the file system transplantation. With the aid of the Xilinx Software Development Kit and the Peta Linux tools, this project used the UART and JTAG to debug the system and finally completed the whole transplantation plan. During this process, both the Linux and the u-boot had shown their feature of configurability and flexibility to engineers.At last, this paper explores the implementation of the USB host controller driver based on the EZ-HOST chip. At the same time, the USB communication model and the host application model in an embedded system are described. With the implementation of the driver, the project tested the accuracy of the system function. |