Open main menu

DAVE Developer's Wiki β

Changes

DESK-MX8M-L/General/Booting from NFS

221 bytes added, 10:05, 27 February 2023
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"|VersionID#
!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:#edf8fbededed; padding:5px; color:#000000"|1.0.0{{oldid|17626|17626}}|! 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"|Feb 202227/02/2023|! 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"|First DESK-MX8M-L -2.0.0 release
|-
|}
The [[DESK-MX8M-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.
{{ImportantMessage|text=The ''Virtual Machine'' is created following the procedure at the [[DESK-MX8M-L/General/DVDK_Virtual_Machine#DVDK_for_release_2.0.0-rc2 | DVDK Virtual Machine]] wiki page}}
Check and properly configure the items the following chapters: network adapter, nfs server
* download the <code>fsl-imx-wayland-glibc-x86_64-meta-toolchain-aarch64-desk-mx8mp-toolchain-5.4-zeus.sh</code> from the mirror server
<pre class="workstation-terminal">
dvdk@vagrant:~/desk-mx-l/rfs$ wget https://mirror.dave.eu/desk-mx-l/desk-mx8m-l-2.0.0-rc2/dave-image-devel-desk-mx8mp.tar.bz2
dvdk@vagrant:~/desk-mx-l/rfs$
</pre>
extracting the archive (with '''root''' permissions!!) and create the symbolic link:
<pre>
mkdir /home/dvdk/desk-mx-l/rfs/desk-mx8m-l-2.0.0-rc2sudo tar jxpf dave-image-devel-desk-mx8mp.tar.bz2 -C /home/dvdk/desk-mx-l/rfs/desk-mx8m-l-2.0.0-rc2/ln -s /home/dvdk/desk-mx-l/rfs/desk-mx8m-l-2.0.0-rc2 /home/dvdk/desk-mx-l/rfs/desk-mx8m-l
</pre>
lrwxrwxrwx 1 root root 41 Apr 9 2021 desk-mx6-l -> /home/dvdk/desk-mx-l/rfs/desk-mx6-l-1.0.0
drwxr-xr-x 19 541 502 4096 Jan 25 2021 desk-mx6-l-1.0.0
lrwxrwxrwx 1 dvdk dvdk 46 Feb 15 12:37 desk-mx8m-l -> /home/dvdk/desk-mx-l/rfs/desk-mx8m-l-2.0.0-rc2drwxrwxr-x 8 dvdk dvdk 4096 Feb 15 12:36 desk-mx8m-l-2.0.0-rc2
dvdk@vagrant:~/desk-mx-l/rfs$
</pre>
<pre>
=> setenv bootfile /tftpboot/desk-mx-l/Image
=> setenv fdt_file /tftpboot/desk-mx-l/imx8mp-mito8mplus-cb1001.dtb
=> setenv loadk 'tftpboot ${loadaddr} ${serverip}:${bootfile}'
=> setenv loadfdt 'tftpboot ${fdt_addr} ${serverip}:${fdt_file}'
</pre>
 
ORCA has its dtb file <code>imx8mp-mito8mplus-cb1001.dtb</code>
setenv fdt_file /tftpboot/desk-mx-l/imx8mp-mito8mplus-cb1001.dtb
 
while MITO 8M Mini has its own ''dtb'' file <code>imx8mm-mito8mmini.dtb</code>
setenv fdt_file /tftpboot/desk-mx-l/imx8mm-mito8mmini.dtb
 
finally, the ''root file system'' directory on the Virtual Machine should be configured to let the kernel find the '''INIT'''
<pre>=> setenv rootpath /home/dvdk/desk-mx-l/rfs/desk-mx8m-l</pre>
To run this configuration just issue the '''net_nfsnetboot''' command which firstly downloads the kernel and device tree using the tftp protocol
<pre class="mw-collapsible mw-collapsed workstation-terminal">
=> run loadk loadfdt nfsargs addip addcons addmisc; booti ${loadaddr} - ${fdt_addr}
</pre>
</pre>
----
[[Category:ORCA]] [[Category:MITO 8M Mini]]
8,256
edits