AnsweredAssumed Answered

How to update kernel configuration of imx-4.1.15-1.0.0_ga

Question asked by fnu santosh on Aug 17, 2016
Latest reply on Aug 19, 2016 by gusarambula

$ mkdir fsl-release-bsp

$ cd fsl-release-bsp

$ repo init -u git://git.freescale.com/imx/fsl-arm-yocto-bsp.git -b imx-4.1.15-1.0.0_ga

$ repo sync

$ EULA=1 MACHINE=imx6qsabresd source setup-environment build

$bitbake  linux-imx

 

It works fine.

 

Now add the new module  in path ../sources/meta-qca-wireless/recipes-kernel/linux/linux-imx  to append the kernel config.

 

cat ../sources/meta-qca-wireless/recipes-kernel/linux/linux-imx-QCA6584.inc

SRC_URI += "file://yocto_4.1.15_defconfig"

do_configure_prepend(){

     echo "copy qca default config"

     cp ${WORKDIR}/yocto_4.1.15_defconfig ${S}/.config

     cp ${WORKDIR}/yocto_4.1.15_defconfig ${S}/../defconfig

}

 

defcofnig file i created for 4.1.15 is at ../sources/meta-qca-wireless/recipes-kernel/linux/linux-imx/yocto_4.1.15_defconfig

 

But when I compile with this change I get the below error.

| Using /mnt/workspace/imx-4.1.15/build/tmp/work-shared/imx6qsabresd/kernel-source as source for kernel

| /mnt/workspace/imx-4.1.15/build/tmp/work-shared/imx6qsabresd/kernel-source is not clean, please run 'make mrproper'

| in the '/mnt/workspace/imx-4.1.15/build/tmp/work-shared/imx6qsabresd/kernel-source' directory.

| make[2]: *** [prepare3] Error 1

 

Could you anyone please let me know how to update the kernel configurations?

 

we would like to update below configurations in kernel.

   #

   # Automatically generated file; DO NOT EDIT.

   # Linux/arm 4.1.15 Kernel Configuration

   #

  CONFIG_TREE_PREEMPT_RCU=y

  CONFIG_ARCH_MXC_IOMUX_V3=y

  CONFIG_STP=m

  CONFIG_BRIDGE=m

  CONFIG_BRIDGE_IGMP_SNOOPING=y

  CONFIG_BRIDGE_VLAN_FILTERING=y

  CONFIG_WIRELESS_EXT=y

  CONFIG_WEXT_CORE=y

  CONFIG_WEXT_PROC=y

  CONFIG_WEXT_SPY=y

  CONFIG_WEXT_PRIV=y

 

Outcomes