Skip to contentSkip to conversation

dts error just at the end of make for u-boot (Scarthgap)

DISCUSSION John 2 participants 2 messages May 13, 2025 – May 14, 2025

lore
Share & tools
lore

John

author
#0 lore raw

I have this snip of the log...

Quoted 4 lines

| make[1]: Leaving directory '/home/aspire/workspace/yocto-upgrade/build_aspire/tmp/work/t1024rdb_64b-fsl-linux/u-boot-qoriq/2024.04++fslgit/build/T1024RDB_config'

Quoted 9 lines

| make: Leaving directory '/home/aspire/workspace/yocto-upgrade/build_aspire/tmp/work/t1024rdb_64b-fsl-linux/u-boot-qoriq/2024.04++fslgit/git'

| cp: cannot stat '/home/aspire/workspace/yocto-upgrade/build_aspire/tmp/work/t1024rdb_64b-fsl-linux/u-boot-qoriq/2024.04++fslgit/build/T1024RDB_config/u-boot-with-dtb.bin':
No such file or directory
| WARNING: exit code 1 from a shell command.

So I have an error while the system is trying to copy a device tree binary. That name of the file is not in our recipes. So it has to be derived from the bbclass file, correct? Also, this is at the end of the make process and I do not have a "do_compile()" function in the recipe so this again has to come from the bbclass files... correct?

I've started to look a the class files and I can see some have the bbdebug() and such but I see no output. How would I turn this on? I already have BBDEBUG = 4 in my local.conf file.

Cheers!!

#1 lore raw
Quoted 13 lines · John via lists.yoctoproject.org

I have this snip of the log...

Quoted 4 lines

| make[1]: Leaving directory '/home/aspire/workspace/yocto- upgrade/build_aspire/tmp/work/t1024rdb_64b-fsl-linux/u-boot- qoriq/2024.04++fslgit/build/T1024RDB_config'
| make: Leaving directory '/home/aspire/workspace/yocto-

Quoted 8 lines

upgrade/build_aspire/tmp/work/t1024rdb_64b-fsl-linux/u-boot- qoriq/2024.04++fslgit/git'
| cp: cannot stat '/home/aspire/workspace/yocto- upgrade/build_aspire/tmp/work/t1024rdb_64b-fsl-linux/u-boot- qoriq/2024.04++fslgit/build/T1024RDB_config/u-boot-with-dtb.bin':
No such file or directory
| WARNING: exit code 1 from a shell command.

Quoted 9 lines

So I have an error while the system is trying to copy a device tree binary. That name of the file is not in our recipes. So it has to be derived from the bbclass file, correct? Also, this is at the end of the make process and I do not have a "do_compile()" function in the recipe so this again has to come from the bbclass files... correct?
I've started to look a the class files and I can see some have the bbdebug() and such but I see no output. How would I turn this on? I already have BBDEBUG = 4 in my local.conf file.

You'd usually use -DDD to bitbake to increase the debug log level. Personally, when doing this kind of debugging I'd use bbwarn as it shows nicely on the console output by default.

Cheers,

Richard