[U-Boot-Users] Problems with usb storage devices on MPC5200 / TQM5200

Martin Krause Martin.Krause at tqs.de
Tue Nov 6 14:24:35 CET 2007


Hi,

with the current U-Boot (top of tree) I'm not able to access an USB
memory stick on a MPC5200 based TQM5200 board. The 'usb start' 
command prints some error messages:

U-Boot 1.3.0-rc3-ge31711b7 (Nov  6 2007 - 14:07:54)

CPU:   MPC5200B v2.2, Core v1.4 at 396 MHz
       Bus 132 MHz, IPB 132 MHz, PCI 66 MHz
Board: TQM5200 (TQ-Components GmbH)
       on a STK52xx carrier board
I2C:   85 kHz, ready
DRAM:  64 MB
FLASH: 32 MB
In:    serial
Out:   serial
Err:   serial
Net:   FEC ETHERNET, i82559#0
POST i2c PASSED
POST cpu PASSED
IDE:   Bus 0: not available
SRAM:  512 kB
PS/2:  No device found
Kbd:   reset failed, no ACK

Type "run flash_nfs" to mount root filesystem over NFS

Hit any key to stop autoboot:  0
=> usb start
(Re)start USB...
USB:   scanning bus for devices... ERROR: CTL:TIMEOUT

      USB device not responding, giving up (status=20)
2 USB Device(s) found
       scanning bus for storage devices... 0 Storage Device(s) found
=>

In the current TQM5200 configuration the generic OHCI driver is used 
(CONFIG_USB_OHCI_NEW). If I switch back to the old cpu specific
USB driver (CONFIG_USB_OHCI) USB seems to work properly:

U-Boot 1.3.0-rc3-ge31711b7-dirty (Nov  6 2007 - 14:14:45)

CPU:   MPC5200B v2.2, Core v1.4 at 396 MHz
       Bus 132 MHz, IPB 132 MHz, PCI 66 MHz
Board: TQM5200 (TQ-Components GmbH)
       on a STK52xx carrier board
I2C:   85 kHz, ready
DRAM:  64 MB
FLASH: 32 MB
In:    serial
Out:   serial
Err:   serial
Net:   FEC ETHERNET, i82559#0
POST i2c PASSED
POST cpu PASSED
IDE:   Bus 0: not available
SRAM:  512 kB
PS/2:  No device found
Kbd:   reset failed, no ACK

Type "run flash_nfs" to mount root filesystem over NFS

Hit any key to stop autoboot:  0
=> usb start
(Re)start USB...
USB:   scanning bus for devices... 2 USB Device(s) found
       scanning bus for storage devices... 1 Storage Device(s) found
=> usb storage
  Device 0: Vendor: JetFlash Prod.: 32MB             Rev: 1.11
            Type: Removable Hard Disk
            Capacity: 31.5 MB = 0.0 GB (64512 x 512)
=> usb part
print_part of 0

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

Partition     Start Sector     Num Sectors     Type
    1                   32           64416       4

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
=> fatls usb 0
  1441856   disk.img
      199   prepare.img
  1441856   disk_02.img

3 file(s), 0 dir(s)

=>

Has anyone observed similar problems with the generic OHCI driver?

Best regards,
Martin Krause





More information about the U-Boot mailing list