Open main menu

DAVE Developer's Wiki β

Changes

DESK-MX6UL-L/General/Booting from NFS

1,091 bytes removed, 11 January
no edit summary
!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"|Version
!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"|{{oldid|14307|1.0.02021/04/21}}|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"|Apr 2021|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; borderFirst DESK-bottom:solid 2px #73B2C7; backgroundMX6UL-color:#edf8fb; padding:5px; color:#000000"|First DESK L release
|-
|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"|2.0.0{{oldid|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"16338|Mar 2022/03/16}}|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 -MX6UL-L 3.0.0 release
|-
|! style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fbededed; padding:5px; color:#000000"|4.0.02023/05/05|! style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fbededed; padding:5px; color:#000000"|Apr 2023|style="borderDESK-left:solid 2px #73B2C7; borderMX6UL-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000"|DESK L 4.0.0 release
|-
|}
The [[DESK-MX6UL-L | DESK-MX6UL-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 the following chapters: network adapter, nfs server ==== network adapter ====The network adpater should be configured in '''bridge mode''' describe in order to allow the target to get the files from the VM  [[File:Network-bridge.png|500px]]  then, modify the network interfaces configuration using the <code>netplan</code> configuration file, for example (sse [https://ubuntuwiki.dave.comeu/server/docs/network-configuration Ubuntu network configuration]): <pre class="workstation-terminal">dvdk@vagrant:~$ cat /etc/netplan/01-netcfg.yaml network: version: 2 ethernets: eth0: dhcp4: false addresses: - 192index.168.0.125php/24 gateway4: 192.168.0.254 nameservers: addresses: [8.8.8.8, 1.1.1.1VirtualBox_Network_Configuration VirtualBox Network Configuration]dvdk@vagrant:~$ </pre> and restart it: <pre class="workstation-terminal">dvdk@vagrant:~$ sudo netplan applydvdk@vagrant:~$ </pre> Check or re-configure the Host IP address <pre class="workstation-terminal">dvdk@vagrant:~$ ip addr1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether 08:00:27:b1:28:5d brd ff:ff:ff:ff:ff:ff inet 192.168.0.125/24 brd 192.168.0.255 scope global eth0 valid_lft forever preferred_lft forever inet6 fe80::a00:27ff:feb1:285d/64 scope link valid_lft forever preferred_lft foreverdvdk@vagrant:~$ </pre> ==== nfs server ====The NFS server should exports the correct file system directory (in our example) <pre>dvdk@vagrant:~$ cat /etc/exports /home 0.0.0.0/0.0.0.0(rw,async,no_root_squash,no_subtree_check,crossmnt)dvdk@vagrant:~$ </pre> otherwise, change its configuration and then restart the nfs server: <pre>dvdk@vagrant:~$ sudo systemctl restart nfs-kernel-server</pre>
=== Target configuration ===
root@desk-mx6ul-axelulite:~#
</pre>
 
===Install Module===
 
Host side, transfer <code>~/desk-mx-l/rfs/desk-mx6ul-l-4.0.0_modules.tar.gz</code> file on target.
 
Target side execute the follow command:
 
<pre>
root@desk-mx6ul-axelulite:~# tar xvzf desk-mx6ul-l-4.0.0_modules.tar.gz -C /
</pre>
 
To check that everything went well, run the following command:
 
<pre>
root@desk-mx6ul-axelulite:~# ls -l /lib/modules/$(uname -r)
total 296
lrwxrwxrwx 1 541 502 65 Apr 3 2023 build -> /home/jenkins/workspace/workspace/DESK-MX6UL-L-4.x.x_Linux-kernel
drwxr-xr-x 6 541 502 4096 Apr 3 2023 kernel
-rw-r--r-- 1 541 502 2718 Apr 3 2023 modules.alias
-rw-r--r-- 1 541 502 4768 Apr 3 2023 modules.alias.bin
-rw-r--r-- 1 541 502 14878 Apr 3 2023 modules.builtin
-rw-r--r-- 1 541 502 34704 Apr 3 2023 modules.builtin.alias.bin
-rw-r--r-- 1 541 502 17778 Apr 3 2023 modules.builtin.bin
-rw-r--r-- 1 541 502 105373 Apr 3 2023 modules.builtin.modinfo
-rw-r--r-- 1 541 502 10689 Apr 3 2023 modules.dep
-rw-r--r-- 1 541 502 21666 Apr 3 2023 modules.dep.bin
-rw-r--r-- 1 541 502 0 Apr 3 2023 modules.devname
-rw-r--r-- 1 541 502 8657 Apr 3 2023 modules.order
-rw-r--r-- 1 541 502 85 Apr 3 2023 modules.softdep
-rw-r--r-- 1 541 502 16970 Apr 3 2023 modules.symbols
-rw-r--r-- 1 541 502 23964 Apr 3 2023 modules.symbols.bin
lrwxrwxrwx 1 541 502 65 Apr 3 2023 source -> /home/jenkins/workspace/workspace/DESK-MX6UL-L-4.x.x_Linux-kernel
</pre>
8,255
edits