1      Scope of Document

This document describes USB hardware design, support stardard usb2.0 port on port1

2      Requiremen

2.1     Function Requirement

support stardard usb2.0 port on port1, support mass storage.

2.2     Performance Requirement

NA

3      Hardware Overview

usb interface,pin map:

USB0_N

USB0_P

 am335x system upgrade kernel usb stroage(十)-LMLPHP

Figure 1 usb interface block diagram

4      Functional Description

4.1     Functional Block Diagram

Linux usb stack is an layered architecture in which musb controller hardware is at the lowest layer. The musb controller driver abstract the musb controller hardware to linux usb stack.

am335x system upgrade kernel usb stroage(十)-LMLPHP

      Figure 2  linux usb stack architecture diagram

4.2     USB

4.2.1 Overview

 

5      Porting

5.1     Uboot porting

NA

5.2     Kernel porting

am335x system upgrade kernel usb stroage(十)-LMLPHP

5.3     Application Interface

After the usb host controller driver was loaded , we can find usb device on the usb bus.

am335x system upgrade kernel usb stroage(十)-LMLPHP

am335x system upgrade kernel usb stroage(十)-LMLPHP

6      Follow-up

Write performance:

 

bs=512 file_size=100m

am335x system upgrade kernel usb stroage(十)-LMLPHP

bs=1024 file_size=100m

am335x system upgrade kernel usb stroage(十)-LMLPHP

05-27 15:44