Kernel Configuration Problem for wayland distro

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Kernel Configuration Problem for wayland distro

1,206 Views
abelussi
Contributor III

I followed the point  "Task#5-kernel of Yocto Training, for modifying my Kernel of the board "imx6sxsabre" to add new touchscreen device.

These are the steps I executed on my host machine:

$ bitbake -c menuconfig linux-imx

(change the kernel configuration to add support for egalax touchscreen)

$ cp tmp/work/imx6sxsabresd-poky-linux-gnueabi/linux-imx/4.1.15-r0/build/.config ../sources/meta-fsl-arm/recipes-kernel/linux/linux-imx-4.1.15/imx/defconfig

$ bitbake -c cleansstate linux-imx

$ bitbake core-image-minimal

However I found out that the config file used for the kernel configuration is always the original. Looking into the recipes I discovered that the step do_copy_defconfig overwrite whatever kernel config file with the original one. This is the recipe step I am talking about, where the ${S} dir point to the tmp working dir, not to the sources dir like I was expecting.

do_copy_defconfig () {
if [ ${DO_CONFIG_V7_COPY} = "yes" ]; then
# copy latest imx_v7_defconfig to use for mx6, mx6ul and mx7
mkdir -p ${B}
cp ${S}/arch/arm/configs/imx_v7_defconfig ${B}/.config
cp ${S}/arch/arm/configs/imx_v7_defconfig ${B}/../defconfig
fi
}

what am I doing wrong?

thank you in advance for the help

Labels (1)
Tags (1)
0 Kudos
1 Reply

834 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello Antonio Belussi,

I think the steps shown on the training may not work on the latest releases. As you mentioned, right now the recipe will always use the default configuration. My recommendation would be creating an append that changes the kernel configuration.

You can see how to do this on the example from the following document:

https://community.nxp.com/docs/DOC-334088

I hope this helps!

Regards,