incomplete MJPG frames through dwc2 USB host

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
I'm using a RK3288 rockchip board whit kernel rockchip-linux release-4.4.
It has two USB host and one of them has a DW controller. If I connect a
UVC camera on it, I get into an incomplete MJPG frame error when enable
stream with a image format greater or equal than 1920x1080. There isn't
any related error on dmseg log, even if I enable CONFIG_USB_DWC2_DEBUG.
So I can check that issue only processing MJPG data or showing that frame.

I'm certain it isn't a camera problem cause if I connect it to the other
ECHI controller USB port it work properly. I thought it was an bandwidth
issue cause if I reduce image format the problem disappear. Could it be
so? If not, what could it be the problem?

This is rk3288.dtsi usb hosts config

       usb_host0_ehci: usb@ff500000 {
               compatible = "generic-ehci";
               reg = <0xff500000 0x100>;
               interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
               clocks = <&cru HCLK_USBHOST0>;
               clock-names = "usbhost";
               phys = <&usbphy1>;
               phy-names = "usb";
               status = "disabled";
       };

       usb_host1: usb@ff540000 {
               compatible = "rockchip,rk3288-usb", "rockchip,rk3066-usb",
                               "snps,dwc2";
               reg = <0xff540000 0x40000>;
               interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
               clocks = <&cru HCLK_USBHOST1>;
               clock-names = "otg";
               dr_mode = "host";
               phys = <&usbphy2>;
               phy-names = "usb2-phy";
               status = "disabled";
       };

thank you for the attention,
best regards
Andrea



Software Department
software@xxxxxxxxx

-------------------------------------------------------------------------------------------------------------
TESEO spa            via Agnelli, 49              63900 FERMO (FM) ITALY
Tel. +39 0734 628818   --    Fax. +39 0734 628816

Disclaimer: This electronic mail transmission may contain legally privileged and/or confidential information. Do not read this if you are not the person(s) named. Any use, distribution, copying or disclosure by any other person is strictly prohibited. If you receive this transmission by mistake destroy the original transmission and its attachments without reading or saving in any manner.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux