Difference between revisions of "Installing EMAC OE 5.0 SDK"

From wiki.emacinc.com
Jump to: navigation, search
m (Discarded)
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{todo|This page will need updating once the SDK installer is finished|Michael Gloff|project=oe 5,Discarded,mg}}
 
 
 
==Prerequisites==
 
==Prerequisites==
Before beginning installation of the SDK, it is important to prepare the development system with the tools necessary to get the job done.
+
If you are installing the SDK using the ADT Installer (Automatic Install), dependencies will be automatically installed for the supported distributions: Debian/Ubuntu, Fedora, CentOS, openSUSE. EMAC also provides a [ftp://ftp.emacinc.com/EMAC_Linux/Virtual_LDCs/EMAC_Virtual_LDC.ova pre-configured virtual machine image.]
 +
{{note | Currently the version of Qt Creator installed during the automatic installation does not work on Debian 8}}
  
==Procedure==
+
If you are installing the SDK manually or using a non-supported distribution, you will have to install the dependencies manually.
 +
==Procedure (Automatic Install)==
 
<cl>
 
<cl>
1. Download the SDK. The latest version can be found on the public EMAC FTP site. Be sure to download the SDK that matches the architecture of your target system. Contact EMAC if unsure.
+
1. Download the ADT Installer. (Right click, save link as)
* Change to the directory where the SDK was downloaded from the command line:
+
* [http://ftp.emacinc.com/EMAC_Linux/SDK/emac_adt_installer EMAC ADT Installer].
<syntaxhighlight lang="bash">
+
 
developer@ldc:~$ cd /download/directory
+
* Change to the directory where the ADT Installer was downloaded from the command line:
</syntaxhighlight>
+
{{cli | username=developer | hostname=ldc |cd ~/Downloads }}
 +
 
 +
* Make the file executable:
 +
{{cli | username=developer | hostname=ldc | chmod +x emac_adt_installer }}
 +
 
 +
* Run ADT Installer script:
 +
{{cli | username=developer | hostname=ldc |./emac_adt_installer }}
 +
The installer will start.
 +
 
 +
* Watch for errors:
 +
{{clo}}#########################################################################<br /># Met Errors when installing EMAC ADT! Please check log file for details.<br />#########################################################################<br />{{clos}}
 +
 
 +
* Enter the development user's password if prompted. Allow the installer to install dependencies.
 +
 
 +
* Select your board's architecture. Enter '1' for Arm or '2' for x86.
 +
{{clo}}
 +
Please enter the target architecture:<br />
 +
1. Arm<br />
 +
2. x86<br />
 +
board: <br />
 +
{{clos}}
 +
 
 +
* The ADT Installer will then display what is to be installed. You may now choose to exit the installation, or continue if the displayed information is correct.
 +
 
 +
* Once the installation of the sdk completes, the ADT Installer will ask whether or not to install Qt Creator.
 +
 
 +
{{clo}}
  
* Run SDK installer script:
+
Would you like to install Qt Creator? [y/N]?
 +
{{clos}}
 +
* Qt Creator is the IDE that EMAC provides with our SDK to allow users to easily cross compile projects and upload them to their boards.
 +
* If you chose to install Qt creator, the installer will then ask you whether or not you would like to place the icon on the desktop.
  
<syntaxhighlight lang="bash">
+
* If the installation finishes, status text will appear:{{clo}}#############################################################<br /># EMAC ADT has been successfully installed.<br />#############################################################<br /> {{clos}}
developer@ldc:~$ ./SDK_NAME.sh
 
</syntaxhighlight>
 
  
The installer will start. It is recommended to select the default target directory for the SDK:
+
</cl>
  
<syntaxhighlight lang="console">
+
==Procedure (Manual Install)==
/opt/emac/5.0
+
<cl>
</syntaxhighlight>
+
1. Download the SDK. The latest version can be found on the EMAC FTP site. Download the SDK that matches the architecture of your target system. (Right click, save link as)
* Press enter to proceed.
 
  
* Enter the development user's password if prompted.
+
* SDK for x86: [http://ftp.emacinc.com/EMAC_Linux/SDK/emac-x86-toolchain.sh emac-x86-toolchain.sh]
 +
* SDK for ARM: [http://ftp.emacinc.com/EMAC_Linux/SDK/emac-arm-toolchain.sh emac-arm-toolchain.sh]
  
 +
* Change to the directory where the SDK was downloaded from the command line:
 +
{{cli | username=developer | hostname=ldc |cd ~/Downloads }}
 +
* Run SDK installer script:
 +
{{cli | username=developer | hostname=ldc |./emac-ARCH-toolchain.sh }}
 +
The installer will start. It is recommended to select the default target directory for the SDK: <code>/opt/emac/5.X</code>
 +
* Press enter to proceed.
 +
* Enter your password if prompted.
 
* Status text will appear:
 
* Status text will appear:
<syntaxhighlight lang="console">
+
{{clo}}
Extracting SDK...done
+
Extracting SDK...done<br />
Setting it up...done
+
Setting it up...done<br />
SDK has been successfully set up and is ready to be used.
+
SDK has been successfully set up and is ready to be used.<br />
</syntaxhighlight>
+
{{clos}}
 
</cl>
 
</cl>
  
==See Also==
+
== Next Steps ==
 
 
* [[Installing EMAC OE 4.0 SDK]]
 
  
<!--[[Category:EMAC OE SDK]]-->
+
* [[Getting_Started_with_the_EMAC_OE_SDK | Getting Started with the EMAC OE SDK ]]
 +
* [[Getting_Started_With_Qt_Creator |Getting Started With Qt Creator]]

Latest revision as of 10:53, 28 July 2021

Prerequisites

If you are installing the SDK using the ADT Installer (Automatic Install), dependencies will be automatically installed for the supported distributions: Debian/Ubuntu, Fedora, CentOS, openSUSE. EMAC also provides a pre-configured virtual machine image.



NOTE
Currently the version of Qt Creator installed during the automatic installation does not work on Debian 8


If you are installing the SDK manually or using a non-supported distribution, you will have to install the dependencies manually.

Procedure (Automatic Install)

  1. Download the ADT Installer. (Right click, save link as)

  2. Change to the directory where the ADT Installer was downloaded from the command line:

    developer@ldc:~# cd ~/Downloads
  3. Make the file executable:

    developer@ldc:~# chmod +x emac_adt_installer
  4. Run ADT Installer script:

    developer@ldc:~# ./emac_adt_installer

    The installer will start.

  5. Watch for errors:

    #########################################################################
    # Met Errors when installing EMAC ADT! Please check log file for details.
    #########################################################################
  6. Enter the development user's password if prompted. Allow the installer to install dependencies.

  7. Select your board's architecture. Enter '1' for Arm or '2' for x86.

    Please enter the target architecture:
    1. Arm
    2. x86
    board:

  8. The ADT Installer will then display what is to be installed. You may now choose to exit the installation, or continue if the displayed information is correct.

  9. Once the installation of the sdk completes, the ADT Installer will ask whether or not to install Qt Creator.

    Would you like to install Qt Creator? [y/N]?

    • Qt Creator is the IDE that EMAC provides with our SDK to allow users to easily cross compile projects and upload them to their boards.

    • If you chose to install Qt creator, the installer will then ask you whether or not you would like to place the icon on the desktop.

  10. If the installation finishes, status text will appear:
    #############################################################
    # EMAC ADT has been successfully installed.
    #############################################################


Procedure (Manual Install)

  1. Download the SDK. The latest version can be found on the EMAC FTP site. Download the SDK that matches the architecture of your target system. (Right click, save link as)

  2. Change to the directory where the SDK was downloaded from the command line:

    developer@ldc:~# cd ~/Downloads
  3. Run SDK installer script:

    developer@ldc:~# ./emac-ARCH-toolchain.sh

    The installer will start. It is recommended to select the default target directory for the SDK: /opt/emac/5.X

  4. Press enter to proceed.

  5. Enter your password if prompted.

  6. Status text will appear:

    Extracting SDK...done
    Setting it up...done
    SDK has been successfully set up and is ready to be used.

Next Steps