• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Embedded Software » Linux » Linux forum » Build issues with OMAP35x_Graphics_SDK_setuplinux_3_01_00_06
Share
Linux
  • Forum
Options
  • Subscribe via RSS

Forums

Build issues with OMAP35x_Graphics_SDK_setuplinux_3_01_00_06

This question has suggested answer(s)
Steve Sakoman
Posted by Steve Sakoman
on Apr 15 2010 15:11 PM
Prodigy160 points

This latest release seems to require that one use the zoom kernel repo.


I have attempted to build using linux-omap and have run into a couple of issues already.


The first issue is that the sgx modules require a kernel function that is not present in linux-omap (omap_rev_lt_3_0):

ERROR: log data follows (/home/sakoman/source/omap3-oe/tmp/work/omap3-multi-angstrom-linux-gnueabi/omap3-sgx-modules-1.4.14.2616-r70b/temp/log.do_compile.19204)
| NOTE: make -j 6 -e MAKEFLAGS= KERNEL_PATH=/home/sakoman/source/omap3-oe/tmp/staging/omap3-multi-angstrom-linux-gnueabi/kernel KERNEL_SRC=/home/sakoman/source/omap3-oe/tmp/staging/omap3-multi-angstrom-linux-gnueabi/kernel KDIR=/home/sakoman/source/omap3-oe/tmp/staging/omap3-multi-angstrom-linux-gnueabi/kernel KERNELDIR=/home/sakoman/source/omap3-oe/tmp/staging/omap3-multi-angstrom-linux-gnueabi/kernel KERNEL_VERSION=2.6.33 CC=arm-angstrom-linux-gnueabi-gcc  LD=arm-angstrom-linux-gnueabi-ld  AR=arm-angstrom-linux-gnueabi-ar  BUILD=release TI_PLATFORM=omap3630
| make -C /home/sakoman/source/omap3-oe/tmp/staging/omap3-multi-angstrom-linux-gnueabi/kernel M=`pwd`
| make[1]: Entering directory `/home/sakoman/source/omap3-oe/tmp/staging/omap3-multi-angstrom-linux-gnueabi/kernel'
|   CC [M]  /home/sakoman/source/omap3-oe/tmp/work/omap3-multi-angstrom-linux-gnueabi/omap3-sgx-modules-1.4.14.2616-r70b/OMAP35x_Graphics_SDK_3_01_00_06/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bc_cat.o
| /home/sakoman/source/omap3-oe/tmp/work/omap3-multi-angstrom-linux-gnueabi/omap3-sgx-modules-1.4.14.2616-r70b/OMAP35x_Graphics_SDK_3_01_00_06/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bc_cat.c: In function ‘bc_cat_init’:
| /home/sakoman/source/omap3-oe/tmp/work/omap3-multi-angstrom-linux-gnueabi/omap3-sgx-modules-1.4.14.2616-r70b/OMAP35x_Graphics_SDK_3_01_00_06/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bc_cat.c:490: error: implicit declaration of function ‘omap_rev_lt_3_0’
| make[3]: *** [/home/sakoman/source/omap3-oe/tmp/work/omap3-multi-angstrom-linux-gnueabi/omap3-sgx-modules-1.4.14.2616-r70b/OMAP35x_Graphics_SDK_3_01_00_06/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bc_cat.o] Error 1

I found a patch in the zoom repo that provides this function, but found it does not apply cleanly on top of linux-omap tree.  I recreated the patch for linux-omap 2.6.33, but then encountered a second issue.  The modules assume the existence of plat/resource.h, which again is something that only exists in the zoom tree:

|   CC [M]  /home/sakoman/source/omap3-oe/tmp/work/omap3-multi-angstrom-linux-gnueabi/omap3-sgx-modules-1.4.14.2616-r70b/OMAP35x_Graphics_SDK_3_01_00_06/GFX_Linux_KM/services4/system/omap3630/sysutils_linux.o
| /home/sakoman/source/omap3-oe/tmp/work/omap3-multi-angstrom-linux-gnueabi/omap3-sgx-modules-1.4.14.2616-r70b/OMAP35x_Graphics_SDK_3_01_00_06/GFX_Linux_KM/services4/system/omap3630/sysutils_linux.c:37:27: error: plat/resource.h: No such file or directory
| make[2]: *** [/home/sakoman/source/omap3-oe/tmp/work/omap3-multi-angstrom-linux-gnueabi/omap3-sgx-modules-1.4.14.2616-r70b/OMAP35x_Graphics_SDK_3_01_00_06/GFX_Linux_KM/services4/system/omap3630/sysutils_linux.o] Error 1
| make[1]: *** [_module_/home/sakoman/source/omap3-oe/tmp/work/omap3-multi-angstrom-linux-gnueabi/omap3-sgx-modules-1.4.14.2616-r70b/OMAP35x_Graphics_SDK_3_01_00_06/GFX_Linux_KM] Error 2
| make[1]: Leaving directory `/home/sakoman/source/omap3-oe/tmp/staging/omap3-multi-angstrom-linux-gnueabi/kernel'
| make: *** [all] Error 2
| FATAL: oe_runmake failed
NOTE: Task failed: /home/sakoman/source/omap3-oe/tmp/work/omap3-multi-angstrom-linux-gnueabi/omap3-sgx-modules-1.4.14.2616-r70b/temp/log.do_compile.20495

Is there a solution for those of us who like to use linux-omap, or is it the intent to only support the zoom kernel tree with the Graphics SDK?

Steve

build error build Linux Kernel Linux OMAP
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Prabindh Sundareson
    Posted by Prabindh Sundareson
    on Apr 17 2010 00:14 AM
    Suggested Answer
    Expert4455 points

    Steve, the Graphics SDK gets validated against PSP kernel releases only. For example the latest 2.6.32 package,

    http://processors.wiki.ti.com/index.php/AM35x-OMAP35x-PSP_03.00.00.05_Release_Notes

    Derives from,

    http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git;a=shortlog;h=refs/heads/pm

    Since source code is available for the kernel modules, you should change it to suit the particular kernel you are using.

    In the particular cases you mentioned, if there is an alternate header file or is located in another location,  you could include it and verify.

     

     


     

    Note: Post the output of below Script, while posting queries related to SGX drivers:

    https://gforge.ti.com/gf/download/docmanfileversion/203/3715/gfx_check.sh

    Also read the below page,

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

    For User Interface queries, submit below details for faster response,

    https://gforge.ti.com/gf/download/docmanfileversion/220/3798/UI_graphics_reqs_sheet_v1.xls

     

    graphics
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • li Honghui
    Posted by li Honghui
    on Nov 15 2011 23:37 PM
    Prodigy50 points

    resource.h will be in asm/resource.h, in linux-2.6.33 replace in place of plat/resource.h

     more about sgx  :

    http://e2e.ti.com/support/dsp/omap_applications_processors/f/447/p/62521/233584.aspx

    SGX 2.6.37
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use