logo

Could not compile stylesheet for simplistic. Using last compiled stylesheet.

GLX IGEPv2

posted in Uncategorized
Friday, July 09 2010, 12:49 PM
srhjackson
srhjackson
Offline
0
Hi, I\\\'m new to the forum so please be patient :-) I\\\'m trying to follow the wiki [url=http://wiki.jmaustin.org/wiki/IgepSGXUbuntu]http://wiki.jmaustin.org/wiki/IgepSGXUbuntu[/url] to enable graphics support for eventual Qt OPENGL|ES use, but I can\\\'t find the kernel modules referenced in the wiki. I assume I only need the OMAPLFB module? Does anyone know where I can find this module? I\\\'ve looked all over the downloads section of myigep and can\\\'t fnid any reference for it. Also has anyone else successfully enabled SGX? Any help will be really gratefully recieved.
Responses (20)
  • Accepted Answer

    mcaro
    mcaro
    Offline
    Friday, July 09 2010, 01:52 PM - #permalink
    0
    Hi,
    to enable graphics support for eventual Qt OPENGL|ES use, but I can\\\'t find the kernel modules referenced in the wiki. I assume I only need the OMAPLFB module?
    It\\\'s not right, the SGX modules should be download direcly from TI. You can use this address for download it: [url=http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/latest/index_FDS.html]http://software-dl.ti.com/dsps/dsps_pub ... x_FDS.html[/url]
    Also has anyone else successfully enabled SGX?
    Yes Cheers Manel
    The reply is currently minimized Show
  • Accepted Answer

    srhjackson
    srhjackson
    Offline
    Friday, July 09 2010, 02:35 PM - #permalink
    0
    Cheers mcaro, I\\\'ll give this a go.
    The reply is currently minimized Show
  • Accepted Answer

    srhjackson
    srhjackson
    Offline
    Tuesday, July 13 2010, 03:55 PM - #permalink
    0
    I\\\'m still clueless unfortunately, so any further help will be appreciated... From what I read online I need to get my hands on the modules omapflb, bufferclass_ti pvrsrvkm I have OMAP35x_Graphics_SDK_3_01_00_06 but there\\\'s no reference as to what to do with it. I untared it to the IGEP and tried \\\'make\\\'-ing it but that threw a pile of errors my way. I\\\'m running kernel 2.6.28 on the board with ubuntu 9.04. Can anyone help with getting SGX enabled? It\\\'s driving me nuts.
    The reply is currently minimized Show
  • Accepted Answer

    mcaro
    mcaro
    Offline
    Tuesday, July 13 2010, 05:15 PM - #permalink
    0
    Hi Edit the file Rules.make and configure your right path ... The command for build it should be: source /usr/local/poky/eabi-glibc/environment-setup-arm-none-linux-gnueabi make BUILD=release OMAPES=3.x Attached I post my Rules.make for reference ... Cheers Manel
    The reply is currently minimized Show
  • Accepted Answer

    srhjackson
    srhjackson
    Offline
    Wednesday, July 14 2010, 02:27 PM - #permalink
    0
    Cheers for the info, I feel like I\\\'m finally on the right track, however, I compiled the kernel 2.6.28.10-3 source (from the labs) and used it as the kernel directory for OMAP3x_Graphics_SDK, now the error thrown is the implicit declaration of omap_rev_lt_3_0, in the buffer_ti prototype, does anyone know where to get the header/prototype for this function?
    The reply is currently minimized Show
  • Accepted Answer

    mcaro
    mcaro
    Offline
    Wednesday, July 14 2010, 02:32 PM - #permalink
    0
    Hi You should edit the file: ./services4/3rdparty/bufferclass_ti/bc_cat.c In the function: static int __init bc_cat_init(void) Replace the line: [code] width_align = omap_rev_lt_3_0() ? 32 : 8; [/code] for this other: [code] width_align = 8; [/code] Cheers Manel
    The reply is currently minimized Show
  • Accepted Answer

    srhjackson
    srhjackson
    Offline
    Wednesday, July 14 2010, 06:30 PM - #permalink
    0
    Thanks Manel, another hurdle jumped, bufferclass_ti compiles fine, but I get more errors when the make tries to compile omapflb... jdoe@ubuntu:~/Desktop/SGX/graphics$ make OMAPES=3.x BUILD=release building the sgx kernel modules... make[1]: Entering directory `/home/jdoe/Desktop/SGX/graphics/GFX_Linux_KM\\\' make -C /home/jdoe/Desktop/SGX/linux-omap-2.6.28.10-3 M=`pwd` clean make[2]: Entering directory `/home/jdoe/Desktop/SGX/linux-omap-2.6.28.10-3\\\' CLEAN /home/jdoe/Desktop/SGX/graphics/GFX_Linux_KM/.tmp_versions make[2]: Leaving directory `/home/jdoe/Desktop/SGX/linux-omap-2.6.28.10-3\\\' make[1]: Leaving directory `/home/jdoe/Desktop/SGX/graphics/GFX_Linux_KM\\\' make[1]: Entering directory `/home/jdoe/Desktop/SGX/graphics/GFX_Linux_KM\\\' make -C /home/jdoe/Desktop/SGX/linux-omap-2.6.28.10-3 M=`pwd` make[2]: Entering directory `/home/jdoe/Desktop/SGX/linux-omap-2.6.28.10-3\\\' LD /home/jdoe/Desktop/SGX/graphics/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/built-in.o CC [M] /home/jdoe/Desktop/SGX/graphics/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bc_cat.o LD [M] /home/jdoe/Desktop/SGX/graphics/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bufferclass_ti.o LD /home/jdoe/Desktop/SGX/graphics/GFX_Linux_KM/services4/3rdparty/dc_omap3430_linux/built-in.o CC [M] /home/jdoe/Desktop/SGX/graphics/GFX_Linux_KM/services4/3rdparty/dc_omap3430_linux/omaplfb_displayclass.o CC [M] /home/jdoe/Desktop/SGX/graphics/GFX_Linux_KM/services4/3rdparty/dc_omap3430_linux/omaplfb_linux.o /home/jdoe/Desktop/SGX/graphics/GFX_Linux_KM/services4/3rdparty/dc_omap3430_linux/omaplfb_linux.c:59:26: error: plat/display.h: No such file or directory /home/jdoe/Desktop/SGX/graphics/GFX_Linux_KM/services4/3rdparty/dc_omap3430_linux/omaplfb_linux.c:62: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token /home/jdoe/Desktop/SGX/graphics/GFX_Linux_KM/services4/3rdparty/dc_omap3430_linux/omaplfb_linux.c: In function ‘OMAPLFBEnableVSyncInterrupt’: /home/jdoe/Desktop/SGX/graphics/GFX_Linux_KM/services4/3rdparty/dc_omap3430_linux/omaplfb_linux.c:102: error: ‘pOMAPLFBVSyncISRHandle’ undeclared (first use in this function) /home/jdoe/Desktop/SGX/graphics/GFX_Linux_KM/services4/3rdparty/dc_omap3430_linux/omaplfb_linux.c:102: error: (Each undeclared identifier is reported only once /home/jdoe/Desktop/SGX/graphics/GFX_Linux_KM/services4/3rdparty/dc_omap3430_linux/omaplfb_linux.c:102: error: for each function it appears in.) /home/jdoe/Desktop/SGX/graphics/GFX_Linux_KM/services4/3rdparty/dc_omap3430_linux/omaplfb_linux.c: In function ‘OMAPLFBDisableVSyncInterrupt’: /home/jdoe/Desktop/SGX/graphics/GFX_Linux_KM/services4/3rdparty/dc_omap3430_linux/omaplfb_linux.c:108: error: ‘pOMAPLFBVSyncISRHandle’ undeclared (first use in this function) /home/jdoe/Desktop/SGX/graphics/GFX_Linux_KM/services4/3rdparty/dc_omap3430_linux/omaplfb_linux.c: In function ‘OMAPLFBInstallVSyncISR’: /home/jdoe/Desktop/SGX/graphics/GFX_Linux_KM/services4/3rdparty/dc_omap3430_linux/omaplfb_linux.c:168: error: ‘pOMAPLFBVSyncISRHandle’ undeclared (first use in this function) /home/jdoe/Desktop/SGX/graphics/GFX_Linux_KM/services4/3rdparty/dc_omap3430_linux/omaplfb_linux.c:168: error: implicit declaration of function ‘omap_dispc_register_isr’ /home/jdoe/Desktop/SGX/graphics/GFX_Linux_KM/services4/3rdparty/dc_omap3430_linux/omaplfb_linux.c:169: error: ‘omap_dispc_isr_t’ undeclared (first use in this function) /home/jdoe/Desktop/SGX/graphics/GFX_Linux_KM/services4/3rdparty/dc_omap3430_linux/omaplfb_linux.c:169: error: expected ‘)’ before ‘OMAPLFBVSyncISR’ /home/jdoe/Desktop/SGX/graphics/GFX_Linux_KM/services4/3rdparty/dc_omap3430_linux/omaplfb_linux.c: In function ‘OMAPLFBUninstallVSyncISR’: /home/jdoe/Desktop/SGX/graphics/GFX_Linux_KM/services4/3rdparty/dc_omap3430_linux/omaplfb_linux.c:183: error: implicit declaration of function ‘omap_dispc_unregister_isr’ /home/jdoe/Desktop/SGX/graphics/GFX_Linux_KM/services4/3rdparty/dc_omap3430_linux/omaplfb_linux.c:183: error: ‘DISPC_IRQ_VSYNC’ undeclared (first use in this function) make[4]: *** [/home/jdoe/Desktop/SGX/graphics/GFX_Linux_KM/services4/3rdparty/dc_omap3430_linux/omaplfb_linux.o] Error 1 make[3]: *** [/home/jdoe/Desktop/SGX/graphics/GFX_Linux_KM/services4/3rdparty/dc_omap3430_linux] Error 2 make[2]: *** [_module_/home/jdoe/Desktop/SGX/graphics/GFX_Linux_KM] Error 2 make[2]: Leaving directory `/home/jdoe/Desktop/SGX/linux-omap-2.6.28.10-3\\\' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/jdoe/Desktop/SGX/graphics/GFX_Linux_KM\\\' make: *** [buildkernel] Error 2 jdoe@ubuntu:~/Desktop/SGX/graphics$ do you think it would make a difference compiling against the TI PSP Kernel? Or is it a lost cause? I really appreciate the help btw, I\\\'m still relatively new to linux and hope to learn and contribute to the community in the future. Does anyone have precompiled modules at all?
    The reply is currently minimized Show
  • Accepted Answer

    mcaro
    mcaro
    Offline
    Thursday, July 15 2010, 11:10 AM - #permalink
    0
    Hi I suggest you change the kernel to 2.6.33-5 from our git. But if you wish continue this is your own option, about the error you should change the file: /home/jdoe/Desktop/SGX/graphics/GFX_Linux_KM/services4/3rdparty/dc_omap3430_linux/omaplfb_linux.c Change: #include for #include And Rebuild again. Cheers Manel
    The reply is currently minimized Show
  • Accepted Answer

    srhjackson
    srhjackson
    Offline
    Thursday, July 15 2010, 06:23 PM - #permalink
    0
    Solved! Thank you very much... for anyone else havig problems, here\\\'s what I did to get SGX support running Installed modules (to rootfs) and uImage (to boot) for kernel 2.6.33.5-0 onto my SD card using instructions from ISEE from here [url=http://labs.myigep.com/index.php/The_Linux_kernel]http://labs.myigep.com/index.php/The_Linux_kernel[/url] Rejigged the boot.ini to look at the correct uImage, but you can just rename your new uImage to the same name as the old one (backing up of course). Compiled the omapflb.ko, bufferclass_ti.ko and pvrsrvkm.ko modules from OMAP35x_Graphics_SDK_setuplinux_3_01_00_06 using the updated POKY environment ([url=http://labs.myigep.com/index.php/Ubuntu_8.04_IGEP_v2.0_SDK_Virtual_Machine]http://labs.myigep.com/index.php/Ubuntu ... al_Machine[/url]) against the ISEE kernel (make clean, make OGLES=3.x BUILD=release) Missing libraries that stop a successful build (resources.h in my case) were obtained from AM35x-OMAP35x-PSP-SDK-03.00.01.06 and placed in the respective folders in both my target kernel and on-board kernel. Place SGX modules in the on-board kernel drivers folder. Then I followed [url=http://wiki.jmaustin.org/wiki/IgepSGXUbuntu]http://wiki.jmaustin.org/wiki/IgepSGXUbuntu[/url] and there you go. Excellent. Thanks for all the help manel.
    The reply is currently minimized Show
  • Accepted Answer

    kkovac
    kkovac
    Offline
    Friday, July 23 2010, 10:36 AM - #permalink
    0
    Hello all, Sorry for silly question since I am new to this forum as well as to IGEP and arm technology. I was somehow trying to make this SGX running but, I am not really able to compile omaplfb module with kernel 2.6.28-10.3. Is there any possibility to describe step by step how to successfully compile all 3 required modules and make them run? Thank you, Karol
    The reply is currently minimized Show
  • Accepted Answer

    mcaro
    mcaro
    Offline
    Friday, July 23 2010, 11:29 AM - #permalink
    0
    Hi Karol, Please could you do more detailed information about your needs? Do you need help with toolchain? or with build the SGX modules? Cheers Manel
    The reply is currently minimized Show
  • Accepted Answer

    kkovac
    kkovac
    Offline
    Friday, July 23 2010, 03:25 PM - #permalink
    0
    With building SGX modules ... when I am trying to compile it within TI OMAP SDK using \\\"make OMAPES=3.x BUILD=release\\\" I am getting error about syntax arond defining IMG...something in omaplfb_linux.c
    The reply is currently minimized Show
  • Accepted Answer

    mcaro
    mcaro
    Offline
    Friday, July 23 2010, 03:28 PM - #permalink
    0
    Why you don\\\'t post the build log failure? Manel
    The reply is currently minimized Show
  • Accepted Answer

    kkovac
    kkovac
    Offline
    Friday, July 23 2010, 09:30 PM - #permalink
    0
    First of all I was downloading kernel sources for 2.6.28-10 from igep.es and putting into my Rules.make (KERNEL_INSTALL_DIR=$(HOME)/linux-omap3) but there is no Module.symvers and headers as autoconf.h which is required ... I was following all the steps advised earlier...where I can get correct headers?
    The reply is currently minimized Show
  • Accepted Answer

    mcaro
    mcaro
    Offline
    Saturday, July 24 2010, 12:54 AM - #permalink
    0
    Hi Could you describe your environment, I don\\\'t know what is your file Rules.make ? Cheers Manel
    The reply is currently minimized Show
  • Accepted Answer

    kkovac
    kkovac
    Offline
    Saturday, July 24 2010, 10:22 AM - #permalink
    0
    this is my last attempt jdoe@ubuntu:~/OMAP$ make OMAPES=3.x BUILD=release building the sgx kernel modules... make[1]: Entering directory `/home/jdoe/OMAP/GFX_Linux_KM\\\' make -C /home/jdoe/OMAP/linux-omap-2.6 M=`pwd` clean make[2]: Entering directory `/home/jdoe/OMAP/linux-omap-2.6\\\' CLEAN /home/jdoe/OMAP/GFX_Linux_KM/.tmp_versions make[2]: Leaving directory `/home/jdoe/OMAP/linux-omap-2.6\\\' make[1]: Leaving directory `/home/jdoe/OMAP/GFX_Linux_KM\\\' make[1]: Entering directory `/home/jdoe/OMAP/GFX_Linux_KM\\\' make -C /home/jdoe/OMAP/linux-omap-2.6 M=`pwd` make[2]: Entering directory `/home/jdoe/OMAP/linux-omap-2.6\\\' LD /home/jdoe/OMAP/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/built-in.o CC [M] /home/jdoe/OMAP/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bc_cat.o LD [M] /home/jdoe/OMAP/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bufferclass_ti.o LD /home/jdoe/OMAP/GFX_Linux_KM/services4/3rdparty/dc_omap3430_linux/built-in.o CC [M] /home/jdoe/OMAP/GFX_Linux_KM/services4/3rdparty/dc_omap3430_linux/omaplfb_displayclass.o CC [M] /home/jdoe/OMAP/GFX_Linux_KM/services4/3rdparty/dc_omap3430_linux/omaplfb_linux.o /home/jdoe/OMAP/GFX_Linux_KM/services4/3rdparty/dc_omap3430_linux/omaplfb_linux.c:57: error: expected declaration specifiers or ‘...’ before ‘IMG_UINT32’ /home/jdoe/OMAP/GFX_Linux_KM/services4/3rdparty/dc_omap3430_linux/omaplfb_linux.c: In function ‘OMAPLFBEnableVSyncInterrupt’: /home/jdoe/OMAP/GFX_Linux_KM/services4/3rdparty/dc_omap3430_linux/omaplfb_linux.c:104: error: ‘pOMAPLFBVSyncISRHandle’ undeclared (first use in this function) /home/jdoe/OMAP/GFX_Linux_KM/services4/3rdparty/dc_omap3430_linux/omaplfb_linux.c:104: error: (Each undeclared identifier is reported only once /home/jdoe/OMAP/GFX_Linux_KM/services4/3rdparty/dc_omap3430_linux/omaplfb_linux.c:104: error: for each function it appears in.) /home/jdoe/OMAP/GFX_Linux_KM/services4/3rdparty/dc_omap3430_linux/omaplfb_linux.c: In function ‘OMAPLFBDisableVSyncInterrupt’: /home/jdoe/OMAP/GFX_Linux_KM/services4/3rdparty/dc_omap3430_linux/omaplfb_linux.c:110: error: ‘pOMAPLFBVSyncISRHandle’ undeclared (first use in this function) /home/jdoe/OMAP/GFX_Linux_KM/services4/3rdparty/dc_omap3430_linux/omaplfb_linux.c: In function ‘OMAPLFBFlip’: /home/jdoe/OMAP/GFX_Linux_KM/services4/3rdparty/dc_omap3430_linux/omaplfb_linux.c:195: error: too many arguments to function ‘omap_dispc_set_plane_base’ make[4]: *** [/home/jdoe/OMAP/GFX_Linux_KM/services4/3rdparty/dc_omap3430_linux/omaplfb_linux.o] Error 1 make[3]: *** [/home/jdoe/OMAP/GFX_Linux_KM/services4/3rdparty/dc_omap3430_linux] Error 2 make[2]: *** [_module_/home/jdoe/OMAP/GFX_Linux_KM] Error 2 make[2]: Leaving directory `/home/jdoe/OMAP/linux-omap-2.6\\\' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/jdoe/OMAP/GFX_Linux_KM\\\' make: *** [buildkernel] Error 2
    The reply is currently minimized Show
  • Accepted Answer

    mcaro
    mcaro
    Offline
    Saturday, July 24 2010, 06:15 PM - #permalink
    0
    Hi What GFX package version are you using? Manel
    The reply is currently minimized Show
  • Accepted Answer

    kkovac
    kkovac
    Offline
    Saturday, July 24 2010, 11:40 PM - #permalink
    0
    OMAP35x_Graphics_SDK_setuplinux_3_01_00_06.bin
    The reply is currently minimized Show
  • Accepted Answer

    mcaro
    mcaro
    Offline
    Saturday, July 24 2010, 11:45 PM - #permalink
    0
    Hi Are you using v2.6.28.10-3 from our git? Anyway, I suggest you upgrade the kernel to 2.6.33-5 from our git. Cheers Manel
    The reply is currently minimized Show
  • Accepted Answer

    kkovac
    kkovac
    Offline
    Sunday, July 25 2010, 01:01 AM - #permalink
    0
    yeah, I was taking latest git actually 2.6.33-5 today ...
    The reply is currently minimized Show
Your Reply

SUPPORT


This email address is being protected from spambots. You need JavaScript enabled to view it.
This email address is being protected from spambots. You need JavaScript enabled to view it.
IGEP Community Wiki
IGEP Community Forum
IGEP Community Online Chat