[U-Boot-Users] [PATCH] AT91RM9200 - OHCI Patch

Eric BENARD / Free ebenard at free.fr
Thu Apr 7 20:17:17 CEST 2005


Hi,

please find attached patches which add OHCI controller support for
AT91RM9200 CPU.

- diff-at91-ohci-1.patch : add files into cpu/arm920t/at91rm9200
- diff-at91-ohci-2.patch : add defines into include/asm-arm/arch-at91RM9200

- diff-mp2usb-ohci-partial : add usb configuration to MP2USB patch
previously sent.

CHANGELOG
* Patch by Eric Benard, 07 Apr 2005:
  Add support for AT91RM9200 OHCI Controller.


Sample session (on a PQFP AT91) :

U-Boot 1.1.3 (Apr  7 2005 - 20:10:34)

U-Boot code: 27F00000 -> 27F1C438  BSS: -> 27F2F204
RAM Configuration:
Bank #0: 20000000 128 MB
Flash: 16 MB
In:    serial
Out:   serial
Err:   serial
Press SPACE to abort autoboot in 3 seconds
=> usb start
(Re)start USB...
USB:   scanning bus for devices... 2 USB Devices found
=> usb scan
Scan for storage device:
       scanning bus for storage devices...
  Device 0: Vendor: Kingston Prod.: DataTraveler II+ Rev: 1.13
            Type: Removable Hard Disk
            Capacity: 491.5 MB = 0.4 GB (1006592 x 512)
=>  usb info
1: Hub,  USB Revision 1.10
 -  OHCI Root Hub
 - Class: Hub
 - PacketSize: 8  Configurations: 1
 - Vendor: 0x0000  Product 0x0000 Version 0.0
   Configuration: 1
   - Interfaces: 1 Self Powered 0mA
     Interface: 0
     - Alternate Settings 0, Endpoints: 1
     - Class Hub
     - Endpoint 1 In Interrupt MaxPacket 2 Interval 255ms

2: Mass Storage,  USB Revision 2.0
 - Kingston DataTraveler II+ 5B51050206B4
 - Class: (from Interface) Mass Storage
 - PacketSize: 64  Configurations: 1
 - Vendor: 0x0951  Product 0x1601 Version 1.0
   Configuration: 1
   - Interfaces: 1 Bus Powered 200mA
     Interface: 0
     - Alternate Settings 0, Endpoints: 3
     - Class Mass Storage, Transp. SCSI, Bulk only
     - Endpoint 1 In Bulk MaxPacket 64
     - Endpoint 2 Out Bulk MaxPacket 64
     - Endpoint 3 In Interrupt MaxPacket 64 Interval 1ms

=> usb part
print_part of 0

Partition Map for USB device 0  --   Partition Type: DOS

Partition     Start Sector     Num Sectors     Type
    1                   32         1006560       b

print_part of 1
## Unknown partition table

print_part of 2
## Unknown partition table

print_part of 3
## Unknown partition table

print_part of 4
## Unknown partition table

Best regards
Eric
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff-at91-ohci-2.patch
Type: text/x-patch
Size: 2213 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20050407/60ccfcae/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff-mp2usb-ohci-partial.patch
Type: text/x-patch
Size: 1499 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20050407/60ccfcae/attachment-0001.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff-at91-ohci-1.patch.gz
Type: application/gzip
Size: 16763 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20050407/60ccfcae/attachment-0002.bin 


More information about the U-Boot mailing list