VAR-SOM-AM33 Development Environment: Difference between revisions

From Variscite Wiki
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{PageHeader|VAR-SOM-AMX3 - Setting Development Environment}} {{DocImage|category1=VAR-SOM-MX6|category2=Yocto}} __toc__
{{PageHeader|VAR-SOM-AMX3 - Setting Development Environment}} {{DocImage|category1=VAR-SOM-MX6|category2=Yocto}} __toc__
= Introduction =  
= Introduction =  
= Installing Ubuntu 14.04 in VMWare Player =
= Installing Ubuntu 14.04 64-bit in VMWare Player =
There are many tutorials on the web. For example:
There are many tutorials on the web. For example:
* [https://www.youtube.com/watch?v=Lv6V6ESOyUk VMware Player | How to install Ubuntu 14.04 LTS ]
* [https://www.youtube.com/watch?v=Lv6V6ESOyUk VMware Player | How to install Ubuntu 14.04 LTS ]
Line 14: Line 14:
* Update Ubuntu right after first login.
* Update Ubuntu right after first login.


= Installing additional packages for Ubuntu 14.04 =
= Installing additional packages for Ubuntu 14.04 64-bit =
First time you login into Ubuntu Install additional packages
First time you login into Ubuntu Install additional packages
<pre>
<pre>
Line 36: Line 36:
</pre>
</pre>


= Changing the default shell on Ubuntu 14.04 =
= Changing the default shell on Ubuntu 14.04 64-bit =


Ubuntu installs dash shell by default, but Yocto uses some bash-specific scripting features. Run the following command to change the default shell to bash:
Ubuntu installs dash shell by default, but Yocto uses some bash-specific scripting features. Run the following command to change the default shell to bash and select No:
<pre>
<pre>
$ sudo dpkg-reconfigure dash
$ sudo dpkg-reconfigure dash
</pre>
</pre>

Latest revision as of 10:17, 6 September 2017

VAR-SOM-AMX3 - Setting Development Environment

Introduction

Installing Ubuntu 14.04 64-bit in VMWare Player

There are many tutorials on the web. For example:

Installation recommendations

  • Set the number of CPU's to maximum possible
  • Set the memory size to at least 4GB.
  • Set the disk size to be at least 200GB. 300GB is better.
  • Use Bridge for networking.
  • Install the VMWare tools.
  • If you have an extra hard drive use it as a physical partition and set you home directory to it.
  • Update Ubuntu right after first login.

Installing additional packages for Ubuntu 14.04 64-bit

First time you login into Ubuntu Install additional packages

Yocto essentials packages:
$ sudo apt-get install git build-essential diffstat texinfo gawk chrpath gcc-multilib wget socat libsdl1.2-dev mtd-utils dos2unix

Yocto Documentation:
$ sudo apt-get install make xsltproc docbook-utils fop dblatex xmlto

ADT Installer Extras:
$ sudo apt-get install autoconf automake libtool libglib2.0-dev libarchive-dev

Additional :
$ sudo apt-get install bison flex patch libncurses-dev
$ sudo apt-get install gettext texinfo curl subversion
$ sudo apt-get install minicom wireshark
$ sudo apt-get install ssh vde2 nfs-kernel-server debootstrap uml-utilities
$ sudo apt-get install bridge-utils dnsmasq xinetd tftpd tftp
$ sudo apt-get install u-boot-tools
$ sudo apt-get install parted

Changing the default shell on Ubuntu 14.04 64-bit

Ubuntu installs dash shell by default, but Yocto uses some bash-specific scripting features. Run the following command to change the default shell to bash and select No:

$ sudo dpkg-reconfigure dash