am335x system upgrade kernel usb stroage(十)

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

 

 

                  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.

 

      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

 

 

5.3     Application Interface

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

 

 

 

6      Follow-up

Write performance:

 

bs=512 file_size=100m

 

bs=1024 file_size=100m

 

 

 

posted @ 2018-11-29 15:09  嵌入式实操  阅读(184)  评论(0编辑  收藏  举报