Other Parts Discussed in Thread: AM3352, TUSB9261
We are building a new am3352 based board that has two USB ports, 0 and 1. It is configured as OTG for USB0 and HOST for USB1. USB0 goes out to a USB external connector. USB1 goes to a compact flash socket built into the board.
We have a compact flash adapter and CF card plugged into it, that we can plug into the external USB connector to USB0, and it is recognized and mounted and we can read/write it just fine.
But when we plug the same CF card into the CF connector that goes to USB1, we get some output indicating that it is recognized, but no driver gets attached to it, and /dev/sda1 never gets created, and the CF card is not usable.
This is the console output when I plug in the CF card into the CF socket on USB1:
[ 7305.711267] usb 1-1: USB disconnect, device number 5
[ 7306.757411] usb 1-1: new high-speed USB device number 6 using musb-hdrc
[ 7306.898185] usb 1-1: New USB device found, idVendor=0451, idProduct=9261
[ 7306.905286] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 7306.912825] usb 1-1: Product: TUSB9261 USB3.0 to SATA Bridge
[ 7306.918797] usb 1-1: Manufacturer: Texas Instruments
[ 7306.924045] usb 1-1: SerialNumber: 6BC466A34C61D412161329428CCB0C4C5
[ 7306.944616] scsi4 : usb-storage 1-1:1.0
[ 7306.948893] scsi_add_host_with_dma: scsi_setup_command_freelist error 0x0
[ 7306.961346] scsi_add_host_with_dma: device_add gendev error 0x0
[ 7306.980954] scsi_add_host_with_dma: device_add dev error 0x0
[ 7306.986954] scsi_add_host_with_dma: kzalloc ok
[ 7306.991693] scsi_add_host_with_dma: create work queue ok
[ 7306.997290] scsi_add_host_with_dma: scsi_sysfs_add_host error 0x0
[ 7307.003749] scsi_add_host_with_dma: scsi_proc_host_add done, and we're finished
Some of the above is debug printk I added.
What is missing is all the stuff that results from sd_probe(), which never runs when the CF is inserted into USB1.
We need help to figure out why the CF card does not trigger the sd_probe() and create /dev/sda1 as it should.
Best Regards,