January 2018
Intermediate to advanced
456 pages
12h 49m
English
To debug the build errors, BitBake creates two types of useful files per shell task and stores them in a temp folder in the working directory. Taking BusyBox as an example, we would look into:
/opt/yocto/fsl-community-bsp/wandboard/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/busybox/1.24.1-r0/temp
And find a list of log* and run* files. The filename format is:
log.do_<task>.<pid> and run.do_<task>.<pid>.
But luckily, we also have symbolic links without the <pid> part that link to the latest version.
The log files will contain the output of the task, and that is usually the only information we need to debug the problem. The run file contains the actual code executed by BitBake to generate the log mentioned before. ...
Read now
Unlock full access