S B C X U s e r ' s G u i d e
v . 1 . 0 . 1
●
python-m2crypto
These packages can be installed with the following command:
sudo apt-get install git build-essential diffstat
texinfo gawk chrpath ia32-libs python-m2crypto
It is also recommended to switch the system shell from Ubuntu's
standard dash to more universal bash:
$ sudo dpkg-reconfigure dash
7.4.2
Initializing the build environment
In the XELK, we have simplified the Yocto initialization phase, relying on
the repo tool and on a Axel bsp git repository, so that the initialization can
be completed with a few commands as reported below:
$ curl http://commondatastorage.googleapis.com/git-
repo-downloads/repo > repo
$ chmod +x repo
./repo init -u git@git.dave.eu:dave/axel/axel-bsp.git
-b dora
$ ./repo sync
7.4.3
Build the Yocto image
Please note that even building the basic root file system requires a few
hours to complete the process on a mid-hi range desktop PC (4-6 cores,
8-12 GiB RAM), also depending on the Internet connection speed (all
source are fetched from the network). Nearly 20GiB of disk space is
required for the build. Moreover, building inside the DVDK adds some
overhead, since the performances of a virtual machine are reduced if
compared to the physical hardware. Thus, it's recommended to check the
hardware capabilities of the host system and, when building with Yocto is
required, developers should consider the following options:
●
migrating the build system to a physical machine
●
assuming that the host system has the required resources,
extending the hardware capabilities of the default DVDK (eg:
adding more cores and disk space)
Once completed the initialization phase, developers can launch the Yocto
image build process with the following commands:
$ cd ~/xelk/axel-bsp
December, 2019
99/139
Summary of Contents for SBC AXEL
Page 2: ...S B C X U s e r s G u i d e v 1 0 1 Page intentionally left blank December 2019 2 139 ...
Page 105: ...S B C X U s e r s G u i d e v 1 0 1 December 2019 105 139 ...
Page 106: ...S B C X U s e r s G u i d e v 1 0 1 December 2019 106 139 ...
Page 107: ...S B C X U s e r s G u i d e v 1 0 1 December 2019 107 139 Fig 44 QtQuick Hello World ...
Page 119: ...S B C X U s e r s G u i d e v 1 0 1 December 2019 119 139 ...
Page 121: ...S B C X U s e r s G u i d e v 1 0 1 December 2019 121 139 ...
Page 139: ...S B C X U s e r s G u i d e v 1 0 1 December 2019 139 139 ...