redefine configs with Yocto

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

redefine configs with Yocto

356件の閲覧回数
AlekseyM
Contributor III

I try to make my custom machine and use a custom layer to create images. I make it step-by-step with the BSP porting guide. u-boot already works if I make an image with standalone env, but I have a lot of issues if I try to add it in Yocto. 
My config file redefines autoconf. How to resolve it? 

| /opt/yocto/imx-yocto-bsp/imx8mm-dmc/tmp/work/imx8mm_dmc-poky-linux/u-boot-imx/2023.04-r0/git/include/configs/imx8mm_dmc.h:15: warning: "CONFIG_SPL_MAX_SIZE" redefined
| 15 | #define CONFIG_SPL_MAX_SIZE (148 * 1024)
| |
| include/generated/autoconf.h:141: note: this is the location of the previous definition
| 141 | #define CONFIG_SPL_MAX_SIZE 0x27000

I see that all machines use similar config files, but there are no rise redefine errors. What am I missing?

0 件の賞賛
2 返答(返信)

334件の閲覧回数
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

Is difficult to know which error you might have, could be a bad package but you can see the manual we provide for this cases:

https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/How-to-add-a-new-layer-and-a-new-recipe-...

 

regards

0 件の賞賛

332件の閲覧回数
AlekseyM
Contributor III
Can I send my layer to support to help me to figure it out?
0 件の賞賛