Open main menu

DAVE Developer's Wiki β

Changes

no edit summary
!style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#73B2C7; padding:5px; color:white"|Notes
|-
|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#ededededf8fb; padding:5px; color:#000000"|{{oldid|17137|2022/11/18}}|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#ededededf8fb; padding:5px; color:#000000"|DESK-XZ7-L-1.0.0-rc1 release
|-
|!style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#ededed; padding:5px; color:#000000"|2023/01/2225|!style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#ededed; padding:5px; color:#000000"|DESK-XZ7-L-1.0.1 release
|-
|}
== Creating and building the Petalinux project ==
=== Reference Documentation reference ===
* PetaLinux Tools Documentation Reference guide [https://docs.xilinx.com/r/2021.2-English/ug1144-petalinux-tools-reference-guide/Revision-History UG1144]
* PetaLinux Tools DocumentationCommand Line Reference Guide [https://docs.xilinx.com/v/u/2020.1-English/ug1157-petalinux-tools-command-line-guide UG1157]
=== Petalinux build environment setup ===To reproduce the Petalinux build:
'''Clone * clone the repository'''
<syntaxhighlight lang="bash">
git clone --recursive git@git.dave.eu:desk-xz-l/petalinux.git -b desk-xz7-l-1.0.1
</syntaxhighlight>
'''Setup * setup the Petalinux environment'''
<syntaxhighlight lang="bash">
source /opt/Xilinx/petalinux/2021.2/settings.sh
</syntaxhighlight>
'''Inizialize * initialize the configuration file'''
You can use the following proper configuration filefrom the following table:
{| class="wikitable"
|}
In order to select a configuration file use the following command:
<syntaxhighlight lang="bash">
</syntaxhighlight>
'''=== Update the hardware description''' ===
Hardware The hardware description come comes from to the Vivado project. The Vivado project is already cloned into the Petalinux project.
To build the Hardware description file, please see look at this page: [https://wiki.dave.eu/index.php/DESK-XZ7-L/Development/Creating_and_building_the_Vivado_project Creating and building the Vivado project]
You can use the following command to update the hardware description:
<syntaxhighlight lang="bash">
</syntaxhighlight>
When applying the hardware description, the standard menuconfig interface will popuppop up: just save the current configuration to proceed. If you won't see the menuconfig interfacewill not bring up, perform send the following command:
<syntaxhighlight lang="bash">
</syntaxhighlight>
'''=== Run the Petalinux build'''===
To build <code>petalinux-image-minimal</code> use the following command:
<syntaxhighlight lang="bash">
</syntaxhighlight>
If you want build For building the <code>dave-image-devel</code> target, use the following command:
<syntaxhighlight lang="bash">
</syntaxhighlight>
For build building only the Linux kernel , use the following command
<syntaxhighlight lang="bash">
</syntaxhighlight>
For build building only U-Boot use the following command:
<syntaxhighlight lang="bash">
</syntaxhighlight>
'''Generate <code>BOOT.BIN</code>''' To generate For generating the <code>BOOT.BIN</code> artifact, perform run the following command:
<syntaxhighlight lang="bash">
</syntaxhighlight>
In case of boot from NAND for ''Boralite'' platformthe [[BORA Lite SOM | BORA Lite]] SOM, please use be careful on using the following command:
<syntaxhighlight lang="bash">
</syntaxhighlight>
'''Generate <code>wic</code> === SD card image'''===
In order to To generate the SD card <code>wic</code> image to install on uSD perform , execute the following command:
<syntaxhighlight lang="bash">
</syntaxhighlight>
If you want to use <code>dave-image-devel</code> rootfs you have to perform root file system, run the following command:
<syntaxhighlight lang="bash">
<section end=Body/>
---- [[Category:BORA]] [[Category:BORA Xpress]] [[Category:BORALite]]
8,226
edits