This document assumes the development environment is being built on a clean install of Ubuntu 14.04 and the user is comfortable with using the Linux command line. Complete the following steps from the Linux command line.
To fetch the latest package available in the Ubuntu repositories:
- *sudo apt-get update*
- Update your system: *sudo apt-get upgrade -y*
- :bash:`sudo apt-get update`
- Update your system: :bash:`sudo apt-get upgrade -y`
To install the essential Yocto Project host packages run the following command:
To install the Node.js host packages run the following command:
- For compiling for 32-bit ARM with x86_64 host you need to enable x86 packages/libraries. For Ubuntu it might be done with the following command: *sudo dpkg --add-architecture i386*
- For compiling for 32-bit ARM with x86_64 host you need to enable x86 packages/libraries. For Ubuntu it might be done with the following command: :bash:`sudo dpkg --add-architecture i386`
Python can't change the filesystem locale after loading so we need a utf-8 when python starts or things won't work.
To fix that you need to issue commands below:
::
.. code:: bash
sudo locale-gen "en_US.UTF-8"
sudo dpkg-reconfigure locales
export LC_ALL=en_US.UTF-8
...
...
@@ -73,5 +79,3 @@ To fix that you need to issue commands below:
export LANGUAGE=en_US.UTF-8
After a build is complete, the created image will reside in veta-gateway-bsp/build/tmp/deploy/images. Each image build creates a U-Boot, kernel, and rootfs.