Project

General

Profile

OMAP L138 Cross-Compiling on Ubuntu 14.04 LTS

Added by Ben Atkinson over 4 years ago

The following MityDSP link hints that Critical Link has a cross-compiling development environment for the OMAP L138 on Ubuntu 14.04 LTS, 64-bit:

https://support.criticallink.com/redmine/projects/arm9-platforms/wiki/Installing_CCS6_for_L138_DSP

Does Critical Link have a VM ova for this environment? The only ova I could find on the Critical Link Wiki was for Ubuntu 10.04 LTS -- which is no longer supported by Canonical.

Thanks for any help you can provide.


Replies (8)

RE: OMAP L138 Cross-Compiling on Ubuntu 14.04 LTS - Added by Jonathan Cormier over 4 years ago

The standard MDK has been working for me. The following instructions should work for ubuntu 14.04, will see if I can get someone to run through them and verify. https://support.criticallink.com/redmine/projects/arm9-platforms/wiki/Linux_Build_VM

You can download a ubuntu VM from here if you don't want to install one from cd.
http://www.osboxes.org/ubuntu/

I'll ask around though, I thought we had done some work to get an updated VM. Maybe it just never made it on the site.

RE: OMAP L138 Cross-Compiling on Ubuntu 14.04 LTS - Added by Ben Atkinson over 4 years ago

Thank you Jonathan. If you can find a Ubuntu 14.04 ova file with all the tools configured, that would be great!

RE: OMAP L138 Cross-Compiling on Ubuntu 14.04 LTS - Added by Bob Duke over 4 years ago

Ben,

We are currently working on a unified VM release for our MitySOM-335x and MityDSP-L138 product lines (using a toolchain and filesystem that is Yocto compatible).

I expect that we'll have it released in 2-4 weeks.

RE: OMAP L138 Cross-Compiling on Ubuntu 14.04 LTS - Added by Ben Atkinson over 4 years ago

Here's another wrinkle...

I successfully created a VM for building our OMAP L138 application in a Ubuntu 14.04 LTS desktop environment. However, we have a requirement to use Continuous Integration for nightly builds and testing on a server machine. I would like to use Ubuntu Sever 14.04 LTS -- which I would like to keep command-line only so it is nice and lean to run as a VM on a rather old and slow server machine.

All of the tools provided by Critical Link install just fine on the Ubuntu Server because they are based on scripts. The TI tools, however, CCS 5.5.0 and EDMA_LLD_setuplinux_01_11_03_01.bin, seem to require the Ubuntu gnome desktop environment to install. I have a question pending about this on the myTI forum, but I was wondering if CriticalLink had any ideas on getting the TI compiler tools installed on a command-line only server machine.

Regards,

Ben

RE: OMAP L138 Cross-Compiling on Ubuntu 14.04 LTS - Added by Brandon McDonnell over 4 years ago

Hi Ben,

I have not tried CCS 5.5.0, but the EDMA installer accepts a "--mode console" argument that can be used to run the installer in text mode. Try running the CCSv5 installer with the "--help" option to see available parameters for the mode argument.

Another option is to use X11 forwarding. Ensure X11Forwarding is enabled in /etc/ssh/sshd_config, then connect using ssh -X ... from the GUI Linux VM. The prerequisites listed on TI's website include the X11 libraries, so no additional software should be necessary.

~/Downloads$ ./EDMA3_LLD_setuplinux_01_11_03_01.bin --mode console

This will install EDMA3 Low Level Driver on your computer.  Continue? [n/Y]

RE: OMAP L138 Cross-Compiling on Ubuntu 14.04 LTS - Added by Ben Atkinson over 4 years ago

Brandon,

Thank you very much for the reply. I tried what you suggested with the prerequisites and the "--mode console" on the EDMA3 installer, and the installation appeared to work.

The Ubuntu desktop revealed that the ccs_setup_...00077.bin installer also has a "--mode console" option. So I posted a question on the TI E2E Community site to see if the CCS installer has a way to skip the installation of all the Eclipse items, and install only the compiler items necessary to build for an OMAP L138 target from a makefile on the Ubuntu Server.

I'll post any answers I get from TI here.

Regards,

Ben

RE: OMAP L138 Cross-Compiling on Ubuntu 14.04 LTS - Added by Jonathan Cormier over 4 years ago

Feel free to post a link to your E2E post here in case someone else with you question stumbles upon this post.

RE: OMAP L138 Cross-Compiling on Ubuntu 14.04 LTS - Added by Jonathan Cormier over 4 years ago

The attached script we made to automate building a project with code composer. I believe we did end up installing some X11 libraries on our headless servers in order for it to work.

build_dsp.sh View (1.7 KB)

    (1-8/8)
    Add picture from clipboard (Maximum size: 500 MB)