Problem to add a kernel driver using OE

Hello,

Hardware: Colibri i.MX 6
BSP: V2.4

I’m trying to add a new touchscreen driver module into my image using a .bbappend, but is not working.
I created a bbappend of the kernel recipe and a file with a line to enable the driver as a module (ft5x06.cfg).
The kernel .bbappend is showed in the bitbake-layers show-appends.
When I rebuild the image (console-trdx-image), only the fusion_F0710A.ko is in the /lib/modules/3.10.17/kernel/drivers/input/touchscreen/ .

What I’m doing wrong?

Thank you!

Regards,

…/…/…/meta-test/
├── recipes-kernel
│ └── linux
│ ├── files
│ │ ├── defconfig
│ │ ├── ft5x06.cfg
││ └── linux-toradex-fsl_git.bbappend

FILESEXTRAPATHS_prepend := “${THISDIR}/files:”
SRC_URI += "
file://ft5x06.cfg
"
#SRC_URI += "\

file://defconfig \

"

KERNEL_MODULE_AUTOLOAD += “ft5x06_ts”
KERNEL_MODULE_PROBECONF += “ft5x06_ts”
module_conf_ft5x06_ts = “screenres=800x480”

cat files/ft5x06.cfg
CONFIG_TOUCHSCREEN_FT5X06=m

Hello,

The defconfig you are attempting to add to the kernel source is ignored by our iMX6 kernel recipe. The recipe copies the ‘colibri_imx6_defconfig’ from ‘arch/arm/configs’ and runs make on it.

There are several ways to change the defconfig:

  1. Create a patch for ‘colibri_imx6_defconfig’ and add it to the SRC_URI of your .bbappend file.
  2. Modify the ‘linux-toradex-fsl_git.bb’ recipe to add any defconfig changes you want to the recipe’s ‘config_script’ function using sed as described in the function’s comments.
  3. Modify the ‘linux-toradex-fsl_git.bb’ recipe to change the recipe’s ‘do_config_prepend’ function to use a different defconfig.

Ok Thank you.