[U-Boot-Users] USB-storage or NAND-flash on AMCC 440ep (bamboo)

Stefan Roese
2005-10-14T13:23:43Z

On Friday 14 October 2005 11:47, Stefan Roese wrote:
> On Friday 14 October 2005 11:36, Andr? Berggren wrote:
> > Are there any known bugs for USB-storage on this CPU in u-boot?
>
> Sorry, but I never tested it. The PPC440EP USB port was done by Embedded
> Planet for the initial Yosemite port.

Now, I successfully tested the USB support on Yosemite. Here the result:

=> usb reset
(Re)start USB...
USB: USB 2.0 Device init
scanning bus for devices... 2 USB Device(s) found
scanning bus for storage devices... 1 Storage Device(s) found
=> 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
- M-Sys DiskOnKey 010C5310120103C7
- Class: (from Interface) Mass Storage
- PacketSize: 64 Configurations: 1
- Vendor: 0x08ec Product 0x0011 Version 2.0
Configuration: 1
- Interfaces: 1 Bus Powered 94mA
Interface: 0
- Alternate Settings 0, Endpoints: 2
- Class Mass Storage, Transp. SCSI, Bulk only
- Endpoint 2 In Bulk MaxPacket 64
- Endpoint 1 Out Bulk MaxPacket 64

=> usb storage
Device 0: Vendor: M-Sys Prod.: DiskOnKey Rev: 3.04
Type: Removable Hard Disk
Capacity: 31.0 MB = 0.0 GB (63616 x 512)

=> fatls usb 0:1
2389 out.gz
4856 hmi1001_eeprom.c

=> fatload usb 0:1 200000 out.gz
reading out.gz

2389 bytes read
=> md 200000
00200000: 1f8b0808 a4d6b242 00036f75 7400edd6 .......B..out...
00200010: ef6b5df5 1900f007 7cdb372e 638375b0 .k].....|.7.c.u.
00200020: 99769339 65cd3d49 83e4cd18 55745cf7 .v.9e.=I....Ut\.

The current code seems to be running without any problems on Yosemite.

Best regards,
Stefan