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/dra726: Issues with CCS and yocto

Part Number: DRA726
Other Parts Discussed in Thread: CCSTUDIO

Tool/software: TI C/C++ Compiler

I am trying to create a rootfs on our Linux computer in manufacturing and get a CCS error. It complains that it needs glibc.i686 which is installed and then fails the unpack

[michelcatudal@GAUGE12D build]$ rpm -q glibc.i686
glibc-2.17-157.el7_3.1.i686

Linux system is Redhat Enterprise 7.3

WARNING: ti-ccsv6-native-6.1.3.00034-r0 do_unpack: TI installer requires 32bit glibc libraries for proper operation
run 'yum install glibc.i686' on Fedora or 'apt-get install libc6:i386' on Ubuntu/Debian
WARNING: liberation-fonts-1_1.04-r4 do_fetch: Checksum mismatch for local file /home/michelcatudal/yocto/tmp/downloads/liberation-fonts-1.04.tar.gz
Cleaning and trying again.
WARNING: liberation-fonts-1_1.04-r4 do_fetch: Renaming /home/michelcatudal/yocto/tmp/downloads/liberation-fonts-1.04.tar.gz to /home/michelcatudal/yocto/tmp/downloads/liberation-fonts-1.04.tar.gz_bad-checksum_86d6ea0698e83c40c86eeec4ddc684ce
WARNING: liberation-fonts-1_1.04-r4 do_fetch: Checksum failure encountered with download of fedorahosted.org/.../liberation-fonts-1.04.tar.gz - will attempt other sources if available
ERROR: ti-ccsv6-native-6.1.3.00034-r0 do_configure: QA Issue: ti-ccsv6-native: LIC_FILES_CHKSUM points to an invalid file: /home/michelcatudal/yocto/build/tmp/work/x86_64-linux/ti-ccsv6-native/6.1.3.00034-r0/ccsv6/doc/EULA/EULA.doc [license-checksum]
ERROR: ti-ccsv6-native-6.1.3.00034-r0 do_configure: Fatal QA errors found, failing task.
ERROR: ti-ccsv6-native-6.1.3.00034-r0 do_configure: Function failed: do_qa_configure
ERROR: Logfile of failure stored in: /home/michelcatudal/yocto/build/tmp/work/x86_64-linux/ti-ccsv6-native/6.1.3.00034-r0/temp/log.do_configure.6083
ERROR: Task 1305 (/home/michelcatudal/yocto/sources/meta-ti/recipes-ti/devtools/ti-ccsv6-native_6.1.3.00034.bb, do_configure) failed with exit code '1'

Michel

  • Hi Michel,

    Michel Catudal said:
    I am trying to create a rootfs on our Linux computer

    We have rootfs available in the PSDKLA package, I would recommend you to check there

    {PSDKLA}/filesystem/tisdk-rootfs-image-dra7xx-evm

    Michel Catudal said:
    Linux system is Redhat Enterprise 7.3

    You are using DRA72x device and CCSv6. Do you use PSDKLA also? PSDKLA is supported only for Ubuntu OS.

    Regards,
    Pavel

  • We have a custom board and are creating our own rootfs. It is not for a TI board so your rootfs would be useless to us.
    Your web sites have instructions for Fedora and Centos, Centos is identical to Redhat Enterprise.
    The difference between Centos and Redhat is that we pay for support for Redhat and Centos is free.
    From what I found out in the past, you just have scripts for ubuntu, your statement about supporting only ubuntu is meaningless, Linux is Linux. 99% of the time we just need to modify the scripts to get things to work correctly. You do have a few bugs in your recipes that try to impose versions only supported by ubuntu or debian but that is easy to fix.
    As for this case our partners in Sweden had the same problem and they were are using ubuntu. I was given some idea this morning on how they fix the issue. Hopefully that should fix it.

    "the unpack breaks horribly if it gets aborted at the wrong time for this
    recipe. a "-c cleansstate" should fix it for you. (Doing a cleanall on
    this one removes your manually downloaded file)."

    That is the kind of answer you should give, not brush off a customer because he doesn't use the operating system that you prefer.

    You may want to change your policy and officially support the Linux Enterprise versions. Serious companies use robust Linux systems which implies using Redhat Enterprise, SuSE, Debian, Centos or Scientific Linux.
  • Michel,

    There are many, many ways to get access to a Linux host. We simply can’t validate all possibilities and iterations, therefore we focus on validating using Ubuntu as the host Linux distribution, running natively. We validate the Long-term Support (LTS) versions of Ubuntu at the time of a SDK release (for example, at the time of this writing, Ubuntu 14.04 and Ubuntu 16.04 are the currently supported LTS versions).

    Can you use other versions of Ubuntu or even other distributions? Theoretically, yes, as long as you can get it to work and there may be more “assembly” required. If you can use the Ubuntu version validated against the SDK, it will be the smoothest path and we will be able to help you more if you do run into trouble.

    For building rootfs with Yocto, CentOS is also an option, but Ubuntu is recommended. See the below wiki pages:

    Regards,

    Pavel

  • You can also use our rootfs for your custom board, with some modifications.

    We have also minimal rootfs available in PSDK package. Arago-base-tisdk-image is a somewhat minimal filesystem image that includes some essential software to enable the board to bootup and login to a prompt.

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

    Regards,
    Pavel

  • It is really not an option. We have a highly customized yocto package created by our partners in Sweden and me. Right now I am getting ready for production next month and we do not want to swith operating system because of some bug in your unpacking of CCS. Redhat is more appropriate for manufacturing since we have paid support for it. We cannot afford for that Linux system to go down. Ubuntu is too unstable to be trusted in a production environment.

    It would be wiser to have the package in tar instead of self decompressing using 32 bits libraries that nobody uses anymore. All modern enterprise PC are 64 bits.

    The suggestion I had didn't fix the issue.

    I did try to install ccs on the PC in question and it failed so I must be missing a 32 bit library.
    Do you have a list of all the 32 bit libraries that it requires to install CCS 6?
  • I found the problem. Your ccs 6 installation requires a 32 java which Redhat doesn't support on a 64 bit system.
    I will have to look for a multilib java
  • Michel,

    Note that CCS6 installation issues are discussed in our CCStudio forum:

    e2e.ti.com/.../81

    The below wiki pages might be also in help:

    processors.wiki.ti.com/.../Linux_Host_Support_CCSv6

    processors.wiki.ti.com/.../Troubleshooting_CCSv6

    Regards,
    Pavel
  • Does it mean that 6.2 doesn't require a 32 bit java? If so how can I switch the yocto recipes to use CCS 6.2 instead of 6.1? Somehow the 32 bit eclipse java doesn't run at all on the user directory on Redhat Enterprise. I tested it last night on gentoo, Fedora 25 and debian and had no issue with it. I am not sure how to get Redhat Enterprise to let me run java scripts on the user directory. If I move it to the root directory that java works. Even a bash script doesn't work on the user directory. I had a bash script to change the PATH and it didn't refuse to run but didn't do anything.
    It is not a selinux issue, I disabled selinux to see and there was no change. I am new at Redhat Enterprise, I am more familiar with Gentoo.
    So far CCS 1.x is the only issue I have left on our production computer.

    Michel
  • Michel,

    See if the below e2e thread will be in help:

    e2e.ti.com/.../591181

    You can also try to download CCS6.2.0.00050 (instead of CCS6.1.3.00034) in the particular directory prior to running the setup-yocto.sh script