AnsweredAssumed Answered

T4240RDB new kernel

Question asked by Bogdan Tanasa on Sep 2, 2016

Hi,

 

I am trying to use a new configuration file for the kernel that comes with the freescale variant of yocto 1.6 for a t4240rdb board. I have performed the following steps:

 

1. bitbake -c menuconfig virtual/kernel

--- this allows me to create the .config file as I want.

2. In meta-fsl-ppc/recipes-kernel/linux I have created a file linux-qoriq-sdk_3.12.bbappend which contains

 

FILESEXTRAPATHS_prepend := "${THISDIR}/files:"

SRC_URI += "file://defconfig"

 

3. the .config create at 1. has been copied to meta-fsl-ppc/recipes-kernel/linux/files and renamed to defconfig

4. bitbake fsl-image-core

--- this builds everything. I assume that the new kernel will exactly be based on my defconfig file. Is this right?

 

As a result of 4 I see that in the work directory there is another directory named linux-qoriq-sdk/3.12-r0. There I can see my defconfig file. However, when I go to linux-qoriq-sdk/3.12-r0/image/usr/src/kernel there I see a .config file that is different from the defconfig file.

 

This means that the resulting kernel is built according to that .config file. (I assume so). If so, what am I doing wrongly?

 

Thanks,

Bogdan.

Outcomes