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

Konstantin Kovalev lepeletie at hotmail.com
Fri Jul 4 04:31:20 PDT 2014


Oh, my God! What is wrong with a new line symbol? I try to repost here. Really sorry for that!

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-linphone
3) 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 3
INFO: no logfile, logging to stdout

ortp-message-Using (r/w) config information from /home/root/.linphonerc
ortp-message-Initializing LinphoneCore 3.6.1
ortp-message-oRTP-0.22.0 initialized.
ortp-message-assigning PCMU/8000 payload type number 0
ortp-message-assigning GSM/8000 payload type number 3
ortp-message-assigning PCMA/8000 payload type number 8
ortp-message-assigning speex/8000 payload type number 110
ortp-message-assigning speex/16000 payload type number 111
ortp-message-assigning speex/32000 payload type number 112
ortp-message-assigning telephone-event/8000 payload type number 101
ortp-message-assigning G722/8000 payload type number 9
ortp-message-assigning H263/90000 payload type number 34
ortp-message-assigning theora/90000 payload type number 97
ortp-message-assigning H263-1998/90000 payload type number 98
ortp-message-assigning MP4V-ES/90000 payload type number 99
ortp-message-assigning H264/90000 payload type number 102
ortp-message-assigning VP8/90000 payload type number 103
ortp-message-assigning x-snow/90000 payload type number 96
ortp-message-assigning iLBC/8000 payload type number 100
ortp-message-assigning AMR/8000 payload type number 104
ortp-message-assigning AMR-WB/16000 payload type number 105
ortp-message-assigning 1015/8000 payload type number 106
ortp-message-assigning G726-16/8000 payload type number 107
ortp-message-assigning G726-24/8000 payload type number 108
ortp-message-assigning G726-32/8000 payload type number 109
ortp-message-assigning G726-40/8000 payload type number 113
ortp-message-assigning AAL2-G726-16/8000 payload type number 114
ortp-message-assigning AAL2-G726-24/8000 payload type number 115
ortp-message-assigning AAL2-G726-32/8000 payload type number 116
ortp-message-assigning AAL2-G726-40/8000 payload type number 117
ortp-message-assigning SILK/8000 payload type number 118
ortp-message-assigning SILK/12000 payload type number 119
ortp-message-assigning SILK/16000 payload type number 120
ortp-message-assigning SILK/24000 payload type number 121
ortp-message-assigning G729/8000 payload type number 18
ortp-message-assigning mpeg4-generic/22050 payload type number 122
ortp-message-assigning mpeg4-generic/44100 payload type number 123
ortp-message-assigning opus/48000 payload type number 124
ortp-message-assigning 1016/8000 payload type number 1
ortp-message-assigning GSM/8000 payload type number 3
ortp-message-assigning G723/8000 payload type number 4
ortp-message-assigning LPC/8000 payload type number 7
ortp-message-assigning PCMA/8000 payload type number 8
ortp-message-assigning G722/8000 payload type number 9
ortp-message-assigning L16/44100 payload type number 10
ortp-message-assigning L16/44100 payload type number 11
ortp-message-assigning G729/8000 payload type number 18
ortp-message-assigning H261/90000 payload type number 31
ortp-message-assigning MPV/90000 payload type number 32
ortp-message-assigning H263/90000 payload type number 34
ortp-message-Mediastreamer2 2.9.1 (git: 2.9.1) starting.
ortp-message-ms_base_init() done
ortp-message-Registering all soundcard handlers
ortp-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' added
ortp-message-Card 'PulseAudio: default' added
ortp-message-New PulseAudio context state: PA_CONTEXT_CONNECTING
ortp-message-New PulseAudio context state: PA_CONTEXT_FAILED
ortp-message-Registering all webcam handlers
ortp-message-Webcam V4L2: /dev/video1 added
ortp-message-Webcam StaticImage: Static picture added
ortp-message-ms_voip_init() done
ortp-message-Loading ms plugins from [/usr/lib/mediastreamer/plugins]
ortp-message-Cannot open directory /usr/lib/mediastreamer/plugins: No such file or directory
ortp-message-Cannot open directory /usr/lib/liblinphone/plugins: No such file or directory
ortp-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 1240
ortp-message-Adding new codec PCMU/8000 with fmtp
ortp-message-Could not find encoder for 1016
ortp-message-Could not find decoder for 1016
ortp-message-Could not find encoder for GSM
ortp-message-Could not find decoder for GSM
ortp-message-Could not find encoder for G723
ortp-message-Could not find decoder for G723
ortp-message-Could not find encoder for LPC
ortp-message-Could not find decoder for LPC
ortp-message-Adding new codec PCMA/8000 with fmtp
ortp-message-Adding new codec G722/8000 with fmtp
ortp-message-Adding new codec L16/44100 with fmtp
ortp-message-Adding new codec L16/44100 with fmtp
ortp-message-Could not find encoder for G729
ortp-message-Could not find decoder for G729
ortp-message-Could not find encoder for iLBC
ortp-message-Could not find decoder for iLBC
ortp-message-Could not find encoder for telephone-event
ortp-message-Could not find decoder for telephone-event
ortp-message-Could not find encoder for AMR
ortp-message-Could not find decoder for AMR
ortp-message-Could not find encoder for AMR-WB
ortp-message-Could not find decoder for AMR-WB
ortp-message-Could not find encoder for 1015
ortp-message-Could not find decoder for 1015
ortp-message-Could not find encoder for G726-16
ortp-message-Could not find decoder for G726-16
ortp-message-Could not find encoder for G726-24
ortp-message-Could not find decoder for G726-24
ortp-message-Could not find encoder for G726-32
ortp-message-Could not find decoder for G726-32
ortp-message-Adding new codec speex/8000 with fmtp vbr=on
ortp-message-Adding new codec speex/16000 with fmtp vbr=on
ortp-message-Adding new codec speex/32000 with fmtp vbr=on
ortp-message-Could not find encoder for G726-40
ortp-message-Could not find decoder for G726-40
ortp-message-Could not find encoder for AAL2-G726-16
ortp-message-Could not find decoder for AAL2-G726-16
ortp-message-Could not find encoder for AAL2-G726-24
ortp-message-Could not find decoder for AAL2-G726-24
ortp-message-Could not find encoder for AAL2-G726-32
ortp-message-Could not find decoder for AAL2-G726-32
ortp-message-Could not find encoder for AAL2-G726-40
ortp-message-Could not find decoder for AAL2-G726-40
ortp-message-Could not find encoder for SILK
ortp-message-Could not find decoder for SILK
ortp-message-Could not find encoder for SILK
ortp-message-Could not find decoder for SILK
ortp-message-Could not find encoder for SILK
ortp-message-Could not find decoder for SILK
ortp-message-Could not find encoder for SILK
ortp-message-Could not find decoder for SILK
ortp-message-Could not find encoder for mpeg4-generic
ortp-message-Could not find decoder for mpeg4-generic
ortp-message-Could not find encoder for mpeg4-generic
ortp-message-Could not find decoder for mpeg4-generic
ortp-message-Could not find encoder for opus
ortp-message-Could not find decoder for opus
ortp-message-Could not find encoder for H261
ortp-message-Could not find decoder for H261
ortp-message-Could not find encoder for MPV
ortp-message-Could not find decoder for MPV
ortp-message-Could not find encoder for H263
ortp-message-Could not find decoder for H263
ortp-message-Could not find encoder for x-snow
ortp-message-Could not find decoder for x-snow
ortp-message-Adding new codec theora/90000 with fmtp
ortp-message-Could not find encoder for H263-1998
ortp-message-Could not find decoder for H263-1998
ortp-message-Could not find encoder for MP4V-ES
ortp-message-Could not find decoder for MP4V-ES
ortp-message-Could not find encoder for H264
ortp-message-Could not find decoder for H264
ortp-message-Could not find encoder for VP8
ortp-message-Could not find decoder for VP8
ortp-message-getaddrinfo returned the following addresses:
ortp-message-0.0.0.0 port 5060
ortp-message-eXosip: Reseting timer to 10s before waking up!Ready
linphonec> 
ortp-error-Error in connect: Network is unreachable
ortp-message-Setting video size 352x288
ortp-message-Driver is mxc_v4l2
ortp-message-v4l2: trying 352x288
ortp-message-VIDIOC_TRY_FMT: Invalid argument
ortp-message-VIDIOC_TRY_FMT: Invalid argument
ortp-message-VIDIOC_TRY_FMT: Invalid argument
ortp-message-VIDIOC_TRY_FMT: Invalid argument
ortp-error-Could not find supported pixel format for 352x288
ortp-message-v4l2: trying 320x240
ortp-message-VIDIOC_TRY_FMT: Invalid argument
ortp-message-VIDIOC_TRY_FMT: Invalid argument
ortp-message-VIDIOC_TRY_FMT: Invalid argument
ortp-message-VIDIOC_TRY_FMT: Invalid argument
ortp-error-Could not find supported pixel format for 320x240
ortp-message-v4l2: trying 176x144
ortp-message-VIDIOC_TRY_FMT: Invalid argument
ortp-message-VIDIOC_TRY_FMT: Invalid argument
ortp-message-VIDIOC_TRY_FMT: Invalid argument
ortp-message-VIDIOC_TRY_FMT: Invalid argument
ortp-error-Could not find supported pixel format for 176x144
ortp-message-Could not find any combination of resolution/pixel-format that works !
ortp-message-Driver is mxc_v4l2
ortp-message-v4l2: trying 352x288
ortp-message-VIDIOC_TRY_FMT: Invalid argument
ortp-message-VIDIOC_TRY_FMT: Invalid argument
ortp-message-VIDIOC_TRY_FMT: Invalid argument
ortp-message-VIDIOC_TRY_FMT: Invalid argument
ortp-error-Could not find supported pixel format for 352x288
ortp-message-v4l2: trying 320x240
ortp-message-VIDIOC_TRY_FMT: Invalid argument
ortp-message-VIDIOC_TRY_FMT: Invalid argument
ortp-message-VIDIOC_TRY_FMT: Invalid argument
ortp-message-VIDIOC_TRY_FMT: Invalid argument
ortp-error-Could not find supported pixel format for 320x240
ortp-message-v4l2: trying 176x144
ortp-message-VIDIOC_TRY_FMT: Invalid argument
ortp-message-VIDIOC_TRY_FMT: Invalid argument
ortp-message-VIDIOC_TRY_FMT: Invalid argument
ortp-message-VIDIOC_TRY_FMT: Invalid argument
ortp-error-Could not find supported pixel format for 176x144
ortp-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!

 		 	   		  


More information about the meta-freescale mailing list