Hi everyone.
I am developing with i.MX6Quad and I am customizing now. (using i.MX6qsabresd kit)
We changed Audio codec from WM8962 to sgtl5000 and I couldn't play video file. Please refer to the below capture files and log.
Any body help me?
--------------------------------------------------------------
NXP i.MX Release Distro 4.14-sumo imx6qsabresd ttymxc4
imx6qsabresd login: usb 1-1: new high-speed USB device number 2 using ci_hdrc
usb-storage 1-1:1.0: USB Mass Storage device detected
scsi host0: usb-storage 1-1:1.0
imx-sgtl5000 sound: failed to find SSI platform device
scsi 0:0:0:0: Direct-Access SanDisk Cruzer Glide 1.27 PQ: 0 ANSI: 6
imx-sgtl5000 sound: failed to find SSI platform device
sd 0:0:0:0: [sda] 31266816 512-byte logical blocks: (16.0 GB/14.9 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
sda:
sd 0:0:0:0: [sda] Attached SCSI removable disk
FAT-fs (sda): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
ERROR: v4l2 capture: slave not found!
ERROR: v4l2 capture: slave not found!
ERROR: v4l2 capture: slave not found!
ERROR: v4l2 capture: slave not found!
mxc_v4l2_output v4l2_out: Bypass IC.
mxc_v4l2_output v4l2_out: Bypass IC.
random: crng init done
random: 7 urandom warning(s) missed due to ratelimiting
Hi Coiln
one can look at boundary devices sabrelite board gstreamer examples
(i.mx6q nxp bsps do not support sgtl5000)
iMX6 Boundary Devices | iMX6 SabreLite Board | RidgeRun
GitHub - boundarydevices/linux-imx6: Boundary Devices Kernel tree for i.MX6
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Igor,
Thank you for your feedback. I appreciate your feedback every time.
Yesterday, I found out a solution for playing a video file as below command.
gst-launch-1.0 playbin uri=file:/// [file path]
I am using the below version and image.
[NXP Sumo 4.14.98]
$ DISTRO=fsl-imx-x11 MACHINE=imx6qsabresd source fsl-setup-release.sh -b build-LT-Q
$ bitbake fsl-image-qt5-validation-imx
When I used NXP Krogoth 4.1.15 version, I could play a video and sound both.
However, when I used NXP Sumo 4.14.98 veersion, I could only play video and sound didn't work.
When I checked kernel feature (make menuconfig), there was sgtl5000 and it worked correctly in 4.1.15 version.
I don't know why sound is not working in 4.14.98 version.
Could you help me?
Hi Coiln
one can look at Linux L4.14.98_2.0.0 Documentation for gstreamer
examples, verify that nxp gstreamer plugins (imx-gst1.0-plugin) were used.
imx-gst1.0-plugin - i.MX Gstreamer 1.0 Plugin
Best regards
igor
I got below log also. Even I copied them to home directory.
I couldn't play them...
alloc_contig_range: [46100, 463fd) PFNs busy
alloc_contig_range: [46180, 46200) PFNs busy
alloc_contig_range: [46180, 46200) PFNs busy
alloc_contig_range: [46180, 46200) PFNs busy
alloc_contig_range: [46180, 46200) PFNs busy
alloc_contig_range: [46180, 46200) PFNs busy
alloc_contig_range: [46180, 46200) PFNs busy
alloc_contig_range: [46180, 46200) PFNs busy
alloc_contig_range: [46180, 46200) PFNs busy
alloc_contig_range: [461c0, 461f9) PFNs busy
alloc_contig_range: [461c0, 461f9) PFNs busy
alloc_contig_range: [461c0, 461f9) PFNs busy
alloc_contig_range: [461c0, 461f9) PFNs busy