[meta-xilinx] zedboard usb

gmane at reliableembeddedsystems.com gmane at reliableembeddedsystems.com
Fri Jan 29 01:06:53 PST 2016


Hi,

On 2016-01-29 00:38, Mike Looijmans wrote:
> 
> Something is definitely wrong with your systen, you should not need
> any bootloader support at all for USB, the kernel handles it all
> perfectly well.

[    0.449562] usbcore: registered new interface driver usbfs
[    0.449902] usbcore: registered new interface driver hub
[    0.450184] usbcore: registered new device driver usb

This error happens on both good and bad scenarios:

[    0.451623] usb-phy supply vcc not found, using dummy regulator

Maybe there's an issue in the device tree and u-boot turns on the 
usb-phy supply vcc?

I have currently in my fdt:

...
		dr_mode = "host";
		phy_type = "ulpi";
...

[1]

While the phy_type should be something else?

Maybe something like it was for some older kernel version?

...
		dr_mode = "host";
		phy_type = <&usb_phy0>;
...


/{
         usb_phy0: usb_phy at 0 {
                 compatible = "ulpi-phy";
                 #phy-cells = <0>;
                 reg = <0xe0002000 0x1000>;
                 view-port = <0x0170>;
                 drv-vbus;
         };
};

Then everything is pretty much identical except that in the good case it 
detects the USB stick:

[    3.080309] usb 1-1: new high-speed USB device number 2 using ci_hdrc
[    3.217601] usb-storage 1-1:1.0: USB Mass Storage device detected
[    3.222872] scsi host0: usb-storage 1-1:1.0
[    4.231368] scsi 0:0:0:0: Direct-Access     Kingston DataTraveler G3  
PMAP PQ: 0 ANSI: 4
[    4.243503] sd 0:0:0:0: [sda] 30294016 512-byte logical blocks: (15.5 
GB/14.4 GiB)
[    4.253114] sd 0:0:0:0: [sda] Write Protect is off
[    4.257903] sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00
[    4.259608] sd 0:0:0:0: [sda] No Caching mode page found
[    4.264901] sd 0:0:0:0: [sda] Assuming drive cache: write through
[    4.284365]  sda: sda1
[    4.296730] sd 0:0:0:0: [sda] Attached SCSI removable disk

Regards,

Robert

[1] 
https://github.com/RobertBerger/meta-mainline/blob/jethro-training-v4.4.x/multi-v7-ml/recipes-kernel/linux/patch/4.4.x/patches/zedboard-zynq7/dts/0001-zedboard-zynq-zynq7-base.dtsi.patch#L494



More information about the meta-xilinx mailing list