advertisement
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
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Related manuals
advertisement
Table of contents
- 7 The Yocto Project
- 7 Introduction
- 7 Core Components
- 8 Vocabulary
- 8 Recipes
- 8 Classes
- 8 Layers
- 8 Machine
- 8 Distribution (Distro)
- 9 Bitbake
- 9 Toaster
- 9 Official Documentation
- 10 Compatible Linux Distributions
- 11 Introduction to the Phytec BSP
- 11 BSP Structure
- 11 BSP Management
- 11 phyLinux
- 12 BSP Metadata
- 12 meta-openembedded
- 12 meta-qt
- 12 meta-phytec
- 13 meta-yogurt
- 13 Build Configuration
- 14 Installation
- 14 Setting up the Host
- 14 Git Configuration
- 15 site.conf Setup
- 16 phyLinux Documentation
- 16 Get phyLinux
- 16 Basic Usage
- 17 Initialization
- 18 Advanced Usage
- 19 Working with Poky and Bitbake
- 19 Start the Build
- 19 Images
- 20 Installing the SDK
- 20 Accessing Development States between Releases
- 21 Inspect your Build Configuration
- 21 BSP Features of meta-phytec and meta-yogurt
- 21 Buildinfo
- 23 Customizing the BSP
- 23 How to disable the Qt Demo
- 24 How to add additional Software to the BSP Image
- 24 Notes about Packages and Recipes
- 25 How to add an additional Layer
- 26 How to create your own Layer
- 27 How to know your Kernel and Bootloader Recipe and Version
- 28 How to Configure the Kernel or Bootloader
- 29 How to add a Configuration Fragment to a Recipe
- 30 to a Recipe
- 31 How to patch the Kernel or Bootloader with devtool
- 32 How to patch the Kernel or Bootloader with the "temporary Method
- 35 How to work with the Kernel and Bootloader using SRC_URI in local.conf
- 36 Adding existing Software with the "sustainable Method
- 37 How to change the Network Configuration
- 38 Common Tasks
- 38 Debugging a User Space Application
- 39 Generating Source Mirrors, working offline
- 39 Compiling on the Target
- 40 Different Toolchains
- 40 Using the SDK
- 42 Working with Kernel Modules
- 42 Working with udev
- 44 Yocto Documentation
- 45 Revision History