Newest cross-compiler software for MYD-AM335X development board with ARM Cortex-A8 processor and Ubuntu 14.04 LTS as host platform?

Asked by brent on 2014-08-23

Hi there,

I am a newbie and my question is probably easy.

I installed the latest version of Ubuntu (Ubuntu 14.04 LTS). I now do not want this version.

I want to uninstall the current version and re-install an older 10.04 version.

I tried the following http://www.ubuntu.com/download/desktop/create-a-usb-stick-on-ubuntu

but it creates an .exe file to install I am guessing on windows machines.

Any help as to what I am doing wrong would be greatly appreciated

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gcc-defaults-armel-cross Edit question
Assignee:
No assignee Edit question
Solved by:
Mark Rijckenberg
Solved:
Last query:
Last reply:

Lucid is only supported on the server, without desktop and mouse pointer.

What is your gripe with Trusty, which is LTS and supported til April 2019?

brent (brentashwilliams) said : #2

Thanks for the reply. I have absolutely no gripes with LTS.

I recently got a MYD-AM335X ARM Development Board. The kit came with the following:
    - linux-3.2.0.tar.bz2 kernel
    - u-boot-tar.bz2
    - ARM cross compiler arm-2010q1-202-arm-none-linux-gnueabi.tar.bz2
    - u-boot.tar.bz2
    - ubuntu-10.04-desktop-i386.iso

I have a 64-bit machine running LTS. I was having all kinds of issues getting the cross-compiler working (with the steps provided in the kit's documentation).

My thought was to go back to the original distribution the kit provided to start from there.

It sounds like that is not a good idea since it is only supported on a server.

Any ideas or recommendations would be appreciated.

Thanks

I think that the problem here is that you are trying to use development tools optimized for Ubuntu 10.04 LTS (desktop not supported anymore) and not optimized for Ubuntu 14.04 LTS. A lot changes in 4 years time....

You can get the new software from April 2014 here:

http://www.joral.ca/news/products/embedded-hardware/myir-tech/new-software-for-the-myd-am335x-development-board

http://www.myirtech.com/download/AM335x/MYD-AM335X_Linux.zip

If that does not help, then I suggest installing the "Lite" version of the following software:

http://www.mentor.com/embedded-software/sourcery-tools/sourcery-codebench/editions/lite-edition/

http://www.mentor.com/embedded-software/supported-processors?product_key=Sourcery_CodeBench

It supports your development board.

I have never done cross-compiling myself, but I think these links may help.

One more thing: your post #2 mentions the following:

ARM cross compiler arm-2010q1-202-arm-none-linux-gnueabi.tar.bz2

The following Terminal command in Ubuntu 14.04 LTS shows all the gnueabi packages available in Ubuntu 14.04 LTS:

$ apt-cache search gnueabi
binutils-arm-linux-gnueabihf - GNU binary utilities, for arm-linux-gnueabihf target
cpp-4.8-arm-linux-gnueabihf - GNU C preprocessor
cpp-arm-linux-gnueabihf - The GNU C preprocessor (cpp) for armhf architecture
g++-4.8-arm-linux-gnueabihf - GNU C++ compiler
g++-4.8-multilib-arm-linux-gnueabihf - GNU C++ compiler (multilib files)
g++-arm-linux-gnueabihf - The GNU C++ compiler for armhf architecture
gcc-4.8-arm-linux-gnueabihf - GNU C compiler
gcc-4.8-arm-linux-gnueabihf-base - GCC, the GNU Compiler Collection (base package)
gcc-4.8-multilib-arm-linux-gnueabihf - GNU C compiler (multilib files)
gcc-arm-linux-gnueabihf - The GNU C compiler for armhf architecture
pkg-config-arm-linux-gnueabihf - manage compile and link flags for libraries for armhf architecture
binutils-arm-linux-gnueabi - GNU binary utilities, for arm-linux-gnueabi target
cpp-4.7-arm-linux-gnueabi - GNU C preprocessor
cpp-4.7-arm-linux-gnueabihf - GNU C preprocessor
cpp-arm-linux-gnueabi - The GNU C preprocessor (cpp) for armel architecture
g++-4.7-arm-linux-gnueabi - GNU C++ compiler
g++-4.7-arm-linux-gnueabihf - GNU C++ compiler
g++-4.7-multilib-arm-linux-gnueabi - GNU C++ compiler (multilib files)
g++-4.7-multilib-arm-linux-gnueabihf - GNU C++ compiler (multilib files)
g++-arm-linux-gnueabi - The GNU C++ compiler for armel architecture
gcc-4.7-arm-linux-gnueabi - GNU C compiler
gcc-4.7-arm-linux-gnueabi-base - GCC, the GNU Compiler Collection (base package)
gcc-4.7-arm-linux-gnueabihf - GNU C compiler
gcc-4.7-arm-linux-gnueabihf-base - GCC, the GNU Compiler Collection (base package)
gcc-4.7-multilib-arm-linux-gnueabi - GNU C compiler (multilib files)
gcc-4.7-multilib-arm-linux-gnueabihf - GNU C compiler (multilib files)
gcc-arm-linux-gnueabi - The GNU C compiler for armel architecture
gccgo-4.7-arm-linux-gnueabi - GNU Go compiler
gccgo-4.7-arm-linux-gnueabihf - GNU Go compiler
gccgo-4.8-arm-linux-gnueabihf - GNU Go compiler
gccgo-arm-linux-gnueabihf - Go compiler, based on the GCC backend
gcj-4.8-arm-linux-gnueabihf - GCJ byte code and native compiler for Java(TM)
gcj-arm-linux-gnueabihf - GNU Java compiler, based on the GCC backend
gdc-4.8-arm-linux-gnueabihf - GNU D compiler (version 2), based on the GCC backend
gdc-arm-linux-gnueabihf - GNU D compiler, based on the GCC backend
gfortran-4.7-arm-linux-gnueabi - GNU Fortran compiler
gfortran-4.7-arm-linux-gnueabihf - GNU Fortran compiler
gfortran-4.7-multilib-arm-linux-gnueabi - GNU Fortran compiler (multilib files)
gfortran-4.7-multilib-arm-linux-gnueabihf - GNU Fortran compiler (multilib files)
gfortran-4.8-arm-linux-gnueabihf - GNU Fortran compiler
gfortran-4.8-multilib-arm-linux-gnueabihf - GNU Fortran compiler (multilib files)
gfortran-arm-linux-gnueabi - The GNU Fortran 95 compiler for armel architecture
gfortran-arm-linux-gnueabihf - The GNU Fortran 95 compiler for armhf architecture
gobjc++-4.7-arm-linux-gnueabi - GNU Objective-C++ compiler
gobjc++-4.7-arm-linux-gnueabihf - GNU Objective-C++ compiler
gobjc++-4.7-multilib-arm-linux-gnueabi - GNU Objective-C++ compiler (multilib files)
gobjc++-4.7-multilib-arm-linux-gnueabihf - GNU Objective-C++ compiler (multilib files)
gobjc++-4.8-arm-linux-gnueabihf - GNU Objective-C++ compiler
gobjc++-4.8-multilib-arm-linux-gnueabihf - GNU Objective-C++ compiler (multilib files)
gobjc++-arm-linux-gnueabi - The GNU Objective-C++ compiler for armel architecture
gobjc++-arm-linux-gnueabihf - The GNU Objective-C++ compiler for armhf architecture
gobjc-4.7-arm-linux-gnueabi - GNU Objective-C compiler
gobjc-4.7-arm-linux-gnueabihf - GNU Objective-C compiler
gobjc-4.7-multilib-arm-linux-gnueabi - GNU Objective-C compiler (multilib files)
gobjc-4.7-multilib-arm-linux-gnueabihf - GNU Objective-C compiler (multilib files)
gobjc-4.8-arm-linux-gnueabihf - GNU Objective-C compiler
gobjc-4.8-multilib-arm-linux-gnueabihf - GNU Objective-C compiler (multilib files)
gobjc-arm-linux-gnueabi - The GNU Objective-C compiler for armel architecture
gobjc-arm-linux-gnueabihf - The GNU Objective-C compiler for armhf architecture
pkg-config-arm-linux-gnueabi - manage compile and link flags for libraries for armel architecture

I suggest running the following command in Ubuntu 14.04 LTS to install the gnueabi cross-compilation tools :

sudo apt-get update && sudo apt-get install binutils-arm-linux-gnueabi gcc-arm-linux-gnueabi g++-arm-linux-gnueabi gfortran-arm-linux-gnueabi gobjc++-arm-linux-gnueabi pkg-config-arm-linux-gnueabi

That should install at least 30 new packages in Ubuntu 14.04 LTS.

No need to go back to Ubuntu 10.04 LTS which is unsupported.

brent (brentashwilliams) said : #5

Thank you very much!

brent (brentashwilliams) said : #6

Thanks Mark Rijckenberg, that solved my question.