Changes

Jump to: navigation, search
no edit summary
'''Run the Petalinux build'''
 
To build <code>petalinux-image-minimal</code> use the following command
<syntaxhighlight lang="bash">
petalinux-build
</syntaxhighlight>
 
If you want build <code<dave-image-devel</code> use the following command
 
<syntaxhighlight lang="bash">
petalinux-build -c dave-image-devel
</syntaxhighlight>
 
For build only kernel use the following command
 
<syntaxhighlight lang="bash">
petalinux-build -c kernel
</syntaxhighlight>
 
For build only U-Boot use the following command
 
<syntaxhighlight lang="bash">
petalinux-build -c u-boot
</syntaxhighlight>
 
'''Generate <code>BOOT.BIN</code>'''
 
To generate <code>BOOT.BIN</code> artifact, perform the following command
 
<syntaxhighlight lang="bash">
petalinux-package --boot --u-boot --force
</syntaxhighlight>
 
In case of boot from NAND for ''Boralite'' platform, please use the following command
 
<syntaxhighlight lang="bash">
petalinux-package --boot --u-boot --kernel --offset 0x1080000 --force
</syntaxhighlight>
 
'''Generate <code>wic</code> image'''
 
In order to generate <code>wic</code> image to install on uSD perform the following command
 
<syntaxhighlight lang="bash">
petalinux-package --wic --bootfiles "BOOT.BIN boot.scr image.ub"
</syntaxhighlight>
 
If you want to use <code>dave-image-devel</code> rootfs you have to perform the following command
 
<syntaxhighlight lang="bash">
petalinux-package --wic --bootfiles "BOOT.BIN boot.scr image.ub" --rootfs-file build/tmp/deploy/images/zynq-generic/dave-image-devel-zynq-generic.tar.gz
</syntaxhighlight>
dave_user
427
edits

Navigation menu