$ 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
Hello Fnu Santosh,
There is a lot of information on the communities on how to do this. I would especially recommend the following training in which this topic is covered.
As for the specific error you’re encountering. I would recommend performing a clean and then trying to build again with your defconfig file.
Please let us know of your findings!
Regards,
Hi fnu
please follow recommendations for modifying kernel
i.MX Yocto Project: How can I (quickly) modify the kernel and test it?
BSP porting guide, u-boot-fslc, and boards.cfg | NXP Community
https://community.freescale.com/docs/DOC-95333
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------