Jump to content

IMX8/iMX8MEVK/Yocto/Building Yocto: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 19: Line 19:
</syntaxhighlight>
</syntaxhighlight>


=Setting up Yocto=
=Setting up Repo tool=
Yocto's meta-layers are configured through '''repo''' tool, install it as follows.
Yocto's meta-layers are configured through '''repo''' tool, install it as follows.


Line 41: Line 41:
repo sync
repo sync
</syntaxhighlight>
</syntaxhighlight>
Set you desired yocto version using the following variables.
{| class="wikitable"
! Variable
! Value
! Yocto version
|-
| BRANCH
| imx-linux-morty
| rowspan="2" | Morty
|-
| MANIFEST
| imx-4.9.51-8mq_ga.xml
|-
| BRANCH
| imx-linux-rocko
| rowspan="2" | Rocko
|-
| MANIFEST
| imx-4.9.88-2.1.0-8mm_alpha.xml
|}


=Configuration=
=Configuration=
Line 59: Line 82:
Keep in mind that the building can be configured with arguments, check the following tabla for more details.
Keep in mind that the building can be configured with arguments, check the following tabla for more details.


'''Table here'''
{| class="wikitable"
! -c <task>
! Execute specific task for the image or recipe. Some examples: fetch, compile, clean, cleansstate, package.
|-
| -f
| Force execution.
|-
| -v
| Verbose mode.
|-
| -DDD
| Enable debug information.
|-
| -s
| Show recipe version.
|-
| -g <recipe>
| Show dependency tree for the recipe.
|-
| -c listtasks <image_or_recipe>
| Show the tasks associated with a recipe or image.
|-
| -k
| keep running if an error appears.
|-
| --help
| Detailed help information.
|}


In order to build your image, run the next command:
In order to build your image, run the next command:
481

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.