Phytec Yocto Reference Manual


Add to my manuals
47 Pages

advertisement

Phytec Yocto Reference Manual | Manualzz

Working with Poky and Bitbake

6.7.5 How to know your Kernel and Bootloader Recipe and Version

First you should know, which kernel and version is used for your target machine. Phytec provides two kernel recipes linux-mainline and linux-ti. The first one provides support for the Phytec's i.MX 6 modules and is based on the Linux kernel stable releases from

kernel.org

. The second one provides support for Phytec's AM335x modules and is based on the TI vendor kernel.

The Git repositories URLs are

linux-ti:

git://git.phytec.de/linux-ti

linux-mainline:

git://git.phytec.de/linux-mainline

To know your kernel provider execute the following command: host$ bitbake virtual/kernel ‐e | grep  "PREFERRED_PROVIDER_virtual/kernel" 

The command prints the value of the variable PREFERRED_PROVIDER_virtual/kernel. The variable is used in the internal Yocto build process to select the kernel recipe to use. The following two lines are two different outputs you might see.

 

PREFERRED_PROVIDER_virtual/kernel="linux‐mainline" 

PREFERRED_PROVIDER_virtual/kernel="linux‐ti" 

To know which version is used, execute bitbake –s.

For example, host$ bitbake ‐s | egrep ‐e "linux‐mainline|linux‐ti|barebox"

The parameter -s prints the version of all recipes. The output contains the recipe name on the left and the version on the right.

  barebox :2015.02.0-phy2-r3 linux-mainline :3.19.5-phy4-r0

As you can see the recipe linux-mainline has the version 3.19.5-phy4-r0. In the Phytecs'

linux-mainline Git repository you will find a corresponding tag v3.19.5-phy4. The version of

the barebox recipe is 2015.02.0-phy2.

If your machine has an AM335x module the output of bitbake ‐s

contains a line starting with linux-ti.

© PHYTEC Messtechnik GmbH 2016 L-813e_3 21

advertisement

Was this manual useful for you? Yes No
Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Related manuals

advertisement

Table of contents