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.

Compiler/AM5728: Linux SDK build error

Part Number: AM5728
Other Parts Discussed in Thread: CCSTUDIO

Tool/software: TI C/C++ Compiler

Hi,

Followed the build steps given in the following link, Processor_SDK_Building_The_SDK to build the sdk.

The Final step, 

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

is time consuming and taking lot of memory. For every failure , memory is not  getting reused but reducing from current memory space.

It reduced from 216 gb to 78 gb after 3 failures.
I am getting following error, 
ERROR: QA Issue: devmem2: The LIC_FILES_CHKSUM does not match for file://devmem2.c;endline=28;md5=dd68f2b0a5184b3db3dc25c99e0bd0cd
devmem2: The new md5 checksum is 14e81946e08432cbc32c403705526d2b

I am new to TI. Please Help me.

  • Hello Mukesh,

    You probably have something changed in the first 28 lines at devmem2.c file. To exit from this situation replace the old checksum with the new one in <tisdk>/sources/meta-openembedded/meta-oe/recipes-support/devmem2/devmem2.bb file.

    Best regards,
    Kemal

  • Hi Kemal,

    The above error got fixed by modifying devmem2.bb file as mentioned, Thank you.

    But on further build, I am facing below Error,

    DEBUG: Executing python function do_qa_configure

    ERROR: QA Issue: ti-ccsv6-native: LIC_FILES_CHKSUM points to an invalid file: /Logitech_backup/PP/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/ti-ccsv6-native/6.1.3.00034-r0/ccsv6/doc/EULA/EULA.doc [license-checksum]

    ERROR: Fatal QA errors found, failing task.

    DEBUG: Python function do_qa_configure finished

    ERROR: Function failed: do_qa_configure

    I tried to find "EULA.doc" in the entire build directory but  didn't find it.

    I even tried google for solution and found below links(similar issue) but no use.

    https://e2e.ti.com/support/arm/automotive_processors/f/1020/t/533748

    https://e2e.ti.com/support/arm/automotive_processors/f/1020/p/592686/2179602

    Note: I downloaded CCS6.1.3.00034_linux.tar.gz  and followed below  build steps as per this link http://processors.wiki.ti.com/index.php/Processor_SDK_Building_The_SDK

    1) cp $HOME/Downloads/CCS6.1.3.00034_linux.tar.gz downloads/

    2) $ touch downloads/CCS6.1.3.00034_linux.tar.gz.done

    How can I proceed further?

  • The EULA.doc gets extracted from com.ti.ccstudio.doc.linux_root.gtk.linux.x86_6.1.3.20160419. You have to check the /Logitech_backup/PP/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/ti-ccsv6-native/6.1.3.00034-r0/ccsv6/install_logs/ccs_setup_6.1.3.00034_install.log to see why the installation has failed.
    I would suggest you to retry the compilation after cleaning the sstate MACHINE=am57xx-evm bitbake ti-ccsv6-native -c cleansstate

  • Hi Kemal,
    Tried re compiling after cleaning sstate, but still facing the same error,

    Gone through the install log mentioned , getting error as below (Destination not writable),

    06/15/2017 08:08:25(GMT) - InstallBins - CCS_INFO: error message: Error copying file from <path>/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/ti-ccsv6-native/6.1.3.00034-r0/ccsv6/eclipse/ccs.properties to <path>/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/ti-ccsv6-native/6.1.3.00034-r0/ccsv6/eclipse/plugins/com.ti.ccstudio.base_6.2.0.01631/properties
    :Destination not writable
    Abort
    child process exited abnormally
    06/15/2017 08:08:25(GMT) - processOtherFeatures - CCS_INFO: Finished installing binary ti_dspack_ibsetup.linux-x32_6.2.0.1631.bin
    06/15/2017 08:08:25(GMT) - processOtherFeatures - new state: install failed
    06/15/2017 08:08:25(GMT) - checkStatus - CCS_ERROR: Installer failed to install com.ti.ccstudio.debugserver.linux correctly.
    Please submit these logs to TI for analysis using the next dialog.
    You may also visit the TI E2E CCS Support forum for additional help.
    
    The install logs are located in: <path>/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/ti-ccsv6-native/6.1.3.00034-r0/ccsv6/install_logs.
    06/15/2017 08:08:25(GMT) - checkStatus - file does not exist /tmp/ccs_361e0bc3-190d-44b9-7126-cc0b37c08480/eclipse/ws/.metadata/.log
    06/15/2017 08:08:25(GMT) - checkStatus - saving <path>/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/ti-ccsv6-native/6.1.3.00034-r0/ccsv6/install_logs
    06/15/2017 08:08:25(GMT) - checkStatus - CCS_ERROR: Code Composer Studio v6 installation failed.


    Do I need to run in super user?

  • Please, check why destination is not writable, you may got out of memory or something. Lately I was getting a Failed to connect to Mir: Failed to connect to server socket: No such file or directory
    Unable to init server: Could not connect: Connection refused
    Eclipse: Cannot open display: error on Ubuntu 16.04, but now ti-ccsv6-native builds fine after the latest updates.