This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM335x Starter kit Graphics_SDK 335x-demo

Hello,

I am working on project using AM335x SK and trying to compile Graphics_SDK_4_10_00_01 with SUPPORT_XORG=1 support, my main goal is to enable wxwidgets support for TI Arago Linux. SDK version used is ti-sdk-am335x-evm-06.00.00.00.System and kernel are booting from tftp.

I was following the steps posted in

http://e2e.ti.com/support/arm/sitara_arm/f/791/p/270556/947422.aspx#947422

and everything was going as specified until


root@am335x-evm://# ./etc/init.d/335x-demo
0x10205
release8.x
installing 8.x SGX release user libraries

Installing PowerVR Consumer/Embedded DDK 'sgxddk_1.10@2359475' on target

File system installation root is /

Uninstalling existing version sgxddk_1.10@2359475
Uninstallation completed.
boot script rc.pvr -> /etc/init.d/rc.pvr
kernel module drm.ko -> /lib/modules/3.2.0/extra/drm.ko
kernel module pvrsrvkm.ko -> /lib/modules/3.2.0/extra/pvrsrvkm.ko
shared library libGLES_CM.so -> /usr/lib/libGLES_CM.so.1.10.2359475
shared library libusc.so -> /usr/lib/libusc.so.1.10.2359475
shared library libGLESv2.so -> /usr/lib/libGLESv2.so.1.10.2359475
shared library libglslcompiler.so -> /usr/lib/libglslcompiler.so.1.10.2359475
shared library libIMGegl.so -> /usr/lib/libIMGegl.so.1.10.2359475
shared library libEGL.so -> /usr/lib/libEGL.so.1.10.2359475
shared library libpvr2d.so -> /usr/lib/libpvr2d.so.1.10.2359475
shared library libpvrPVR2D_BLITWSEGL.so -> /usr/lib/libpvrPVR2D_BLITWSEGL.so.1.10.2359475
shared library libpvrPVR2D_FLIPWSEGL.so -> /usr/lib/libpvrPVR2D_FLIPWSEGL.so.1.10.2359475
shared library libpvrPVR2D_FRONTWSEGL.so -> /usr/lib/libpvrPVR2D_FRONTWSEGL.so.1.10.2359475
shared library libpvrPVR2D_LINUXFBWSEGL.so -> /usr/lib/libpvrPVR2D_LINUXFBWSEGL.so.1.10.2359475
shared library libpvrPVR2D_DRIWSEGL.so -> /usr/lib/libpvrPVR2D_DRIWSEGL.so.1.10.2359475
shared library libsrv_um.so -> /usr/lib/libsrv_um.so.1.10.2359475
shared library libsrv_init.so -> /usr/lib/libsrv_init.so.1.10.2359475
shared library libPVRScopeServices.so -> /usr/lib/libPVRScopeServices.so.1.10.2359475
binary pvrsrvctl -> /usr/local/bin/pvrsrvctl
binary sgx_init_test -> /usr/local/bin/sgx_init_test
binary services_test -> /usr/local/bin/services_test
binary sgx_blit_test -> /usr/local/bin/sgx_blit_test
binary sgx_clipblit_test -> /usr/local/bin/sgx_clipblit_test
binary sgx_flip_test -> /usr/local/bin/sgx_flip_test
binary sgx_render_flip_test -> /usr/local/bin/sgx_render_flip_test
binary pvr2d_test -> /usr/local/bin/pvr2d_test
shader glsltest1_vertshader.txt -> /usr/local/bin/glsltest1_vertshader.txt
shader glsltest1_fragshaderA.txt -> /usr/local/bin/glsltest1_fragshaderA.txt
shader glsltest1_fragshaderB.txt -> /usr/local/bin/glsltest1_fragshaderB.txt
binary eglinfo -> /usr/local/bin/eglinfo
binary xeglinfo -> /usr/local/bin/xeglinfo
binary xgles1test1 -> /usr/local/bin/xgles1test1
binary xmultiegltest -> /usr/local/bin/xmultiegltest
binary xgles1_texture_stream -> /usr/local/bin/xgles1_texture_stream
binary xgles2test1 -> /usr/local/bin/xgles2test1
binary xgles2_texture_stream -> /usr/local/bin/xgles2_texture_stream
X.Org PVR DDX video module pvr_drv.so -> /usr/local/XSGX/lib/xorg/modules/drivers/pvr_drv.so
X.Org configuration file xorg.conf -> /usr/local/XSGX/etc/xorg.conf

Installation complete!
You may now reboot your target.

Loaded PowerVR consumer services.
root@am335x-evm://# ./rc.pvr: line 14: /usr/local/XSGX/bin/X: No such file or directory

root@am335x-evm://usr/local/XSGX/bin# ls
X                c_rehash         openssl          xcalc
Xnest            cvt              rendercheck      xedit
Xorg             cxpm             sxpm             xkbcomp
Xvfb             freetype-config  twm              xmlwf
bdftruncate      gtf              ucs2an

-------------------------------------------------------------------------------------------------------------------------------------------

lsmod returns

root@am335x-evm://# lsmod
Module                  Size  Used by
g_mass_storage         37599  0
wl12xx_sdio             3986  0
wl12xx                202633  0
mac80211              289010  1 wl12xx
cfg80211              189234  2 mac80211,wl12xx

pvrsrvkm module is missing and depmod -a does not help

-----------------------------------------------------------------------------------------------------------------------------------

On boot while trying to load pvrsrvkm error messages appear

same thing happens when I am trying to load this module myself.

.651458] pvrsrvkm: Unknown symbol drm_open (err 0)
[   15.656768] pvrsrvkm: Unknown symbol drm_fasync (err 0)
[   15.662292] pvrsrvkm: Unknown symbol drm_poll (err 0)
[   15.667694] pvrsrvkm: Unknown symbol drm_pci_init (err 0)
[   15.673400] pvrsrvkm: Unknown symbol drm_pvr_dev_remove (err 0)
[   15.679809] pvrsrvkm: Unknown symbol drm_ioctl (err 0)
[   15.685363] pvrsrvkm: Unknown symbol drm_pvr_dev_add (err 0)
[   15.691436] pvrsrvkm: Unknown symbol drm_mmap (err 0)
[   15.696716] pvrsrvkm: Unknown symbol drm_pci_exit (err 0)
[   15.702423] pvrsrvkm: Unknown symbol drm_release (err 0)
Error: could not insert module /lib/modules/3.2.0/extra/pvrsrvkm.ko: Unknown symbol in module
Could not find pvrsrvkm driver

I would appreciate any help I can get




  • This problem was resolved,

    Solution was to use the same Graphic SDK (Graphics_SDK_4_08_00_02) and Software SDK (ti-sdk-am335x-evm-05.07.00.00) as Ignacio Herrero in his post

    http://e2e.ti.com/support/arm/sitara_arm/f/791/p/270556/947422.aspx#947422

    obviously problem was in compatibility between

    Graphics_SDK_4_10_00_01 and ti-sdk-am335x-evm-06.00.00.00

    that I did not manage to resolve. Now it only remains to add support for wxX11 to Arago, but more about this in new post...


  • Hi Predrag Milicevic,

    I am also trying Graphics SDK installation on beaglebone angstrom os of kernel-3.2.42.I installed  Graphics_SDK_4_10_00_01 on my host ubuntu-11.10 pc and followed following link for compilation

    http://processors.wiki.ti.com/index.php/Graphics_SDK_Quick_installation_and_user_guide#Execution_instructions

    With out Xorg  (make BUILD=release OMAPES=8.x all ) able to running all binaries on beaglebone angstrom.

    with xorg (make BUILD=release OMAPES=8.x SUPPORT_XORG=1 all)  pvrsrvkm module is not able  to loading dmesg showing unknown symbol errors like what errors you have got.

      Here i have not used  any am335x_evm_sdk for KERNEL_INSTALL_DIR.I have separate kernel source and uImage using   kernel source i have compiled Graphics_SDK(In Rules.make i have given KERNEL_INSTALL_DIR is my separate linux kernel path ).

    I have two questions

    1.How to resolve this problem in my separate kernel source linux-3.2.42 to resolve unknown symbols for pvrsrvkm.

    2.If  1st step is not possible i have downloaded ti-sdk-am335x same version which u have used to resolve this problem but not able to get  Graphics_SDK_4_08_00_02 version from TI website

    Can you please help me how to solve this unknown error ??????.

    Thanks

    Ram