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.

DLP4500: For 3D Scanner : How to successfully build a TI project

Part Number: DLP4500
Other Parts Discussed in Thread: AM5728

Hi all,

I want to run the 3D scanner on my board.

Actually i am using

Chip : AM5728

Sdk : ti-processor-sdk-linux-am57xx-evm-03.00.00.04

Board : custom board

Camera : Point Gray FL3-U3-13E4M-C

Projector : DLP 4500EVM

I refer to the http://www.ti.com/lit/ug/tiduc48a/tiduc48a.pdf  documentation steps , and build arago-core-tisdk-image refer to http://processors.wiki.ti.com/index.php/Processor_SDK_Building_The_SDK?keyMatch=build%20arago-core-tisdk-image&tisearch=Search-EN-Support

But there are a lot of errors in my build process.

These errors are as follows :

Run MACHINE=am57xx-evm bitbake arago-core-tisdk-image command

ERROR: binutils-crosssdk-x86_64-linaro-2.25-r2015.01 do_fetch: Fetcher failure: Fetch command failed with exit code 8, output:
releases.linaro.org/.../binutils-linaro-2.25.0-2015.01-2.tar.xz:
2017-05-22 15:13:18 ERROR 404: NOT FOUND.
ERROR: binutils-crosssdk-x86_64-linaro-2.25-r2015.01 do_fetch: Function failed: Fetcher failure for URL: 'releases.linaro.org/.../binutils-linaro-2.25.0-2015.01-2.tar.xz'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/lgp/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/binutils-crosssdk-x86_64/linaro-2.25-r2015.01/temp/log.do_fetch.21438
ERROR: Task 1414 (/home/lgp/tisdk/sources/meta-linaro/meta-linaro-toolchain/recipes-devtools/binutils/binutils-crosssdk_linaro-2.25.bb, do_fetch) failed with exit code '1'

complete information

error1.txt
lgp@lgp-OptiPlex-380:~/tisdk/build$ MACHINE=am57xx-evm bitbake arago-core-tisdk-image
Loading cache: 100% |####################################| ETA:  00:00:00
Loaded 2838 entries from dependency cache.
WARNING: No recipes available for:
  /home/lgp/tisdk/sources/meta-arago/meta-arago-distro/recipes-multimedia/libav/libav_9.16.bbappend
  /home/lgp/tisdk/sources/meta-processor-sdk/recipes-core/udev/udev_182.bbappend
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION        = "1.30.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-14.04"
TARGET_SYS        = "arm-linux-gnueabi"
MACHINE           = "am57xx-evm"
DISTRO            = "arago"
DISTRO_VERSION    = "2016.05"
TUNE_FEATURES     = "arm armv7ve vfp thumb neon       callconvention-hard       cortexa15"
TARGET_FPU        = "hard"
meta-processor-sdk = "HEAD:1686d851985872f34ca3a2c30d4a0726a20a5c99"
meta-arago-distro 
meta-arago-extras = "HEAD:36598b78a6d9fbe442f93111f64d3413c04418a8"
meta-qt5          = "HEAD:d715f2c1d340fa38f8a9860acc73de5e14a38b75"
meta-networking   
meta-ruby         
meta-python       
meta-oe           = "HEAD:247b1267bbe95719cd4877d2d3cfbaf2a2f4865a"
meta-ti           = "HEAD:1ae0cadb1200d0007a779958e852a48379d42c26"
meta-linaro-toolchain = "HEAD:0f2a4dd08ab06768cc998fe3f7236e3942f4a2cc"
meta              = "HEAD:b0b91490e4ede61a302eb547da2cc65aa7da87ff"

NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: binutils-crosssdk-x86_64-linaro-2.25-r2015.01 do_fetch: Failed to fetch URL http://releases.linaro.org/15.01/components/toolchain/binutils-linaro/binutils-linaro-2.25.0-2015.01-2.tar.xz, attempting MIRRORS if available
ERROR: binutils-crosssdk-x86_64-linaro-2.25-r2015.01 do_fetch: Fetcher failure: Fetch command failed with exit code 8, output:
http://releases.linaro.org/15.01/components/toolchain/binutils-linaro/binutils-linaro-2.25.0-2015.01-2.tar.xz:
2017-05-22 15:13:18 ERROR 404: NOT FOUND.

ERROR: binutils-crosssdk-x86_64-linaro-2.25-r2015.01 do_fetch: Function failed: Fetcher failure for URL: 'http://releases.linaro.org/15.01/components/toolchain/binutils-linaro/binutils-linaro-2.25.0-2015.01-2.tar.xz'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/lgp/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/binutils-crosssdk-x86_64/linaro-2.25-r2015.01/temp/log.do_fetch.21438
ERROR: Task 1414 (/home/lgp/tisdk/sources/meta-linaro/meta-linaro-toolchain/recipes-devtools/binutils/binutils-crosssdk_linaro-2.25.bb, do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 317 tasks of which 311 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
  /home/lgp/tisdk/sources/meta-linaro/meta-linaro-toolchain/recipes-devtools/binutils/binutils-crosssdk_linaro-2.25.bb, do_fetch
Summary: There were 2 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

I tried to skip the above steps run MACHINE=am57xx-evm bitbake dlp-sdk command

Copy dlp-sdk_2.0.bb, dlp-sdk, camera-sdk to the corresponding location

lgp@lgp-OptiPlex-380:~/tisdk/build$ MACHINE=am57xx-evm bitbake dlp-sdk
Loading cache: 100% |###################################| ETA:  00:00:00
Loaded 2838 entries from dependency cache.
WARNING: No recipes available for:
  /home/lgp/tisdk/sources/meta-arago/meta-arago-distro/recipes-multimedia/libav/libav_9.16.bbappend
  /home/lgp/tisdk/sources/meta-processor-sdk/recipes-core/udev/udev_182.bbappend
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing PROVIDES 'flycapture' (but /home/lgp/tisdk/sources/meta-processor-sdk/recipes-ee/dlp-sdk/dlp-sdk_2.0.bb DEPENDS on or otherwise requires it)
ERROR: Required build target 'dlp-sdk' has no buildable providers.
Missing or unbuildable dependency chain was: ['dlp-sdk', 'flycapture']

Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

My dlp-sdk and camera sdk are downloaded with reference to the version of the document, the operation is also based on the documentation steps.

I tried to install ipk on the board, there was an error :

Collected errors:                                                        
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for dlp-sdk:                                                               
 *      flycapture (>= 2.9.3.43) *                                       
 * opkg_install: Cannot install package dlp-sdk.

But I have copied the corresponding file

root@am57xx-evm:/usr/share/ti/dlp-sdk# ls /usr/lib/libflycapture         
libflycapture-c.so              libflycapturegui-c.so                    
libflycapture-c.so.2            libflycapturegui-c.so.2                  
libflycapture-c.so.2.9.3.43     libflycapturegui-c.so.2.9.3.43           
libflycapture.so                libflycapturegui.so                      
libflycapture.so.2              libflycapturegui.so.2                    
libflycapture.so.2.9.3.43       libflycapturegui.so.2.9.3.43

Can you help me analyze the cause?

Thanks.

  • Hi Better Louis,

    Sorry you're having difficulties with your build. If you could allow me some time to take a look at this, that would be appreciated.

    Thanks,
    Paul
  • Hi Pual,

    Thanks for your reply.

    I hope you can help me analyze the problem, I will wait patiently.

    This will be of great help to me.

    Thanks.

  • Hi Paul,

    Did you rebuild my question?

    I still can not get the procedure, may be the process of downloading problems?

    But now I run am57xx-evm bitbake arago-core-tisdk-image command

    The following error occurred

    ERROR: linux-libc-headers-4.4-r0 do_configure: oe_runmake failed
    ERROR: linux-libc-headers-4.4-r0 do_configure: Function failed: do_configure (log file is located at /home/lgp/tisdk/build/arago-tmp-external-linaro-toolchain/work/cortexa15hf-neon-linux-gnueabi/linux-libc-headers/4.4-r0/temp/log.do_configure.51423)
    ERROR: Logfile of failure stored in: /home/lgp/tisdk/build/arago-tmp-external-linaro-toolchain/work/cortexa15hf-neon-linux-gnueabi/linux-libc-headers/4.4-r0/temp/log.do_configure.51423
    Log data follows:
    | DEBUG: Executing python function sysroot_cleansstate
    | DEBUG: Python function sysroot_cleansstate finished
    | DEBUG: Executing shell function do_configure
    | NOTE: make allnoconfig
    | HOSTCC scripts/basic/fixdep
    | /usr/local/bin/ld: this linker was not configured to use sysroots
    | collect2: error: ld returned 1 exit status
    | make[1]: *** [scripts/basic/fixdep] Error 1
    | make: *** [scripts_basic] Error 2
    | ERROR: oe_runmake failed
    | WARNING: /home/lgp/tisdk/build/arago-tmp-external-linaro-toolchain/work/cortexa15hf-neon-linux-gnueabi/linux-libc-headers/4.4-r0/temp/run.do_configure.51423:1 exit 1 from 'exit 1'
    | ERROR: Function failed: do_configure (log file is located at /home/lgp/tisdk/build/arago-tmp-external-linaro-toolchain/work/cortexa15hf-neon-linux-gnueabi/linux-libc-headers/4.4-r0/temp/log.do_configure.51423)
    ERROR: Task 4459 (/home/lgp/tisdk/sources/oe-core/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_4.4.bb, do_configure) failed with exit code '1'
    NOTE: Tasks Summary: Attempted 207 tasks of which 204 didn't need to be rerun and 1 failed.
    Waiting for 0 running tasks to finish:

    Summary: 1 task failed:
    /home/lgp/tisdk/sources/oe-core/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_4.4.bb, do_configure
    Summary: There was 1 WARNING message shown.
    Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

    Hope to get your help.

    Thanks.

  • Better Louis said:
    ERROR: binutils-crosssdk-x86_64-linaro-2.25-r2015.01 do_fetch: Fetcher failure: Fetch command failed with exit code 8, output:
    releases.linaro.org/.../binutils-linaro-2.25.0-2015.01-2.tar.xz:
    2017-05-22 15:13:18 ERROR 404: NOT FOUND.
    ERROR: binutils-crosssdk-x86_64-linaro-2.25-r2015.01 do_fetch: Function failed: Fetcher failure for URL: 'releases.linaro.org/.../binutils-linaro-2.25.0-2015.01-2.tar.xz'. Unable to fetch URL from any source.
    ERROR: Logfile of failure stored in: /home/lgp/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/binutils-crosssdk-x86_64/linaro-2.25-r2015.01/temp/log.do_fetch.21438
    ERROR: Task 1414 (/home/lgp/tisdk/sources/meta-linaro/meta-linaro-toolchain/recipes-devtools/binutils/binutils-crosssdk_linaro-2.25.bb, do_fetch) failed with exit code '1'

    Please check  firewall settings, probably that's stopping from fetching of the URL. Once you get coresdk image built, we can look into rest issue.

  • Hi,

    I think this has nothing to do with the firewall, because my UFW is inactive. 

    The above URL indicates that there is no such package.

    I do not know if the download process has been completed.

    I think it may be that your resource is updated after the directory has changed, resulting in no resources found.

    I made the following mistakes after rebuilding the project 

    lgp@lgp-OptiPlex-380:~/tisdk/build$ MACHINE=am57xx-evm bitbake arago-core-tisdk-image
    NOTE: Your conf/bblayers.conf has been automatically updated.
    Loading cache: 100% |###########################################| ETA: 00:00:00
    Loaded 2943 entries from dependency cache.
    WARNING: /home/lgp/tisdk/sources/meta-ti/recipes-kernel/linux/linux-ti-staging_4.1.bb: Unable to get checksum for linux-ti-staging SRC_URI entry am571x-pru-uio.dtsi: file could not be found
    Parsing recipes: 100% |#########################################| ETA: 00:00:00
    Parsing of 2346 .bb files complete (1801 cached, 545 parsed). 2942 targets, 464 skipped, 0 masked, 0 errors.
    NOTE: Resolving any missing task queue dependencies

    ERROR: db-native-6.0.30-r0 do_patch: Command Error: 'quilt --quiltrc /home/lgp/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/etc/quiltrc push' exited with 1 Output:
    Applying patch fix-parallel-build.patch
    patching file Makefile.in
    Hunk #1 FAILED at 1034.
    1 out of 1 hunk FAILED -- rejects in file Makefile.in
    Patch fix-parallel-build.patch can be reverse-applied
    ERROR: db-native-6.0.30-r0 do_patch: Function failed: patch_do_patch
    ERROR: Logfile of failure stored in: /home/lgp/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/db-native/6.0.30-r0/temp/log.do_patch.3560
    ERROR: Task 4962 (virtual:native:/home/lgp/tisdk/sources/oe-core/meta/recipes-support/db/db_6.0.30.bb, do_patch) failed with exit code '1'

    Hope to be able to get your help.

    Thanks.

  • Hi,

    I rebuild DLP on a new ubuntu14.04.

    The following error occurred:

    lia@ubuntu:~/tisdk/build$ MACHINE=am57xx-evm bitbake arago-core-tisdk-image
    NOTE: Your conf/bblayers.conf has been automatically updated.
    WARNING: /home/lia/tisdk/sources/meta-ti/recipes-kernel/linux/linux-ti-staging_4.1.bb: Unable to get checksum for linux-ti-staging SRC_URI entry am571x-pru-uio.dtsi: file could not be found
    WARNING: /home/lia/tisdk/sources/oe-core/meta/recipes-core/meta/meta-environment.bb: Exception during build_dependencies for toolchain_create_sdk_version
    WARNING: /home/lia/tisdk/sources/oe-core/meta/recipes-core/meta/meta-environment.bb: Error during finalise of /home/lia/tisdk/sources/oe-core/meta/recipes-core/meta/meta-environment.bb
    ERROR: Exception during parse: Traceback (most recent call last):
    File "/home/lia/tisdk/sources/bitbake/lib/bb/cooker.py", line 2134, in parse_next
    parsed, result = self.results.next()
    File "/home/lia/tisdk/sources/bitbake/lib/bb/cooker.py", line 2120, in parse_generator
    result = self.result_queue.get(timeout=0.25)
    File "/usr/lib/python2.7/multiprocessing/queues.py", line 135, in get
    res = self._recv()
    TypeError: ('__init__() takes at least 2 arguments (1 given)', <class 'bb.process.CmdError'>, ())

    My firewall status: 

    lia@ubuntu:~$ sudo ufw status
    [sudo] password for lia:
    Status: inactive

    I think this is due to the lack of certain documents,But I do not know why I can not get them.

    I hope you can help me solve this problem.

    Thanks.

  • Which configuration file are you using for oe-layer setup?

  • Hi manisha,

    I am using 3.3 configuration files.

    Execute the command as follows:

    ./oe-layertool-setup.sh -f configs/processor-sdk/processor-sdk-03.03.00.04-config.txt

    Thanks.

  • It seems that python version is problem here. Possibly you are using old version of Python.
  • Hi,

    Which version of Pyrhon should I use?

    I am using python2.7 now.

    I experimented on python3 and still can not succeed.

    Thanks.

  • Have you looked at this page - 

    Follow steps on installing other tools and setups. Keep the linaro tool chain version as used by processor sdk 3.3.