Open main menu

DAVE Developer's Wiki β

Changes

DESK-MX8M-L/General/Booting from NFS

2,290 bytes added, 09:59, 26 July 2023
Updates for DESK-MX8-L 4.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:#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:#ededed; padding:5px; color:#000000" |{{oldid|17632|17632}}
| style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#ededed; padding:5px; color:#000000" |27/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:#ededed; padding:5px; color:#000000" |DESK-MX8M-L-2.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:#ededed; padding:5px; color:#000000" |{{oldid|17632|17632}}
! style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#ededed; padding:5px; color:#000000" |2726/0207/2023! style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#ededed; padding:5px; color:#000000" |DESK-MX8M-L-24.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 | DVDK Virtual Machine]] wiki page}} Check and properly configure the items the following chapters: network adapter, nfs server ==== network adapter ====The network adpater should be configured in '''bridge mode''' in order to allow the target to get the files from the VM  [[File:Network-bridge.png|500px]]  [[File:XELK VM Network.png|500px]]  then check or re-configure the Host IP address <pre>dvdk@vagrant:~$ ifconfig eth0 Link encap:Ethernet HWaddr 08:00:27:ed:54:80 inet addr:192.168.0.121 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::a00:27ff:feed:5480/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:342143 errors:0 dropped:0 overruns:0 frame:0 TX packets:267700 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:160784829 (160.7 MB) TX bytes:214001179 (214.0 MB) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:201 errors:0 dropped:0 overruns:0 frame:0 TX packets:201 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1 RX bytes:21929 (21.9 KB) TX bytes:21929 (21.9 KB) dvdk@vagrant:~$ </pre> ==== nfs server ====The NFS server should exports the correct file system directory (describe 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 /etc/init.d/nfs-kernel-server restart[sudo] password for dvdk: * Stopping NFS kernel daemon [ OK ] * Unexporting directories for NFS kernel daemon... [ OK ] * Exporting directories for NFS kernel daemon... [ OK ] * Starting NFS kernel daemon [ OK ] dvdk@vagrant:~$ </pre> ==== Installing the root file system ====Using the [[DESK-MX6-L | DESK-MX6-L]] Virtual Machine it is required to extracting the rfs in the exported file system: * 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://mirrorwiki.dave.eu/desk-mx-l/desk-mx8m-l-2index.0.0php/dave-image-devel-desk-mx8mp.tar.bz2dvdk@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.0sudo tar jxpf dave-image-devel-desk-mx8mp.tar.bz2 -C /home/dvdk/desk-mx-l/rfs/desk-mx8m-l-2.0.0/ln -s /home/dvdk/desk-mx-l/rfs/desk-mx8m-l-2.0.0 /home/dvdk/desk-mx-l/rfs/desk-mx8m-l</pre> Then, the rfs directory appears like this:<pre class="workstation-terminal">dvdk@vagrant:~/desk-mx-l/rfs$ ls -latotal 725876drwxr-xr-x 4 dvdk dvdk 4096 Feb 15 12:37 .drwxr-xr-x 7 dvdk dvdk 4096 Feb 15 11:50 ..lrwxrwxrwx 1 root root 41 Apr 9 2021 desk-mx6-l -> /home/dvdk/desk-mx-l/rfs/desk-mx6-l-1.0.0drwxr-xr-x 19 541 502 4096 Jan 25 2021 desk-mx6-l-1.0.0lrwxrwxrwx 1 dvdk dvdk 46 Feb 15 12:37 desk-mx8m-l -> /home/dvdk/desk-mx-l/rfs/desk-mx8m-l-2.0.0drwxrwxr-x 8 dvdk dvdk 4096 Feb 15 12:36 desk-mx8m-l-2.0.0dvdk@vagrant:~/desk-mx-l/rfs$ </pre>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>)
<preclass="workstation-terminal">u-boot=> setenv serverip 192.168.010.125100u-boot=> setenv ipaddr 192.168.010.8956u-boot=> setenv gatewayip 192.168.010.254u-boot=> setenv netmask 255.255.255.0u-boot=> setenv netdev eth0
</pre>
For using the DVDK Virtual Machine, a static IP address configuration has been selected, to the U-Boot variable <code>ip_dyn</code> has to be set to '''no''':
<pre class="workstation-terminal">u-boot=> setenv ip_dyn no</pre>
The ''kernel'' and ''device tree'' files have to be selected
<pre class="workstation-terminal">u-boot=> setenv bootfile /tftpboot/desk-mxmx8m-l/Image</pre>
ORCA has its dtb file <code>imx8mp-mito8mplus-cb1001.dtb</code>
<pre class="workstation-terminal">u-boot=> setenv fdt_file /tftpboot/desk-mxmx8m-l/imx8mp-mito8mplus-cb1001cb1008.dtb</pre>
while MITO 8M Mini has its own ''dtb'' file <code>imx8mm-mito8mmini.dtb</code>
<pre class="workstation-terminal">u-boot=> setenv fdt_file /tftpboot/desk-mxmx8m-l/imx8mm-mito8mmini.dtb</pre>
finally, the ''root file system'' directory on the Virtual Machine should be configured to let the kernel find the '''INIT'''
<pre class="workstation-terminal"> u-boot=> setenv nfsroot rootpath /home/dvdk/desk-mx-l/rfs/desk-mx8m-l-4.0.0/mx8mp/</pre>
To run this configuration just issue the '''net_nfs''' command which firstly downloads the kernel and device tree using the tftp protocol
<pre class="workstation-terminal">
u-boot=> setenv net_nfs 'run loadk loadfdt nfsargs addip addcons addmisc; if run configid_fixupfdt; then sleep 3; booti ${loadaddr} - ${fdt_addr}; fi'
</pre>
<pre class="mw-collapsible mw-collapsed workstation-terminal">
u-boot=> run net_nfsUsing ethernet@30bf0000 30be0000 deviceTFTP from server 192.168.010.125100; our IP address is 192.168.010.8956Filename 'desk-mx8m/linuxtftpboot/desk-mx8m-l-2.0.0_Image/Image'.
Load address: 0x40480000
Loading: *#################################################################
#################################################################
################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ###################################### 5.9 3 MiB/s
done
Bytes transferred = 28219904 31351296 (1ae9a00 1de6200 hex)Using ethernet@30bf0000 30be0000 deviceTFTP from server 192.168.010.125100; our IP address is 192.168.010.8956Filename 'desk-mx8m/linuxtftpboot/desk-mx8m-l-2.0.0_imx8mp/imx8mp-mito8mplus-cb1008.dtb'.
Load address: 0x43000000
Loading: *############ 61.2 MiB/s
done
Bytes transferred = 58763 61299 (e58b ef73 hex)FDT: override 'som_uniqueid' with '55aa2564:1e261000'FDT: override 'cb_uniqueid' with 'b7000035:c48de62d'Moving Image from 0x40480000 to 0x40600000, end=42480000
## Flattened Device Tree blob at 43000000
Booting using the fdt blob at 0x43000000
Using Device Tree in place at 0000000043000000, end 0000000043011fff0000000043011f72
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 5.415.7071-desk-mx8m-l-24.0.0+g3afcce55652c (oe-userjenkins@oe-hostfocalbakery) (aarch64-poky-linux-gcc version 9(GCC) 11.23.0 , GNU ld (GCCGNU Binutils)2.38.20220708) #1 SMP PREEMPT Thu Feb 9 12Jun 29 20:2050:33 UTC 11 CEST 2023
[ 0.000000] Machine model: i.MX8MPlus Mito8MPlus on SBC Orca - adapter LVDS HDMI
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] Reserved memory: created CMA memory pool at 0x00000000c4000000, size 960 MiB
[ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x0000000094300000, size 1 MiB
[ 0.000000] OF: reserved mem: initialized node vdev0buffer@94300000, compatible id shared-dma-pool
[ 0.000000] NUMA: No NUMA configuration found
[ 0.000000] NUMA: Faking a node at [mem 0x0000000040000000-0x00000001bfffffff]
[ 0.000000] NUMA: NODE_DATA [mem 0x1bf3d55000x1bf449800-0x1bf3d6fff0x1bf44bfff]
[ 0.000000] Zone ranges:
[ 0.000000] DMA32 DMA [mem 0x0000000040000000-0x00000000ffffffff][ 0.000000] DMA32 empty
[ 0.000000] Normal [mem 0x0000000100000000-0x00000001bfffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000040000000-0x00000000557fffff]
[ 0.000000] node 0: [mem 0x0000000055800000-0x0000000055ffffff]
[ 0.000000] node 0: [mem 0x0000000058000000-0x00000000923fffff]
[ 0.000000] node 0: [mem 0x00000000944000000x0000000092400000-0x00000000a43fffff][ 0.000000] node 0: [mem 0x00000000a4400000-0x00000001bfffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x00000001bfffffff]
[ 0.000000] On node 0, zone DMA: 8192 pages in unavailable ranges
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.1 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: Trusted OS migration not required
[ 0.000000] psci: SMC Calling Convention v1.12[ 0.000000] percpu: Embedded 24 20 pages/cpu s58904 s41368 r8192 d31208 u98304d32360 u81920
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: detected: GIC system register CPU interface
[ 0.000000] CPU features: detected: ARM erratum 845719
[ 0.000000] CPU features: detected: GIC system register CPU interface[ 0.000000] Speculative Store Bypass Disable mitigation not required[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 15298561540096
[ 0.000000] Policy zone: Normal
[ 0.000000] Kernel command line: root=/dev/nfs rw nfsroot=192.168.010.125100:/home/dvdk/nfs_rootfsdesk-mx-l/rfs/desk-mx8m-l-4.0.0/mx8mp/orca,v3,tcp ip=192.168.010.8956:192.168.010.125100:192.168.010.254:255.255.255.0:desk-mx:eth0:off panic=1 console=ttymxc1,115200,115200 mtdparts=gpmi-nand:2M(nand-SPL),6M(nand-uboot),1M(nand-env1),1M(nand-env2),1M(nand-fdt),1M(nand-spare),8M(nand-kernel),4M(nand-splash),-(nand-ubi);
[ 0.000000] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] software IO TLB: mapped [mem 0xc00000000x00000000c0000000-0xc40000000x00000000c4000000] (64MB)[ 0.000000] Memory: 5016672K4752040K/6217728K 6258688K available (16764K 18688K kernel code, 1254K 1560K rwdata, 6620K 7244K rodata, 2880K 3008K init, 1015K 543K bss, 218016K 523608K reserved, 983040K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU event tracing is enabled.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[ 0.000000] Trampoline variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[ 0.000000] GICv3: 0 Extended SPIs implemented
[ 0.000000] GICv3: Distributor has no Range Selector support
[ 0.000000] Root IRQ handler: gic_handle_irq
[ 0.000000] GICv3: 16 PPIs implemented
[ 0.000000] GICv3: no VLPI support, no direct LPI support
[ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000038880000
[ 0.000000] ITS: No ITS available, not enabling LPIs
[ 0.000000] random: get_random_bytes called from start_kernel+0x2b8/0x44c with crng_init=0
[ 0.000000] arch_timer: cp15 timer(s) running at 8.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x1d854df40, max_idle_ns: 440795202120 ns
[ 0.000003] sched_clock: 56 bits at 8MHz, resolution 125ns, wraps every 2199023255500ns[ 0.000506] Console: colour dummy device 80x25[ 0.000569] Calibrating delay loop (skipped), value calculated using timer frequency.. 16.00 BogoMIPS (lpj=32000)[ 0.000578] pid_max: default: 32768 minimum: 301[ 0.000651] LSM: Security Framework initializing[ 0.000716] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)[ 0.000740] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)[ 0.001807] ASID allocator initialised with 32768 entries[ 0.001875] rcu: Hierarchical SRCU implementation.[ 0.003217] EFI services will not be available.[ 0.003375] smp: Bringing up secondary CPUs ...[ 0.003731] Detected VIPT I-cache on CPU1[ 0.003752] GICv3: CPU1: found redistributor 1 region 0:0x00000000388a0000[ 0.003778] CPU1: Booted secondary processor 0x0000000001 [0x410fd034][ 0.004202] Detected VIPT I-cache on CPU2[ 0.004217] GICv3: CPU2: found redistributor 2 region 0:0x00000000388c0000[ 0.004231] CPU2: Booted secondary processor 0x0000000002 [0x410fd034][ 0.004604] Detected VIPT I-cache on CPU3[ 0.004619] GICv3: CPU3: found redistributor 3 region 0:0x00000000388e0000[ 0.004632] CPU3: Booted secondary processor 0x0000000003 [0x410fd034][ 0.004685] smp: Brought up 1 node, 4 CPUs[ 0.004700] SMP: Total of 4 processors activated.[ 0.004708] CPU features: detected: 32-bit EL0 [ 0.000000] sched_clock: 56 bits at 8MHz, resolution 125ns, wraps every 2199023255500ns[ 0.000455] Console: colour dummy device 80x25[ 0.000521] Calibrating delay loop (skipped), value calculated using timer frequency.. 16.00 BogoMIPS (lpj=32000)[ 0.000534] pid_max: default: 32768 minimum: 301[ 0.000590] LSM: Security Framework initializing[ 0.000687] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)[ 0.000714] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)[ 0.002059] rcu: Hierarchical SRCU implementation.[ 0.003318] EFI services will not be available.[ 0.003517] smp: Bringing up secondary CPUs ...[ 0.003945] Detected VIPT I-cache on CPU1[ 0.003972] GICv3: CPU1: found redistributor 1 region 0:0x00000000388a0000[ 0.004006] CPU1: Booted secondary processor 0x0000000001 [0x410fd034][ 0.004486] Detected VIPT I-cache on CPU2[ 0.004508] GICv3: CPU2: found redistributor 2 region 0:0x00000000388c0000[ 0.004527] CPU2: Booted secondary processor 0x0000000002 [0x410fd034][ 0.004952] Detected VIPT I-cache on CPU3[ 0.004970] GICv3: CPU3: found redistributor 3 region 0:0x00000000388e0000[ 0.004990] CPU3: Booted secondary processor 0x0000000003 [0x410fd034][ 0.005051] smp: Brought up 1 node, 4 CPUs[ 0.005079] SMP: Total of 4 processors activated.[ 0.005087] CPU features: detected: 32-bit EL0 Support[ 0.005091] CPU features
Welcome to [1mNXP NXP i.MX Release Distro 5.415-zeus kirkstone (zeuskirkstone)[0m!
[ 8.869620292660] systemd[1]: Set hostname Hostname set to <desk-mx8mp>.[ 98.670963315686] systemd[1]: Initializing machine ID from random generator.[ 8.454934] systemd-sysv-generator[192]: SysV service '/libetc/init.d/single' lacks a native systemd/system/dbusunit file. Automatically generating a unit file for compatibility.socket:5: ListenStream= references Please update package to include a path below legacy directory /var/run/native systemd unit file, updating in order to make it more safe and robust.[ 8.484897] systemd-sysv-generator[192]: SysV service '/varetc/runinit.d/dbus/system_bus_socket → /run/dbus/system_bus_socket; please halt' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update the package to include a native systemd unit file accordingly, in order to make it more safe and robust.[ 98.727231533352] systemd-sysv-generator[1192]: SysV service '/libetc/init.d/sendsigs' lacks a native systemd/system/syslogdunit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.service:[ 8.560790] systemd-sysv-generator[192]: PIDFile= references a path below legacy directory SysV service '/varetc/runinit.d/umountfs' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, updating in order to make it more safe and robust.[ 8.606224] systemd-sysv-generator[192]: SysV service '/varetc/runinit.d/syslogdrc.pid → /run/syslogdlocal' lacks a native systemd unit file. Automatically generating a unit file for compatibility.pid; please Please update the package to include a native systemd unit file accordingly, in order to make it more safe and robust.[ 98.791175634155] systemd-sysv-generator[1192]: SysV service '/libetc/init.d/reboot' lacks a native systemd/system/rpcbindunit file. Automatically generating a unit file for compatibility.socket:5: ListenStream= references Please update package to include a path below legacy directory /var/run/native systemd unit file, updating in order to make it more safe and robust.[ 8.663799] systemd-sysv-generator[192]: SysV service '/varetc/runinit.d/rpcbindumountnfs.sock → /run/rpcbindsh' lacks a native systemd unit file. Automatically generating a unit file for compatibility.sock; please Please update the package to include a native systemd unit file accordingly, in order to make it more safe and robust.[ 98.833333691554] systemd-sysv-generator[1192]: SysV service '/libetc/systemdinit.d/system/klogdsave-rtc.service:8: PIDFile= references sh' lacks a path below legacy directory /var/run/, updating /var/run/klogdnative systemd unit file.pid → /run/klogdAutomatically generating a unit file for compatibility.pid; please Please update the package to include a native systemd unit file accordingly, in order to make it more safe and robust.[ 10 8.289509795127] systemd[1183]: /lib/systemd/system-getty.slice: unit configures an IP firewall, but the local system does not support BPFgenerators/cgroup firewallingsystemd-gpt-auto-generator failed with exit status 1.[ 10.301902183524] systemd[1]: (This warning is only shown Queued start job for the first unit using IP firewallingdefault target Graphical Interface.)[ 10.312211246267] systemd[1]: Created slice Slice /system-/getty.[ OK ] Created slice Slice /system/getty.[ 10.270241] systemd[1]: Created sliceSlice /system/modprobe.[ OK ] Created slice Slice /system/modprobe.[ 10.294876] systemd[1]: Created slice Slice /system/serial-getty.slice. [ OK ] Created slice Slice /system/serial-serial\x2dgettygetty.[ 10.318632] systemd[1]: Created sliceUser and Session Slice. [ OK ] Created slice User and Session Slice. [ 10.340138] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.[ OK ] Started Dispatch Password …ts to Console Directory Watch. [ 10.364064] systemd[1]: Started Forward Password Requests to Wall Directory Watch.[ OK ] Started Forward Password R…uests to Wall Directory Watch. [ 10.388076] systemd[1]: Reached target Host and Network Name Lookups.[ OK ] Reached target PathsHost and Network Name Lookups.[ 10.412177] systemd[1]: Reached target Path Units. [ OK ] Reached target Path Units.[ 10.432199] systemd[1]: Reached target Remote File Systems. [ OK ] Reached target SlicesRemote File Systems.[ 10.456179] systemd[1]: Reached target Slice Units. [ OK ] Reached target SwapSlice Units.[ 10.476212] systemd[1]: Reached target Swaps. [ OK ] Reached target Swaps.[ 10.502253] systemd[1]: Listening on RPCbind Server Activation Socket.[ OK ] Listening on RPCbind Server Activation Socket.[ 10.523940] systemd[1]: Reached target RPC Port Mapper.[ OK ] Reached target RPC Port Mapper.[ 10.549035] systemd[1]: Listening on Syslog Socket. [ OK ] Listening on Syslog Socket.[ 10.568473] systemd[1]: Listening on initctl Compatibility Named Pipe.[ OK ] Listening on initctl Compatibility Named Pipe. [ 10.596272] systemd[1]: Listening on Journal Audit Socket.[ OK ] Listening on Journal Audit Socket. [ 10.620579] systemd[1]: Listening on Journal Socket (/dev/log).[ OK ] Listening on Journal Socket (/dev/log). [ 10.644652] systemd[1]: Listening on Journal Socket.[ OK ] Listening on Journal Socket. [ 10.668443] systemd[1]: Listening on Network Service Netlink Socket.[ OK ] Listening on Network Service Netlink Socket. [ 10.710423] systemd[1]: Listening on udev Control Socket.
[ OK ] Listening on udev Control Socket.
[ 10.732582] systemd[1]: Listening on udev Kernel Socket.
[ OK ] Listening on udev Kernel Socket.
[ 10.748577] systemd[1]: Listening on User Database Manager Socket.
[ OK ] Listening on User Database Manager Socket.
[ 10.776008] systemd[1]: Mounting Huge Pages File System...
Mounting Huge Pages File System...
[ 10.799828] systemd[1]: Mounting POSIX Message Queue File System...
Mounting POSIX Message Queue File System...
[ 10.828441] systemd[1]: Mounting Kernel Debug File System...
Mounting Kernel Debug File System...
[ 10.852557] systemd[1]: Kernel Trace File System was skipped because of a failed condition check (ConditionPathExists=/sys/kernel/tracing).[ 10.876046] systemd[1]: Mounting Temporary Directory /tmp... Mounting Temporary Directory /tmp...[ 10.900026] systemd[1]: Create List of Static Device Nodes was skipped because of a failed condition check (ConditionFileNotEmpty=/lib/modules/5.15.71-desk-mx8m-l-4.0.0/modules.devname).[ 10.920739] systemd[1]: Starting Load Kernel Module configfs... Starting Load Kernel Module configfs...[ 10.944608] systemd[1]: Starting Load Kernel Module drm... Starting Load Kernel Module drm...[ 10.967970] systemd[1]: Starting Load Kernel Module fuse... Starting Load Kernel Module fuse...[ 10.998516] systemd[1]: Starting RPC Bind... Starting RPC Bind...[ 11.017262] systemd[1]: File System Check on Root Device was skipped because of a failed condition check (ConditionPathIsReadWrite=!/tmp).[ 11.030456] systemd[1]: systemd-journald.service: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.[ 11.043652] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)[ 11.058726] systemd[1]: Starting Journal Service... Starting Journal Service... [ 11.088324] systemd[1]: Load Kernel Modules was skipped because all trigger condition checks failed.[ 11.102853] systemd[1]: Starting Generate network units from Kernel command line... Mounting Starting Generate network …ts from Kernel command line...[ 11.133852] systemd[1]: Starting Remount Root and Kernel Configuration File SystemSystems... Starting Remount Root and Kernel File Systems... [ 11.160276] systemd[1]: Starting Apply Kernel Variables... Starting Apply Kernel Variables... [ 11.184484] systemd[1]: Starting Coldplug All udev Devices... Starting Coldplug All udev Coldplug all Devices... [ 11.209418] systemd[1]: Started RPC Bind.[ OK ] Started RPC Bind.[ 11.228452] systemd[1]: Mounted Huge Pages File System. [ OK ] Mounted Huge Pages File System.[ 11.248400] systemd[1]: Mounted POSIX Message Queue File System. [ OK ] Mounted POSIX Message Queue File System.[ 11.272469] systemd[1]: Mounted Kernel Debug File System. [ OK ] Started Journal ServiceMounted Kernel Debug File System.[ 11.292369] systemd[1]: Mounted Temporary Directory /tmp. [ OK ] Mounted Temporary Directory (/tmp). [ 11.312863] systemd[1]: modprobe@configfs.service: Deactivated successfully.[ 11.321142] systemd[1]: Finished Load Kernel Module configfs.[ OK ] Mounted Finished Load Kernel Configuration File SystemModule configfs.[ 11.344551] systemd[1]: Started Journal Service. [ OK ] Started Journal Service.[ OK ] Finished Load Kernel Module drm.[ OK ] Finished Load Kernel Module fuse.[ OK ] Finished Generate network units from Kernel command line.[ OK ] Finished Remount Root and Kernel File Systems. [ OK ] Started Finished Apply Kernel Variables. Mounting Kernel Configuration File System... Starting Flush Journal to Persistent Storage... Starting Create Static Device Nodes in /devSystem Users... [ 1011.962725533452] systemd-journald[259201]: Received client request to flush runtime journal. [ OK ] Started Mounted Kernel Configuration File System.[ OK ] Finished Flush Journal to Persistent Storage. [ OK ] Started Finished Create System Users. Starting Create Static Device Nodes in /dev...[ OK ] Finished Coldplug All udev Devices.[ OK ] Finished Create Static Device Nodes in /dev. [ OK ] Reached target Preparation for Local File Systems (Pre). Mounting /var/volatile... Starting udev Kernel Rule-based Manage…for Device Manager.Events and Files..[ OK ] Started udev Coldplug all Devices.
[ OK ] Mounted /var/volatile.
Starting Load/Save Random Seed...
[ OK ] Reached target Local File Systems.
Starting Rebuild Dynamic Linker Cache...
Starting Create Volatile Files and Directories...
[ OK ] Started Load/Save Random Seed.[ OK ] Started udev Kernel Rule-based Manager for Device ManagerEvents and Files.[ OK ] Started Finished Create Volatile Files and Directories. Starting Rebuild Journal Catalog...
Starting Network Time Synchronization...
Starting Update UTMP about Record System Boot/Shutdownin UTMP...[ OK ] Started Update UTMP about Finished Record System Boot/Shutdownin UTMP.[ 12 OK ] Finished Rebuild Journal Catalog.002749[ OK ] imx-sdma 30bd0000.dma-controller: loaded firmware 4Reached target Hardware activated USB gadget.5
[ OK ] Started Network Time Synchronization.
[ OK ] Reached target System Time Set.
[ OK ] Listening on Load/Save RF …itch Status /dev/rfkill Watch.
[ OK ] Created slice Slice /system/systemd-fsck.
[ OK ] Found device /dev/mmcblk2p2.
[ OK ] Found device /dev/mmcblk2p1.
Starting File System Check on /dev/mmcblk2p1...
Starting File System Check on /dev/mmcblk2p2...
[ OK ] Finished File System Check on /dev/mmcblk2p1.
[ OK ] Finished File System Check on /dev/mmcblk2p2.
Mounting /run/media/boot-mmcblk2p1...
Mounting /run/media/rfs-mmcblk2p2...
[ 15.217320] EXT4-fs (mmcblk2p1): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[ OK ] Found device /dev/mmcblk1p1.
[ 15.231849] EXT4-fs (mmcblk2p2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[ OK ] Mounted /run/media/boot-mmcblk2p1.
[ OK ] Mounted /run/media/rfs-mmcblk2p2.
[ OK ] Found device /dev/mmcblk1p2.
Starting File System Check on /dev/mmcblk1p1...
Starting File System Check on /dev/mmcblk1p2...
[ OK ] Finished File System Check on /dev/mmcblk1p2.
Mounting /run/media/root-mmcblk1p2...
[ 15.948603] random: crng init done
[ OK ] Finished Load/Save Random Seed.
[ 16.205334] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[ OK ] Mounted /run/media/root-mmcblk1p2.
[ OK ] Finished File System Check on /dev/mmcblk1p1.
Mounting /run/media/boot-mmcblk1p1...
[ OK ] Mounted /run/media/boot-mmcblk1p1.
[* ] A start job is running for Rebuild …namic Linker Cache (8s / no limit)
[** ] A start job is running for Rebuild …namic Linker Cache (9s / no limit)
[*** ] A start job is running for Rebuild …namic Linker Cache (9s / no limit)
[ OK ] Finished Rebuild Dynamic Linker Cache.
Starting Update is Completed...
[ OK ] Finished Update is Completed.
[ OK ] Reached target System Initialization.
[ OK ] Started Daily rotation of log files.
[ OK ] Started Daily Cleanup of Temporary Directories.
[ OK ] Reached target System Time Set.[ OK ] Reached target System Time Synchronized.[ OK ] Started Daily apt download activities.[ OK ] Started Daily rotation of log files.[ OK ] Reached target TimersTimer Units.
[ OK ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[ OK ] Listening on D-Bus System Message Bus Socket.
Starting Docker Socket for the API... Starting sshd.socket... Starting Weston socket...[ OK ] Listening on Docker Socket for the API.[ OK ] Listening on dropbearsshd.socket.[ OK ] Listening on RPCbind Server Activation SocketWeston socket.[ OK ] Reached target SocketsSocket Units.
[ OK ] Reached target Basic System.
Starting Save/Restore Sound Card State...
[ OK ] Started Job spooling tools.
[ OK ] Started Periodic Command Scheduler.
Starting D-Bus System Message Bus...[ OK ] Started D-Bus System Message BusLinux Firmware Loader Daemon.
[ OK ] Started Configuration for i.MX GPU (Former rc_gpu.S).
[ 20.808053] imx-sdma 30e10000.dma-controller: firmware found.[ 20.808118] imx-sdma 30bd0000.dma-controller: firmware found.[ OK ] Started 20.819894] imx-sdma 30bd0000.dma-controller: loaded firmware 4.6;39mISP i.MX 8Mplus daemon. Starting IPv6 Packet Filtering Framework... Starting IPv4 Packet Filtering Framework...
Starting Network Time Service (one-shot ntpdate mode)...
Starting Telephony service...
Starting RPC Bind Service... Starting [ OK ] Started System Logging Service... Starting User Login ServiceManagement...
[ OK ] Started TEE Supplicant.
Starting OpenSSH Key Generation...[ OK ] Started Save/Restore Sound Card StateD-Bus System Message Bus.[ OK ] Finished IPv6 Packet Filtering Framework.[ OK ] Started Finished IPv4 Packet Filtering Framework.[ OK ] Started Finished Network Time Service (one-shot ntpdate mode).[ OK ] Started RPC Bind Service.[ OK ] Started System Logging Service.[ OK ] Reached target Preparation for Network (Pre).[ OK ] Reached target Sound Card. Starting Kernel Logging ServiceConnection service... Starting Network ServiceConfiguration...
[ OK ] Started Telephony service.
[ OK ] Started Connection service. Starting Avahi mDNS/DNS-SD Stack...[ OK ] Started User Login ServiceManagement.[ OK ] Started Network ServiceAvahi mDNS/DNS-SD Stack. Starting WPA supplicant... Starting Network Name ResolutionHostname Service...[ OK ] Started Kernel Logging ServiceNetwork Configuration.[ OK ] Started Network Name ResolutionWPA supplicant.
[ OK ] Reached target Network.
[ OK ] Reached target Host and Network Name Lookups. Starting Avahi mDNS/DNS-SD Stackcontainerd container runtime...
[ OK ] Started NFS status monitor for NFSv2/3 locking..
[ OK ] Started Respond to IPv6 Node Information Queries.
Starting /etc/rc.local Compatibility...
[ OK ] Started Network Router Discovery Daemon.
Starting Permit User Sessions...
[ OK ] Started Target Communication Framework agent/etc/rc.[ OK ] Started Xinetd A Powerful Replacement For Inetdlocal Compatibility.[ OK ] Started Finished Permit User Sessions.[ OK ] Started Avahi mDNS/DNS-SD Stack.
[ OK ] Started Getty on tty1.
[ OK ] Started Serial Getty on ttymxc1.
[ OK ] Reached target Login Prompts.
Starting Weston, a Wayland…ositor, as a system service...
[ OK ] Started Hostname Service.
Starting User Database Manager...
[ OK ] Started User Database Manager.
[ OK ] Created slice User Slice of UID 0.
Starting User Runtime Directory /run/user/0...
[ OK ] Finished User Runtime Directory /run/user/0.
Starting User Manager for UID 0...
[ 22.877331] audit: type=1006 audit(1690365191.700:2): pid=656 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=1 res=1
[ 22.891620] audit: type=1300 audit(1690365191.700:2): arch=c00000b7 syscall=64 success=yes exit=1 a0=8 a1=ffffdcf1acd0 a2=1 a3=ffffa0828020 items=0 ppid=1 pid=656 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="(systemd)" exe="/lib/systemd/systemd" key=(null)
[ 22.918049] audit: type=1327 audit(1690365191.700:2): proctitle="(systemd)"
[ OK ] Started User Manager for UID 0.
[ OK ] Started Session c1 of User root.
[ OK ] Started containerd container runtime.
[ OK ] Reached target Multi-User System.
[ 23.727673] audit: type=1006 audit(1690365192.548:3): pid=645 uid=0 old-auid=4294967295 auid=0 tty=tty7 old-ses=4294967295 ses=2 res=1[ 23.740728] audit: type=1300 audit(1690365192.548:3): arch=c00000b7 syscall=64 success=yes exit=1 a0=8 a1=ffffdcf1acd0 a2=1 a3=ffffa0828020 items=0 ppid=1 pid=645 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=tty7 ses=2 comm="(weston)" exe="/lib/systemd/systemd" key=(null)[ 23.766854] audit: type=1327 audit(1690365192.548:3): proctitle="(weston)"[ 24.674026] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready[ 24.680657] imx-dwmac 30bf0000.ethernet eth1: Link is Up - 1Gbps/Full - flow control off[ OK ] Started Weston, a Wayland …mpositor, as a system service.[ OK ] Reached target Graphical Interface. Starting Update Record Runlevel Change in UTMP about System Runlevel Changes...[ OK ] Started Update Finished Record Runlevel Change in UTMP about System Runlevel Changes.[ 14 OK ] Stopped ISP i.MX 8Mplus daemon.202608] [drm OK ] Cannot find any crtc or sizesStarted ISP i.MX 8Mplus daemon.
NXP i.MX Release Distro 5.415-zeus kirkstone desk-mx8mp ttymxc1
desk-mx8mp login:rootroot@desk-mx8mp:~#
</pre>
The following message appears from the VM, when the rootfs is mounted:
<pre>
dvdk@vagrant:~/nfs_rootfs$ cat /var/log/syslog | tail -n 2Feb 27 Jul 26 11:3952:28 45 vagrant systemdtftpd[113249]: Started Clean php session filestftpd: trying to get file: /tftpboot/desk-mx8m-l/imx8mp-mito8mplus-cb1008.dtbFeb 27 Jul 26 11:4652:29 56 vagrant rpc.mountd[12807808]: authenticated mount request from 192.168.010.8956:863 1004 for /home/dvdk/desk-mx-l/rfs/desk-mx8m-l -4.0.0/mx8mp (/home)</pre> ===Install Module=== Host side, transfer <code>~/desk-mx-l/rfs/desk-mx8m-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-mx8m-l-4.0.0_modules.tar.gz -C / </pre> To check that everything went well, run the following command: <pre>root@desk-mx8mp:~# ls -l /lib/modules/$(uname -r)total 1152lrwxrwxrwx 1 541 502 64 Jun 29 18:58 build -> /home/jenkins/workspace/workspace/DESK-MX8M-L-4.x.x_Linux-kerneldrwxr-xr-x 10 541 502 4096 Jun 29 18:58 kernel-rw-r--r-- 1 541 502 203921 Jun 29 18:58 modules.alias-rw-r--r-- 1 541 502 208115 Jun 29 18:58 modules.alias.bin-rw-r--r-- 1 541 502 36037 Jun 29 18:58 modules.builtin-rw-r--r-- 1 541 502 70747 Jun 29 18:58 modules.builtin.alias.bin-rw-r--r-- 1 541 502 39328 Jun 29 18:58 modules.builtin.bin-rw-r--r-- 1 541 502 229962 Jun 29 18:58 modules.builtin.modinfo-rw-r--r-- 1 541 502 46720 Jun 29 18:58 modules.dep-rw-r--r-- 1 541 502 82895 Jun 29 18:58 modules.dep.bin-rw-r--r-- 1 541 502 146 Jun 29 18:58 modules.devname-rw-r--r-- 1 541 502 31093 Jun 29 18:58 modules.order-rw-r--r-- 1 541 502 366 Jun 29 18:58 modules.softdep-rw-r--r-- 1 541 502 81992 Jun 29 18:58 modules.symbols-rw-r--r-- 1 541 502 105342 Jun 29 18:58 modules.symbols.binlrwxrwxrwx 1 541 502 64 Jun 29 18:58 source -> /home/jenkins/workspace/workspace/DESK-MX8M-L-4.x.x_Linux-kernelroot@desk-mx8mp:~#
</pre>
devwiki_user
120
edits