VAR-SOM-AM33 Development Environment: Difference between revisions
From Variscite Wiki
(Added shell section) |
|||
Line 15: | Line 15: | ||
= Installing additional packages for Ubuntu 14.04 = | = Installing additional packages for Ubuntu 14.04 = | ||
First time you login into Ubuntu Install additional | First time you login into Ubuntu Install additional packages | ||
<pre> | <pre> | ||
Yocto essentials | Yocto essentials packages: | ||
$ sudo apt-get install git build-essential diffstat texinfo gawk chrpath gcc-multilib wget socat libsdl1.2-dev mtd-utils dos2unix | $ sudo apt-get install git build-essential diffstat texinfo gawk chrpath gcc-multilib wget socat libsdl1.2-dev mtd-utils dos2unix | ||
Line 33: | Line 33: | ||
$ sudo apt-get install bridge-utils dnsmasq xinetd tftpd tftp | $ sudo apt-get install bridge-utils dnsmasq xinetd tftpd tftp | ||
$ sudo apt-get install u-boot-tools | $ sudo apt-get install u-boot-tools | ||
</pre> | |||
= Changing default shell on Ubuntu 14.04 = | |||
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: | |||
<pre> | |||
$ sudo dpkg-reconfigure dash | |||
</pre> | </pre> |
Revision as of 10:55, 22 December 2016
VAR-SOM-AMX3 - Setting Development Environment
Introduction
Installing Ubuntu 14.04 in VMWare Player
There are many examples on the WEB. we Recommend:
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
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
Changing default shell on Ubuntu 14.04
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:
$ sudo dpkg-reconfigure dash