Open main menu

DAVE Developer's Wiki β

Changes

DESK-MP1-L/General/Booting from NFS

1,040 bytes added, 8 January
no edit summary
<section begin=History/>
{| style="border-collapse:collapse; "
!colspan="4" style="width:100%; text-align:left"; border-bottom:solid 2px #ededed"|History
|-
!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"|Issue Date
!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:#edf8fb; padding:5px; color:#000000"|2023/08/01
|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000"|DESK-MP1-L-1.0.0 release
|-
|}
<section end=History/>
<section begin=Body/>
 
==Booting from NFS==
This configuration is very helpful during the software development (both for kernel and applications). The kernel image is downloaded via TFTP while the root file system is remotely mounted via NFS from the host. It is assumed that the development host:
In any case, some variables has to be configured on the target and the VM itself has to be configured for respect to the network environment.
=== Host (Virtual Machine) configuration ===
The [[DESK-MP1-L | DESK-MP1-L]] Virtual Machine has the '''tftp''' and '''nfs''' services already running. Optionally, their configuration has to be changed according to the network configuration where the target is connected to.
Check and properly configure the items describe in [https://wiki.dave.eu/index.php/VirtualBox_Network_Configuration VirtualBox Network Configuration]
=== Target configuration ===
The IP address for server and target should be configured: an example (for a network subnet <code>192.168.0.x</code>)
</pre>
==== QT5 App ====
To run QT5 applications in the target after booting via NFS it is first necessary to set the environment correctly, to do this you need to execute these 2 commands:
* <code>/etc/profile.d/qt-wayland.sh</code>
* <code>export XDG_RUNTIME_DIR=/home/weston</code>
 
----
[[Category:ETRA]] [[Category:ETRA_SBC]]
8,256
edits