currently I am learning yocto project. I tried the the basic yocto image with beaglebone black and poky distribution and it worked perfectly. Right now I am trying the same proecess for stm32mp1. I am following a tutorial from digikey digikey tutorial link.
I am using ubuntu 22.04.01 and virtual machine 5.19.04.1
I tried the ‘bitbake -c cleanall u-boot-stm32mp’ and rebuild the image again, but still got the same error. I am expecting a clean build, where I won’t have any u-boot-stm32mp oe runmake error.
Does anyone have any idea about the error. Any kind of help is highly appreciable.
I am getting u-boot-stm32mp error. The error is following:
ERROR: u-boot-stm32mp-v2021.10-stm32mp-r2-r0 do_compile: oe_runmake failed
ERROR: u-boot-stm32mp-v2021.10-stm32mp-r2-r0 do_compile: ExecutionError('/home/hico/argon-stm32/build_argon/tmp/work/stm32mp1-poky-linux-gnueabi/u-boot-stm32mp/v2021.10-stm32mp-r2-r0/temp/run.do_compile.1968416', 1, None, None)
ERROR: Logfile of failure stored in: /home/hico/argon-stm32/build_argon/tmp/work/stm32mp1-poky-linux-gnueabi/u-boot-stm32mp/v2021.10-stm32mp-r2-r0/temp/log.do_compile.1968416
I have following configuration for the setup:
BB_VERSION = "2.0.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "stm32mp1"
DISTRO = "poky"
DISTRO_VERSION = "4.0.10"
TUNE_FEATURES = "arm vfp cortexa7 neon vfpv4 thumb callconvention-hard"
TARGET_FPU = "hard"
meta
meta-poky
meta-yocto-bsp = "kirkstone:43b94d2b8496eae6e512c6deb291b5908b7ada47"
meta-oe
meta-python = "kirkstone:bdad2a789e30703a825b876279665720d06d55dc"
meta-st-stm32mp = "kirkstone:ca501bd7dbe023682903ceedddaacd940b0898f4"
Thanks a lot for your reply. In this link log file for the error you can find the log file.
Your issue is right here:
| Error: You must add new CONFIG options using Kconfig
| The following new ad-hoc CONFIG options were detected:
| make -f /home/hico/argon-stm32/build_argon/tmp/work-shared/stm32mp1/uboot-source/scripts/Makefile.build obj=cmd/arm
| CONFIG_FS_EXT4
|
| Please add these via Kconfig instead. Find a suitable Kconfig
| file and add a 'config' or 'menuconfig' option.
| make[1]: *** [/home/hico/argon-stm32/build_argon/tmp/work-shared/stm32mp1/uboot-source/Makefile:1107: .binman_stamp] Error 1
| make[1]: *** Deleting file '.binman_stamp'
| make[1]: *** Waiting for unfinished jobs....
Shawn’s tutorial is using dunfell (3.1), but your on kirkstone (4.0) don’t mix and match yocto project tree’s…
Regards,
my all sources are on kirkstone versions. I verified every layer with git status command. Even I deleted everything and started from scratch, but still got the same error.
I had no problems building kirkstone, added the directions here: Yocto: Getting Started with the STM32MP157
voodoo@ubuntu-2004-st-yocto:~/yocto-labs/build$ MACHINE=stm32mp1 bitbake core-image-minimal
Loading cache: 100% |###########################################################################################################################################################################| Time: 0:00:00
Loaded 3647 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "2.0.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "stm32mp1"
DISTRO = "poky"
DISTRO_VERSION = "4.0.10"
TUNE_FEATURES = "arm vfp cortexa7 neon vfpv4 thumb callconvention-hard"
TARGET_FPU = "hard"
meta
meta-poky
meta-yocto-bsp = "HEAD:f53ab3a2ff206a130cdc843839dd0ea5ec4ad02f"
meta-oe
meta-python = "kirkstone:bdad2a789e30703a825b876279665720d06d55dc"
meta-st-stm32mp = "kirkstone:ca501bd7dbe023682903ceedddaacd940b0898f4"
Initialising tasks: 100% |######################################################################################################################################################################| Time: 0:00:01
Sstate summary: Wanted 64 Local 0 Mirrors 0 Missed 64 Current 1199 (0% match, 94% complete)
NOTE: Executing Tasks
NOTE: Tasks Summary: Attempted 3337 tasks of which 3215 didn't need to be rerun and all succeeded.
voodoo@ubuntu-2004-st-yocto:~/yocto-labs/build$
tree tmp/deploy/images/stm32mp1/
tmp/deploy/images/stm32mp1/
├── arm-trusted-firmware
│ ├── bl32
│ │ ├── debug
│ │ │ └── tf-a-bl32-stm32mp15.elf
│ │ ├── stm32mp157a-dk1-bl32.dtb
│ │ ├── stm32mp157a-ev1-bl32.dtb
│ │ ├── stm32mp157c-dk2-bl32.dtb
│ │ ├── stm32mp157c-ed1-bl32.dtb
│ │ ├── stm32mp157c-ev1-bl32.dtb
│ │ ├── stm32mp157d-dk1-bl32.dtb
│ │ ├── stm32mp157d-ev1-bl32.dtb
│ │ ├── stm32mp157f-dk2-bl32.dtb
│ │ ├── stm32mp157f-ed1-bl32.dtb
│ │ ├── stm32mp157f-ev1-bl32.dtb
│ │ └── tf-a-bl32-stm32mp15.bin
│ ├── debug
│ │ ├── debug-tf-a-stm32mp135f-dk-sdcard.stm32
│ │ ├── debug-tf-a-stm32mp135f-dk-uart.stm32
│ │ ├── debug-tf-a-stm32mp135f-dk-usb.stm32
│ │ ├── debug-tf-a-stm32mp157a-dk1-sdcard.stm32
│ │ ├── debug-tf-a-stm32mp157a-dk1-uart.stm32
│ │ ├── debug-tf-a-stm32mp157a-dk1-usb.stm32
│ │ ├── debug-tf-a-stm32mp157a-ev1-emmc.stm32
│ │ ├── debug-tf-a-stm32mp157a-ev1-nand.stm32
│ │ ├── debug-tf-a-stm32mp157a-ev1-nor.stm32
│ │ ├── debug-tf-a-stm32mp157a-ev1-sdcard.stm32
│ │ ├── debug-tf-a-stm32mp157a-ev1-uart.stm32
│ │ ├── debug-tf-a-stm32mp157a-ev1-usb.stm32
│ │ ├── debug-tf-a-stm32mp157c-dk2-sdcard.stm32
│ │ ├── debug-tf-a-stm32mp157c-dk2-uart.stm32
│ │ ├── debug-tf-a-stm32mp157c-dk2-usb.stm32
│ │ ├── debug-tf-a-stm32mp157c-ed1-emmc.stm32
│ │ ├── debug-tf-a-stm32mp157c-ed1-sdcard.stm32
│ │ ├── debug-tf-a-stm32mp157c-ed1-uart.stm32
│ │ ├── debug-tf-a-stm32mp157c-ed1-usb.stm32
│ │ ├── debug-tf-a-stm32mp157c-ev1-emmc.stm32
│ │ ├── debug-tf-a-stm32mp157c-ev1-nand.stm32
│ │ ├── debug-tf-a-stm32mp157c-ev1-nor.stm32
│ │ ├── debug-tf-a-stm32mp157c-ev1-sdcard.stm32
│ │ ├── debug-tf-a-stm32mp157c-ev1-uart.stm32
│ │ ├── debug-tf-a-stm32mp157c-ev1-usb.stm32
│ │ ├── debug-tf-a-stm32mp157d-dk1-sdcard.stm32
│ │ ├── debug-tf-a-stm32mp157d-dk1-uart.stm32
│ │ ├── debug-tf-a-stm32mp157d-dk1-usb.stm32
│ │ ├── debug-tf-a-stm32mp157d-ev1-emmc.stm32
│ │ ├── debug-tf-a-stm32mp157d-ev1-nand.stm32
│ │ ├── debug-tf-a-stm32mp157d-ev1-nor.stm32
│ │ ├── debug-tf-a-stm32mp157d-ev1-sdcard.stm32
│ │ ├── debug-tf-a-stm32mp157d-ev1-uart.stm32
│ │ ├── debug-tf-a-stm32mp157d-ev1-usb.stm32
│ │ ├── debug-tf-a-stm32mp157f-dk2-sdcard.stm32
│ │ ├── debug-tf-a-stm32mp157f-dk2-uart.stm32
│ │ ├── debug-tf-a-stm32mp157f-dk2-usb.stm32
│ │ ├── debug-tf-a-stm32mp157f-ed1-emmc.stm32
│ │ ├── debug-tf-a-stm32mp157f-ed1-sdcard.stm32
│ │ ├── debug-tf-a-stm32mp157f-ed1-uart.stm32
│ │ ├── debug-tf-a-stm32mp157f-ed1-usb.stm32
│ │ ├── debug-tf-a-stm32mp157f-ev1-emmc.stm32
│ │ ├── debug-tf-a-stm32mp157f-ev1-nand.stm32
│ │ ├── debug-tf-a-stm32mp157f-ev1-nor.stm32
│ │ ├── debug-tf-a-stm32mp157f-ev1-sdcard.stm32
│ │ ├── debug-tf-a-stm32mp157f-ev1-uart.stm32
│ │ ├── debug-tf-a-stm32mp157f-ev1-usb.stm32
│ │ ├── tf-a-bl2-emmc.elf
│ │ ├── tf-a-bl2-nand.elf
│ │ ├── tf-a-bl2-nor.elf
│ │ ├── tf-a-bl2-sdcard.elf
│ │ ├── tf-a-bl2-uart.elf
│ │ └── tf-a-bl2-usb.elf
│ ├── fwconfig
│ │ ├── stm32mp135f-dk-fw-config-optee.dtb
│ │ ├── stm32mp157a-dk1-fw-config-optee.dtb
│ │ ├── stm32mp157a-dk1-fw-config-trusted.dtb
│ │ ├── stm32mp157a-ev1-fw-config-optee.dtb
│ │ ├── stm32mp157a-ev1-fw-config-trusted.dtb
│ │ ├── stm32mp157c-dk2-fw-config-optee.dtb
│ │ ├── stm32mp157c-dk2-fw-config-trusted.dtb
│ │ ├── stm32mp157c-ed1-fw-config-optee.dtb
│ │ ├── stm32mp157c-ed1-fw-config-trusted.dtb
│ │ ├── stm32mp157c-ev1-fw-config-optee.dtb
│ │ ├── stm32mp157c-ev1-fw-config-trusted.dtb
│ │ ├── stm32mp157d-dk1-fw-config-optee.dtb
│ │ ├── stm32mp157d-dk1-fw-config-trusted.dtb
│ │ ├── stm32mp157d-ev1-fw-config-optee.dtb
│ │ ├── stm32mp157d-ev1-fw-config-trusted.dtb
│ │ ├── stm32mp157f-dk2-fw-config-optee.dtb
│ │ ├── stm32mp157f-dk2-fw-config-trusted.dtb
│ │ ├── stm32mp157f-ed1-fw-config-optee.dtb
│ │ ├── stm32mp157f-ed1-fw-config-trusted.dtb
│ │ ├── stm32mp157f-ev1-fw-config-optee.dtb
│ │ └── stm32mp157f-ev1-fw-config-trusted.dtb
│ ├── metadata.bin
│ ├── tf-a-stm32mp135f-dk-sdcard.stm32
│ ├── tf-a-stm32mp135f-dk-uart.stm32
│ ├── tf-a-stm32mp135f-dk-usb.stm32
│ ├── tf-a-stm32mp157a-dk1-sdcard.stm32
│ ├── tf-a-stm32mp157a-dk1-uart.stm32
│ ├── tf-a-stm32mp157a-dk1-usb.stm32
│ ├── tf-a-stm32mp157a-ev1-emmc.stm32
│ ├── tf-a-stm32mp157a-ev1-nand.stm32
│ ├── tf-a-stm32mp157a-ev1-nor.stm32
│ ├── tf-a-stm32mp157a-ev1-sdcard.stm32
│ ├── tf-a-stm32mp157a-ev1-uart.stm32
│ ├── tf-a-stm32mp157a-ev1-usb.stm32
│ ├── tf-a-stm32mp157c-dk2-sdcard.stm32
│ ├── tf-a-stm32mp157c-dk2-uart.stm32
│ ├── tf-a-stm32mp157c-dk2-usb.stm32
│ ├── tf-a-stm32mp157c-ed1-emmc.stm32
│ ├── tf-a-stm32mp157c-ed1-sdcard.stm32
│ ├── tf-a-stm32mp157c-ed1-uart.stm32
│ ├── tf-a-stm32mp157c-ed1-usb.stm32
│ ├── tf-a-stm32mp157c-ev1-emmc.stm32
│ ├── tf-a-stm32mp157c-ev1-nand.stm32
│ ├── tf-a-stm32mp157c-ev1-nor.stm32
│ ├── tf-a-stm32mp157c-ev1-sdcard.stm32
│ ├── tf-a-stm32mp157c-ev1-uart.stm32
│ ├── tf-a-stm32mp157c-ev1-usb.stm32
│ ├── tf-a-stm32mp157d-dk1-sdcard.stm32
│ ├── tf-a-stm32mp157d-dk1-uart.stm32
│ ├── tf-a-stm32mp157d-dk1-usb.stm32
│ ├── tf-a-stm32mp157d-ev1-emmc.stm32
│ ├── tf-a-stm32mp157d-ev1-nand.stm32
│ ├── tf-a-stm32mp157d-ev1-nor.stm32
│ ├── tf-a-stm32mp157d-ev1-sdcard.stm32
│ ├── tf-a-stm32mp157d-ev1-uart.stm32
│ ├── tf-a-stm32mp157d-ev1-usb.stm32
│ ├── tf-a-stm32mp157f-dk2-sdcard.stm32
│ ├── tf-a-stm32mp157f-dk2-uart.stm32
│ ├── tf-a-stm32mp157f-dk2-usb.stm32
│ ├── tf-a-stm32mp157f-ed1-emmc.stm32
│ ├── tf-a-stm32mp157f-ed1-sdcard.stm32
│ ├── tf-a-stm32mp157f-ed1-uart.stm32
│ ├── tf-a-stm32mp157f-ed1-usb.stm32
│ ├── tf-a-stm32mp157f-ev1-emmc.stm32
│ ├── tf-a-stm32mp157f-ev1-nand.stm32
│ ├── tf-a-stm32mp157f-ev1-nor.stm32
│ ├── tf-a-stm32mp157f-ev1-sdcard.stm32
│ ├── tf-a-stm32mp157f-ev1-uart.stm32
│ └── tf-a-stm32mp157f-ev1-usb.stm32
├── core-image-minimal-stm32mp1-20230622163156_nand_4_256_multivolume.rootfs.ubi
├── core-image-minimal-stm32mp1-20230622163156_nand_4_256_multivolume.ubinize.cfg.ubi
├── core-image-minimal-stm32mp1-20230622163156_nand_4_256.rootfs.ubi
├── core-image-minimal-stm32mp1-20230622163156_nand_4_256.rootfs.ubifs
├── core-image-minimal-stm32mp1-20230622163156_nand_4_256.ubinize.cfg.ubi
├── core-image-minimal-stm32mp1-20230622163156.rootfs.ext4
├── core-image-minimal-stm32mp1-20230622163156.rootfs.manifest
├── core-image-minimal-stm32mp1-20230622163156.rootfs.tar.xz
├── core-image-minimal-stm32mp1-20230622163156.testdata.json
├── core-image-minimal-stm32mp1.ext4 -> core-image-minimal-stm32mp1-20230622163156.rootfs.ext4
├── core-image-minimal-stm32mp1.manifest -> core-image-minimal-stm32mp1-20230622163156.rootfs.manifest
├── core-image-minimal-stm32mp1_nand_4_256_multivolume.ubi -> core-image-minimal-stm32mp1-20230622163156_nand_4_256_multivolume.rootfs.ubi
├── core-image-minimal-stm32mp1_nand_4_256_multivolume.ubinize.cfg.ubi -> core-image-minimal-stm32mp1-20230622163156_nand_4_256_multivolume.ubinize.cfg.ubi
├── core-image-minimal-stm32mp1_nand_4_256.ubi -> core-image-minimal-stm32mp1-20230622163156_nand_4_256.rootfs.ubi
├── core-image-minimal-stm32mp1_nand_4_256.ubifs -> core-image-minimal-stm32mp1-20230622163156_nand_4_256.rootfs.ubifs
├── core-image-minimal-stm32mp1_nand_4_256.ubinize.cfg.ubi -> core-image-minimal-stm32mp1-20230622163156_nand_4_256.ubinize.cfg.ubi
├── core-image-minimal-stm32mp1.tar.xz -> core-image-minimal-stm32mp1-20230622163156.rootfs.tar.xz
├── core-image-minimal-stm32mp1.testdata.json -> core-image-minimal-stm32mp1-20230622163156.testdata.json
├── fip
│ ├── fip-stm32mp135f-dk-optee.bin
│ ├── fip-stm32mp157a-dk1-optee.bin
│ ├── fip-stm32mp157a-dk1-trusted.bin
│ ├── fip-stm32mp157a-ev1-optee.bin
│ ├── fip-stm32mp157a-ev1-trusted.bin
│ ├── fip-stm32mp157c-dk2-optee.bin
│ ├── fip-stm32mp157c-dk2-trusted.bin
│ ├── fip-stm32mp157c-ed1-optee.bin
│ ├── fip-stm32mp157c-ed1-trusted.bin
│ ├── fip-stm32mp157c-ev1-optee.bin
│ ├── fip-stm32mp157c-ev1-trusted.bin
│ ├── fip-stm32mp157d-dk1-optee.bin
│ ├── fip-stm32mp157d-dk1-trusted.bin
│ ├── fip-stm32mp157d-ev1-optee.bin
│ ├── fip-stm32mp157d-ev1-trusted.bin
│ ├── fip-stm32mp157f-dk2-optee.bin
│ ├── fip-stm32mp157f-dk2-trusted.bin
│ ├── fip-stm32mp157f-ed1-optee.bin
│ ├── fip-stm32mp157f-ed1-trusted.bin
│ ├── fip-stm32mp157f-ev1-optee.bin
│ └── fip-stm32mp157f-ev1-trusted.bin
├── flashlayout_core-image-minimal
│ ├── deleteall
│ │ ├── FlashLayout_disco_stm32mp135f-dk-deleteall.tsv
│ │ ├── FlashLayout_disco_stm32mp157a-dk1-deleteall.tsv
│ │ ├── FlashLayout_disco_stm32mp157c-dk2-deleteall.tsv
│ │ ├── FlashLayout_disco_stm32mp157d-dk1-deleteall.tsv
│ │ ├── FlashLayout_disco_stm32mp157f-dk2-deleteall.tsv
│ │ ├── FlashLayout_eval_stm32mp157a-ev1-deleteall.tsv
│ │ ├── FlashLayout_eval_stm32mp157c-ed1-deleteall.tsv
│ │ ├── FlashLayout_eval_stm32mp157c-ev1-deleteall.tsv
│ │ ├── FlashLayout_eval_stm32mp157d-ev1-deleteall.tsv
│ │ ├── FlashLayout_eval_stm32mp157f-ed1-deleteall.tsv
│ │ └── FlashLayout_eval_stm32mp157f-ev1-deleteall.tsv
│ ├── extensible
│ │ ├── FlashLayout_sdcard_stm32mp135f-dk-extensible.tsv
│ │ ├── FlashLayout_sdcard_stm32mp157a-dk1-extensible.tsv
│ │ ├── FlashLayout_sdcard_stm32mp157c-dk2-extensible.tsv
│ │ ├── FlashLayout_sdcard_stm32mp157d-dk1-extensible.tsv
│ │ └── FlashLayout_sdcard_stm32mp157f-dk2-extensible.tsv
│ ├── optee
│ │ ├── FlashLayout_emmc_stm32mp157a-ev1-optee.tsv
│ │ ├── FlashLayout_emmc_stm32mp157c-ed1-optee.tsv
│ │ ├── FlashLayout_emmc_stm32mp157c-ev1-optee.tsv
│ │ ├── FlashLayout_emmc_stm32mp157d-ev1-optee.tsv
│ │ ├── FlashLayout_emmc_stm32mp157f-ed1-optee.tsv
│ │ ├── FlashLayout_emmc_stm32mp157f-ev1-optee.tsv
│ │ ├── FlashLayout_nand-4-256_stm32mp157a-ev1-optee.tsv
│ │ ├── FlashLayout_nand-4-256_stm32mp157c-ev1-optee.tsv
│ │ ├── FlashLayout_nand-4-256_stm32mp157d-ev1-optee.tsv
│ │ ├── FlashLayout_nand-4-256_stm32mp157f-ev1-optee.tsv
│ │ ├── FlashLayout_nor-sdcard_stm32mp157a-ev1-optee.tsv
│ │ ├── FlashLayout_nor-sdcard_stm32mp157c-ev1-optee.tsv
│ │ ├── FlashLayout_nor-sdcard_stm32mp157d-ev1-optee.tsv
│ │ ├── FlashLayout_nor-sdcard_stm32mp157f-ev1-optee.tsv
│ │ ├── FlashLayout_sdcard_stm32mp135f-dk-optee.tsv
│ │ ├── FlashLayout_sdcard_stm32mp157a-dk1-optee.tsv
│ │ ├── FlashLayout_sdcard_stm32mp157a-ev1-optee.tsv
│ │ ├── FlashLayout_sdcard_stm32mp157c-dk2-optee.tsv
│ │ ├── FlashLayout_sdcard_stm32mp157c-ed1-optee.tsv
│ │ ├── FlashLayout_sdcard_stm32mp157c-ev1-optee.tsv
│ │ ├── FlashLayout_sdcard_stm32mp157d-dk1-optee.tsv
│ │ ├── FlashLayout_sdcard_stm32mp157d-ev1-optee.tsv
│ │ ├── FlashLayout_sdcard_stm32mp157f-dk2-optee.tsv
│ │ ├── FlashLayout_sdcard_stm32mp157f-ed1-optee.tsv
│ │ └── FlashLayout_sdcard_stm32mp157f-ev1-optee.tsv
│ └── trusted
│ ├── FlashLayout_emmc_stm32mp157a-ev1-trusted.tsv
│ ├── FlashLayout_emmc_stm32mp157c-ed1-trusted.tsv
│ ├── FlashLayout_emmc_stm32mp157c-ev1-trusted.tsv
│ ├── FlashLayout_emmc_stm32mp157d-ev1-trusted.tsv
│ ├── FlashLayout_emmc_stm32mp157f-ed1-trusted.tsv
│ ├── FlashLayout_emmc_stm32mp157f-ev1-trusted.tsv
│ ├── FlashLayout_nand-4-256_stm32mp157a-ev1-trusted.tsv
│ ├── FlashLayout_nand-4-256_stm32mp157c-ev1-trusted.tsv
│ ├── FlashLayout_nand-4-256_stm32mp157d-ev1-trusted.tsv
│ ├── FlashLayout_nand-4-256_stm32mp157f-ev1-trusted.tsv
│ ├── FlashLayout_nor-sdcard_stm32mp157a-ev1-trusted.tsv
│ ├── FlashLayout_nor-sdcard_stm32mp157c-ev1-trusted.tsv
│ ├── FlashLayout_nor-sdcard_stm32mp157d-ev1-trusted.tsv
│ ├── FlashLayout_nor-sdcard_stm32mp157f-ev1-trusted.tsv
│ ├── FlashLayout_sdcard_stm32mp157a-dk1-trusted.tsv
│ ├── FlashLayout_sdcard_stm32mp157a-ev1-trusted.tsv
│ ├── FlashLayout_sdcard_stm32mp157c-dk2-trusted.tsv
│ ├── FlashLayout_sdcard_stm32mp157c-ed1-trusted.tsv
│ ├── FlashLayout_sdcard_stm32mp157c-ev1-trusted.tsv
│ ├── FlashLayout_sdcard_stm32mp157d-dk1-trusted.tsv
│ ├── FlashLayout_sdcard_stm32mp157d-ev1-trusted.tsv
│ ├── FlashLayout_sdcard_stm32mp157f-dk2-trusted.tsv
│ ├── FlashLayout_sdcard_stm32mp157f-ed1-trusted.tsv
│ └── FlashLayout_sdcard_stm32mp157f-ev1-trusted.tsv
├── kernel
│ ├── config-5.15.67
│ ├── Image -> Image--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.bin
│ ├── Image--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.bin
│ ├── Image-stm32mp1.bin -> Image--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.bin
│ ├── modules--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.tgz
│ ├── modules-stm32mp1.tgz -> modules--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.tgz
│ ├── modules-stripped--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.tgz
│ ├── modules-stripped-stm32mp1.tgz -> modules-stripped--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.tgz
│ ├── stm32mp135f-dk--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── stm32mp135f-dk-a7-examples--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── stm32mp135f-dk-a7-examples.dtb -> stm32mp135f-dk-a7-examples--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── stm32mp135f-dk-a7-examples-stm32mp1.dtb -> stm32mp135f-dk-a7-examples--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── stm32mp135f-dk.dtb -> stm32mp135f-dk--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── stm32mp135f-dk-stm32mp1.dtb -> stm32mp135f-dk--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── stm32mp157a-dk1--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── stm32mp157a-dk1.dtb -> stm32mp157a-dk1--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── stm32mp157a-dk1-stm32mp1.dtb -> stm32mp157a-dk1--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── stm32mp157a-ev1--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── stm32mp157a-ev1.dtb -> stm32mp157a-ev1--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── stm32mp157a-ev1-stm32mp1.dtb -> stm32mp157a-ev1--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── stm32mp157c-dk2--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── stm32mp157c-dk2-a7-examples--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── stm32mp157c-dk2-a7-examples.dtb -> stm32mp157c-dk2-a7-examples--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── stm32mp157c-dk2-a7-examples-stm32mp1.dtb -> stm32mp157c-dk2-a7-examples--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── stm32mp157c-dk2.dtb -> stm32mp157c-dk2--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── stm32mp157c-dk2-m4-examples--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── stm32mp157c-dk2-m4-examples.dtb -> stm32mp157c-dk2-m4-examples--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── stm32mp157c-dk2-m4-examples-stm32mp1.dtb -> stm32mp157c-dk2-m4-examples--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── stm32mp157c-dk2-stm32mp1.dtb -> stm32mp157c-dk2--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── stm32mp157c-ed1--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── stm32mp157c-ed1.dtb -> stm32mp157c-ed1--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── stm32mp157c-ed1-stm32mp1.dtb -> stm32mp157c-ed1--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── stm32mp157c-ev1--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── stm32mp157c-ev1-a7-examples--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── stm32mp157c-ev1-a7-examples.dtb -> stm32mp157c-ev1-a7-examples--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── stm32mp157c-ev1-a7-examples-stm32mp1.dtb -> stm32mp157c-ev1-a7-examples--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── stm32mp157c-ev1.dtb -> stm32mp157c-ev1--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── stm32mp157c-ev1-m4-examples--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── stm32mp157c-ev1-m4-examples.dtb -> stm32mp157c-ev1-m4-examples--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── stm32mp157c-ev1-m4-examples-stm32mp1.dtb -> stm32mp157c-ev1-m4-examples--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── stm32mp157c-ev1-stm32mp1.dtb -> stm32mp157c-ev1--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── stm32mp157d-dk1--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── stm32mp157d-dk1-a7-examples--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── stm32mp157d-dk1-a7-examples.dtb -> stm32mp157d-dk1-a7-examples--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── stm32mp157d-dk1-a7-examples-stm32mp1.dtb -> stm32mp157d-dk1-a7-examples--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── stm32mp157d-dk1.dtb -> stm32mp157d-dk1--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── stm32mp157d-dk1-m4-examples--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── stm32mp157d-dk1-m4-examples.dtb -> stm32mp157d-dk1-m4-examples--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── stm32mp157d-dk1-m4-examples-stm32mp1.dtb -> stm32mp157d-dk1-m4-examples--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── stm32mp157d-dk1-stm32mp1.dtb -> stm32mp157d-dk1--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── stm32mp157d-ev1--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── stm32mp157d-ev1.dtb -> stm32mp157d-ev1--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── stm32mp157d-ev1-stm32mp1.dtb -> stm32mp157d-ev1--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── stm32mp157f-dk2--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── stm32mp157f-dk2-a7-examples--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── stm32mp157f-dk2-a7-examples.dtb -> stm32mp157f-dk2-a7-examples--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── stm32mp157f-dk2-a7-examples-stm32mp1.dtb -> stm32mp157f-dk2-a7-examples--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── stm32mp157f-dk2.dtb -> stm32mp157f-dk2--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── stm32mp157f-dk2-m4-examples--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── stm32mp157f-dk2-m4-examples.dtb -> stm32mp157f-dk2-m4-examples--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── stm32mp157f-dk2-m4-examples-stm32mp1.dtb -> stm32mp157f-dk2-m4-examples--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── stm32mp157f-dk2-stm32mp1.dtb -> stm32mp157f-dk2--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── stm32mp157f-ed1--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── stm32mp157f-ed1.dtb -> stm32mp157f-ed1--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── stm32mp157f-ed1-stm32mp1.dtb -> stm32mp157f-ed1--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── stm32mp157f-ev1--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── stm32mp157f-ev1-a7-examples--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── stm32mp157f-ev1-a7-examples.dtb -> stm32mp157f-ev1-a7-examples--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── stm32mp157f-ev1-a7-examples-stm32mp1.dtb -> stm32mp157f-ev1-a7-examples--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── stm32mp157f-ev1.dtb -> stm32mp157f-ev1--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── stm32mp157f-ev1-m4-examples--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── stm32mp157f-ev1-m4-examples.dtb -> stm32mp157f-ev1-m4-examples--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── stm32mp157f-ev1-m4-examples-stm32mp1.dtb -> stm32mp157f-ev1-m4-examples--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── stm32mp157f-ev1-stm32mp1.dtb -> stm32mp157f-ev1--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.dtb
│ ├── uImage -> uImage--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.bin
│ ├── uImage--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.bin
│ ├── uImage-stm32mp1.bin -> uImage--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.bin
│ ├── vmlinux -> vmlinux--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.bin
│ ├── vmlinux--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.bin
│ ├── vmlinux-stm32mp1.bin -> vmlinux--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.bin
│ ├── zImage -> zImage--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.bin
│ ├── zImage--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.bin
│ └── zImage-stm32mp1.bin -> zImage--5.15.67-stm32mp-r2-r0-stm32mp1-20230622163156.bin
├── optee
│ ├── debug
│ │ ├── tee-stm32mp135f-dk.elf
│ │ ├── tee-stm32mp157a-dk1.elf
│ │ ├── tee-stm32mp157a-ev1.elf
│ │ ├── tee-stm32mp157c-dk2.elf
│ │ ├── tee-stm32mp157c-ed1.elf
│ │ ├── tee-stm32mp157c-ev1.elf
│ │ ├── tee-stm32mp157d-dk1.elf
│ │ ├── tee-stm32mp157d-ev1.elf
│ │ ├── tee-stm32mp157f-dk2.elf
│ │ ├── tee-stm32mp157f-ed1.elf
│ │ └── tee-stm32mp157f-ev1.elf
│ ├── tee-header_v2-stm32mp135f-dk.bin
│ ├── tee-header_v2-stm32mp157a-dk1.bin
│ ├── tee-header_v2-stm32mp157a-ev1.bin
│ ├── tee-header_v2-stm32mp157c-dk2.bin
│ ├── tee-header_v2-stm32mp157c-ed1.bin
│ ├── tee-header_v2-stm32mp157c-ev1.bin
│ ├── tee-header_v2-stm32mp157d-dk1.bin
│ ├── tee-header_v2-stm32mp157d-ev1.bin
│ ├── tee-header_v2-stm32mp157f-dk2.bin
│ ├── tee-header_v2-stm32mp157f-ed1.bin
│ ├── tee-header_v2-stm32mp157f-ev1.bin
│ ├── tee-pageable_v2-stm32mp135f-dk.bin
│ ├── tee-pageable_v2-stm32mp157a-dk1.bin
│ ├── tee-pageable_v2-stm32mp157a-ev1.bin
│ ├── tee-pageable_v2-stm32mp157c-dk2.bin
│ ├── tee-pageable_v2-stm32mp157c-ed1.bin
│ ├── tee-pageable_v2-stm32mp157c-ev1.bin
│ ├── tee-pageable_v2-stm32mp157d-dk1.bin
│ ├── tee-pageable_v2-stm32mp157d-ev1.bin
│ ├── tee-pageable_v2-stm32mp157f-dk2.bin
│ ├── tee-pageable_v2-stm32mp157f-ed1.bin
│ ├── tee-pageable_v2-stm32mp157f-ev1.bin
│ ├── tee-pager_v2-stm32mp135f-dk.bin
│ ├── tee-pager_v2-stm32mp157a-dk1.bin
│ ├── tee-pager_v2-stm32mp157a-ev1.bin
│ ├── tee-pager_v2-stm32mp157c-dk2.bin
│ ├── tee-pager_v2-stm32mp157c-ed1.bin
│ ├── tee-pager_v2-stm32mp157c-ev1.bin
│ ├── tee-pager_v2-stm32mp157d-dk1.bin
│ ├── tee-pager_v2-stm32mp157d-ev1.bin
│ ├── tee-pager_v2-stm32mp157f-dk2.bin
│ ├── tee-pager_v2-stm32mp157f-ed1.bin
│ └── tee-pager_v2-stm32mp157f-ev1.bin
├── scripts
│ └── create_sdcard_from_flashlayout.sh
├── st-image-bootfs-poky-stm32mp1-20230622141522.bootfs.manifest
├── st-image-bootfs-poky-stm32mp1-20230622141522.testdata.json
├── st-image-bootfs-poky-stm32mp1-20230622163156.bootfs.ext4
├── st-image-bootfs-poky-stm32mp1-20230622163156.bootfs.tar.xz
├── st-image-bootfs-poky-stm32mp1-20230622163156_nand_4_256.bootfs.ubi
├── st-image-bootfs-poky-stm32mp1-20230622163156_nand_4_256.bootfs.ubifs
├── st-image-bootfs-poky-stm32mp1-20230622163156_nand_4_256.ubinize.cfg.ubi
├── st-image-bootfs-poky-stm32mp1.ext4 -> st-image-bootfs-poky-stm32mp1-20230622163156.bootfs.ext4
├── st-image-bootfs-poky-stm32mp1.manifest -> st-image-bootfs-poky-stm32mp1-20230622141522.bootfs.manifest
├── st-image-bootfs-poky-stm32mp1_nand_4_256.ubi -> st-image-bootfs-poky-stm32mp1-20230622163156_nand_4_256.bootfs.ubi
├── st-image-bootfs-poky-stm32mp1_nand_4_256.ubifs -> st-image-bootfs-poky-stm32mp1-20230622163156_nand_4_256.bootfs.ubifs
├── st-image-bootfs-poky-stm32mp1_nand_4_256.ubinize.cfg.ubi -> st-image-bootfs-poky-stm32mp1-20230622163156_nand_4_256.ubinize.cfg.ubi
├── st-image-bootfs-poky-stm32mp1.tar.xz -> st-image-bootfs-poky-stm32mp1-20230622163156.bootfs.tar.xz
├── st-image-bootfs-poky-stm32mp1.testdata.json -> st-image-bootfs-poky-stm32mp1-20230622141522.testdata.json
├── st-image-userfs-poky-stm32mp1-20230622163156_nand_4_256.ubinize.cfg.ubi
├── st-image-userfs-poky-stm32mp1-20230622163156_nand_4_256.userfs.ubi
├── st-image-userfs-poky-stm32mp1-20230622163156_nand_4_256.userfs.ubifs
├── st-image-userfs-poky-stm32mp1-20230622163156.testdata.json
├── st-image-userfs-poky-stm32mp1-20230622163156.userfs.ext4
├── st-image-userfs-poky-stm32mp1-20230622163156.userfs.manifest
├── st-image-userfs-poky-stm32mp1-20230622163156.userfs.tar.xz
├── st-image-userfs-poky-stm32mp1.ext4 -> st-image-userfs-poky-stm32mp1-20230622163156.userfs.ext4
├── st-image-userfs-poky-stm32mp1.manifest -> st-image-userfs-poky-stm32mp1-20230622163156.userfs.manifest
├── st-image-userfs-poky-stm32mp1_nand_4_256.ubi -> st-image-userfs-poky-stm32mp1-20230622163156_nand_4_256.userfs.ubi
├── st-image-userfs-poky-stm32mp1_nand_4_256.ubifs -> st-image-userfs-poky-stm32mp1-20230622163156_nand_4_256.userfs.ubifs
├── st-image-userfs-poky-stm32mp1_nand_4_256.ubinize.cfg.ubi -> st-image-userfs-poky-stm32mp1-20230622163156_nand_4_256.ubinize.cfg.ubi
├── st-image-userfs-poky-stm32mp1.tar.xz -> st-image-userfs-poky-stm32mp1-20230622163156.userfs.tar.xz
├── st-image-userfs-poky-stm32mp1.testdata.json -> st-image-userfs-poky-stm32mp1-20230622163156.testdata.json
├── st-image-vendorfs-poky-stm32mp1-20230622141522.testdata.json
├── st-image-vendorfs-poky-stm32mp1-20230622141522.vendorfs.manifest
├── st-image-vendorfs-poky-stm32mp1-20230622163156_nand_4_256.ubinize.cfg.ubi
├── st-image-vendorfs-poky-stm32mp1-20230622163156_nand_4_256.vendorfs.ubi
├── st-image-vendorfs-poky-stm32mp1-20230622163156_nand_4_256.vendorfs.ubifs
├── st-image-vendorfs-poky-stm32mp1-20230622163156.vendorfs.ext4
├── st-image-vendorfs-poky-stm32mp1-20230622163156.vendorfs.tar.xz
├── st-image-vendorfs-poky-stm32mp1.ext4 -> st-image-vendorfs-poky-stm32mp1-20230622163156.vendorfs.ext4
├── st-image-vendorfs-poky-stm32mp1.manifest -> st-image-vendorfs-poky-stm32mp1-20230622141522.vendorfs.manifest
├── st-image-vendorfs-poky-stm32mp1_nand_4_256.ubi -> st-image-vendorfs-poky-stm32mp1-20230622163156_nand_4_256.vendorfs.ubi
├── st-image-vendorfs-poky-stm32mp1_nand_4_256.ubifs -> st-image-vendorfs-poky-stm32mp1-20230622163156_nand_4_256.vendorfs.ubifs
├── st-image-vendorfs-poky-stm32mp1_nand_4_256.ubinize.cfg.ubi -> st-image-vendorfs-poky-stm32mp1-20230622163156_nand_4_256.ubinize.cfg.ubi
├── st-image-vendorfs-poky-stm32mp1.tar.xz -> st-image-vendorfs-poky-stm32mp1-20230622163156.vendorfs.tar.xz
├── st-image-vendorfs-poky-stm32mp1.testdata.json -> st-image-vendorfs-poky-stm32mp1-20230622141522.testdata.json
└── u-boot
├── debug
│ ├── u-boot-stm32mp13.elf
│ └── u-boot-stm32mp15.elf
├── u-boot-nodtb-stm32mp13.bin
├── u-boot-nodtb-stm32mp15.bin
├── u-boot-stm32mp135f-dk.dtb
├── u-boot-stm32mp157a-dk1.dtb
├── u-boot-stm32mp157a-ev1.dtb
├── u-boot-stm32mp157c-dk2.dtb
├── u-boot-stm32mp157c-ed1.dtb
├── u-boot-stm32mp157c-ev1.dtb
├── u-boot-stm32mp157d-dk1.dtb
├── u-boot-stm32mp157d-ev1.dtb
├── u-boot-stm32mp157f-dk2.dtb
├── u-boot-stm32mp157f-ed1.dtb
└── u-boot-stm32mp157f-ev1.dtb
17 directories, 423 files
Regards,
Thanks a lot for your generous support. Later I installed a new virtual machine and did all the process again and this time it worked. I was able to build the yocto image in kirkstone version without any error. Now I am trying to flashing the image via sdcard, but when I see the output via minicom I am getting error. I am following shwan’s tutorial for booting the image. The error is in the following:
�NOTICE: CPU: STM32MP157AAC Rev.B
NOTICE: Model: STMicroelectronics STM32MP157F-DK2 Discovery Board
INFO: PMIC version = 0x21
INFO: Reset reason (0x15):
INFO: Power-on Reset (rst_por)
INFO: FCONF: Reading TB_FW firmware configuration file from: 0x2ffe2000
INFO: FCONF: Reading firmware configuration information for: stm32mp_io
INFO: Using SDMMC
INFO: Instance 1
INFO: Boot used partition fsbl1
NOTICE: BL2: v2.6-stm32mp1-r2.0(debug):v2.6-dirty(a1f02f4f)
NOTICE: BL2: Built : 13:14:26, Nov 23 2021
ERROR: Unable to find a metadata partition
WARNING: Failed to set reference to image id=12 (-2)
WARNING: loading of FWU-Metadata failed, using Bkup-FWU-Metadata
ERROR: Unable to find a metadata partition
WARNING: Failed to set reference to image id=13 (-2)
ERROR: loading of Bkup-FWU-Metadata failed
PANIC at PC : 0x2ffea21b
Exception mode=0x00000016 at: 0x2ffea21b
Oh, that’s in Arm Trusted Framework, i’d ping the developers behind: GitHub - STMicroelectronics/meta-st-stm32mp: meta-st-stm32mp
Regards,