Open main menu

DAVE Developer's Wiki β

Changes

DESK-XZ7-L/General/Booting from NFS

820 bytes added, 29 January
no edit summary
* runs a TFTP server.
* has a proper subnet IP address
 
=== net_nfs configuration ===
[[DESK-XZ7-L]] Virtual Machine is properly configured for the TFTP and NFS debug.
=== Boot via NFS with PXE protocol ===
If you want saves a lot of time to update your kernel image or rootfs, you need to use boot your tareget via nfs with PXE pxe protocol, . In this case you need to download from [https://mirror.dave.eu/desk-xz-l/desk-xz7-l-1.0.1/ mirror] or build with [[DESK-XZ7-L/Development/Creating_and_building_the_Petalinux_project | Petalinux]], the following artifact:
* <code>zImage</code>, this file has to be installed in your host device directory for tftp server, configurated for <code>pxe</code>, for example <code>/tftpboot/bora/</code>
For more information about boot and configuration file see [[ DESK-XZ7-AN-0003:_using_PXE_protocol_for_boot | DESK-XZ7-AN-0003]]
 
=== Boot via NFS with Petalinux ===
 
In case of NFS Boot, RootFS is mounted through the NFS but bootloader, while FSBL, bitstream, U-Boot and kernel can be downloaded using various methods, for example with JTAG, micro SD or tftp server.
 
In order to boot your target via NFS, you need to update your configuration file with the following command:
 
<pre>
petalinux-config
</pre>
 
Here below there are properties that you have to update:
 
* <code>CONFIG_SUBSYSTEM_ROOTFS_NFS</code>
* <code>SUBSYSTEM_NFSROOT_DIR</code>
* <code>CONFIG_SUBSYSTEM_NFSSERVER_IP</code>
* <code>CONFIG_SUBSYSTEM_TFTPBOOT_DIR</code>
 
For more information about NFS Boot with Petalinux see [https://docs.xilinx.com/r/2021.2-English/ug1144-petalinux-tools-reference-guide/Configuring-NFS-Boot Petalinux guide].
<section end="Body" />
dave_user
423
edits