DART-SD410 Yocto 4.4.9 Download Packages: Difference between revisions
(Created page with "{{PageHeader|Download packages and build.}} __toc__ = Create directory tree = Create the following directory tree: <pre> $ mkdir ~/sd410 $ cd ~/sd410 $ mkdir yocto $ cd yocto ...") |
|||
Line 1: | Line 1: | ||
{{PageHeader|Download packages and build.}} __toc__ | {{PageHeader|Download packages and build.}} __toc__ | ||
= Create directory tree = | = Download recepies = | ||
== Create directory tree == | |||
Create the following directory tree: | Create the following directory tree: | ||
<pre> | <pre> | ||
Line 8: | Line 9: | ||
$ cd yocto | $ cd yocto | ||
</pre> | </pre> | ||
== Download Linaro Release == | |||
<pre> | |||
$ repo init -u https://github.com/96boards/oe-rpb-manifest.git -b jethro | |||
$ repo sync -j6 | |||
</pre> | |||
== Download Variscite Release == | |||
<pre> | |||
$ cd layers | |||
$ git clone https://github.com/varigit/meta-variscite-dart-sd410.git meta-variscite | |||
$ cd meta-variscite | |||
$ git checkout -b jethro-var01 remotes/origin/jethro-var01 | |||
$ cd ../../ | |||
</pre> | |||
== Setup Variscite Layers Configuration == | |||
<pre> | |||
$ cp ./layers/meta-variscite/bblayers.conf .repo/manifests/conf/bblayers.conf | |||
</pre> | |||
= Build = | |||
== Select Target Machine == | |||
<pre> | |||
$ source setup-environment | |||
You will be prompted to choose the target machine, pick dart-sd410 | |||
You will be prompted to choose the distro, choose: | |||
'rpb' for minimal, console-only image and for simple X11 image | |||
'rpb-wayland' for Wayland/Weston image | |||
</pre> | |||
The script setup-environment will create sane default configuration files in /conf, you can inspect them and modify them if needed. <br>Note that conf/local.conf and conf/bblayers.conf are symlinks. | |||
{{note| NOTE:<br> When running the setup-environment script, you were asked to read/accept the Qualcomm EULA.<br>The EULA is required to access the proprietary firmware, such as the GPU firmware , WLAN, ...<br><br>If you accepted the EULA, when building an image for DART-SD410 all proprietary firmware are installed automatically in /lib/firmware,<br>and a copy of the EULA is added as '/etc/license.txt`.<br><br>If you did not accept the EULA, the firmware are not downloaded, and not installed into the image.|info}} | |||
== Build a minimal, console-only image == | |||
<pre> | |||
$ bitbake rpb-console-image | |||
</pre> | |||
At the end of the build, your build artifacts will be found under tmp-eglibc/deploy/images/dart-sd410/.<br>The two artifacts you will use to update your board are: | |||
'''rpb-console-image-dart-sd410.ext4.gz''' and '''boot-dart-sd410.img''' | |||
== Build a simple X11 image == | |||
<pre> | |||
$ bitbake rpb-desktop-image | |||
</pre> | |||
At the end of the build, your build artifacts will be found under tmp-eglibc/deploy/images/dart-sd410/.<br>The two artifacts you will use to update your board are: | |||
'''rpb-desktop-image-dart-sd410.ext4.gz''' and '''boot-dart-sd410.img''' | |||
== Build a Wayland/Weston image == | |||
<pre> | |||
$ bitbake rpb-weston-image | |||
</pre> | |||
At the end of the build, your build artifacts will be found under tmp-eglibc/deploy/images/dart-sd410/.<br>The two artifacts you will use to update your board are: | |||
'''rpb-weston-image-sd410.ext4.gz''' and '''boot-dart-sd410.img''' |
Revision as of 12:08, 29 August 2016
Download recepies
Create directory tree
Create the following directory tree:
$ mkdir ~/sd410 $ cd ~/sd410 $ mkdir yocto $ cd yocto
Download Linaro Release
$ repo init -u https://github.com/96boards/oe-rpb-manifest.git -b jethro $ repo sync -j6
Download Variscite Release
$ cd layers $ git clone https://github.com/varigit/meta-variscite-dart-sd410.git meta-variscite $ cd meta-variscite $ git checkout -b jethro-var01 remotes/origin/jethro-var01 $ cd ../../
Setup Variscite Layers Configuration
$ cp ./layers/meta-variscite/bblayers.conf .repo/manifests/conf/bblayers.conf
Build
Select Target Machine
$ source setup-environment You will be prompted to choose the target machine, pick dart-sd410 You will be prompted to choose the distro, choose: 'rpb' for minimal, console-only image and for simple X11 image 'rpb-wayland' for Wayland/Weston image
The script setup-environment will create sane default configuration files in /conf, you can inspect them and modify them if needed.
Note that conf/local.conf and conf/bblayers.conf are symlinks.
When running the setup-environment script, you were asked to read/accept the Qualcomm EULA.
The EULA is required to access the proprietary firmware, such as the GPU firmware , WLAN, ...
If you accepted the EULA, when building an image for DART-SD410 all proprietary firmware are installed automatically in /lib/firmware,
and a copy of the EULA is added as '/etc/license.txt`.
If you did not accept the EULA, the firmware are not downloaded, and not installed into the image.
Build a minimal, console-only image
$ bitbake rpb-console-image
At the end of the build, your build artifacts will be found under tmp-eglibc/deploy/images/dart-sd410/.
The two artifacts you will use to update your board are:
rpb-console-image-dart-sd410.ext4.gz and boot-dart-sd410.img
Build a simple X11 image
$ bitbake rpb-desktop-image
At the end of the build, your build artifacts will be found under tmp-eglibc/deploy/images/dart-sd410/.
The two artifacts you will use to update your board are:
rpb-desktop-image-dart-sd410.ext4.gz and boot-dart-sd410.img
Build a Wayland/Weston image
$ bitbake rpb-weston-image
At the end of the build, your build artifacts will be found under tmp-eglibc/deploy/images/dart-sd410/.
The two artifacts you will use to update your board are:
rpb-weston-image-sd410.ext4.gz and boot-dart-sd410.img