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.

OMAP3EVM PowerVR SDK Problems

Other Parts Discussed in Thread: SYSCONFIG

 

Hello,

        I’ve downloaded the OpenGL SDK v3.00.00.08a and the latest PSP (OMAP35x-PSP-SDK-02.01.02.09) and am using the arm2007q3-51 version of the CodeSourcery toolchain – I’m running into problems getting the OpenGL kernel modules to load on the Linux kernel on the OMAP3EVM – I’ve applied the SGX patches (found in sgx_kernelmodule_patches), and noticed that the psp_kernel_patches/*.patch have already been applied on the Linux kernel (so I did not apply them). 

When I try to load the three kernel modules, I get errors. Loading pvrsrvkm.ko goes without incident. Loading omaplfb.ko produces the following error:

<4>omaplfb: no symbol version for PVRGetDisplayClassJTable
omaplfb: no symbol version for PVRGetDisplayClassJTable
<4>omaplfb: Unknown symbol PVRGetDisplayClassJTable
omaplfb: Unknown symbol PVRGetDisplayClassJTable
insmod: cannot insert 'omaplfb.ko': unknown symbol in module, or unknown parameter

Has anyone else come across this error in the latest releases? A peek into the OE (OpenEmbedded build system) recipes for the 08a kernel module build shows a number of patches being applied to get it working.

Thanks,

Jerry 

 

  • I'm getting the same issue.

  • Following your procedure I have succesffully built and loaded the kernel modules. When I go to run the test I receive the following error.

    # ./gles1test1 -t                                     
    'eglInitialize' returned egl error 'EGL_NOT_INITIALIZED' (0x3001)

    It should be noted I am using Graphics SDK 3.00.00.08 with PSP 2.01.01.08 on OMAP3EVM board. I am using pre-built kernel, and GFX SDK NFS filesystem. I have replaced pvrsrvkm.ko and omaplfb.ko, and modified /etc/init.d/rc.pvr to change "modprope -f" to "modprobe -q" and remove the bc_example.ko stuff as it is not built using your method.

    Perhaps this has been address in 08a or 09. I will try these out if you haven't encountered the issue I have above. These were printed during startup:

    <6>PVR: PVRCore_Init                                                           
    PVR: PVRCore_Init                                                              
    <6>PVR: PVRCore_Init: major device 252                                         
    PVR: PVRCore_Init: major device 252                                            
    <6>PVR: Setting Debug Level = 0x4                                              
    PVR: Setting Debug Level = 0x4                                                 
    <6>PVR: PVRSRVDriverProbe(pDevice=bf049528)                                    
    PVR: PVRSRVDriverProbe(pDevice=bf049528)                                       
    <6>PVR: EnableSystemClocks: Enabling System Clocks                             
    PVR: EnableSystemClocks: Enabling System Clocks                                
    <6>PVR: Setting GPTIMER11 parent to System Clock                               
    PVR: Setting GPTIMER11 parent to System Clock                                  
    <6>PVR: GPTIMER11 clock is 13MHz                                               
    PVR: GPTIMER11 clock is 13MHz                                                  
    <6>PVR: Setting GPTIMER11 mode to posted (currently is non-posted)             
    PVR: Setting GPTIMER11 mode to posted (currently is non-posted)                
    <6>PVR: OSUnMapPhysToLin: unmapping 4 bytes from 0xd8088040                    
    PVR: OSUnMapPhysToLin: unmapping 4 bytes from 0xd8088040                       
    <6>PVR: OSUnMapPhysToLin: unmapping 4 bytes from 0xd8088024                    
    PVR: OSUnMapPhysToLin: unmapping 4 bytes from 0xd8088024                       
    <6>PVR: EnableSGXClocks: Enabling SGX Clocks                                   
    PVR: EnableSGXClocks: Enabling SGX Clocks                                      
    <6>PVR: CPU Clock is 1000Mhz                                                   
    PVR: CPU Clock is 1000Mhz                                                      
    <6>PVR: SGX Functional Clock rate is 110Mhz                                    
    PVR: SGX Functional Clock rate is 110Mhz                                       
    <6>PVR: DisableSGXClocks: Disabling SGX Clocks                                 
    PVR: DisableSGXClocks: Disabling SGX Clocks                                    
    <6>PVR: EnableSGXClocks: Enabling SGX Clocks                                   
    PVR: EnableSGXClocks: Enabling SGX Clocks                                      
    <6>PVR: CPU Clock is 1000Mhz                                                   
    PVR: CPU Clock is 1000Mhz                                                      
    <6>PVR: SGX Functional Clock rate is 110Mhz                                    
    PVR: SGX Functional Clock rate is 110Mhz                                       
    <6>PVR: Installing MISR with cookie bf04a5c0                                   
    PVR: Installing MISR with cookie bf04a5c0                                      
    <6>PVR: Installing device LISR SGX ISR on IRQ 21 with cookie c48ec0c0          
    PVR: Installing device LISR SGX ISR on IRQ 21 with cookie c48ec0c0             
    <6>PVR: OSUnMapPhysToLin: unmapping 16384 bytes from 0xc6220000                
    PVR: OSUnMapPhysToLin: unmapping 16384 bytes from 0xc6220000                   
    <6>PVR_K:(Warning): SysFinalise: Version string: SGX revision = 1.0.3 [393, /mnt
    /hdb1/opengl_bb/OpenGL-v2_0/OMAP35x_Graphics_SDK_3_00_00_08/GFX_Linux_KM/service
    s4/system/omap3430/sysconfig.c]                                                
    PVR_K:(Warning): SysFinalise: Version string: SGX revision = 1.0.3 [393, /mnt/hd
    b1/opengl_bb/OpenGL-v2_0/OMAP35x_Graphics_SDK_3_00_00_08/GFX_Linux_KM/services4/
    system/omap3430/sysconfig.c]                                                   
    <6>PVR: DisableSGXClocks: Disabling SGX Clocks                                 
    PVR: DisableSGXClocks: Disabling SGX Clocks                                    
    PVRSRV_PIXEL_FORMAT_RGB888                                                     
    EGL library does not support RGB888 !!!                                        
    PVRSRV_PIXEL_FORMAT_RGB888                                                     
    EGL library does not support RGB888 !!!                                        
    Loaded PowerVR consumer services.

  • EGL library does not support RGB888 !!!                                        says it all

    I have the same issue on my beagleboard, I can only get it to work with a RGB565 framebuffer, to set it up in u-boot, I used (note this may differ on different boards and kernels, the omapfb.mode is the one that matters):

    nand erase 260000 20000
    setenv bootcmd 'mmcinit; fatload mmc 0 0x80300000 uImage; bootm 0x80300000'
    setenv bootargs console=ttyS2,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait omapfb.mode=dvi:1280x720MR-16@60
    saveenv

    to get a 1280x720 60hz 16 bit framebuffer, then the PVR driver loads OK and I can run the examples and Qt, be sure to edit /etc/powervr.ini I had to replace the flip-library with libpvrPVR2D_FRONTWSEGL.so in there, as I can't get FLIP to work neither.

     

  • I can not find the patch sgx_kernelmodule_patches in OMAP35x_Graphics_SDK_3_00_00_09.

     

    Thanks for any help!

  • I dont think you need a patch for 3.0.0.9 sdk.