[meta-freescale] PXP test applications

Eric Nelson eric.nelson at boundarydevices.com
Fri Apr 10 07:47:39 PDT 2015


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:

~/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:

pxp_v4l2_test.out -sx 480 -sy 272 -res 352:240 -dst 0:0:352:240 -a 100
-w 2 fb-352x240.yuv  BLANK
pxp_v4l2_test.out -sx 480 -sy 272 -res 352:240 -a 0 -r 90 fb-352x240.yuv
 BLANK
pxp_v4l2_test.out -sx 480 -sy 272 -res 352:240 -a 100 -o rgb24_file.s1
fb-352x240.yuv  BLANK
pxp_v4l2_test.out -sx 480 -sy 272 -res 352:240 -a 100 -r 180
fb-352x240.yuv rgb24_file.s1
pxp_v4l2_out_test.sh (END)

Regards,


Eric


More information about the meta-freescale mailing list