how to add custom defconfig to overwrite the existing defconfig in BSP linux i.MX8MP?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

how to add custom defconfig to overwrite the existing defconfig in BSP linux i.MX8MP?

3,496 次查看
Jimmychea
Contributor III

I intend to create a custom defconfig to overwrite the existing defconfig in BSP linux, what should i change in BSP ?

 

I did the below items:

1. Create the directory under source/meta-imx/meta-bsp/recipes-kernel/linux/files

2. Inside files/ directory, add 2 files which are custom_deconfig and linux-imx_%.bbappend

3. Content inside linux-imx_%.bbapend

FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
SRC_URI_append = "file://custom_defconfig"

 

But after i build,  defconfig under {build_dir}/tmp/work/imx8mp_lpddr4_evk-poky-linux/linux-imx/5.15.52+gitAUTOINC+36363d8623-r0 still follow the imx_v8_deconfig.

 

So what need to do in order the custom_defconfig can be used ?

 

0 项奖励
回复
2 回复数

3,465 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

 

You must replace you def configs form kernel, Take a look:

https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/How-to-change-Linux-Kernel-configuration...

 

Regards

0 项奖励
回复

3,443 次查看
Jimmychea
Contributor III

I prefer not using the patch method. Any other solution like modify the linux-imx_5.15.bb ?

0 项奖励
回复