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,503件の閲覧回数
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 ?

 

ラベル(2)
0 件の賞賛
返信
2 返答(返信)

3,472件の閲覧回数
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,450件の閲覧回数
Jimmychea
Contributor III

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

0 件の賞賛
返信