Changes

Jump to: navigation, search
Building the Linux kernel
Create the <code>uImage</code> file:
<pre class="workstation-terminal">
dvdk@osboxes:~/devel/bora/prj/bora1$ petalinux-package --image -c kernel --format uImage
SDK environment now set up; additionally you may now run devtool to perform development tasks.
Run devtool --help for further details.
 
### Shell environment set up for builds. ###
 
You can now run 'bitbake <target>'
 
Common targets are:
core-image-minimal
core-image-sato
meta-toolchain
meta-ide-support
 
You can also run generated qemu images with a command like 'runqemu qemux86'
INFO: Adding user layer: /home/dvdk/devel/bora/prj/bora1/project-spec/meta-user
INFO: generating uImage
INFO: bitbake -R /home/dvdk/devel/bora/prj/bora1/build/conf/kerneltype.conf virtual/kernel
Parsing recipes: 100% |####################################################################################################################| Time: 0:01:56
Parsing of 2446 .bb files complete (0 cached, 2446 parsed). 3236 targets, 224 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Initialising tasks: 100% |#################################################################################################################| Time: 0:00:16
Checking sstate mirror object availability: 100% |#########################################################################################| Time: 0:00:12
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
linux-xlnx-4.9-belk-4.0.0+git999-r0 do_compile: NOTE: linux-xlnx: compiling from external source tree /home/dvdk/devel/bora/prj/bora1/build/../components/ext_sources/linux-xlnx
NOTE: Tasks Summary: Attempted 2410 tasks of which 2374 didn't need to be rerun and all succeeded.
</pre>
After the build is completed, the <code>uImage</code> file and the device tree blob are located in the <code>images/linux</code> directory.
4,650
edits

Navigation menu