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?
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:
regards