[meta-freescale] PXP test applications

Eric Nelson eric.nelson at boundarydevices.com
Fri Apr 10 11:32:57 PDT 2015


Hi Daiane,

On 04/10/2015 08:58 AM, Daiane Angolini wrote:
> On Fri, Apr 10, 2015 at 11:47 AM, Eric Nelson
> <eric.nelson at boundarydevices.com> wrote:
>> Thanks Daiane,
>>
>> On 04/10/2015 05:09 AM, Daiane Angolini wrote:
>>> On Thu, Apr 9, 2015 at 6:13 PM, Eric Nelson
>>> <eric.nelson at boundarydevices.com> wrote:
>>>> Hi all,
>>>>
>>>> Does anyone know how to run the pxp_test.out program
>>>> from /unit_tests?
>>>>
>>>> I can run it, but it's not clear what is supposed to happen.
>>>>
>>>> root at nitrogen6x:/unit_tests# ./pxp_test.out -H
>>>> Usage: ./pxp_test.out -I "<options for each instance>" -H display this help
>>>>
>>>> options for each instance
>>>>    -o <output file> Write output to file
>>>>         If no output is specified, default is panel
>>>>    -r <rotation angle>
>>>>    -h <horizontal flip>
>>>>    -v <vertical flip>
>>>>    -l <left position for display>
>>>>    -t <top position for display>
>>>>    -i <pixel inversion>
>>>>
>>>> I can run it, but I'm not sure what it's supposed to do.
>>>>
>>>> root at nitrogen6x:/unit_tests# ./pxp_test.out -I "-h -v -l 10 -t 100 -i
>>>> akiyo.mp4"
>>>
>>> If you look under /unit_test folder, you find a pxp_autorun.sh script
>>> (or something like that)
>>>
>>> The autorun* scripts are a set of command lines to run "automatically"
>>> the *.out test.
>>>
>>> Maybe it can help you figure out how to use it
>>>
>>
>> Oddly, the file pxp_autorun.sh isn't a script:
> 
> I was able to run the script some version in the recent past, so I
> think it's a regression.
> 
> (I was able to run the script with error, so for me it was useless)
> 

I think there's more to the story...

>>
>> ~/yocto/build/tmp/work/nitrogen6x-poky-linux-gnueabi/imx-test/1_3.10.53-1.1.0-r0/image/unit_tests$
>> ls -l *pxp*
>> -rwxr-xr-x 1 ericn ericn 382803 Mar 30 20:34 autorun-pxp.sh
>> -rwxr-xr-x 1 ericn ericn 382803 Mar 30 20:34 pxp_test.out
>> ~/yocto/build/tmp/work/nitrogen6x-poky-linux-gnueabi/imx-test/1_3.10.53-1.1.0-r0/image/unit_tests$
>> file autorun-pxp.sh
>> autorun-pxp.sh: ELF 32-bit LSB  executable, ARM, EABI5 version 1...
>>
>> Something appears to be broken in the build process, since I do
>> find a script with some sample command-lines in the source tree:
>>

The pxp_v4l2_test.out program isn't part of the package, and the
'pxp_test.out' program wants arguments that are quite different
from this:

>> pxp_v4l2_test.out -sx 480 -sy 272 -res 352:240 -dst 0:0:352:240 -a 100
>> -w 2 fb-352x240.yuv  BLANK

root at nitrogen6x:/unit_tests# pxp_v4l2_test.out -sx 480 -sy 272 -res
352:240 -dst 0:0:352:240 -a 100 BLANK
./pxp_test.out: invalid option -- 's'
Usage: ./pxp_test.out -I "<options for each instance>" -H display this help

options for each instance
   -o <output file> Write output to file
 	If no output is specified, default is panel
   -r <rotation angle>
   -h <horizontal flip>
   -v <vertical flip>
   -l <left position for display>
   -t <top position for display>
   -i <pixel inversion>

I don't suppose there's an official git repository for this package?

Please advise,


Eric


More information about the meta-freescale mailing list