Could not compile stylesheet for simplistic. Using last compiled stylesheet.
GLX IGEPv2
posted in Uncategorized
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
0Hi,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 -
Accepted Answer
0I\\\'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. -
Accepted Answer
-
Accepted Answer
0Cheers 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? -
Accepted Answer
-
Accepted Answer
0Thanks 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? -
Accepted Answer
0Hi 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: #includefor #include And Rebuild again. Cheers Manel -
Accepted Answer
0Solved! 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. -
Accepted Answer
0Hello 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 -
Accepted Answer
-
Accepted Answer
-
Accepted Answer
0First 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? -
Accepted Answer
-
Accepted Answer
0this 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 -
Accepted Answer

Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »