Posts

Showing posts from January, 2017

Patching Kernel in OpenEmbedded

Image
Thursday, January 19, 2017 Introduction Despite  OpenEmbedded / Yocto  being nice tools to generate your image, using the build system to compile and test tiny alterations applied to independent packages, although possible, can become confusing and slow. My suggestion to alter the kernel is to compile it separately, test all the changes made by the end of the project, and add the changes to OpenEmbedded/Yocto. To illustrate the process, we will add support to the inertial measurement unit  mma8653  accelerometer by  NXP  (formerly Freescale) to the kernel 4.4.14 used by the Toradex computer on module  Colibri VF61 . Procedure The first thing to do is to have OpenEmbedded and its prerequisites installed. You can follow  this article 's  prerequisites  and  installation  sections to do so. In order to find where and which kernel is being used for your target, you can first find the recipes for the kernels used by different targets. You can also find this information