bitbake ti-cgt6x-native fails, MACHINE=dm6467-evm CodeGen 6.1.9

Hi all, and thanks for the help I've received from various sources, including arago-devel and some individual contributors.

 I've made progress with a little trial and error along the way to build up an arago based toolchain for dm6467-evm.
the end objective is to gst-launch a pipeline on dm6467, using TI codec plugins in libgstticodecplugin.so
and move on with video and audio testing


To get there we completed gstreamer bitbake builds and install with opkg.


Now we need to bitbake gstreamer-ti
but some related components need to build first, including
ti-dmai
ti-xdctools-native
and
ti-cgt6x-native

ti-cgt6x-native fails do_fetch since it is not present on any of the feed servers

 

I found a version on an OMAP-L138 C6748 download page. (version 1.0.0.4) . clicking through the link takes you to an export restricted page to attest compliance. 

http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/omap_l138/1_00/1_00_00_04/index_FDS.html

So this makes me think the reason that the dm6467 ti-cgt6x-native can't be fetched could be it is export restricted/under controlled download and distribution.

Can anyone have an idea where to get it?   thanks for any comment and direction on this. 

/Steve


---------------------------------------
bitbake session for ti-cgt6x-native
---------------------------------------

[steve@localhost oe]$ MACHINE=dm6467-evm bitbake ti-cgt6x-native

Parsing .bb files, please wait...done.

NOTE: Parsing finished. 7024 cached, 0 parsed, 303 skipped, 129 masked.
NOTE: Cache is clean, not saving.
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Running task 34 of 82 (ID: 2, /mnt/fc6/opt/davinci/dvsdk/arago-psp/oe/arago-oe-dev/recipes/ti/ti-cgt6x-native_6.1.9.bb, do_fetch)
--2009-12-13 13:23:32--  http://install.source.dir.local/ti_cgt_c6000_6.1.9_setup_linux_x86.bin
Resolving install.source.dir.local... failed: Name or service not known.
wget: unable to resolve host address `install.source.dir.local'
--2009-12-13 13:23:37--  http://mirrors.openembedded.org//ti_cgt_c6000_6.1.9_setup_linux_x86.bin
Resolving mirrors.openembedded.org... 82.197.159.157
Connecting to mirrors.openembedded.org|82.197.159.157|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2009-12-13 13:23:38 ERROR 404: Not Found.

--2009-12-13 13:23:38--  http://sources.openembedded.org//ti_cgt_c6000_6.1.9_setup_linux_x86.bin
Resolving sources.openembedded.org... 140.211.169.165
Connecting to sources.openembedded.org|140.211.169.165|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2009-12-13 13:23:38 ERROR 404: Not Found.

--2009-12-13 13:23:38--  http://arago-project.org/files/sources/ti_cgt_c6000_6.1.9_setup_linux_x86.bin
Resolving arago-project.org... 74.208.68.4
Connecting to arago-project.org|74.208.68.4|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2009-12-13 13:23:39 ERROR 404: Not Found.

--2009-12-13 13:23:39--  http://www.angstrom-distribution.org/unstable/sources/ti_cgt_c6000_6.1.9_setup_linux_x86.bin
Resolving www.angstrom-distribution.org... 188.40.83.200
Connecting to www.angstrom-distribution.org|188.40.83.200|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2009-12-13 13:23:41 ERROR 404: Not Found.

NOTE: fetch http://install.source.dir.local/ti_cgt_c6000_6.1.9_setup_linux_x86.bin
NOTE: fetch http://mirrors.openembedded.org//ti_cgt_c6000_6.1.9_setup_linux_x86.bin
NOTE: fetch http://sources.openembedded.org//ti_cgt_c6000_6.1.9_setup_linux_x86.bin
NOTE: fetch http://arago-project.org/files/sources/ti_cgt_c6000_6.1.9_setup_linux_x86.bin
NOTE: fetch http://www.angstrom-distribution.org/unstable/sources/ti_cgt_c6000_6.1.9_setup_linux_x86.bin
NOTE: Task failed: Fetch failed: http://install.source.dir.local/ti_cgt_c6000_6.1.9_setup_linux_x86.bin
ERROR: TaskFailed event exception, aborting
ERROR: Build of /mnt/fc6/opt/davinci/dvsdk/arago-psp/oe/arago-oe-dev/recipes/ti/ti-cgt6x-native_6.1.9.bb do_fetch failed
ERROR: Task 2 (/mnt/fc6/opt/davinci/dvsdk/arago-psp/oe/arago-oe-dev/recipes/ti/ti-cgt6x-native_6.1.9.bb, do_fetch) failed
NOTE: Tasks Summary: Attempted 33 tasks of which 33 didn't need to be rerun and 1 failed.
ERROR: '/mnt/fc6/opt/davinci/dvsdk/arago-psp/oe/arago-oe-dev/recipes/ti/ti-cgt6x-native_6.1.9.bb' failed


 

  • The problem is here:


    NOTE: Running task 34 of 82 (ID: 2, /mnt/fc6/opt/davinci/dvsdk/arago-psp/oe/arago-oe-dev/recipes/ti/ti-cgt6x-native_6.1.9.bb, do_fetch) --2009-12-13 13:23:32-- http://install.source.dir.local/ti_cgt_c6000_6.1.9_setup_linux_x86.bin Resolving install.source.dir.local... failed: Name or service not known. wget: unable to resolve host address `install.source.dir.local'

    There is a two-step fix:

    1. Download the distribution file manually, and put it in whichever directory you configured as DL_DIR in your BitBake local.conf file.

    2. Edit the ti-cgt6x-native recipe in your OpenEmbedded / Angstrom tree (e.g., openembedded/recipes/ti/ti-cgt6x-native_6.1.9.bb) as follows:

      
      BINFILE = "ti_cgt_c6000_6.1.9_setup_linux_x86.bin"
      SRC_URI = "file://${DL_DIR}/${BINFILE}"
      
      

      Note that you are replacing the existing SRC_URI variable, above, not adding a new one.

    This will tell BitBake to look for the file you have already placed into your download directory, and it will not attempt to download it again. The do_fetch step will still run the first time after you make this change, to generate the MD5 hash of the downloaded file, and to update the stamp marking the step as complete, but it's not actually "doing" any fetching.

    You will also need to do this for several of the other recipes that rely on downloads BitBake can't retrieve automatically, if you need to build those:

    • ti-cmem-module_2.24.01.bb
    • ti-codec-engine_2.24.01.bb
    • ti-dspbios-native_5.33.04.bb
    • ti-dsplink-module_1.61.3.bb
    • ti-lpm-module_2.24.01.bb
    • ti-sdma-module_2.24.01.bb
  • In reply to Tripp Lilley:

     

    Great.  I also found the download link to the C6000 CGT.   This requires a login under the users register account which is probably not something bitbake can deal with as an automatic download.  I included the link here so the next developer can know where to get CGT, and how to install it with the manual procedure.

    https://www-a.ti.com/downloads/sds_support/TICodegenerationTools/download.htm

     

     

  • In reply to steverino2:

     

    Here's a related thread with a little more detail on this topic, including manual downloads.  This related thread includes a shortcut to avoid
    having to edit any of the bitbake recipe files

    https://gforge.ti.com/gf/project/arago/mailman/?_forum_action=ForumMessageBrowse&thread_id=2826&action=ListThreads&mailman_id=39

    N.B.  arago-oe-dev/recipes/ti/README has a convenient list of the URIs to locate the manual download components.    Of course it  always helps to read the README first!  these components require the user to accept the EULA, consequently they are interactive manual downloads, not automatic.