Build Instructions
Prerequisites
The building process for ISOBlue 2.0 is very customizable. If you do not have similar experience, it is recommended that you read through some of the Yocto project documentations to get started. If you do not have much experience in Linux, you can still download a prebuilt ISOBlue image and follow the flashing instructions to get yourself an ISOBlue.
Machine Requirement
For building an ISOBlue image, a powerful, multi-core host machine is highly recommended. There should be a minimum of 60GB of free disk place, 4GB of RAM and a decent Internet connection. The build procedure is currently only tested on Ubuntu 16.10.
Preparations
ISOBlue's image (which added a bunch of custom recipes on top of Toradex BSP) build requires some additional packages, mainly 32-bit flashing utilities. You need to do:
We would also need to install repo for source synchronizations:
Source Synchronization
You need to simply do:
After getting the ISOBlue image source, you can do:
After sourcing export
, you will be put into the build
directory with the
following items configured for the current session:
- bitbake executable
- shell environment variables
You will need to source export
again to have the right configurations.
Editing isoblue.conf
Before building the image, edit isoblue.conf
under top-level-directory
,
i.e., isoblue-core
in our instruction:
The settings you need to change is the ID
and MACHINEID
.
- For
ID
, you can use any combination from 011 to 999 and this will be your ISOBlue's uniqueID
(000 to 010 are already taken). This is only a temporary solution and will get changed in the future. - For
MACHINEID
, you can append a string of your choice to the configuredID
. The string can only contain letters. The default string isib
.
Building
Given that you are in the build
directory, run:
This command reads in the configuration you set in the isoblue.conf
earlier
and use the settings to build an image. This first build usually takes of hours
(it involves a lot of downloading and compiling). Be patient!
After a successful build, you should have the following
directory structure for for your deploy
directory:
apalis-imx6
is the processor ISOBlue 2.0 is using. The image should be located
in the apalis-imx6
folder. The image file we are looking for should be in the
format of Isoblue2_apalis-imx6_image_2.7b2-YYYYMMDD.tar.bz2
. Copy this file
to a directory of your choice and follow the flashing instructions
to load the image onto your hardware.