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.

Not able to insmod vpss.ko, ti81xxfb.ko, ti81xxfb.ko, ti81xxvo.ko kernel modules

Hi all,

I am working on TIDM8148 using linux-2.6.37-psp04.04.00.01 kernel. After building the kernel image and modules, i am not able to do insmod on vpss.ko, ti81xxfb.ko, ti81xxfb.ko, ti81xxvo.ko kernel modules. When I do I get this following error message:

insmod: error inserting 'vpss.ko': -1 Invalid module format

I was able to build and insmod syslink.ko seperately by following http://processors.wiki.ti.com/index.php/SysLink_Install_Guide

I am following the below links to insmod vpss.ko, ti81xxfb.ko, ti81xxfb.ko, ti81xxvo.ko kernel modules:

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

http://processors.wiki.ti.com/index.php/TI81XX_PSP_HDMI_Driver_User_Guide

Can you people please guide me to get rid of this issue?

Thanks in advance

  • Hello,

    If you have rebuilt kernel, you have to build all dependent modules like syslink.ko, vpss.ko, ti81xxfb.ko, ti81xxfb.ko, ti81xxvo.ko etc. You can refer to syslink install guide and video driver userguide on how to build syslink.ko and vpss.ko.

    You could try also:

    make distclean
    host >  make CROSS_COMPILE=....../CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi- ARCH=arm ti8148_evm_defconfig
    host > make CROSS_COMPILE=......./CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi- ARCH=arm menuconfig
    host > make CROSS_COMPILE=....../CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-  ARCH=arm uImage

    host > make ARCH=arm CROSS_COMPILE=.......CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi- modules

    or

      cd ${EZSDK}

     $ make clean

    $ make all

    $ make install

    Make sure that you have copied the new modules.

    Let me know the result and if there is a problem please post the console booting log.

    Best Regards,

    Margarita

  • Hi Margarita,

    I used TI814X-LINUX-PSP-04.01.00.05.tgz package and I followed the steps given in http://processors.wiki.ti.com/index.php/Graphics_SDK_Quick_installation_and_user_guide, now this is working fine.

    Now I am able to do insmod without any errors and I rechecked using lsmod.

    Thanks and Regards,

    Kiran

  • Hello Kiran,

    I am glad that now is working.

    Let me know if you need further details or questions.

    Best Regards,

    Margarita

  • Hello Margarita,

    Thank you for looking into this issue.

    Now even though I have installed Graphics SDK properly, when I run samples which uses X I get this following error message:

    root@localhost:/opt/gfxlibraries/gfx_rel_es6.x# ./xgles1test1 -f 1000

    Error: couldn't open display

    When I do lsmod on target i get:

    root@localhost:~# lsmod

    Module                  Size  Used by
    pvrsrvkm              189517  0
    drm                   130026  1 pvrsrvkm
    ti81xxvo               20477  0
    ti81xxfb               20107  0
    ti81xxhdmi             12992  0
    vpss                   61778  4 pvrsrvkm,ti81xxvo,ti81xxfb,ti81xxhdmi
    syslink              1121259  0

    All the modules are getting insmod without any errors.

    My target bootargs: "setenv bootargs 'console=ttyO0,115200n8 noinitrd rw ethaddr=10.60.2.222 ip=dhcp root=/dev/nfs nfsroot=10.60.2.100:/home/ppc/Downloads/armel_ubuntu,nolock, mem=128M vram=50M ti814xfb.vram=0:48M,1:1M,2:1M notifyk.vpssm3_sva=0xA0000000'"

    And I have cross compiled X11 and its dependent packages also. Still not able to bring up the UI/X window.

    Am I missing somthing?

    Thanks and Regards,

    Kiran

  • Hello,

    I am not A graphics sdk expert but you could check in the installation guide that

    kiran kumar6 said:
    ti814xfb.vram=0:48M,1:1M,2:1M
    should be for For 387x (TI814x):

    insmod ti81xxfb.ko vram=0:24M,1:1M,2:1M

    insmod vpss.ko sbufaddr=0xA0200000


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


    Please follow the instructions for the For 387x (TI814x).

    Here is the link how to debug a SGX issues:

    http://processors.wiki.ti.com/index.php/SGXDbg

    Here is the Xorg Execution steps fo DM814x:

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

    It is good to check this link as well:

    http://processors.wiki.ti.com/index.php/SGXDbg#The_display_goes_blank_and_i_see_some_drmCommandWrite_error_messages


    Best Regards,
    Margarita