[meta-freescale] Linphone 3.6.1 on yocto with Freescale SabreSD

Konstantin Kovalev lepeletie at hotmail.com
Fri Jul 4 03:34:58 PDT 2014


I have built the linphone 3.6.1 with latest freescale yocto project (i.MX6Q: i.MX 6Quad Processors – Quad Core) but it crashes if the option "self view" is turned on. 
So here is my step:1) bitbake fsl-image-multimedia-full...2) dawnload recipe form this repo: https://github.com/daniel-dnil/meta-dnil/tree/master/recipes-linphone3) append the linphone to my image like that:                      in local.conf:                                    CORE_IMAGE_EXTRA_INSTALL += " ortp libosip2 libexosip2 mediastreamer2 libbcg729 linphone"                      in bblayers.conf:                                     ${BSPDIR}/sources/meta-linphone \4) build image
Here what I see in the linphone debug message:
root at imx6qsabresd:~# linphonec -V -d 3INFO: no logfile, logging to stdoutortp-message-Using (r/w) config information from /home/root/.linphonercortp-message-Initializing LinphoneCore 3.6.1ortp-message-oRTP-0.22.0 initialized.ortp-message-assigning PCMU/8000 payload type number 0ortp-message-assigning GSM/8000 payload type number 3ortp-message-assigning PCMA/8000 payload type number 8ortp-message-assigning speex/8000 payload type number 110ortp-message-assigning speex/16000 payload type number 111ortp-message-assigning speex/32000 payload type number 112ortp-message-assigning telephone-event/8000 payload type number 101ortp-message-assigning G722/8000 payload type number 9ortp-message-assigning H263/90000 payload type number 34ortp-message-assigning theora/90000 payload type number 97ortp-message-assigning H263-1998/90000 payload type number 98ortp-message-assigning MP4V-ES/90000 payload type number 99ortp-message-assigning H264/90000 payload type number 102ortp-message-assigning VP8/90000 payload type number 103ortp-message-assigning x-snow/90000 payload type number 96ortp-message-assigning iLBC/8000 payload type number 100ortp-message-assigning AMR/8000 payload type number 104ortp-message-assigning AMR-WB/16000 payload type number 105ortp-message-assigning 1015/8000 payload type number 106ortp-message-assigning G726-16/8000 payload type number 107ortp-message-assigning G726-24/8000 payload type number 108ortp-message-assigning G726-32/8000 payload type number 109ortp-message-assigning G726-40/8000 payload type number 113ortp-message-assigning AAL2-G726-16/8000 payload type number 114ortp-message-assigning AAL2-G726-24/8000 payload type number 115ortp-message-assigning AAL2-G726-32/8000 payload type number 116ortp-message-assigning AAL2-G726-40/8000 payload type number 117ortp-message-assigning SILK/8000 payload type number 118ortp-message-assigning SILK/12000 payload type number 119ortp-message-assigning SILK/16000 payload type number 120ortp-message-assigning SILK/24000 payload type number 121ortp-message-assigning G729/8000 payload type number 18ortp-message-assigning mpeg4-generic/22050 payload type number 122ortp-message-assigning mpeg4-generic/44100 payload type number 123ortp-message-assigning opus/48000 payload type number 124ortp-message-assigning 1016/8000 payload type number 1ortp-message-assigning GSM/8000 payload type number 3ortp-message-assigning G723/8000 payload type number 4ortp-message-assigning LPC/8000 payload type number 7ortp-message-assigning PCMA/8000 payload type number 8ortp-message-assigning G722/8000 payload type number 9ortp-message-assigning L16/44100 payload type number 10ortp-message-assigning L16/44100 payload type number 11ortp-message-assigning G729/8000 payload type number 18ortp-message-assigning H261/90000 payload type number 31ortp-message-assigning MPV/90000 payload type number 32ortp-message-assigning H263/90000 payload type number 34ortp-message-Mediastreamer2 2.9.1 (git: 2.9.1) starting.ortp-message-ms_base_init() doneortp-message-Registering all soundcard handlersortp-message-Card 'ALSA: default device' addedALSA lib /mnt/Data/Linux_arm/fsl-release-bsp/my_frimx-hdmi-audio imx-hdmi-audio: HDMI Video is not ready!eescale_build/tmp/work/cortexa9hfimx-hdmi-audio imx-hdmi-audio: ASoC: can't open platform imx-hdmi-audio: -22-vfp-neon-poky-linux-gnueabi/alsa-lib/1.0.27.2-r0/alsa-lib-1.0.27.2/src/conf.c:4694:(snd_config_expand) Unknown parameters 0ALSA lib /mnt/Data/Linux_arm/fsl-release-bsp/my_freescale_build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/alsa-lib/1.0.27.2-r0/alsa-lib-1.0.27.2/src/control/control.c:953:(snd_ctl_open_noupdate) Invalid CTL default:0ortp-warning-Could not attach mixer to card: Invalid argumentALSA lib /mnt/Data/Linux_arm/fsl-release-bsp/my_freescale_build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/alsa-lib/1.0.27.2-r0/aERROR: v4l2 capture: slave not found!lsa-lib-1.0.27.2/src/conf.c:4694:(snd_config_expand) Unknown parameters 0ALSA lib /mnt/Data/Linux_arm/fsl-release-bsp/my_freescale_build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/alsa-lib/1.0.27.2-r0/alsa-lib-1.0.27.2/src/pcm/pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM default:0ALSA lib /mnt/Data/Linux_arm/fsl-release-bsp/my_freescale_build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/alsa-lib/1.0.27.2-r0/alsa-lib-1.0.27.2/src/conf.c:4694:(snd_config_expand) Unknown parameters 0ALSA lib /mnt/Data/Linux_arm/fsl-release-bsp/my_freescale_build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/alsa-lib/1.0.27.2-r0/alsa-lib-1.0.27.2/src/pcm/pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM default:0ortp-warning-Strange, sound card wm8962-audio does not seems to be capable of anything, retrying with plughw...ortp-message-Card 'ALSA: wm8962-audio' addedALSA lib /mnt/Data/Linux_arm/fsl-release-bsp/my_freescale_build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/alsa-lib/1.0.27.2-r0/alsa-lib-1.0.27.2/src/conf.c:4694:(snd_config_expand) Unknown parameters 1ALSA lib /mnt/Data/Linux_arm/fsl-release-bsp/my_freescale_build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/alsa-lib/1.0.27.2-r0/alsa-lib-1.0.27.2/src/control/control.c:953:(snd_ctl_open_noupdate) Invalid CTL default:1ortp-warning-Could not attach mixer to card: Invalid argumentALSA lib /mnt/Data/Linux_arm/fsl-release-bsp/my_freescale_build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/alsa-lib/1.0.27.2-r0/alsa-lib-1.0.27.2/src/conf.c:4694:(snd_config_expand) Unknown parameters 1ALSA lib /mnt/Data/Linux_arm/fsl-release-bsp/my_freescale_build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/alsa-lib/1.0.27.2-r0/alsa-lib-1.0.27.2/src/pcm/pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM default:1ALSA lib /mnt/Data/Linux_arm/fsl-release-bsp/my_freescale_build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/alsa-lib/1.0.27.2-r0/alsa-lib-1.0.27.2/src/conf.c:4694:(snd_config_expand) Unknown parameters 1ALSA lib /mnt/Data/Linux_arm/fsl-release-bsp/my_freescale_build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/alsa-lib/1.0.27.2-r0/alsa-lib-1.0.27.2/src/pcm/pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM default:1ortp-warning-Strange, sound card imx-hdmi-soc does not seems to be capable of anything, retrying with plughw...ortp-warning-Strange, sound card imx-hdmi-soc seems totally unusable.ortp-message-Card 'ALSA: imx-hdmi-soc' addedortp-message-Card 'PulseAudio: default' addedortp-message-New PulseAudio context state: PA_CONTEXT_CONNECTINGortp-message-New PulseAudio context state: PA_CONTEXT_FAILEDortp-message-Registering all webcam handlersortp-message-Webcam V4L2: /dev/video1 addedortp-message-Webcam StaticImage: Static picture addedortp-message-ms_voip_init() doneortp-message-Loading ms plugins from [/usr/lib/mediastreamer/plugins]ortp-message-Cannot open directory /usr/lib/mediastreamer/plugins: No such file or directoryortp-message-Cannot open directory /usr/lib/liblinphone/plugins: No such file or directoryortp-message-linphone_core_set_playback_gain_db(): no active call.ortp-message-linphone_core_set_mic_gain_db(): no active call.ortp-message-MTU is supposed to be 1300, rtp payload max size will be 1240ortp-message-Adding new codec PCMU/8000 with fmtportp-message-Could not find encoder for 1016ortp-message-Could not find decoder for 1016ortp-message-Could not find encoder for GSMortp-message-Could not find decoder for GSMortp-message-Could not find encoder for G723ortp-message-Could not find decoder for G723ortp-message-Could not find encoder for LPCortp-message-Could not find decoder for LPCortp-message-Adding new codec PCMA/8000 with fmtportp-message-Adding new codec G722/8000 with fmtportp-message-Adding new codec L16/44100 with fmtportp-message-Adding new codec L16/44100 with fmtportp-message-Could not find encoder for G729ortp-message-Could not find decoder for G729ortp-message-Could not find encoder for iLBCortp-message-Could not find decoder for iLBCortp-message-Could not find encoder for telephone-eventortp-message-Could not find decoder for telephone-eventortp-message-Could not find encoder for AMRortp-message-Could not find decoder for AMRortp-message-Could not find encoder for AMR-WBortp-message-Could not find decoder for AMR-WBortp-message-Could not find encoder for 1015ortp-message-Could not find decoder for 1015ortp-message-Could not find encoder for G726-16ortp-message-Could not find decoder for G726-16ortp-message-Could not find encoder for G726-24ortp-message-Could not find decoder for G726-24ortp-message-Could not find encoder for G726-32ortp-message-Could not find decoder for G726-32ortp-message-Adding new codec speex/8000 with fmtp vbr=onortp-message-Adding new codec speex/16000 with fmtp vbr=onortp-message-Adding new codec speex/32000 with fmtp vbr=onortp-message-Could not find encoder for G726-40ortp-message-Could not find decoder for G726-40ortp-message-Could not find encoder for AAL2-G726-16ortp-message-Could not find decoder for AAL2-G726-16ortp-message-Could not find encoder for AAL2-G726-24ortp-message-Could not find decoder for AAL2-G726-24ortp-message-Could not find encoder for AAL2-G726-32ortp-message-Could not find decoder for AAL2-G726-32ortp-message-Could not find encoder for AAL2-G726-40ortp-message-Could not find decoder for AAL2-G726-40ortp-message-Could not find encoder for SILKortp-message-Could not find decoder for SILKortp-message-Could not find encoder for SILKortp-message-Could not find decoder for SILKortp-message-Could not find encoder for SILKortp-message-Could not find decoder for SILKortp-message-Could not find encoder for SILKortp-message-Could not find decoder for SILKortp-message-Could not find encoder for mpeg4-genericortp-message-Could not find decoder for mpeg4-genericortp-message-Could not find encoder for mpeg4-genericortp-message-Could not find decoder for mpeg4-genericortp-message-Could not find encoder for opusortp-message-Could not find decoder for opusortp-message-Could not find encoder for H261ortp-message-Could not find decoder for H261ortp-message-Could not find encoder for MPVortp-message-Could not find decoder for MPVortp-message-Could not find encoder for H263ortp-message-Could not find decoder for H263ortp-message-Could not find encoder for x-snowortp-message-Could not find decoder for x-snowortp-message-Adding new codec theora/90000 with fmtportp-message-Could not find encoder for H263-1998ortp-message-Could not find decoder for H263-1998ortp-message-Could not find encoder for MP4V-ESortp-message-Could not find decoder for MP4V-ESortp-message-Could not find encoder for H264ortp-message-Could not find decoder for H264ortp-message-Could not find encoder for VP8ortp-message-Could not find decoder for VP8ortp-message-getaddrinfo returned the following addresses:ortp-message-0.0.0.0 port 5060ortp-message-eXosip: Reseting timer to 10s before waking up!Readylinphonec> ortp-error-Error in connect: Network is unreachableortp-message-Setting video size 352x288ortp-message-Driver is mxc_v4l2ortp-message-v4l2: trying 352x288ortp-message-VIDIOC_TRY_FMT: Invalid argumentortp-message-VIDIOC_TRY_FMT: Invalid argumentortp-message-VIDIOC_TRY_FMT: Invalid argumentortp-message-VIDIOC_TRY_FMT: Invalid argumentortp-error-Could not find supported pixel format for 352x288ortp-message-v4l2: trying 320x240ortp-message-VIDIOC_TRY_FMT: Invalid argumentortp-message-VIDIOC_TRY_FMT: Invalid argumentortp-message-VIDIOC_TRY_FMT: Invalid argumentortp-message-VIDIOC_TRY_FMT: Invalid argumentortp-error-Could not find supported pixel format for 320x240ortp-message-v4l2: trying 176x144ortp-message-VIDIOC_TRY_FMT: Invalid argumentortp-message-VIDIOC_TRY_FMT: Invalid argumentortp-message-VIDIOC_TRY_FMT: Invalid argumentortp-message-VIDIOC_TRY_FMT: Invalid argumentortp-error-Could not find supported pixel format for 176x144ortp-message-Could not find any combination of resolution/pixel-format that works !ortp-message-Driver is mxc_v4l2ortp-message-v4l2: trying 352x288ortp-message-VIDIOC_TRY_FMT: Invalid argumentortp-message-VIDIOC_TRY_FMT: Invalid argumentortp-message-VIDIOC_TRY_FMT: Invalid argumentortp-message-VIDIOC_TRY_FMT: Invalid argumentortp-error-Could not find supported pixel format for 352x288ortp-message-v4l2: trying 320x240ortp-message-VIDIOC_TRY_FMT: Invalid argumentortp-message-VIDIOC_TRY_FMT: Invalid argumentortp-message-VIDIOC_TRY_FMT: Invalid argumentortp-message-VIDIOC_TRY_FMT: Invalid argumentortp-error-Could not find supported pixel format for 320x240ortp-message-v4l2: trying 176x144ortp-message-VIDIOC_TRY_FMT: Invalid argumentortp-message-VIDIOC_TRY_FMT: Invalid argumentortp-message-VIDIOC_TRY_FMT: Invalid argumentortp-message-VIDIOC_TRY_FMT: Invalid argumentortp-error-Could not find supported pixel format for 176x144ortp-message-Could not find any combination of resolution/pixel-format that works !Segmentation fault
>From this point I really need some help. I guess that problem in mxc_v4l2 driver, but have no clue how to solve it. Perhaps, there are people here who have an experience with linphone and freescale SabreSD. So, I will be grateful for any advices!Thanks in advance!
P.S. Sorry for my English. I am not a native speaker. 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20140704/853a3069/attachment-0001.html>


More information about the meta-freescale mailing list