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.

J722SXH01EVM: u-boot device tree not found when building kernel

Part Number: J722SXH01EVM

Tool/software:

I am doing a custom Yocto build for the J722SXH01EVM eval board and trying to get the device booting from USB

I have replaced:

UBOOT_MACHINE = "j722s_evm_r5_defconfig"

with:

UBOOT_CONFIG = "j722s_evm_r5_usbmsc"
In my machine file, but when I do this linux-ti-staging-rt kernel fails during the do_deploy step because it can not find the device tree blob from the u-boot build.

The error message is:
+ install -m 0644 /home/matthewf/werk/opto22/build/meta-opto/builds/grv-epic-pr3/tmp-glibc/work/grv_epic_pr3-opto22-linux/linux-ti-staging-rt/6.1.119+gitAUTOINC+9e8992fb83-r0b/bui
ld/u-boot-grv-epic-pr3*.dtb /home/matthewf/werk/opto22/build/meta-opto/builds/grv-epic-pr3/tmp-glibc/work/grv_epic_pr3-opto22-linux/linux-ti-staging-rt/6.1.119+gitAUTOINC+9e8992fb
83-r0b/deploy-linux-ti-staging-rt/

install: cannot stat '/home/matthewf/werk/opto22/build/meta-opto/builds/grv-epic-pr3/tmp-glibc/work/grv_epic_pr3-opto22-linux/linux-ti-staging-rt/6.1.119+gitAUTOINC+9e8992fb83-r0b
/build/u-boot-grv-epic-pr3*.dtb'
: No such file or directory

How can I resolve this?

If I use "UBOOT_MACHINE = "j722s_evm_r5_defconfig", instead of UBOOT_CONFIG in the machine file, the build succeeds, but doesn't have the bits needed for USB boot.