VAR-SOM-AM33 Development Environment

From Variscite Wiki
VAR-SOM-AMX3 - Setting Development Environment

1 Introduction

2 Installing Ubuntu 14.04 64-bit in VMWare Player

There are many tutorials on the web. For example:

2.1 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.

3 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

4 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