This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PROCESSOR-SDK-AM67: Problem building `core-image-minimal` – U-Boot `do_configure` failure in Yocto

Part Number: PROCESSOR-SDK-AM67


Tool/software:

Hi,

I am trying to build core-image-minimal with a multi-config setup (md and md-k3r5) on Ubuntu 24.04 using Yocto. The build fails during the U-Boot do_configure step for both configurations.

Environment

  • Target board: BeagleY-AI (TI J722S / AM67x)

  • Host OS: Ubuntu 24.04 (not officially validated)

  • Yocto version: 5.0.7 (Kirkstone)

  • Layers:

    • poky / meta

    • meta-arm

    • meta-arm-toolchain

    • meta-ti-bsp

    • meta-md (custom)

Machines:

  • MACHINE = "md"

  • MACHINE = "md-k3r5"

Command

bitbake core-image-minimal

Warnings

WARNING: Variable key PREFERRED_VERSION_${BSP_BOOTLOADER_PROVIDER} (${BSP_BOOTLOADER_VERSION}) replaces original key PREFERRED_VERSION_u-boot-bb.org (2024.10%).

(repeated many times)

Error log (main part)

During do_configure for u-boot-bb.org, the build fails:

*** Can't find default configuration "arch/../configs/j722s_evm_a53_defconfig"! *** make[2]: *** ... j722s_evm_a53_config] Error 1 make[1]: *** ... j722s_evm_a53_config] Error 2 make: *** [Makefile:177: sub-make] Error 2

And for the R5 multiconfig:

*** Can't find default configuration "arch/../configs/j722s_evm_r5_defconfig"! *** make[2]: *** ... j722s_evm_r5_config] Error 1

From the logs:

scripts/kconfig/conf --defconfig=arch/../configs/j722s_evm_a53_defconfig Kconfig

Summary

  • The build system tries to use:

    • j722s_evm_a53_defconfig

    • j722s_evm_r5_defconfig

  • These files do not exist in u-boot-bb.org/2023.04+git

  • As a result, U-Boot do_configure fails for both configurations (md, md-k3r5)

Questions

  • Are these defconfig names correct for TI J722S (AM67x) / BeagleY-AI?

  • Should I modify the machine configuration or provide custom defconfig files?

  • Is this a known issue with meta-ti-bsp and multiconfig setups?

Any guidance on fixing this do_configure failure would be very helpful.

Log references

  • .../build/tmp/work/md-poky-linux/u-boot-bb.org/2023.04+git/temp/log.do_configure

  • .../build/tmp-k3r5/work/md_k3r5-poky-eabi/u-boot-bb.org/2023.04+git/temp/log.do_configure

Thanks in advance!