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"|20232024/01/25!|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.1 release
|-
|}
== Using PXE protocol for boot ==
<code>pxe</code> command lets U-Boot to load kernel and rootfs. U-Boot load loads <code>pxelinux.conf</code> file, installed in the <code>pxelinux.cfg</code> directory, in your host device, with <code>TFTP</code> server, and after that parses . After parsing the configuration file in order to boot your , it boots the target.
=== pxe configuration file ===
Since we can boot more target targets from the same server, <code>pxe </code> configuration file name depends on U-Boot parameters.
In order to use For using <code>pxe</code> command commands to boot your target, you need to create the folder <code>hostname/pxelinux.cfg</code>has to be created, for example <code>bora/pxelinux.cfg</code>, into tftp-server folder, in your the host devicetftp server directory. In case of On <code>DESK-XZ7-L-MVM</code>, the tftp folder directory is <code>/tftpboot</code>.
U-Boot search searchs the <code>pxelinux.conf</code> file in this order:
* hardware type and MAC address, for example <code>bora/pxelinux.cfg/01-00-50-c2-1e-af-e0</code>
* file named <code>default</code>, for example <code>bora/pxelinux.cfg/default</code>
Here below there is an example of configuration file name for a board that have has <code>00-50-c2-1e-af-e0</code> as the MAC address
<pre>
Each <code>pxelinux.conf</code> file has a format like below:
* ''menu title'', : it is used as main title for the configuration file, and it is printed in U-Boot* ''DEFAULT'', it : this is the default configuration to use* ''TIMEOUT'', : after some second, seconds defined with this property, if a configuration is not choose he run chosen U-Boot runs the ''DEFUALTDEFAULT'' configuration* ''LABEL'', it : this is a string that distinguish for selecting from various configurationconfigurations. For example , we can use a label for boot with booting from NFS and another one for from eMMC** ''KERNEL'', it aim at : this is the kernel filename that you want load will be loaded on the target** ''FDT'', it aim at : this is the device tree that you want load will be loaded on the target** ''APPENDINITRD'', it defined kernel boot arguments: this is the ramdisk file system loaded on the target** ''INITRDAPPEND'', it aim at rootfs to install in RAM: (optional) kernel cmd line parameters
 An example of <code>pxelinux.conf</code> file is belowthe following one:
<pre>
</pre>
=== U-Boot command pxe boot example ===
In order to To use <code>pxe</code> command on the target, you need to perform send the commands like the command example here below.:
* network configuration network
<pre>
</pre>
* get the <code>pxe</code> configuration file
<pre class="workstation-terminal">
</pre>
* boot the target with using the <code>pxe</code> command
<pre class="workstation-terminal">
</pre>
* the a complete boot log can be is like this the following one:
<pre class="mw-collapsible mw-collapsed">
8,226
edits