本帖最后由 FSL_TICS_imx 于 2014-4-2 21:17 编辑
之前一个帖子不知道为什么没法回复了,所以新开一个帖子。请教各位大神问题如下:
用LTIB生成ixm53 vpu的测试程序, mxc_vpu_test.out ,拷贝到目标板运行后出现如下错误:
root@freescale /home/root$ ./mxc_vpu_test.out -D "-i akiyo.mp4 -x 1 -f 1"
[INFO] VPU test program built on Mar 18 2014 22:43:15
[INFO] Product Info: i.MX53
[INFO] VPU firmware version: 15.3.10
[INFO] VPU library version: 5.3.2
[INFO] Display through IPU LIB
[INFO] Format: STD_H263
[INFO] Input file "akiyo.mp4" opened.
[INFO] H263 Profile: 0 Level: 131
[INFO] Decoder: width = 176, height = 144, fps = 15, count = 4
[INFO] CROP left/top/right/bottom 0 0 0 0
[INFO] Display fps will be 0
[INFO] Display to 800 480, top offset 0, left offset 0
Illegal instruction
仔细查看编译信息后,信息如下:
make -C mxc_vpu_test
make[2]: Entering directory `/home/melody/ltib/rpm/BUILD/imx-test-11.09.01/test/mxc_vpu_test'
gcc -I/home/melody/ltib/rpm/BUILD/imx-test-11.09.01/include -I/home/melody/ltib/rootfs/usr/src/linux/include -I/home/melody/ltib/rpm/BUILD/imx-test-11.09.01/../linux/drivers/mxc/security/rng/include -I/home/melody/ltib/rpm/BUILD/imx-test-11.09.01/../linux/drivers/mxc/security/sahara2/include -Wall -O2 -c main.c -o main.o
gcc -I/home/melody/ltib/rpm/BUILD/imx-test-11.09.01/include -I/home/melody/ltib/rootfs/usr/src/linux/include -I/home/melody/ltib/rpm/BUILD/imx-test-11.09.01/../linux/drivers/mxc/security/rng/include -I/home/melody/ltib/rpm/BUILD/imx-test-11.09.01/../linux/drivers/mxc/security/sahara2/include -Wall -O2 -c dec.c -o dec.o
dec.c: In function 'dec_fill_bsbuffer':
dec.c:207: warning: passing argument 4 of 'vpu_DecGetBitstreamBuffer' from incompatible pointer type
这里编译器选择的是gcc 而不是arm-none-linux-gcc, 我想知道为什么会这样?
源码包:"L2.6.35_11_09_ER_SOURCE" ,LTIB中board选择“imx5x” ," Choose the packages profile "选择“Test and Develop package” ,其他所有配置不变。 |