
Hi Gabriele,
Thanks for the help.
On 2/8/20, Gabriele Zampieri gabbla.malist@gmail.com wrote:
If you just want to run the menuconfig run make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- menuconfig and make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- savedefconfig In any environment.
It does not seem the OE / Yocto build issue, rather than the u-boot build issue.
I can build OE / Yocto to load my mx6ull_14x14_evk_nand_defconfig to replace the original source git/configs/mx6ull_14x14_evk_nand_defconfig.
The git/scripts/kconfig was able to run defconfig mode that git/scripts/kconfig/conf.c and git/scripts/kconfig/confdata.c was able to enable CONFIG_CMD_UBI and to write to the .config based on my mx6ull_14x14_evk_nand_defconfig, but git/scripts/kconfig/conf.c and git/scripts/kconfig/confdata.c were not able to generate CONFIG_CMD_MTDPARTS (I could not find CONFIG_CMD_MTDPARTS when I made menuconig from menu config either).
The git/cmd/Makefile requires CONFIG_CMD_MTDPARTS set up to run mtdparts.c, without CONFIG_CMD_MTDPARTS, mtdparts.c was not compiled, and other cmd source files were not compiled, thus missing all dependencies for ubi (undefined reference).
Is it buggy in u-boot source downloaded from https://source.codeaurora.org/external/imx/uboot-imx.git (commit "8be98e9322040c655b9e5c9fb2c494e002e3fad9"), or is just my silly stupidity to miss things?
Could anyone in u-boot source development help to comment our if https://source.codeaurora.org/external/imx/uboot-imx.git (commit "8be98e9322040c655b9e5c9fb2c494e002e3fad9") works for ubi or not? Or what I could be missing?
Apologize to cc source contributors.
Thank you.
Kind regards,
- jh