I'm using DVSDK 2 (linux kernel 2.6.18) with a DM365 EVM.
When I use the decode demo to decode a file that is on a mounted usb device the usb driver crashes and doesn't work until I reset the EVM.
As far as I tested, encode works, and copying files to and from the usb device also works.
Is this a known issue? Can anyone please help?
This is the output:
# ./decode -v test.264 -y 3
Decode demo started.
DavinciDisplay DavinciDisplay.1: Before finishing with S_FMT:
layer.pix_fmt.bytesperline = 1280,
layer.pix_fmt.width = 1280,
layer.pix_fmt.height = 720,
layer.pix_fmt.sizeimage =1382400
DavinciDisplay DavinciDisplay.1: pixfmt->width = 1280,
layer->layer_info.config.line_length= 1280
usb 1-1: reset high speed USB device using musb_hdrc and address 2
ARM Load: 9% Video fps: 0 fps Video bit rate: 694 kbps Sound bit rate: 0 kbps Time: 00:00:01 Demo: Decode Display: 720P 60Hz Video Codec: H.264 HP Video Resolution: N/A Sound Codec: N/A Sampling Freq: N/A
ARM Load: 3% Video fps: 0 fps Video bit rate: 0 kbps Sound bit rate: 0 kbps Time: 00:00:02 Demo: Decode Display: 720P 60Hz Video Codec: H.264 HP Video Resolution: N/A Sound Codec: N/A Sampling Freq: N/A
ARM Load: 0% Video fps: 0 fps Video bit rate: 0 kbps Sound bit rate: 0 kbps Time: 00:00:03 Demo: Decode Display: 720P 60Hz Video Codec: H.264 HP Video Resolution: N/A Sound Codec: N/A Sampling Freq: N/A
ARM Load: 0% Video fps: 0 fps Video bit rate: 0 kbps Sound bit rate: 0 kbps Time: 00:00:08 Demo: Decode Display: 720P 60Hz Video Codec: H.264 HP Video Resolution: N/A Sound Codec: N/A Sampling Freq: N/A
ARM Load: 0% Video fps: 0 fps Video bit rate: 0 kbps Sound bit rate: 0 kbps Time: 00:00:09 Demo: Decode Display: 720P 60Hz Video Codec: H.264 HP Video Resolution: N/A Sound Codec: N/A Sampling Freq: N/A
ARM Load: 5% Video fps: 0 fps Video bit rate: 0 kbps Sound bit rate: 0 kbps Time: 00:00:15 Demo: Decode Display: 720P 60Hz Video Codec: H.264 HP Video Resolution: N/A Sound Codec: N/A Sampling Freq: N/A
ARM Load: 0% Video fps: 0 fps Video bit rate: 0 kbps Sound bit rate: 0 kbps Time: 00:00:18 Demo: Decode Display: 720P 60Hz Video Codec: H.264 HP Video Resolution: N/A Sound Codec: N/A Sampling Freq: N/A
ARM Load: 0% Video fps: 0 fps Video bit rate: 0 kbps Sound bit rate: 0 kbps Time: 00:00:19 Demo: Decode Display: 720P 60Hz Video Codec: H.264 HP Video Resolution: N/A Sound Codec: N/A Sampling Freq: N/A
ARM Load: 100% Video fps: 0 fps Video bit rate: 0 kbps Sound bit rate: 0 kbps Time: 00:00:20 Demo: Decode Display: 720P 60Hz Video Codec: H.264 HP Video Resolution: N/A Sound Codec: N/A Sampling Freq: N/A
ARM Load: 0% Video fps: 0 fps Video bit rate: 0 kbps Sound bit rate: 0 kbps Time: 00:00:21 Demo: Decode Display: 720P 60Hz Video Codec: H.264 HP Video Resolution: N/A Sound Codec: N/A Sampling Freq: N/A
ARM Load: 0% Video fps: 0 fps Video bit rate: 0 kbps Sound bit rate: 0 kbps Time: 00:00:24 Demo: Decode Display: 720P 60Hz Video Codec: H.264 HP Video Resolution: N/A Sound Codec: N/A Sampling Freq: N/A
usb 1-1: reset high speed USB device using musb_hdrc and address 2
musb_h_ep0_irq 1221: no URB for end 0
usb 1-1: device descriptor read/64, error -110
musb_h_ep0_irq 1221: no URB for end 0
usb 1-1: device descriptor read/64, error -110
usb 1-1: reset high speed USB device using musb_hdrc and address 2
musb_h_ep0_irq 1221: no URB for end 0
usb 1-1: device descriptor read/64, error -110
musb_h_ep0_irq 1221: no URB for end 0
usb 1-1: device descriptor read/64, error -110
usb 1-1: reset high speed USB device using musb_hdrc and address 2
usb 1-1: device not accepting address 2, error -110
usb 1-1: reset high speed USB device using musb_hdrc and address 2
usb 1-1: device not accepting address 2, error -110
usb 1-1: USB disconnect, address 2
sd 0:0:0:0: scsi: Device offlined - not ready after error recovery
sd 0:0:0:0: SCSI error: return code = 0x00050000
end_request: I/O error, dev sda, sector 18255
sd 0:0:0:0: rejecting I/O to offline device
sd 0:0:0:0: SCSI error: return code = 0x00010000
end_request: I/O error, dev sda, sector 18495
sd 0:0:0:0: rejecting I/O to offline device
sd 0:0:0:0: rejecting I/O to offline device
sd 0:0:0:0: rejecting I/O to offline device
sd 0:0:0:0: rejecting I/O to offline device
Buffer I/O error on device sda1, logical block 15368
lost page write due to I/O error on sda1
Error: Failed to load data from video file
sd 0:0:0:0: rejecting I/O to device being removed
FAT: unable to read inode block for updating (i_pos 245890)
usb 1-1: new high speed USB device using musb_hdrc and address 3
root@172.1.1.182:/opt/dm365# musb_h_ep0_irq 1221: no URB for end 0
usb 1-1: device descriptor read/64, error -110
musb_h_ep0_irq 1221: no URB for end 0
usb 1-1: device descriptor read/64, error -110
usb 1-1: new high speed USB device using musb_hdrc and address 4
musb_h_ep0_irq 1221: no URB for end 0
usb 1-1: device descriptor read/64, error -110
musb_h_ep0_irq 1221: no URB for end 0
usb 1-1: device descriptor read/64, error -110
usb 1-1: new high speed USB device using musb_hdrc and address 5
usb 1-1: device not accepting address 5, error -110
usb 1-1: new high speed USB device using musb_hdrc and address 6
usb 1-1: device not accepting address 6, error -110