Sunday, November 27, 2011

Coldfire compilation in Ubuntu using Eclipse..

Let us see how to compile in Ubuntu
  1. Download and install the Codesourcery Lite toolchain from here. You may have to configure bash shell as given in the document here.
  2. Now install eclipse CDT and rse from the Synaptics.
  3. Now configure the project as given in post before.
  4.  
    1. No need to change the build command as shown in video.  
    2. Also add to toolchain depending on path.
    3. To get the cross gcc option in ubuntu, install updates in eclipse from the following location

  5.  As Dropbear ssh is installed i can use the following command to copy the generated elf file 
  scp <elf file> <user>@<remote target ip>:< location to copy>

This is easier than using tftp protocol.

No comments:

Post a Comment