This document will guide you from importing the virtual machine to build an customized Linux distribution you will generate with OpenEmbedded/Yocto system.
The development environment is provided as a virtual disk (to be used by a VirtualBox virtual machine) which you can download from this page:
Important
Compute the MD5SUM value of the zip file you downloaded and compare it to the golden one you find in the download page.
Uncompress the file, and you will get a .vdi file that is our virtual disk image. The environment contains the SDK for all the boards provided by Architech, i.MX6 SoloX SabreSD included.
For being able to use it, you first need to install VirtualBox (version 4.2.10 or higher). You can get VirtualBox installer from here:
https://www.virtualbox.org/wiki/Downloads
Download the version that suits your host operating system. You need to download and install the Extension Pack as well.
Important
Make sure that the extension pack has the same version of VirtualBox.
Install the software with all the default options.
We need to setup a port forwarding rule to let you (later) use the virtual machine as a local repository of packages.
Note
The virtual machine must be off
Building an entire system from the ground up is a business that can take up to several hours. To improve the performances of the overall build process, you can, if your computer has enough resources, assign more than one processor to the virtual machine.
Note
The virtual machine must be off
The VBox addictions add functionalities to the virtual machine such as better graphic driver and more. It is already installed in the SDK but is important re-install it to configuring correctly the virtual machine with your operating system.
2. Click on the virtual box menu to the voice Devices and select Insert Guest Additions CD Images.... A message box will appear at the start of the installation, click on run button
Important
A working internet connection, several GB of free disk space and several hours are required by the build process
bitbake core-image-minimal-dev
At the end of the build process, the image will be saved inside directory:
/home/architech/architech_sdk/architech/imx6sxsabresd/yocto/build/tmp/deploy/images/imx6sxsabresd
sudo tar -xzf /home/architech/architech_sdk/architech/imx6sxsabresd/yocto/build/tmp/deploy/images/imx6sxsabresd/core-image-minimal-dev-imx6sxsabresd.tar.gz -C /home/architech/architech_sdk/architech/imx6sxsabresd/sysroot/
Note
sudo password is: “architech“
Warning
The following instruction will make you overwrite your SD card content, it will be lost forever! If you have important data on it, make sure you do a backup of your data on the SD card before catching up with the next steps.
An SD card image provides the full system to boot with U-Boot and kernel. To flash an SD card image, run the following command:
sudo dd if=core-image-minimal-imx6sxsabresd-dev.sdcard of=/dev/sd<partition> bs=1M
Important
sudo password is architech
Make sure everything has been written on the SD card:
sync
and unmount the SD card from your system.