linux内核使用ti-processor-sdk-linux-rt-am335x-evm-03.01.00.06,
Graphics SDK使用
Graphics_SDK_5_01_01_02
操作按照http://processors.wiki.ti.com/index.php/Graphics_SDK_Quick_installation_and_user_guide这里的说明,
在执行/etc/init.d/335x-demo的时候出现错误:
[ 1092.211611] pvrsrvkm: Unknown symbol v7_dma_map_area (err 0)Module pvrsrvkm failed to load. Retrying.Running /sbin/depmod[ 1092.648001] pvrsrvkm: Unknown symbol v7_dma_map_area (err 0)
全部信息如下:
0x10205release8.xinstalling 8.x SGX release user librariesInstalling PowerVR Consumer/Embedded DDK 'sgxddk_1.10@2359475' on targetFile system installation root is /Uninstalling existing version sgxddk_1.10@2359475Uninstallation completed.boot script rc.pvr -> /etc/init.d/rc.pvrkernel module pvrsrvkm.ko -> /lib/modules/4.4.19-rt25-gf572d285f0/extra/pvrsrvko
kernel module omaplfb.ko -> /lib/modules/4.4.19-rt25-gf572d285f0/extra/omaplfb.o
shared library libGLES_CM.so -> /usr/lib/libGLES_CM.so.1.10.2359475shared library libusc.so -> /usr/lib/libusc.so.1.10.2359475shared library libGLESv2.so -> /usr/lib/libGLESv2.so.1.10.2359475shared library libglslcompiler.so -> /usr/lib/libglslcompiler.so.1.10.2359475shared library libIMGegl.so -> /usr/lib/libIMGegl.so.1.10.2359475shared library libEGL.so -> /usr/lib/libEGL.so.1.10.2359475shared library libpvr2d.so -> /usr/lib/libpvr2d.so.1.10.2359475shared library libpvrPVR2D_BLITWSEGL.so -> /usr/lib/libpvrPVR2D_BLITWSEGL.so.1.5
shared library libpvrPVR2D_FLIPWSEGL.so -> /usr/lib/libpvrPVR2D_FLIPWSEGL.so.1.5
shared library libpvrPVR2D_FRONTWSEGL.so -> /usr/lib/libpvrPVR2D_FRONTWSEGL.so.5
shared library libpvrPVR2D_LINUXFBWSEGL.so -> /usr/lib/libpvrPVR2D_LINUXFBWSEGL5
shared library libsrv_um.so -> /usr/lib/libsrv_um.so.1.10.2359475shared library libsrv_init.so -> /usr/lib/libsrv_init.so.1.10.2359475shared library libPVRScopeServices.so -> /usr/lib/libPVRScopeServices.so.1.10.25
binary pvrsrvctl -> /usr/local/bin/pvrsrvctlbinary sgx_init_test -> /usr/local/bin/sgx_init_testbinary services_test -> /usr/local/bin/services_testbinary sgx_blit_test -> /usr/local/bin/sgx_blit_testbinary sgx_clipblit_test -> /usr/local/bin/sgx_clipblit_testbinary sgx_flip_test -> /usr/local/bin/sgx_flip_testbinary sgx_render_flip_test -> /usr/local/bin/sgx_render_flip_testbinary pvr2d_test -> /usr/local/bin/pvr2d_testshader glsltest1_vertshader.txt -> /usr/local/bin/glsltest1_vertshader.txtshader glsltest1_fragshaderA.txt -> /usr/local/bin/glsltest1_fragshaderA.txtshader glsltest1_fragshaderB.txt -> /usr/local/bin/glsltest1_fragshaderB.txtInstallation complete!You may now reboot your target.[ 1092.211611] pvrsrvkm: Unknown symbol v7_dma_map_area (err 0)Module pvrsrvkm failed to load. Retrying.Running /sbin/depmod[ 1092.648001] pvrsrvkm: Unknown symbol v7_dma_map_area (err 0)
请问这是怎么回事呢?
我看了下v7_dma_map_area函数是cache-v7.S文件里面,system.map中已经编译进去了。
Jian Zhou:
这个graphic SDK是比较老的版本,应该是和最新的processor SDK不匹配。
willie xu:
回复 Jian Zhou:
我在官方上没找到更新的graphic SDK了。那这一版本的processor SDK要匹配哪版的graphic SDK?
Jian Zhou:
回复 willie xu:
最新的processer SDK 的Graphic的架构和以前也不一样了,请参考:
http://processors.wiki.ti.com/index.php/Processor_Linux_SDK_Graphics_and_Display