IMX8mp unable to include .cfg file into the Yocto build.

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

IMX8mp unable to include .cfg file into the Yocto build.

2,276件の閲覧回数
MJD
Contributor III

Hello,

Through menuconfg i have created fragment .cfg file, know i am trying to include into my build 

imx-yocto-bsp/sources/meta-daikoku/recipes-kernel/linux$ cat linux-imx_6.1.bbappend 
FILESEXTRAPATHS_append := "${THISDIR}/${PN}:"

SRC_URI += "file://8250.cfg"


i have tried with the above solution but i am facing error has "/imx-yocto-bsp/sources/meta-freescale/recipes-kernel/linux/linux-imx_6.1.bb: Variable do_configure_append contains an operation using the old override syntax"

SRC_URI += "file://8250.cfg"

do_configure_append() {
# This is run from
# ./tmp/work/imx8mp_lpddr4_evk-poky-linux/linux-imx/6.1.y+gitAUTOINC+770c5fe2c1-r0/git
cat ../*.cfg >> ${B}/.config
}

How to make reflect in the .config file ?

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

2,248件の閲覧回数
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

As the first step I'd rename do_copy_defconfig_append() to do_copy_defconfig:append() to match the updated syntax, and give it another go.

 
Regards
0 件の賞賛
返信

1,144件の閲覧回数
StefOffr
Contributor I

Hi,

I have seen the solution to make the fragment apply, also in this old post:

https://community.nxp.com/t5/i-MX-Processors/imx8mn-configuration-fragments-not-applied/m-p/1092624#...

 

But it seems to me not compliant with the devtool workflow.

When one do

- devtool modify linux-imx

-devtool menuconfig linux-imx

-do a mod in kernel config

-devtool finish linux-imx meta-mylayer/

-bitbake imx-image-core

 

one would expect that the devtool interface should work without modify manually the recipe.

This is really the solution? no updates to make it compatible with devtool workflow?

 

thanks

Stefano

0 件の賞賛
返信

2,245件の閲覧回数
MJD
Contributor III

Hi @Bio_TICFSL 
ThankYou for your response,

With the above information i didn't get any error message while building, Build got succeeded.
but those configurations are not reflected in my .config file 

/build/tmp/work/imx8mp_lpddr4_evk-poky-linux/linux-imx/6.1.y+gitAUTOINC+770c5fe2c1-r0/build$ vi .config /// its not reflected in this .config file 

i can see added in the bellow file
to-bsp/build/tmp/work/imx8mp_lpddr4_evk-poky-linux/linux-imx/6.1.y+gitAUTOINC+770c5fe2c1-r0/git/arch/arm64/configs$ vi defconfig 

i need those configurations enabled into build, i mean into build .config file.

 


 

0 件の賞賛
返信

2,207件の閲覧回数
MJD
Contributor III

reminder.
  

0 件の賞賛
返信