Changes

Jump to: navigation, search

Working with the Yocto build system

8 bytes added, 07:47, 13 September 2017
Building Yocto BSP images including the U-Boot, the Linux kernel, and the target root file system
}}
{{ImportantMessage|text=The process described in this section makes use of tons of source files retrieved from many different online repositories. '''Any issue preventing Yocto to access these repositories–whose URLs are statically specified in the recipe files–may stop the build process'''.
For instance, from time to time these URLs change over the time. Consequently, the build process can't complete successfully because the URL included in the recipes don't match the actual address anymore.
Another problem that may interrupt the procedure is a temporary interruption of the Internet connection. The following example shows an error message reported by Yocto in such a case:
wget: unable to resolve host address 'download.berlios.de'
ERROR: Function failed: Fetcher failure for URL: 'http://download.berlios.de/fetchmail/fetchmail-6.3.26.tar.xz'. Unable to fetch URL from any source.ERROR: Logfile of failure stored in: /home/dvdk/build-fb/tmp/work/cortexa7hf-vfp-neon-poky-linux-gnueabi/fetchmail/6.3.26-r0/temp/log.do_fetch.28992ERROR: Task 632 (/home/dvdk/sources/meta-openembedded/meta-networking/recipes-support/fetchmail/fetchmail_6fetchmail_6.3.26.bb, do_fetch) failed with exit code '1'</pre>
}}
</pre>
 
As known, Linux needs a root file system to operate: a root file system must contain everything needed to support the Linux system (applications, settings, data, etc.). The root file system is the file system that is contained on the same partition on which the root directory is located. The Linux kernel, at the end of its startup stage, mounts the root file system on the configured root device and finally launches the <code>/sbin/init</code>, the first user space process and "father" of all the other processes.
4,650
edits

Navigation menu