DESK-MX8M-L/pdf

From DAVE Developer's Wiki
Jump to: navigation, search


History[edit | edit source]

DESK-MX8M-L History
Version Issue Date Notes Refers to

2.0.0

Feb 2023 DESK-MX8M-L-2.0.0 release ORCA
SBC ORCA
MITO 8M Mini

4.0.0

Aug 2023 DESK-MX8M-L-4.0.0 release ORCA
SBC ORCA
MITO 8M Mini
4.1.0 Apr 2024 DESK-MX8M-L-4.1.0 release ORCA-SOM-TOP-render.pngORCA
SBC8MU-1.0.0.pngSBC ORCA
Mito8M Mini-top.pngMITO 8M Mini


General Information[edit | edit source]

Contents

Release Notes[edit | edit source]

DAVE Embedded Systems adds to the latest Linux BSP from NXP the customization required to support the SOC platform. For this reason, most of the documentation provided by NXP remains valid for the DESK development kit.

However, some customization is required, in particular at bootloader and linux kernel levels.

The following table reports the DESK releases information.

DESK version
Release number 4.1.0
Release type Minor
Status Released
Release date Apr 2024
Release notes Ver 4.1.0
Product support ORCA, MITO 8M Mini
MVM (distro version) Ubuntu 20.04
U-Boot version 2022.04-desk-mx8-l-4.0.0
Linux version 5.15.71-desk-mx8-l-4.1.0
Drivers

Audio
Ethernet
HDMI
LVDS
MIPI
SD

UART
USB-C
USB1 OTG
USB2 OTG
PCIe
GPIOs
ConfigID

Manufacturer BSP version rel_imx_5.15.71_2.2.2
Graphic libraries Qt 6.3.2
Build System Yocto Kirkstone (4.0)

DESK-MX8M-L 4.1.0[edit | edit source]

Release notes:

  • MITO 8M Mini
    • add support for mipi2lvds and HDMI panel with capacitive touchscreen
    • add support for AzureWave CM276NF
    • add support for MULTILIB-LIB32
    • refactor of device-tree hierarchy, this feature break compatibility with desk-mx8m-l-4.0.0
  • introduced KAS support for building system
  • update to NXP lf-5.15.71-2.2.2

Known Limitations[edit | edit source]

The following table reports the known limitations of this DESK release:

Issue Description
USB-C 1 limitations Some USB 3.2 Gen1 peripherals connected to USB-C 1 are not working on ORCA SBC
Suspend mode Waken up from suspend mode is not properly working correctly when the DWS add-on module is inserted
zstd package missing on MVM zstd package is needed to build Yocto BSP on MVM, to install it run apt install zstd
Audio subsystem not working correctly Audio subsystem is not configured correctly and sound is not played with the right frequency

Downloadable binary images[edit | edit source]

All binary images for DESK-MX8M-L are hosted on DAVE Embedded System mirror server. There you can find a subdirectory for each version of this development kit.

U-Boot performs a container image providing a single file: flash.bin. The binary file must be stored into SD card using dd command.

A summary of images with a brief description can be found in the table below:

Image DESK version 4.1.0
Platform ORCA SBC SBCX MITO 8M Mini
Carrier Board ConfigID 1008 100A
LCD panel HDMI HDMI (through LVDS to HDMI converter)
Touchscreen capacitive capacitive
flash.bin
(SD or eMMC)
desk-mx8m-l-4.0.0_imx8mp_flash.bin desk-mx8m-l-4.0.0_imx8mm_flash.bin
Linux kernel Image
Device tree imx8mp-mito8mplus-cb1008.dtb imx8mm-mito8mmini-cb100a.dtb
root file system dave-image-devel-desk-mx8mp dave-image-devel-desk-mx8mm

Yocto images and built-in packages[edit | edit source]

Yocto target images for DESK-MX8M-L are hosted on DAVE Embedded System mirror server. There are more build targets which include a list of built and installed packages in the root file system image.

A summary of built images and their included packages can be found in the table below:

Image DESK version 4.1.0
root file system packages list
devel ORCA desk-image-devel-mx8mp.bz2 image-devel_installed-packages.txt
networking ORCA desk-image-networking-mx8mp.bz2 image-networking_installed-packages.txt
qt6 ORCA desk-image-qt6-mx8mp.bz2 image-qt6_installed-packages.txt
devel MITO 8M Mini desk-image-devel-mx8mm.bz2 image-devel_installed-packages.txt
networking MITO 8M Mini desk-image-networking-mx8mm.bz2 image-networking_installed-packages.txt
qt6 MITO 8M Mini desk-image-qt6-mx8mm.bz2 image-qt6_installed-packages.txt
multilib MITO 8M Mini desk-image-devel-mx8mm-multilib.bz2 image-devel_mutilib-installed-packages.txt

DESK-MX8M-L 4.0.0[edit | edit source]

200px-Emblem-important.svg.png

New MVM must be installed for using DESK-MX-L-4.0.0. The VM is available for download on DAVE's XELK Reserved Area for registered users.

Release notes:

  • Stable release based on NXP BSP 5.15.71

Known Limitations[edit | edit source]

The following table reports the known limitations of this DESK release:

Issue Description
USB-C 1 limitations Some USB 3.2 Gen1 peripherals connected to USB-C 1 are not working on ORCA SBC
Suspend mode Waken up from suspend mode is not properly working correctly when the DWS add-on module is inserted
mipi2lvds and lvds2hdmi not working on MITO 8M Mini Display connected to mipi2lvds and lvds2hdmi is not working on MITO 8M Mini Evaluation kit
zstd package missing on MVM zstd package is needed to build Yocto BSP on MVM, to install it run apt install zstd
Audio subsystem not working correctly Audio subsystem is not configured correctly and sound is not played with the right frequency

Downloadable binary images[edit | edit source]

All binary images for DESK-MX8M-L are hosted on DAVE Embedded System mirror server. There you can find a subdirectory for each version of this development kit.

U-Boot performs a container image providing a single file: flash.bin. The binary file must be stored into SD card using dd command.

A summary of images with a brief description can be found in the table below:

Image DESK version 4.0.0
Platform ORCA SBC SBCX MITO 8M Mini
Carrier Board ConfigID 1008 100A
LCD panel HDMI Not Avaible
Touchscreen capacitive Not Avaible
flash.bin
(SD or eMMC)
desk-mx8m-l-4.0.0_imx8mp_flash.bin desk-mx8m-l-4.0.0_imx8mm_flash.bin
Linux kernel Image
Device tree imx8mp-mito8mplus-cb1008.dtb imx8mm-mito8mmini-cb100a.dtb
root file system desk-image-qt6-desk-mx8mp dave-image-devel-desk-mx8mm

Yocto images and built-in packages[edit | edit source]

Yocto target images for DESK-MX8M-L are hosted on DAVE Embedded System mirror server. There are more build targets which include a list of built and installed packages in the root file system image.

A summary of built images and their included packages can be found in the table below:

Image DESK version 4.0.0
root file system packages list
devel ORCA desk-image-devel-mx8mp.bz2 image-devel_installed-packages.txt
networking ORCA desk-image-networking-mx8mp.bz2 image-networking_installed-packages.txt
qt6 ORCA desk-image-qt6-mx8mp.bz2 image-qt6_installed-packages.txt
devel MITO 8M Mini desk-image-devel-mx8mm.bz2 image-devel_installed-packages.txt
networking MITO 8M Mini desk-image-networking-mx8mm.bz2 image-networking_installed-packages.txt
qt6 MITO 8M Mini desk-image-qt6-mx8mm.bz2 image-qt6_installed-packages.txt

DESK-MX8M-L 2.0.0[edit | edit source]

200px-Emblem-important.svg.png

The DESK-MX8M-L-2.0.0 BSP and SDK can be installed starting from DESK-MX6-L 1.0.0 MVM. See the DVDK for release 2.0.0 installation how to for more information.
The DESK-MX6-L 1.0.0 MVM is available for download on DAVE's DESK-MX Reserved Area for registered users.

Release notes:

  • Stable release based on NXP BSP 5.4.70

Known Limitations[edit | edit source]

The following table reports the known limitations of this DESK release:

Issue Description
USB-C 1 not working in U-Boot USB-C 1 not working in ORCA SBC
USB1, USB2 not working in U-Boot USB1, USB2 not working in U-Boot for MITO 8M Mini

Downloadable binary images[edit | edit source]

All binary images for DESK-MX8M-L are hosted on DAVE Embedded System mirror server. There you can find a subdirectory for each version of this development kit.

U-boot performs a container image providing a single file: flash.bin. The binary file must be stored into SD card using dd command.

A summary of images with a brief description can be found into the table below:

Image DESK version 2.0.0
Platform ORCA SBC SBCX MITO 8M Mini
Carrier Board ConfigID 1008 100A
LCD panel HDMI Not Avaible
Touchscreen capacitive Not Avaible
bootscript boot.scr boot.scr
flash.bin
(SD or eMMC)
flash.bin flash.bin
Linux kernel Image
Device tree imx8mp-mito8mplus-cb1008.dtb imx8mm-mito8mmini.dtb
root file system desk-image-qt5-desk-mx8mp dave-image-devel-desk-mx8mm

DESK-MX8M-L 2.0.0-rc2[edit | edit source]

200px-Emblem-important.svg.png

The DESK-MX8M-L-2.0.0 BSP and SDK can be installed starting from DESK-MX6-L 1.0.0 MVM. See the DVDK for release 2.0.0 installation how to for more information.
The DESK-MX6-L 1.0.0 MVM is available for download on DAVE's DESK-MX Reserved Area for registered users.

Release notes:

  • First release based on NXP BSP 5.4.70

Known Limitations[edit | edit source]

The following table reports the known limitations of this DESK release:

Issue Description
HDMI not working HDMI is not working on ORCA SBC. Device tree fixing is required

Release types[edit | edit source]

DESK release type can be:

  • Major, when substantial changes are applied to the BSP (eg: major kernel version upgrades) or to the development kit (eg: new features, build system updates, ..). This usually means that a new DVDK is created for the DESK release
  • Maintenance, when minor updates and bug fixes are introduced. This usually means that the DVDK remains the same provided with the previous major version, and only an update of the source tree repositories (and the tftp binaries) is required

As an example, DESK 2.1.0 is a maintenance release, so it provides the DVDK released with the 2.0.0 major release; customers can easily upgrade to the 1.1.0 release by updating the software components as described in Synchronizing git repositories.

Supported platforms[edit | edit source]

The following table reports the supported platforms in this DESK release:

Platform Description
SBC ORCA Single Board Computer using ORCA SOM as Evaluation Kit
SBC AXEL Single Board Computer using MITO 8M Mini SOM as Evaluation Kit

DESK-MX8M-L/General/DVDK Virtual Machine


ConfigID[edit | edit source]

This article describes how the ConfigID is implemented in the products supported by the DESK-MX8M-L Linux Kit.

Moreover, a system is composed of the combination of a SOM and a carrier board. In this case, two ConfigIDs are used to identify the actual board configuration like it was a SOM+carrier board system.

For the sake of simplicity, the first ConfigID is denoted as SOM ConfigID, while the second one is denoted as CB ConfigID:

MITO 8M Mini[edit | edit source]

As MITO 8M Mini is a system-on-module (SOM), the typical mechanism described here is used.

...
SOM ConfigID#: 00000002
SOM UniqueID#: e317318f:1b1229d4
CB ConfigID#: 0000100a
CB UniqueID#: fb000030:4d8eea2d
Board: MX8MM-Mito8MMini on SBCX
...

ORCA[edit | edit source]

As ORCA is a system-on-module (SOM), the typical mechanism described here is used.

...
SOM ConfigID#: 00000005
SOM UniqueID#: 0002aaff:8aefcecd
CB ConfigID#: 00001008
CB UniqueID#: da000011:0dd2e72d
Board: MX8MP-Mito8MPlus on SBC ORCA
...

Generally speaking[edit | edit source]

  • SOM ConfigID is used to identify the configuration of the basic features of the SOM
  • CB ConfigID is used to identify the peripherals and the I/O interfaces.


200px-Emblem-important.svg.png

NXP silicon manufacturer guarantees that processors UIDs (a.k.a. SOM UniqueID# on DESK-MX8M-L) to be unique over the whole MX8M family



Booting from NFS[edit | edit source]

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:

  • is connected with the target host board through an Ethernet LAN
  • exports the directory containing the root file system for the target through the NFS server
  • runs a TFTP server.
  • has a proper subnet IP address

net_nfs configuration[edit | edit source]

DESK-MX8M-L Virtual Machine is properly configured for the TFTP and NFS debug.

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[edit | edit source]

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.

Check and properly configure the items describe in VirtualBox Network Configuration

Target configuration[edit | edit source]

The IP address for server and target should be configured: an example (for a network subnet 192.168.0.x)

u-boot=> setenv serverip 192.168.10.100
u-boot=> setenv ipaddr 192.168.10.56
u-boot=> setenv gatewayip 192.168.10.254
u-boot=> setenv netmask 255.255.255.0
u-boot=> setenv netdev eth0
  • serverip is the IP address of the host machine running the tftp/nfs server
  • ipaddr is the IP address of the target
  • gatewayip is the gateway address of the target
  • netmask is the netmask address of the target
  • netdev is the name of ethernet interface of the target

For using the DVDK Virtual Machine, a static IP address configuration has been selected, to the U-Boot variable ip_dyn has to be set to no:

u-boot=> setenv ip_dyn no

The kernel and device tree files have to be selected

u-boot=> setenv bootfile /tftpboot/desk-mx8m-l/Image

ORCA has its dtb file imx8mp-mito8mplus-cb1001.dtb

u-boot=> setenv fdt_file /tftpboot/desk-mx8m-l/imx8mp-mito8mplus-cb1008.dtb

while MITO 8M Mini has its own dtb file imx8mm-mito8mmini.dtb

u-boot=> setenv fdt_file /tftpboot/desk-mx8m-l/imx8mm-mito8mmini.dtb

finally, the root file system directory on the Virtual Machine should be configured to let the kernel find the INIT

u-boot=> setenv rootpath /home/dvdk/desk-mx-l/rfs/desk-mx8m-l-4.0.0/mx8mp/

To run this configuration just issue the net_nfs command which firstly downloads the kernel and device tree using the tftp protocol

u-boot=> setenv net_nfs 'run loadk loadfdt nfsargs addip addcons addmisc; if run configid_fixupfdt; then sleep 3; booti ${loadaddr} - ${fdt_addr}; fi'

Here below the complete bootlog from nfs:

u-boot=> run net_nfs 
Using ethernet@30be0000 device
TFTP from server 192.168.10.100; our IP address is 192.168.10.56
Filename '/tftpboot/desk-mx8m-l/Image'.
Load address: 0x40480000
Loading: *#################################################################
	 #################################################################
	 ##############
	 3 MiB/s
done
Bytes transferred = 31351296 (1de6200 hex)
Using ethernet@30be0000 device
TFTP from server 192.168.10.100; our IP address is 192.168.10.56
Filename '/tftpboot/desk-mx8m-l/imx8mp-mito8mplus-cb1008.dtb'.
Load address: 0x43000000
Loading: *############
	 1.2 MiB/s
done
Bytes transferred = 61299 (ef73 hex)
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 0000000043011f72

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.15.71-desk-mx8m-l-4.0.0 (jenkins@focalbakery) (aarch64-poky-linux-gcc (GCC) 11.3.0, GNU ld (GNU Binutils) 2.38.20220708) #1 SMP PREEMPT Thu Jun 29 20:50:11 CEST 2023
[    0.000000] Machine model: i.MX8MPlus Mito8MPlus on SBC Orca - adapter LVDS HDMI
[    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 0x1bf449800-0x1bf44bfff]
[    0.000000] Zone ranges:
[    0.000000]   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 0x0000000092400000-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.2
[    0.000000] percpu: Embedded 20 pages/cpu s41368 r8192 d32360 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] Built 1 zonelists, mobility grouping on.  Total pages: 1540096
[    0.000000] Policy zone: Normal
[    0.000000] Kernel command line: root=/dev/nfs rw nfsroot=192.168.10.100:/home/dvdk/desk-mx-l/rfs/desk-mx8m-l-4.0.0/mx8mp/,v3,tcp ip=192.168.10.56:192.168.10.100:192.168.10.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 0x00000000c0000000-0x00000000c4000000] (64MB)
[    0.000000] Memory: 4752040K/6258688K available (18688K kernel code, 1560K rwdata, 7244K rodata, 3008K init, 543K bss, 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] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 160 SPIs implemented
[    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: CPU0: found redistributor 0 region 0:0x0000000038880000
[    0.000000] ITS: No ITS available, not enabling LPIs
[    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.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: detected: 32-bit EL1 Support
[    0.005099] CPU features: detected: CRC32 instructions
[    0.013007] CPU: All CPU(s) started at EL2
[    0.013041] alternatives: patching kernel code
[    0.014740] devtmpfs: initialized
[    0.023103] KASLR disabled due to lack of seed
[    0.023242] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.023258] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.051091] pinctrl core: initialized pinctrl subsystem
[    0.051584] DMI not present or invalid.
[    0.052185] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.057111] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations
[    0.057588] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.058153] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.058245] audit: initializing netlink subsys (disabled)
[    0.058443] audit: type=2000 audit(0.056:1): state=initialized audit_enabled=0 res=1
[    0.059004] thermal_sys: Registered thermal governor 'step_wise'
[    0.059009] thermal_sys: Registered thermal governor 'power_allocator'
[    0.059287] cpuidle: using governor menu
[    0.059500] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.059583] ASID allocator initialised with 65536 entries
[    0.060670] Serial: AMBA PL011 UART driver
[    0.060728] imx mu driver is registered.
[    0.060748] imx rpmsg driver is registered.
[    0.071830] imx8mp-pinctrl 30330000.pinctrl: initialized IMX pinctrl driver
[    0.081199] platform 32c00000.bus:ldb@32ec005c: Fixing up cyclic dependency with 32e90000.lcd-controller
[    0.087724] platform 32fd8000.hdmi: Fixing up cyclic dependency with 32fc6000.lcd-controller
[    0.110049] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.110066] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.110075] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.110084] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.111215] cryptd: max_cpu_qlen set to 1000
[    0.114238] ACPI: Interpreter disabled.
[    0.114999] iommu: Default domain type: Translated 
[    0.115008] iommu: DMA domain TLB invalidation policy: strict mode 
[    0.115141] vgaarb: loaded
[    0.115409] SCSI subsystem initialized
[    0.115707] usbcore: registered new interface driver usbfs
[    0.115744] usbcore: registered new interface driver hub
[    0.115774] usbcore: registered new device driver usb
[    0.116899] mc: Linux media interface: v0.10
[    0.116924] videodev: Linux video capture interface: v2.00
[    0.117002] pps_core: LinuxPPS API ver. 1 registered
[    0.117008] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.117024] PTP clock support registered
[    0.117201] EDAC MC: Ver: 3.0.0
[    0.118325] FPGA manager framework
[    0.118410] Advanced Linux Sound Architecture Driver Initialized.
[    0.118894] Bluetooth: Core ver 2.22
[    0.118919] NET: Registered PF_BLUETOOTH protocol family
[    0.118927] Bluetooth: HCI device and connection manager initialized
[    0.118936] Bluetooth: HCI socket layer initialized
[    0.118945] Bluetooth: L2CAP socket layer initialized
[    0.118959] Bluetooth: SCO socket layer initialized
[    0.119745] clocksource: Switched to clocksource arch_sys_counter
[    0.119882] VFS: Disk quotas dquot_6.6.0
[    0.119931] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.120075] pnp: PnP ACPI: disabled
[    0.125933] NET: Registered PF_INET protocol family
[    0.126175] IP idents hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.129066] tcp_listen_portaddr_hash hash table entries: 4096 (order: 4, 65536 bytes, linear)
[    0.129174] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.129193] TCP established hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.129602] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes, linear)
[    0.130467] TCP: Hash tables configured (established 65536 bind 65536)
[    0.130570] UDP hash table entries: 4096 (order: 5, 131072 bytes, linear)
[    0.130725] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes, linear)
[    0.130987] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.131404] RPC: Registered named UNIX socket transport module.
[    0.131411] RPC: Registered udp transport module.
[    0.131415] RPC: Registered tcp transport module.
[    0.131422] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.132141] PCI: CLS 0 bytes, default 64
[    0.132783] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    0.133572] kvm [1]: IPA Size Limit: 40 bits
[    0.135214] kvm [1]: GICv3: no GICV resource entry
[    0.135221] kvm [1]: disabling GICv2 emulation
[    0.135235] kvm [1]: GIC system register CPU interface enabled
[    0.135324] kvm [1]: vgic interrupt IRQ9
[    0.135434] kvm [1]: Hyp mode initialized successfully
[    0.138714] Initialise system trusted keyrings
[    0.138862] workingset: timestamp_bits=42 max_order=21 bucket_order=0
[    0.144847] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.145412] NFS: Registering the id_resolver key type
[    0.145456] Key type id_resolver registered
[    0.145462] Key type id_legacy registered
[    0.145534] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.145541] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.145563] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.145881] 9p: Installing v9fs 9p2000 file system support
[    0.181913] Key type asymmetric registered
[    0.181922] Asymmetric key parser 'x509' registered
[    0.181970] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
[    0.181978] io scheduler mq-deadline registered
[    0.181986] io scheduler kyber registered
[    0.189113] EINJ: ACPI disabled.
[    0.199773] imx-sdma 30bd0000.dma-controller: Direct firmware load for imx/sdma/sdma-imx7d.bin failed with error -2
[    0.199794] imx-sdma 30bd0000.dma-controller: Falling back to sysfs fallback for: imx/sdma/sdma-imx7d.bin
[    0.201537] mxs-dma 33000000.dma-apbh: initialized
[    0.203215] SoC: i.MX8MP revision 1.1
[    0.203857] Bus freq driver module loaded
[    0.210209] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.212539] 30860000.serial: ttymxc0 at MMIO 0x30860000 (irq = 31, base_baud = 5000000) is a IMX
[    0.213022] 30880000.serial: ttymxc2 at MMIO 0x30880000 (irq = 32, base_baud = 5000000) is a IMX
[    0.213423] 30890000.serial: ttymxc1 at MMIO 0x30890000 (irq = 33, base_baud = 1500000) is a IMX
[    1.335825] printk: console [ttymxc1] enabled
[    1.355599] loop: module loaded
[    1.360173] megasas: 07.717.02.00-rc1
[    1.365502] imx ahci driver is registered.
[    1.371351] SPI driver spidev has no spi_device_id for spidev
[    1.377113] SPI driver spidev has no spi_device_id for dave,sbcx-exp
[    1.387662] tun: Universal TUN/TAP device driver, 1.6
[    1.392902] CAN device driver interface
[    1.398172] thunder_xcv, ver 1.0
[    1.401442] thunder_bgx, ver 1.0
[    1.404710] nicpf, ver 1.0
[    1.409904] hclge is initializing
[    1.413242] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - version
[    1.420471] hns3: Copyright (c) 2017 Huawei Corporation.
[    1.425836] e1000: Intel(R) PRO/1000 Network Driver
[    1.430721] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    1.436502] e1000e: Intel(R) PRO/1000 Network Driver
[    1.441471] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    1.447436] igb: Intel(R) Gigabit Ethernet Network Driver
[    1.452841] igb: Copyright (c) 2007-2014 Intel Corporation.
[    1.458445] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[    1.464723] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    1.470843] sky2: driver version 1.30
[    1.475206] usbcore: registered new interface driver r8152
[    1.480945] VFIO - User Level meta-driver version: 0.3
[    1.491762] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.498360] ehci-pci: EHCI PCI platform driver
[    1.502853] ehci-platform: EHCI generic platform driver
[    1.508326] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.514537] ohci-pci: OHCI PCI platform driver
[    1.519026] ohci-platform: OHCI generic platform driver
[    1.525175] usbcore: registered new interface driver uas
[    1.530540] usbcore: registered new interface driver usb-storage
[    1.536619] usbcore: registered new interface driver usbserial_generic
[    1.543172] usbserial: USB Serial support registered for generic
[    1.549206] usbcore: registered new interface driver ftdi_sio
[    1.554976] usbserial: USB Serial support registered for FTDI USB Serial Device
[    1.562323] usbcore: registered new interface driver usb_serial_simple
[    1.568875] usbserial: USB Serial support registered for carelink
[    1.574988] usbserial: USB Serial support registered for zio
[    1.580671] usbserial: USB Serial support registered for funsoft
[    1.586693] usbserial: USB Serial support registered for flashloader
[    1.593068] usbserial: USB Serial support registered for google
[    1.599007] usbserial: USB Serial support registered for libtransistor
[    1.605556] usbserial: USB Serial support registered for vivopay
[    1.611583] usbserial: USB Serial support registered for moto_modem
[    1.617875] usbserial: USB Serial support registered for motorola_tetra
[    1.624516] usbserial: USB Serial support registered for nokia
[    1.630369] usbserial: USB Serial support registered for novatel_gps
[    1.636744] usbserial: USB Serial support registered for hp4x
[    1.642517] usbserial: USB Serial support registered for suunto
[    1.648455] usbserial: USB Serial support registered for siemens_mpi
[    1.654841] usbcore: registered new interface driver usb_ehset_test
[    1.665735] snvs_rtc 30370000.snvs:snvs-rtc-lp: registered as rtc0
[    1.671962] snvs_rtc 30370000.snvs:snvs-rtc-lp: setting system clock to 2023-07-26T09:52:50 UTC (1690365170)
[    1.681948] i2c_dev: i2c /dev entries driver
[    1.688387] Driver for 1-wire Dallas network protocol.
[    1.696911] Bluetooth: HCI UART driver ver 2.3
[    1.701383] Bluetooth: HCI UART protocol H4 registered
[    1.706529] Bluetooth: HCI UART protocol BCSP registered
[    1.711865] Bluetooth: HCI UART protocol LL registered
[    1.717011] Bluetooth: HCI UART protocol ATH3K registered
[    1.722439] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    1.728818] Bluetooth: HCI UART protocol Broadcom registered
[    1.734500] Bluetooth: HCI UART protocol QCA registered
[    1.739968] EDAC MC: ECC not enabled
[    1.745045] sdhci: Secure Digital Host Controller Interface driver
[    1.751246] sdhci: Copyright(c) Pierre Ossman
[    1.756455] Synopsys Designware Multimedia Card Interface Driver
[    1.763293] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.771334] ledtrig-cpu: registered to indicate activity on CPUs
[    1.778302] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[    1.785251] usbcore: registered new interface driver usbhid
[    1.790837] usbhid: USB HID core driver
[    1.800286]  cs_system_cfg: CoreSight Configuration manager initialised
[    1.801888] mmc2: SDHCI controller on 30b60000.mmc [30b60000.mmc] using ADMA
[    1.808612] optee: probing for conduit method.
[    1.818449] optee: revision 3.19 (00919403)
[    1.819278] optee: dynamic shared memory is enabled
[    1.828702] optee: initialized driver
[    1.835068] Galcore version 6.4.3.p4.398061
[    1.897395] mmc2: new HS400 Enhanced strobe MMC card at address 0001
[    1.905453] mmcblk2: mmc2:0001 DG4008 7.28 GiB 
[    1.912620]  mmcblk2: p1 p2
[    1.917199] mmcblk2boot0: mmc2:0001 DG4008 4.00 MiB 
[    1.923946] mmcblk2boot1: mmc2:0001 DG4008 4.00 MiB 
[    1.930831] mmcblk2rpmb: mmc2:0001 DG4008 4.00 MiB, chardev (234:0)
[    1.952496] [drm] Initialized vivante 1.0.0 20170808 for 40000000.mix_gpu_ml on minor 0
[    1.961940] hantrodec 0 : module inserted. Major = 510
[    1.967545] hantrodec 1 : module inserted. Major = 510
[    1.974110] hantroenc: HW at base <0000000038320000> with ID <0x80006200>
[    1.981044] hx280enc: module inserted. Major <509>
[    1.989485] NET: Registered PF_LLC protocol family
[    1.994787] NET: Registered PF_INET6 protocol family
[    2.002043] Segment Routing with IPv6
[    2.005755] In-situ OAM (IOAM) with IPv6
[    2.009725] NET: Registered PF_PACKET protocol family
[    2.014810] can: controller area network core
[    2.019207] NET: Registered PF_CAN protocol family
[    2.024019] can: raw protocol
[    2.026989] can: broadcast manager protocol
[    2.031190] can: netlink gateway - max_hops=1
[    2.036279] Bluetooth: RFCOMM TTY layer initialized
[    2.041192] Bluetooth: RFCOMM socket layer initialized
[    2.046362] Bluetooth: RFCOMM ver 1.11
[    2.050128] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    2.055446] Bluetooth: BNEP filters: protocol multicast
[    2.060681] Bluetooth: BNEP socket layer initialized
[    2.065651] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    2.071581] Bluetooth: HIDP socket layer initialized
[    2.077592] 8021q: 802.1Q VLAN Support v1.8
[    2.081806] lib80211: common routines for IEEE802.11 drivers
[    2.087923] 9pnet: Installing 9P2000 support
[    2.092224] tsn generic netlink module v1 init...
[    2.097031] Key type dns_resolver registered
[    2.102197] Loading compiled-in X.509 certificates
[    2.131413] regulator-se050-en GPIO handle specifies active low - ignored
[    2.140742] i2c i2c-0: IMX I2C adapter registered
[    2.146393] i2c 1-003c: Fixing up cyclic dependency with 32e40000.csi
[    2.153133] ov5640 1-003c: supply DOVDD not found, using dummy regulator
[    2.159926] ov5640 1-003c: supply AVDD not found, using dummy regulator
[    2.166603] ov5640 1-003c: supply DVDD not found, using dummy regulator
[    2.175534] i2c i2c-1: IMX I2C adapter registered
[    2.181406] i2c 2-003c: Fixing up cyclic dependency with 32e50000.csi
[    2.188157] ov5640 2-003c: supply DOVDD not found, using dummy regulator
[    2.194960] ov5640 2-003c: supply AVDD not found, using dummy regulator
[    2.201622] ov5640 2-003c: supply DVDD not found, using dummy regulator
[    2.214438] i2c i2c-2: IMX I2C adapter registered
[    2.220302] i2c 5-004c: Fixing up cyclic dependency with 32c00000.bus:ldb@32ec005c
[    2.313322] i2c i2c-5: IMX I2C adapter registered
[    2.318968] imx8mq-usb-phy 381f0040.usb-phy: supply vbus not found, using dummy regulator
[    2.327483] imx8mq-usb-phy 382f0040.usb-phy: supply vbus not found, using dummy regulator
[    2.338004] imx6q-pcie 33800000.pcie: supply epdev_on not found, using dummy regulator
[    2.346340] imx6q-pcie 33800000.pcie: EXT REF_CLK is used!.
[    2.352545] imx6q-pcie 33800000.pcie: PCIe PHY PLL clock is locked.
[    2.359804] pps pps0: new PPS source ptp0
[    2.371856] fec 30be0000.ethernet eth0: registered PHC device 0
[    2.378677] imx-dwmac 30bf0000.ethernet: IRQ eth_lpi not found
[    2.385090] imx-dwmac 30bf0000.ethernet: User ID: 0x10, Synopsys ID: 0x51
[    2.388131] imx6q-pcie 33800000.pcie: PCIe PLL is locked.
[    2.391909] imx-dwmac 30bf0000.ethernet: 	DWMAC4/5
[    2.397342] imx6q-pcie 33800000.pcie: iATU unroll: enabled
[    2.402093] imx-dwmac 30bf0000.ethernet: DMA HW capability register supported
[    2.407579] imx6q-pcie 33800000.pcie: Detected iATU regions: 4 outbound, 4 inbound
[    2.414715] imx-dwmac 30bf0000.ethernet: RX Checksum Offload Engine supported
[    2.422292] imx6q-pcie 33800000.pcie: host bridge /soc@0/pcie@33800000 ranges:
[    2.429422] imx-dwmac 30bf0000.ethernet: TX Checksum insertion supported
[    2.436648] imx6q-pcie 33800000.pcie:   No bus range found for /soc@0/pcie@33800000, using [bus 00-ff]
[    2.443346] imx-dwmac 30bf0000.ethernet: Wake-Up On Lan supported
[    2.452673] imx6q-pcie 33800000.pcie:       IO 0x001ff80000..0x001ff8ffff -> 0x0000000000
[    2.458796] imx-dwmac 30bf0000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    2.466932] imx6q-pcie 33800000.pcie:      MEM 0x0018000000..0x001fefffff -> 0x0018000000
[    2.474585] imx-dwmac 30bf0000.ethernet: Enabled L3L4 Flow TC (entries=8)
[    2.482838] imx6q-pcie 33800000.pcie: iATU unroll: enabled
[    2.489554] imx-dwmac 30bf0000.ethernet: Enabled RFS Flow TC (entries=8)
[    2.495037] imx6q-pcie 33800000.pcie: Detected iATU regions: 4 outbound, 4 inbound
[    2.501779] imx-dwmac 30bf0000.ethernet: Enabling HW TC (entries=256, max_off=256)
[    2.516888] imx-dwmac 30bf0000.ethernet: Using 34 bits DMA width
[    2.526985] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    2.532522] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
[    2.540526] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220fe6d hci version 0x110 quirks 0x0000002001010010
[    2.549969] xhci-hcd xhci-hcd.1.auto: irq 77, io mem 0x38100000
[    2.556002] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    2.561505] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
[    2.569181] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[    2.576661] hub 1-0:1.0: USB hub found
[    2.580453] hub 1-0:1.0: 1 port detected
[    2.584669] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    2.593789] hub 2-0:1.0: USB hub found
[    2.597573] hub 2-0:1.0: 1 port detected
[    2.602487] dwc3 38200000.usb: Configuration mismatch. dr_mode forced to gadget
[    2.609675] imx6q-pcie 33800000.pcie: Link up
[    2.611711] gpio-42 (onewire): enforced open drain please flag it properly in DT/ACPI DSDT/board file
[    2.624836] imx-cpufreq-dt imx-cpufreq-dt: cpu speed grade 7 mkt segment 2 supported-hw 0x80 0x4
[    2.637462] mxc-mipi-csi2-sam 32e40000.csi: supply mipi-phy not found, using dummy regulator
[    2.637622] sdhci-esdhc-imx 30b50000.mmc: Got CD GPIO
[    2.646280] : mipi_csis_imx8mp_phy_reset, No remote pad found!
[    2.656888] mxc-mipi-csi2-sam 32e40000.csi: lanes: 2, hs_settle: 13, clk_settle: 2, wclk: 1, freq: 500000000
[    2.660539] w1_master_driver w1_bus_master1: Attaching one wire slave 2d.000035c49266 crc 4e
[    2.667797] mxc-mipi-csi2-sam 32e50000.csi: supply mipi-phy not found, using dummy regulator
[    2.683966] : mipi_csis_imx8mp_phy_reset, No remote pad found!
[    2.684709] mmc1: SDHCI controller on 30b50000.mmc [30b50000.mmc] using ADMA
[    2.689865] mxc-mipi-csi2-sam 32e50000.csi: lanes: 2, hs_settle: 13, clk_settle: 2, wclk: 1, freq: 266000000
[    2.708680] isi-capture 32e00000.isi:cap_device: deferring 32e00000.isi:cap_device device registration
[    2.712071] imx6q-pcie 33800000.pcie: Link up
[    2.718948] mxc-isi 32e00000.isi: mxc_isi.0 registered successfully
[    2.722386] imx6q-pcie 33800000.pcie: Link up, Gen2
[    2.730395] isi-capture 32e02000.isi:cap_device: deferring 32e02000.isi:cap_device device registration
[    2.742977] mxc-isi 32e02000.isi: mxc_isi.1 registered successfully
[    2.745487] mmc1: host does not support reading read-only switch, assuming write-enable
[    2.752485] dwhdmi-imx 32fd8000.hdmi: Detected HDMI TX controller v2.13a with HDCP (samsung_dw_hdmi_phy2)
[    2.761488] mmc1: new high speed SDHC card at address e624
[    2.769385] dwhdmi-imx 32fd8000.hdmi: registered DesignWare HDMI I2C bus driver
[    2.773242] mmcblk1: mmc1:e624 SA32G 29.7 GiB 
[    2.782094] imx-drm display-subsystem: bound imx-lcdifv3-crtc.0 (ops lcdifv3_crtc_ops)
[    2.787214]  mmcblk1: p1 p2
[    2.792118] imx-drm display-subsystem: bound imx-lcdifv3-crtc.1 (ops lcdifv3_crtc_ops)
[    2.803054] imx-drm display-subsystem: bound 32c00000.bus:ldb@32ec005c (ops imx8mp_ldb_ops)
[    2.811456] imx-drm display-subsystem: bound 32fd8000.hdmi (ops dw_hdmi_imx_ops)
[    2.819374] [drm] Initialized imx-drm 1.0.0 20120507 for display-subsystem on minor 1
[    2.834708] mmc0: SDHCI controller on 30b40000.mmc [30b40000.mmc] using ADMA
[    2.840066] imx6q-pcie 33800000.pcie: Link up
[    2.846229] imx6q-pcie 33800000.pcie: PCI host bridge to bus 0000:00
[    2.847760] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[    2.852612] pci_bus 0000:00: root bus resource [bus 00-ff]
[    2.864635] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    2.870830] pci_bus 0000:00: root bus resource [mem 0x18000000-0x1fefffff]
[    2.877734] pci 0000:00:00.0: [16c3:abcd] type 01 class 0x060400
[    2.881480] mmc0: queuing unknown CIS tuple 0x01 [d9 01 ff] (3 bytes)
[    2.883755] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
[    2.896478] pci 0000:00:00.0: reg 0x38: [mem 0x00000000-0x0000ffff pref]
[    2.903230] pci 0000:00:00.0: supports D1
[    2.904523] mmc0: queuing unknown CIS tuple 0x1a [01 01 00 02 07] (5 bytes)
[    2.907253] pci 0000:00:00.0: PME# supported from D0 D1 D3hot D3cold
[    2.920758] mmc0: queuing unknown CIS tuple 0x1b [c1 41 30 30 ff ff 32 00] (8 bytes)
[    2.923524] pci 0000:01:00.0: [1912:0015] type 00 class 0x0c0330
[    2.930255] mmc0: queuing unknown CIS tuple 0x14 [] (0 bytes)
[    2.934603] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00001fff 64bit]
[    2.947439] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    2.966965] pci 0000:00:00.0: BAR 0: assigned [mem 0x18000000-0x180fffff]
[    2.973800] pci 0000:00:00.0: BAR 14: assigned [mem 0x18100000-0x181fffff]
[    2.980704] mmc0: new high speed SDIO card at address 0001
[    2.983832] pci 0000:00:00.0: BAR 6: assigned [mem 0x18200000-0x1820ffff pref]
[    2.993743] pci 0000:01:00.0: BAR 0: assigned [mem 0x18100000-0x18101fff 64bit]
[    3.001109] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    3.006350] pci 0000:00:00.0:   bridge window [mem 0x18100000-0x181fffff]
[    3.013507] pcieport 0000:00:00.0: PME: Signaling with IRQ 242
[    3.019498] pci 0000:01:00.0: enabling device (0000 -> 0002)
[    3.056014] hub 1-1:1.0: USB hub found
[    3.060012] hub 1-1:1.0: 4 ports detected
[    3.182267] usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd
[    3.328595] hub 2-1:1.0: USB hub found
[    3.333068] hub 2-1:1.0: 4 ports detected
[    3.511287] Console: switching to colour frame buffer device 160x45
[    3.533422] imx-drm display-subsystem: [drm] fb0: imx-drmdrmfb frame buffer device
[    3.545381] isi-m2m 32e00000.isi:m2m_device: Register m2m success for ISI.0
[    3.558258] Generic PHY 30be0000.ethernet-1:08: attached PHY driver (mii_bus:phy_addr=30be0000.ethernet-1:08, irq=POLL)
[    3.712379] Hot alarm is canceled. GPU3D clock will return to 64/64
[    7.649184] fec 30be0000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[    7.660396] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    7.680063] IP-Config: Complete:
[    7.683290]      device=eth0, hwaddr=da:2c:c3:a1:70:74, ipaddr=192.168.10.56, mask=255.255.255.0, gw=192.168.10.254
[    7.693741]      host=desk-mx, domain=, nis-domain=(none)
[    7.699148]      bootserver=192.168.10.100, rootserver=192.168.10.100, rootpath=
[    7.699275] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    7.717997] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    7.724630] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    7.733258] platform regulatory.0: Falling back to sysfs fallback for: regulatory.db
[    7.743582] ALSA device list:
[    7.746577]   No soundcards found.
[    7.779341] VFS: Mounted root (nfs filesystem) on device 0:21.
[    7.786366] devtmpfs: mounted
[    7.790046] Freeing unused kernel memory: 3008K
[    7.808130] Run /sbin/init as init process
[    8.162684] systemd[1]: systemd 250.5+ running in system mode (+PAM -AUDIT -SELINUX -APPARMOR +IMA -SMACK +SECCOMP -GCRYPT -GNUTLS -OPENSSL +ACL +BLKID -CURL -ELFUTILS -FIDO2 -IDN2 -IDN -IPTC +KMOD -LIBCRYPTSETUP +LIBFDISK -PCRE2 -PWQUALITY -P11KIT -QRENCODE -BZIP2 -LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=hybrid)
[    8.194573] systemd[1]: Detected architecture arm64.

Welcome to NXP i.MX Release Distro 5.15-kirkstone (kirkstone)!

[    8.292660] systemd[1]: Hostname set to <desk-mx8mp>.
[    8.315686] systemd[1]: Initializing machine ID from random generator.
[    8.454934] systemd-sysv-generator[192]: SysV service '/etc/init.d/single' lacks a native systemd unit 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.
[    8.484897] systemd-sysv-generator[192]: SysV service '/etc/init.d/halt' lacks a native systemd unit 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.
[    8.533352] systemd-sysv-generator[192]: SysV service '/etc/init.d/sendsigs' lacks a native systemd unit 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.
[    8.560790] systemd-sysv-generator[192]: SysV service '/etc/init.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, in order to make it more safe and robust.
[    8.606224] systemd-sysv-generator[192]: SysV service '/etc/init.d/rc.local' lacks a native systemd unit 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.
[    8.634155] systemd-sysv-generator[192]: SysV service '/etc/init.d/reboot' lacks a native systemd unit 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.
[    8.663799] systemd-sysv-generator[192]: SysV service '/etc/init.d/umountnfs.sh' lacks a native systemd unit 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.
[    8.691554] systemd-sysv-generator[192]: SysV service '/etc/init.d/save-rtc.sh' lacks a native systemd unit 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.
[    8.795127] systemd[183]: /lib/systemd/system-generators/systemd-gpt-auto-generator failed with exit status 1.
[   10.183524] systemd[1]: Queued start job for default target Graphical Interface.
[   10.246267] systemd[1]: Created slice Slice /system/getty.
[  OK  ] Created slice Slice /system/getty.
[   10.270241] systemd[1]: Created slice Slice /system/modprobe.
[  OK  ] Created slice Slice /system/modprobe.
[   10.294876] systemd[1]: Created slice Slice /system/serial-getty.
[  OK  ] Created slice Slice /system/serial-getty.
[   10.318632] systemd[1]: Created slice User 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 Host 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 Remote File Systems.
[   10.456179] systemd[1]: Reached target Slice Units.
[  OK  ] Reached target Slice 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=!/).
[   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...
         Starting Generate network …ts from Kernel command line...
[   11.133852] systemd[1]: Starting Remount Root and Kernel File Systems...
         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 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  ] Mounted 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  ] Finished Load Kernel Module 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  ] Finished Apply Kernel Variables.
         Mounting Kernel Configuration File System...
         Starting Flush Journal to Persistent Storage...
         Starting Create System Users...
[   11.533452] systemd-journald[201]: Received client request to flush runtime journal.
[  OK  ] Mounted Kernel Configuration File System.
[  OK  ] Finished Flush Journal to Persistent Storage.
[  OK  ] 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.
         Mounting /var/volatile...
         Starting Rule-based Manage…for Device Events and Files...
[  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 Rule-based Manager for Device Events and Files.
[  OK  ] Finished Create Volatile Files and Directories.
         Starting Rebuild Journal Catalog...
         Starting Network Time Synchronization...
         Starting Record System Boot/Shutdown in UTMP...
[  OK  ] Finished Record System Boot/Shutdown in UTMP.
[  OK  ] Finished Rebuild Journal Catalog.
[  OK  ] Reached target Hardware activated USB gadget.
[  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 Timer 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 sshd.socket.
[  OK  ] Listening on Weston socket.
[  OK  ] Reached target Socket Units.
[  OK  ] Reached target Basic System.
[  OK  ] Started Job spooling tools.
[  OK  ] Started Periodic Command Scheduler.
         Starting D-Bus System Message Bus...
[  OK  ] Started Linux 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...
[  OK  ] Started System Logging Service.
         Starting User Login Management...
[  OK  ] Started TEE Supplicant.
         Starting OpenSSH Key Generation...
[  OK  ] Started D-Bus System Message Bus.
[  OK  ] Finished IPv6 Packet Filtering Framework.
[  OK  ] Finished IPv4 Packet Filtering Framework.
[  OK  ] Finished Network Time Service (one-shot ntpdate mode).
[  OK  ] Reached target Preparation for Network.
         Starting Connection service...
         Starting Network Configuration...
[  OK  ] Started Telephony service.
[  OK  ] Started Connection service.
         Starting Avahi mDNS/DNS-SD Stack...
[  OK  ] Started User Login Management.
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
         Starting WPA supplicant...
         Starting Hostname Service...
[  OK  ] Started Network Configuration.
[  OK  ] Started WPA supplicant.
[  OK  ] Reached target Network.
         Starting containerd 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 /etc/rc.local Compatibility.
[  OK  ] Finished Permit User Sessions.
[  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 Record Runlevel Change in UTMP...
[  OK  ] Finished Record Runlevel Change in UTMP.
[  OK  ] Stopped ISP i.MX 8Mplus daemon.
[  OK  ] Started ISP i.MX 8Mplus daemon.

NXP i.MX Release Distro 5.15-kirkstone desk-mx8mp ttymxc1

desk-mx8mp login: root
root@desk-mx8mp:~# 

The following message appears from the VM, when the rootfs is mounted:

dvdk@vagrant:~$ cat /var/log/syslog | tail -n 2
Jul 26 11:52:45 vagrant tftpd[13249]: tftpd: trying to get file: /tftpboot/desk-mx8m-l/imx8mp-mito8mplus-cb1008.dtb
Jul 26 11:52:56 vagrant rpc.mountd[808]: authenticated mount request from 192.168.10.56:1004 for /home/dvdk/desk-mx-l/rfs/desk-mx8m-l-4.0.0/mx8mp (/home)

Install Module[edit | edit source]

Host side, transfer ~/desk-mx-l/rfs/desk-mx8m-l-4.0.0_modules.tar.gz file on target.

Target side execute the follow command:

root@desk-mx6ul-axelulite:~# tar xvzf desk-mx8m-l-4.0.0_modules.tar.gz -C /                                                                                                                 

To check that everything went well, run the following command:

root@desk-mx8mp:~# ls -l /lib/modules/$(uname -r)
total 1152
lrwxrwxrwx  1 541 502     64 Jun 29 18:58 build -> /home/jenkins/workspace/workspace/DESK-MX8M-L-4.x.x_Linux-kernel
drwxr-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.bin
lrwxrwxrwx  1 541 502     64 Jun 29 18:58 source -> /home/jenkins/workspace/workspace/DESK-MX8M-L-4.x.x_Linux-kernel
root@desk-mx8mp:~#

Boot via NFS with default environment[edit | edit source]

In DESK-MX8M-L-4.0.0, U-Boot default envirounment has already all command, and variables, to perform boot via NFS, without apply any manual change to U-Boot environment, apart from IP address. All binaries are in DESK-MX8M-L-4.0.0 Virtual Machine. The rootfs installed on DESK-MX8M-L-4.0.0 Virtual Machine have already module installed.


U-Boot SPL 2022.04-desk-mx8m-l-4.0.0 (Jul 26 2023 - 15:37:11 +0200)
WARNING: SOM ConfigID on block 0 is UNLOCKED
SOM ConfigID#: 00000005
DDRINFO: start DRAM init
DDRINFO: DRAM rate 4000MTS
DDRINFO:ddrphy calibration done
DDRINFO: ddrmix config done
Normal Boot
Trying to boot from BOOTROM
Boot Stage: Primary boot
image offset 0x8000, pagesize 0x200, ivt offset 0x0
WARNING: CB ConfigID on block 0 is UNLOCKED
Failed to find node!, err: -1!
Failed to find node!, err: -1!
NOTICE:  BL31: v2.6(release):desk-mx8m-l-4.0.0-0-gb55505767
NOTICE:  BL31: Built : 13:42:25, Jul 26 2023


U-Boot 2022.04-desk-mx8m-l-4.0.0 (Jul 26 2023 - 15:37:11 +0200)

CPU:   Freescale i.MX8MP[8] rev1.1 1600 MHz (running at 1200 MHz)
CPU:   Industrial temperature grade (-40C to 105C) at 55C
Reset cause: POR
Model: DAVE i.MX8MPlus on SBC ORCA Rev A
DRAM:  6 GiB
Relocating to fff05000, new gd at fdbffda0, sp at fdbf5350
WARNING: CB ConfigID on block 0 is UNLOCKED
TCPC:  Vendor ID [0x1fc9], Product ID [0x5110], Addr [I2C2 0x50]
TCPC:  Vendor ID [0x0], Product ID [0x202], Addr [I2C2 0x3d]
Core:  175 devices, 20 uclasses, devicetree: fit
MMC:   FSL_SDHC: 1, FSL_SDHC: 2
Loading Environment from MMC... *** Warning - bad CRC, using default environment

Fail to setup video link
In:    serial
Out:   serial
Err:   serial

 BuildInfo:
  - ATF b555057

WARNING: SOM ConfigID on block 0 is UNLOCKED
SOM ConfigID#: 00000005
SOM UniqueID#: 1e261000:55aa2564:469660d3:d0c2b602
CB ConfigID#: 00001008
CB UniqueID#: b7000035:c48de62d
WARNING: SOM ConfigID on block 0 is UNLOCKED
SOM: MX8MP-Mito8MPlus on SBC-ORCA HDMI + LVDStoHDMI
switch to partitions #0, OK
mmc1 is current device (SD)
flash target is MMC:1
Net:
Warning: ethernet@30bf0000 (eth1) using random MAC address - 2a:2d:b6:16:9b:da

Warning: ethernet@30be0000 (eth0) using random MAC address - 0a:34:b4:63:39:ef
eth0: ethernet@30be0000, eth1: ethernet@30bf0000 [PRIME]
Fastboot: Normal
Normal Boot
Hit any key to stop autoboot:  2  0
u-boot=> setenv serverip 192.168.0.90
u-boot=> setenv ipaddr 192.168.0.89
u-boot=> saveenv
Saving Environment to MMC... Writing to MMC(1)... OK
u-boot=> run net_nfs
Using ethernet@30bf0000 device
TFTP from server 192.168.0.90; our IP address is 192.168.0.89
Filename 'desk-mx8m-l/Image'.
Load address: 0x40480000
Loading: *#################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 ##############
	 564.5 KiB/s
done
Bytes transferred = 31351296 (1de6200 hex)
Using ethernet@30bf0000 device
TFTP from server 192.168.0.90; our IP address is 192.168.0.89
Filename 'desk-mx8m-l/imx8mp-mito8mplus-cb1008.dtb'.
Load address: 0x43000000
Loading: *############
	 852.5 KiB/s
done
Bytes transferred = 61121 (eec1 hex)
FDT: override 'som_uniqueid' with '1e261000:55aa2564:469660d3:d0c2b602'
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 0000000043011fff

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.15.71-desk-mx8m-l-4.0.0 (jenkins@focalbakery) (aarch64-poky-linux-gcc (GCC) 11.3.0, GNU ld (GNU Binutils) 2.38.20220708) #1 SMP PREEMPT Thu Jul 20 15:30:07 CEST 2023
[    0.000000] Machine model: i.MX8MPlus Mito8MPlus on SBC Orca - adapter LVDS HDMI
[    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 0x1bf43a800-0x1bf43cfff]
[    0.000000] Zone ranges:
[    0.000000]   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 0x0000000056000000-0x00000000923fffff]
[    0.000000]   node   0: [mem 0x0000000092400000-0x00000000a43fffff]
[    0.000000]   node   0: [mem 0x00000000a4400000-0x00000001bfffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x00000001bfffffff]
[    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: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.2
[    0.000000] percpu: Embedded 20 pages/cpu s41368 r8192 d32360 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] Built 1 zonelists, mobility grouping on.  Total pages: 1548288
[    0.000000] Policy zone: Normal
[    0.000000] Kernel command line: root=/dev/nfs rw nfsroot=192.168.0.90:/home/dvdk/desk-mx-l/rfs/desk-mx8m-l-mx8mp/,v3,tcp ip=192.168.0.89:192.168.0.90:192.168.0.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 0x00000000c0000000-0x00000000c4000000] (64MB)
[    0.000000] Memory: 4784748K/6291456K available (18688K kernel code, 1560K rwdata, 7244K rodata, 3008K init, 543K bss, 523668K 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] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 160 SPIs implemented
[    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: CPU0: found redistributor 0 region 0:0x0000000038880000
[    0.000000] ITS: No ITS available, not enabling LPIs
[    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.000000] sched_clock: 56 bits at 8MHz, resolution 125ns, wraps every 2199023255500ns
[    0.000454] Console: colour dummy device 80x25
[    0.000521] Calibrating delay loop (skipped), value calculated using timer frequency.. 16.00 BogoMIPS (lpj=32000)
[    0.000535] pid_max: default: 32768 minimum: 301
[    0.000591] LSM: Security Framework initializing
[    0.000691] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.000719] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.002082] rcu: Hierarchical SRCU implementation.
[    0.003327] EFI services will not be available.
[    0.003526] smp: Bringing up secondary CPUs ...
[    0.003937] Detected VIPT I-cache on CPU1
[    0.003964] GICv3: CPU1: found redistributor 1 region 0:0x00000000388a0000
[    0.003998] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.004465] Detected VIPT I-cache on CPU2
[    0.004484] GICv3: CPU2: found redistributor 2 region 0:0x00000000388c0000
[    0.004504] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.004933] Detected VIPT I-cache on CPU3
[    0.004952] GICv3: CPU3: found redistributor 3 region 0:0x00000000388e0000
[    0.004969] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.005027] smp: Brought up 1 node, 4 CPUs
[    0.005050] SMP: Total of 4 processors activated.
[    0.005056] CPU features: detected: 32-bit EL0 Support
[    0.005060] CPU features: detected: 32-bit EL1 Support
[    0.005068] CPU features: detected: CRC32 instructions
[    0.012521] CPU: All CPU(s) started at EL2
[    0.012556] alternatives: patching kernel code
[    0.014254] devtmpfs: initialized
[    0.022604] KASLR disabled due to lack of seed
[    0.022750] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.022767] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.049483] pinctrl core: initialized pinctrl subsystem
[    0.049966] DMI not present or invalid.
[    0.050544] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.055624] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations
[    0.056097] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.056664] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.056757] audit: initializing netlink subsys (disabled)
[    0.056953] audit: type=2000 audit(0.056:1): state=initialized audit_enabled=0 res=1
[    0.057522] thermal_sys: Registered thermal governor 'step_wise'
[    0.057528] thermal_sys: Registered thermal governor 'power_allocator'
[    0.057802] cpuidle: using governor menu
[    0.058021] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.058104] ASID allocator initialised with 65536 entries
[    0.059221] Serial: AMBA PL011 UART driver
[    0.059280] imx mu driver is registered.
[    0.059302] imx rpmsg driver is registered.
[    0.070357] imx8mp-pinctrl 30330000.pinctrl: initialized IMX pinctrl driver
[    0.079812] platform 32c00000.bus:ldb@32ec005c: Fixing up cyclic dependency with 32e90000.lcd-controller
[    0.086431] platform 32fd8000.hdmi: Fixing up cyclic dependency with 32fc6000.lcd-controller
[    0.108732] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.108748] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.108756] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.108764] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.109910] cryptd: max_cpu_qlen set to 1000
[    0.112959] ACPI: Interpreter disabled.
[    0.113727] iommu: Default domain type: Translated
[    0.113735] iommu: DMA domain TLB invalidation policy: strict mode
[    0.113874] vgaarb: loaded
[    0.114137] SCSI subsystem initialized
[    0.114438] usbcore: registered new interface driver usbfs
[    0.114476] usbcore: registered new interface driver hub
[    0.114507] usbcore: registered new device driver usb
[    0.115533] mc: Linux media interface: v0.10
[    0.115556] videodev: Linux video capture interface: v2.00
[    0.115633] pps_core: LinuxPPS API ver. 1 registered
[    0.115640] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.115656] PTP clock support registered
[    0.115827] EDAC MC: Ver: 3.0.0
[    0.116986] FPGA manager framework
[    0.117074] Advanced Linux Sound Architecture Driver Initialized.
[    0.117586] Bluetooth: Core ver 2.22
[    0.117612] NET: Registered PF_BLUETOOTH protocol family
[    0.117618] Bluetooth: HCI device and connection manager initialized
[    0.117629] Bluetooth: HCI socket layer initialized
[    0.117639] Bluetooth: L2CAP socket layer initialized
[    0.117653] Bluetooth: SCO socket layer initialized
[    0.118489] clocksource: Switched to clocksource arch_sys_counter
[    0.118620] VFS: Disk quotas dquot_6.6.0
[    0.118666] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.118804] pnp: PnP ACPI: disabled
[    0.124736] NET: Registered PF_INET protocol family
[    0.124983] IP idents hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.128074] tcp_listen_portaddr_hash hash table entries: 4096 (order: 4, 65536 bytes, linear)
[    0.128182] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.128198] TCP established hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.128607] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes, linear)
[    0.129476] TCP: Hash tables configured (established 65536 bind 65536)
[    0.129583] UDP hash table entries: 4096 (order: 5, 131072 bytes, linear)
[    0.129739] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes, linear)
[    0.130004] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.130416] RPC: Registered named UNIX socket transport module.
[    0.130423] RPC: Registered udp transport module.
[    0.130427] RPC: Registered tcp transport module.
[    0.130437] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.131151] PCI: CLS 0 bytes, default 64
[    0.131785] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    0.132574] kvm [1]: IPA Size Limit: 40 bits
[    0.134207] kvm [1]: GICv3: no GICV resource entry
[    0.134214] kvm [1]: disabling GICv2 emulation
[    0.134229] kvm [1]: GIC system register CPU interface enabled
[    0.134306] kvm [1]: vgic interrupt IRQ9
[    0.134406] kvm [1]: Hyp mode initialized successfully
[    0.137660] Initialise system trusted keyrings
[    0.137802] workingset: timestamp_bits=42 max_order=21 bucket_order=0
[    0.143797] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.144358] NFS: Registering the id_resolver key type
[    0.144392] Key type id_resolver registered
[    0.144400] Key type id_legacy registered
[    0.144474] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.144481] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.144500] jffs2: version 2.2. (NAND) � 2001-2006 Red Hat, Inc.
[    0.144828] 9p: Installing v9fs 9p2000 file system support
[    0.181240] Key type asymmetric registered
[    0.181250] Asymmetric key parser 'x509' registered
[    0.181305] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
[    0.181313] io scheduler mq-deadline registered
[    0.181321] io scheduler kyber registered
[    0.188390] EINJ: ACPI disabled.
[    0.198982] imx-sdma 30bd0000.dma-controller: Direct firmware load for imx/sdma/sdma-imx7d.bin failed with error -2
[    0.199004] imx-sdma 30bd0000.dma-controller: Falling back to sysfs fallback for: imx/sdma/sdma-imx7d.bin
[    0.200743] mxs-dma 33000000.dma-apbh: initialized
[    0.202398] SoC: i.MX8MP revision 1.1
[    0.203027] Bus freq driver module loaded
[    0.209445] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.211771] 30860000.serial: ttymxc0 at MMIO 0x30860000 (irq = 31, base_baud = 5000000) is a IMX
[    0.212244] 30880000.serial: ttymxc2 at MMIO 0x30880000 (irq = 32, base_baud = 5000000) is a IMX
[    0.212660] 30890000.serial: ttymxc1 at MMIO 0x30890000 (irq = 33, base_baud = 1500000) is a IMX
[    1.327412] printk: console [ttymxc1] enabled
[    1.346826] loop: module loaded
[    1.351400] megasas: 07.717.02.00-rc1
[    1.356718] imx ahci driver is registered.
[    1.362513] SPI driver spidev has no spi_device_id for spidev
[    1.368275] SPI driver spidev has no spi_device_id for dave,sbcx-exp
[    1.378759] tun: Universal TUN/TAP device driver, 1.6
[    1.383981] CAN device driver interface
[    1.389227] thunder_xcv, ver 1.0
[    1.392495] thunder_bgx, ver 1.0
[    1.395768] nicpf, ver 1.0
[    1.400895] hclge is initializing
[    1.404236] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - version
[    1.411468] hns3: Copyright (c) 2017 Huawei Corporation.
[    1.416835] e1000: Intel(R) PRO/1000 Network Driver
[    1.421724] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    1.427512] e1000e: Intel(R) PRO/1000 Network Driver
[    1.432484] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    1.438442] igb: Intel(R) Gigabit Ethernet Network Driver
[    1.443846] igb: Copyright (c) 2007-2014 Intel Corporation.
[    1.449452] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[    1.455724] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    1.461841] sky2: driver version 1.30
[    1.466179] usbcore: registered new interface driver r8152
[    1.471917] VFIO - User Level meta-driver version: 0.3
[    1.482772] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.489372] ehci-pci: EHCI PCI platform driver
[    1.493864] ehci-platform: EHCI generic platform driver
[    1.499347] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.505569] ohci-pci: OHCI PCI platform driver
[    1.510053] ohci-platform: OHCI generic platform driver
[    1.516168] usbcore: registered new interface driver uas
[    1.521533] usbcore: registered new interface driver usb-storage
[    1.527610] usbcore: registered new interface driver usbserial_generic
[    1.534161] usbserial: USB Serial support registered for generic
[    1.540198] usbcore: registered new interface driver ftdi_sio
[    1.545963] usbserial: USB Serial support registered for FTDI USB Serial Device
[    1.553304] usbcore: registered new interface driver usb_serial_simple
[    1.559854] usbserial: USB Serial support registered for carelink
[    1.565968] usbserial: USB Serial support registered for zio
[    1.571648] usbserial: USB Serial support registered for funsoft
[    1.577676] usbserial: USB Serial support registered for flashloader
[    1.584050] usbserial: USB Serial support registered for google
[    1.589990] usbserial: USB Serial support registered for libtransistor
[    1.596538] usbserial: USB Serial support registered for vivopay
[    1.602572] usbserial: USB Serial support registered for moto_modem
[    1.608865] usbserial: USB Serial support registered for motorola_tetra
[    1.615509] usbserial: USB Serial support registered for nokia
[    1.621359] usbserial: USB Serial support registered for novatel_gps
[    1.627734] usbserial: USB Serial support registered for hp4x
[    1.633501] usbserial: USB Serial support registered for suunto
[    1.639444] usbserial: USB Serial support registered for siemens_mpi
[    1.645830] usbcore: registered new interface driver usb_ehset_test
[    1.656456] snvs_rtc 30370000.snvs:snvs-rtc-lp: registered as rtc0
[    1.662676] snvs_rtc 30370000.snvs:snvs-rtc-lp: setting system clock to 1970-01-01T00:34:45 UTC (2085)
[    1.672145] i2c_dev: i2c /dev entries driver
[    1.678407] Driver for 1-wire Dallas network protocol.
[    1.686732] Bluetooth: HCI UART driver ver 2.3
[    1.691199] Bluetooth: HCI UART protocol H4 registered
[    1.696345] Bluetooth: HCI UART protocol BCSP registered
[    1.701679] Bluetooth: HCI UART protocol LL registered
[    1.706831] Bluetooth: HCI UART protocol ATH3K registered
[    1.712252] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    1.718624] Bluetooth: HCI UART protocol Broadcom registered
[    1.724314] Bluetooth: HCI UART protocol QCA registered
[    1.729779] EDAC MC: ECC not enabled
[    1.734839] sdhci: Secure Digital Host Controller Interface driver
[    1.741047] sdhci: Copyright(c) Pierre Ossman
[    1.746195] Synopsys Designware Multimedia Card Interface Driver
[    1.752979] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.760958] ledtrig-cpu: registered to indicate activity on CPUs
[    1.767952] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[    1.774887] usbcore: registered new interface driver usbhid
[    1.780468] usbhid: USB HID core driver
[    1.789474]  cs_system_cfg: CoreSight Configuration manager initialised
[    1.792122] mmc2: SDHCI controller on 30b60000.mmc [30b60000.mmc] using ADMA
[    1.800177] Galcore version 6.4.3.p4.398061
[    1.912364] mmc2: new HS400 Enhanced strobe MMC card at address 0001
[    1.919255] mmcblk2: mmc2:0001 DG4008 7.28 GiB
[    1.925128] [drm] Initialized vivante 1.0.0 20170808 for 40000000.mix_gpu_ml on minor 0
[    1.925763]  mmcblk2: p1 p2
[    1.934805] hantrodec 0 : module inserted. Major = 510
[    1.937342] mmcblk2boot0: mmc2:0001 DG4008 4.00 MiB
[    1.941611] hantrodec 1 : module inserted. Major = 510
[    1.947623] mmcblk2boot1: mmc2:0001 DG4008 4.00 MiB
[    1.952941] hantroenc: HW at base <0000000038320000> with ID <0x80006200>
[    1.958270] mmcblk2rpmb: mmc2:0001 DG4008 4.00 MiB, chardev (234:0)
[    1.963133] hx280enc: module inserted. Major <509>
[    1.977674] NET: Registered PF_LLC protocol family
[    1.982986] NET: Registered PF_INET6 protocol family
[    1.989602] Segment Routing with IPv6
[    1.993312] In-situ OAM (IOAM) with IPv6
[    1.997296] NET: Registered PF_PACKET protocol family
[    2.002398] can: controller area network core
[    2.006802] NET: Registered PF_CAN protocol family
[    2.011602] can: raw protocol
[    2.014582] can: broadcast manager protocol
[    2.018778] can: netlink gateway - max_hops=1
[    2.024215] Bluetooth: RFCOMM TTY layer initialized
[    2.029117] Bluetooth: RFCOMM socket layer initialized
[    2.034278] Bluetooth: RFCOMM ver 1.11
[    2.038041] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    2.043366] Bluetooth: BNEP filters: protocol multicast
[    2.048602] Bluetooth: BNEP socket layer initialized
[    2.053574] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    2.059503] Bluetooth: HIDP socket layer initialized
[    2.065504] 8021q: 802.1Q VLAN Support v1.8
[    2.069717] lib80211: common routines for IEEE802.11 drivers
[    2.075826] 9pnet: Installing 9P2000 support
[    2.080135] tsn generic netlink module v1 init...
[    2.084930] Key type dns_resolver registered
[    2.090095] Loading compiled-in X.509 certificates
[    2.119163] regulator-se050-en GPIO handle specifies active low - ignored
[    2.190134] nxp-pca9450 0-0025: pca9450bc probed.
[    2.194955] i2c i2c-0: IMX I2C adapter registered
[    2.201041] i2c 1-003c: Fixing up cyclic dependency with 32e40000.csi
[    2.207787] ov5640 1-003c: supply DOVDD not found, using dummy regulator
[    2.214603] ov5640 1-003c: supply AVDD not found, using dummy regulator
[    2.221263] ov5640 1-003c: supply DVDD not found, using dummy regulator
[    2.236233] i2c i2c-1: IMX I2C adapter registered
[    2.242353] i2c 2-003c: Fixing up cyclic dependency with 32e50000.csi
[    2.249107] ov5640 2-003c: supply DOVDD not found, using dummy regulator
[    2.255910] ov5640 2-003c: supply AVDD not found, using dummy regulator
[    2.262574] ov5640 2-003c: supply DVDD not found, using dummy regulator
[    2.286152] i2c i2c-2: IMX I2C adapter registered
[    2.292020] i2c 5-004c: Fixing up cyclic dependency with 32c00000.bus:ldb@32ec005c
[    2.430554] i2c i2c-5: IMX I2C adapter registered
[    2.436220] imx8mq-usb-phy 381f0040.usb-phy: supply vbus not found, using dummy regulator
[    2.444751] imx8mq-usb-phy 382f0040.usb-phy: supply vbus not found, using dummy regulator
[    2.455264] imx6q-pcie 33800000.pcie: supply epdev_on not found, using dummy regulator
[    2.463536] imx6q-pcie 33800000.pcie: EXT REF_CLK is used!.
[    2.469743] imx6q-pcie 33800000.pcie: PCIe PHY PLL clock is locked.
[    2.476375] pps pps0: new PPS source ptp0
[    2.489316] fec 30be0000.ethernet eth0: registered PHC device 0
[    2.496142] imx-dwmac 30bf0000.ethernet: IRQ eth_lpi not found
[    2.502542] imx6q-pcie 33800000.pcie: PCIe PLL is locked.
[    2.503167] imx-dwmac 30bf0000.ethernet: User ID: 0x10, Synopsys ID: 0x51
[    2.508013] imx6q-pcie 33800000.pcie: iATU unroll: enabled
[    2.514765] imx-dwmac 30bf0000.ethernet: 	DWMAC4/5
[    2.520245] imx6q-pcie 33800000.pcie: Detected iATU regions: 4 outbound, 4 inbound
[    2.525039] imx-dwmac 30bf0000.ethernet: DMA HW capability register supported
[    2.532618] imx6q-pcie 33800000.pcie: host bridge /soc@0/pcie@33800000 ranges:
[    2.539746] imx-dwmac 30bf0000.ethernet: RX Checksum Offload Engine supported
[    2.546975] imx6q-pcie 33800000.pcie:   No bus range found for /soc@0/pcie@33800000, using [bus 00-ff]
[    2.554103] imx-dwmac 30bf0000.ethernet: TX Checksum insertion supported
[    2.563435] imx6q-pcie 33800000.pcie:       IO 0x001ff80000..0x001ff8ffff -> 0x0000000000
[    2.570110] imx-dwmac 30bf0000.ethernet: Wake-Up On Lan supported
[    2.570170] imx-dwmac 30bf0000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    2.578305] imx6q-pcie 33800000.pcie:      MEM 0x0018000000..0x001fefffff -> 0x0018000000
[    2.584387] imx-dwmac 30bf0000.ethernet: Enabled L3L4 Flow TC (entries=8)
[    2.592125] imx6q-pcie 33800000.pcie: iATU unroll: enabled
[    2.600221] imx-dwmac 30bf0000.ethernet: Enabled RFS Flow TC (entries=8)
[    2.607013] imx6q-pcie 33800000.pcie: Detected iATU regions: 4 outbound, 4 inbound
[    2.612506] imx-dwmac 30bf0000.ethernet: Enabling HW TC (entries=256, max_off=256)
[    2.634345] imx-dwmac 30bf0000.ethernet: Using 34 bits DMA width
[    2.644922] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    2.650450] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
[    2.658453] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220fe6d hci version 0x110 quirks 0x0000002001010010
[    2.667894] xhci-hcd xhci-hcd.1.auto: irq 77, io mem 0x38100000
[    2.673946] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    2.679448] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
[    2.687118] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[    2.694154] hub 1-0:1.0: USB hub found
[    2.697936] hub 1-0:1.0: 1 port detected
[    2.702171] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    2.710799] hub 2-0:1.0: USB hub found
[    2.714578] hub 2-0:1.0: 1 port detected
[    2.719553] imx6q-pcie 33800000.pcie: Link up
[    2.721342] gpio-42 (onewire): enforced open drain please flag it properly in DT/ACPI DSDT/board file
[    2.734012] imx-cpufreq-dt imx-cpufreq-dt: cpu speed grade 7 mkt segment 2 supported-hw 0x80 0x4
[    2.743687] Hot alarm is canceled. GPU3D clock will return to 64/64
[    2.753849] mxc-mipi-csi2-sam 32e40000.csi: supply mipi-phy not found, using dummy regulator
[    2.753954] sdhci-esdhc-imx 30b50000.mmc: Got CD GPIO
[    2.757114] w1_master_driver w1_bus_master1: Attaching one wire slave 2d.000035c48de6 crc b7
[    2.762599] : mipi_csis_imx8mp_phy_reset, No remote pad found!
[    2.781687] mxc-mipi-csi2-sam 32e40000.csi: lanes: 2, hs_settle: 13, clk_settle: 2, wclk: 1, freq: 500000000
[    2.792424] mxc-mipi-csi2-sam 32e50000.csi: supply mipi-phy not found, using dummy regulator
[    2.798545] mmc1: SDHCI controller on 30b50000.mmc [30b50000.mmc] using ADMA
[    2.801177] : mipi_csis_imx8mp_phy_reset, No remote pad found!
[    2.813793] mxc-mipi-csi2-sam 32e50000.csi: lanes: 2, hs_settle: 13, clk_settle: 2, wclk: 1, freq: 266000000
[    2.823637] imx6q-pcie 33800000.pcie: Link up
[    2.825220] isi-capture 32e00000.isi:cap_device: deferring 32e00000.isi:cap_device device registration
[    2.828047] imx6q-pcie 33800000.pcie: Link up, Gen2
[    2.838126] mxc-isi 32e00000.isi: mxc_isi.0 registered successfully
[    2.849901] isi-capture 32e02000.isi:cap_device: deferring 32e02000.isi:cap_device device registration
[    2.851947] mmc1: host does not support reading read-only switch, assuming write-enable
[    2.859327] mxc-isi 32e02000.isi: mxc_isi.1 registered successfully
[    2.871242] mmc1: new high speed SDHC card at address aaaa
[    2.876215] dwhdmi-imx 32fd8000.hdmi: Detected HDMI TX controller v2.13a with HDCP (samsung_dw_hdmi_phy2)
[    2.879438] mmcblk1: mmc1:aaaa SA16G 14.8 GiB
[    2.889010] dwhdmi-imx 32fd8000.hdmi: registered DesignWare HDMI I2C bus driver
[    2.895250]  mmcblk1: p1 p2
[    2.901407] imx-drm display-subsystem: bound imx-lcdifv3-crtc.0 (ops lcdifv3_crtc_ops)
[    2.911110] imx-drm display-subsystem: bound imx-lcdifv3-crtc.1 (ops lcdifv3_crtc_ops)
[    2.919288] imx-drm display-subsystem: bound 32c00000.bus:ldb@32ec005c (ops imx8mp_ldb_ops)
[    2.927669] imx-drm display-subsystem: bound 32fd8000.hdmi (ops dw_hdmi_imx_ops)
[    2.935308] [drm] Initialized imx-drm 1.0.0 20120507 for display-subsystem on minor 1
[    2.941139] mmc0: SDHCI controller on 30b40000.mmc [30b40000.mmc] using ADMA
[    2.950209] imx6q-pcie 33800000.pcie: Link up
[    2.954501] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[    2.954656] imx6q-pcie 33800000.pcie: PCI host bridge to bus 0000:00
[    2.967449] pci_bus 0000:00: root bus resource [bus 00-ff]
[    2.972939] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    2.973658] mmc0: queuing unknown CIS tuple 0x01 [d9 01 ff] (3 bytes)
[    2.979124] pci_bus 0000:00: root bus resource [mem 0x18000000-0x1fefffff]
[    2.979149] pci 0000:00:00.0: [16c3:abcd] type 01 class 0x060400
[    2.993338] mmc0: queuing unknown CIS tuple 0x1a [01 01 00 02 07] (5 bytes)
[    2.998456] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
[    3.008796] mmc0: queuing unknown CIS tuple 0x1b [c1 41 30 30 ff ff 32 00] (8 bytes)
[    3.011685] pci 0000:00:00.0: reg 0x38: [mem 0x00000000-0x0000ffff pref]
[    3.020103] mmc0: queuing unknown CIS tuple 0x14 [] (0 bytes)
[    3.026156] pci 0000:00:00.0: supports D1
[    3.034042] mmc0: new high speed SDIO card at address 0001
[    3.035878] pci 0000:00:00.0: PME# supported from D0 D1 D3hot D3cold
[    3.038125] pci 0000:01:00.0: [1912:0015] type 00 class 0x0c0330
[    3.053808] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00001fff 64bit]
[    3.060969] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    3.081055] pci 0000:00:00.0: BAR 0: assigned [mem 0x18000000-0x180fffff]
[    3.087872] pci 0000:00:00.0: BAR 14: assigned [mem 0x18100000-0x181fffff]
[    3.094785] pci 0000:00:00.0: BAR 6: assigned [mem 0x18200000-0x1820ffff pref]
[    3.102020] pci 0000:01:00.0: BAR 0: assigned [mem 0x18100000-0x18101fff 64bit]
[    3.109364] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    3.114597] pci 0000:00:00.0:   bridge window [mem 0x18100000-0x181fffff]
[    3.121671] pcieport 0000:00:00.0: PME: Signaling with IRQ 242
[    3.127630] pci 0000:01:00.0: enabling device (0000 -> 0002)
[    3.174221] hub 1-1:1.0: USB hub found
[    3.178222] hub 1-1:1.0: 4 ports detected
[    3.282202] usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd
[    3.431527] hub 2-1:1.0: USB hub found
[    3.433445] hub 2-1:1.0: 4 ports detected
[    3.531092] Console: switching to colour frame buffer device 160x45
[    3.559230] imx-drm display-subsystem: [drm] fb0: imx-drmdrmfb frame buffer device
[    3.571453] isi-m2m 32e00000.isi:m2m_device: Register m2m success for ISI.0
[    3.583831] Generic PHY 30be0000.ethernet-1:08: attached PHY driver (mii_bus:phy_addr=30be0000.ethernet-1:08, irq=POLL)
[    7.679930] fec 30be0000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[    7.691154] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    7.710497] IP-Config: Complete:
[    7.713727]      device=eth0, hwaddr=0a:34:b4:63:39:ef, ipaddr=192.168.0.89, mask=255.255.255.0, gw=192.168.0.254
[    7.724125]      host=desk-mx, domain=, nis-domain=(none)
[    7.729552]      bootserver=192.168.0.90, rootserver=192.168.0.90, rootpath=
[    7.729707] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    7.747393] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    7.754015] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    7.762645] platform regulatory.0: Falling back to sysfs fallback for: regulatory.db
[    7.770238] ALSA device list:
[    7.773370]   No soundcards found.
[    7.827755] VFS: Mounted root (nfs filesystem) on device 0:21.
[    7.837615] devtmpfs: mounted
[    7.841145] Freeing unused kernel memory: 3008K
[    7.858873] Run /sbin/init as init process
[    8.660279] systemd[1]: System time before build time, advancing clock.
[    8.700319] systemd[1]: systemd 250.5+ running in system mode (+PAM -AUDIT -SELINUX -APPARMOR +IMA -SMACK +SECCOMP -GCRYPT -GNUTLS -OPENSSL +ACL +BLKID -CURL -ELFUTILS -FIDO2 -IDN2 -IDN -IPTC +KMOD -LIBCRYPTSETUP +LIBFDISK -PCRE2 -PWQUALITY -P11KIT -QRENCODE -BZIP2 -LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=hybrid)
[    8.732357] systemd[1]: Detected architecture arm64.

Welcome to NXP i.MX Release Distro 5.15-kirkstone (kirkstone)!

[    8.839156] systemd[1]: Hostname set to <desk-mx8mp>.
[    8.873618] systemd[1]: Initializing machine ID from random generator.
[    9.052162] systemd-sysv-generator[194]: SysV service '/etc/init.d/single' lacks a native systemd unit 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.
[    9.092830] systemd-sysv-generator[194]: SysV service '/etc/init.d/halt' lacks a native systemd unit 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.
[    9.140481] systemd-sysv-generator[194]: SysV service '/etc/init.d/sendsigs' lacks a native systemd unit 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.
[    9.166646] systemd-sysv-generator[194]: SysV service '/etc/init.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, in order to make it more safe and robust.
[    9.211402] systemd-sysv-generator[194]: SysV service '/etc/init.d/rc.local' lacks a native systemd unit 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.
[    9.239479] systemd-sysv-generator[194]: SysV service '/etc/init.d/reboot' lacks a native systemd unit 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.
[    9.268965] systemd-sysv-generator[194]: SysV service '/etc/init.d/umountnfs.sh' lacks a native systemd unit 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.
[    9.296725] systemd-sysv-generator[194]: SysV service '/etc/init.d/save-rtc.sh' lacks a native systemd unit 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.
[    9.400201] systemd[185]: /lib/systemd/system-generators/systemd-gpt-auto-generator failed with exit status 1.
[   10.805803] systemd[1]: Queued start job for default target Graphical Interface.
[   10.856615] systemd[1]: Created slice Slice /system/getty.
[  OK  ] Created slice Slice /system/getty.
[   10.880999] systemd[1]: Created slice Slice /system/modprobe.
[  OK  ] Created slice Slice /system/modprobe.
[   10.909636] systemd[1]: Created slice Slice /system/serial-getty.
[  OK  ] Created slice Slice /system/serial-getty.
[   10.932716] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[   10.954928] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password �ts to Console Directory Watch.
[   10.978827] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password R�uests to Wall Directory Watch.
[   11.002854] systemd[1]: Reached target Host and Network Name Lookups.
[  OK  ] Reached target Host and Network Name Lookups.
[   11.026954] systemd[1]: Reached target Path Units.
[  OK  ] Reached target Path Units.
[   11.046629] systemd[1]: Reached target Remote File Systems.
[  OK  ] Reached target Remote File Systems.
[   11.070920] systemd[1]: Reached target Slice Units.
[  OK  ] Reached target Slice Units.
[   11.090934] systemd[1]: Reached target Swaps.
[  OK  ] Reached target Swaps.
[   11.118902] systemd[1]: Listening on RPCbind Server Activation Socket.
[  OK  ] Listening on RPCbind Server Activation Socket.
[   11.142776] systemd[1]: Reached target RPC Port Mapper.
[  OK  ] Reached target RPC Port Mapper.
[   11.171968] systemd[1]: Listening on Syslog Socket.
[  OK  ] Listening on Syslog Socket.
[   11.191213] systemd[1]: Listening on initctl Compatibility Named Pipe.
[  OK  ] Listening on initctl Compatibility Named Pipe.
[   11.219370] systemd[1]: Listening on Journal Audit Socket.
[  OK  ] Listening on Journal Audit Socket.
[   11.239251] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[   11.263292] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[   11.284795] systemd[1]: Listening on Network Service Netlink Socket.
[  OK  ] Listening on Network Service Netlink Socket.
[   11.321711] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[   11.342999] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[   11.365550] systemd[1]: Listening on User Database Manager Socket.
[  OK  ] Listening on User Database Manager Socket.
[   11.390583] systemd[1]: Mounting Huge Pages File System...
         Mounting Huge Pages File System...
[   11.414737] systemd[1]: Mounting POSIX Message Queue File System...
         Mounting POSIX Message Queue File System...
[   11.442536] systemd[1]: Mounting Kernel Debug File System...
         Mounting Kernel Debug File System...
[   11.463051] systemd[1]: Kernel Trace File System was skipped because of a failed condition check (ConditionPathExists=/sys/kernel/tracing).
[   11.487208] systemd[1]: Mounting Temporary Directory /tmp...
         Mounting Temporary Directory /tmp...
[   11.529145] systemd[1]: Starting Create List of Static Device Nodes...
         Starting Create List of Static Device Nodes...
[   11.554998] systemd[1]: Starting Load Kernel Module configfs...
         Starting Load Kernel Module configfs...
[   11.578367] systemd[1]: Starting Load Kernel Module drm...
         Starting Load Kernel Module drm...
[   11.602354] systemd[1]: Starting Load Kernel Module fuse...
         Starting Load Kernel Module fuse...
[   11.636297] systemd[1]: Starting RPC Bind...
         Starting RPC Bind...
[   11.655835] systemd[1]: File System Check on Root Device was skipped because of a failed condition check (ConditionPathIsReadWrite=!/).
[   11.669019] systemd[1]: systemd-journald.service: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
[   11.682039] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
[   11.695952] systemd[1]: Starting Journal Service...
         Starting Journal Service...
[   11.727524] fuse: init (API version 7.34)
[   11.729521] systemd[1]: Load Kernel Modules was skipped because all trigger condition checks failed.
[   11.744609] systemd[1]: Starting Generate network units from Kernel command line...
         Starting Generate network �ts from Kernel command line...
[   11.774972] systemd[1]: Starting Remount Root and Kernel File Systems...
         Starting Remount Root and Kernel File Systems...
[   11.803449] systemd[1]: Starting Apply Kernel Variables...
         Starting Apply Kernel Variables...
[   11.826754] systemd[1]: Starting Coldplug All udev Devices...
         Starting Coldplug All udev Devices...
[   11.851511] systemd[1]: Started RPC Bind.
[  OK  ] Started RPC Bind.
[   11.872111] systemd[1]: Mounted Huge Pages File System.
[  OK  ] Mounted Huge Pages File System.
[   11.895020] systemd[1]: Mounted POSIX Message Queue File System.
[  OK  ] Mounted POSIX Message Queue File System.
[   11.919020] systemd[1]: Mounted Kernel Debug File System.
[  OK  ] Mounted Kernel Debug File System.
[   11.939025] systemd[1]: Mounted Temporary Directory /tmp.
[  OK  ] Mounted Temporary Directory /tmp.
[   11.959086] systemd[1]: Started Journal Service.
[  OK  ] Started Journal Service.
[  OK  ] Finished Create List of Static Device Nodes.
[  OK  ] Finished Load Kernel Module configfs.
[  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  ] Finished Apply Kernel Variables.
         Mounting FUSE Control File System...
         Mounting Kernel Configuration File System...
         Starting Flush Journal to Persistent Storage...
         Starting Create System Users...
[  OK  ] Mounted FUSE Control File System.
[   12.232982] systemd-journald[204]: Received client request to flush runtime journal.
[  OK  ] Mounted Kernel Configuration File System.
[  OK  ] Finished Flush Journal to Persistent Storage.
[  OK  ] 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.
         Mounting /var/volatile...
         Starting Rule-based Manage�for Device Events and Files...
[  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 Rule-based Manager for Device Events and Files.
[  OK  ] Finished Create Volatile Files and Directories.
         Starting Rebuild Journal Catalog...
[FAILED] Failed to start Network Time Synchronization.
See 'systemctl status systemd-timesyncd.service' for details.
[  OK  ] Reached target System Time Set.
         Starting Record System Boot/Shutdown in UTMP...
[  OK  ] Stopped Network Time Synchronization.
[   13.574513] random: crng init done
[FAILED] Failed to start Network Time Synchronization.
See 'systemctl status systemd-timesyncd.service' for details.
[  OK  ] Finished Load/Save Random Seed.
[  OK  ] Finished Rebuild Journal Catalog.
[  OK  ] Stopped Network Time Synchronization.
[   13.826243] remoteproc remoteproc0: imx-dsp-rproc is available
[FAILED] Failed to start Network Time Synchronization.
See 'systemctl status systemd-timesyncd.service' for details.
[   13.882356] caam-snvs 30370000.caam-snvs: violation handlers armed - non-secure state
[  OK  ] Finished Record System Boot/Shutdow[   13.904345] caam 30900000.crypto: Entropy delay = 3200
n in UTMP.
[  OK  ] Stopped Network Time Synchronization.
[   13.988789] caam 30900000.crypto: failed to acquire DECO 0
[   13.994320] caam 30900000.crypto: failed to instantiate RNG
[   14.120839] imx8_media_dev: module is from the staging directory, the quality is unknown, you have been warned.
[   14.156048] mx8-img-md: Registered mxc_isi.0.capture as /dev/video1
[   14.185725] mx8-img-md: Registered mxc_isi.1.capture as /dev/video2
[   14.192257] mx8-img-md: Registered sensor subdevice: ov5640 2-003c (1)
[   14.198995] mx8-img-md: Registered sensor subdevice: ov5640 1-003c (2)
[   14.205603] mx8-img-md: created link [mxc_isi.0] => [mxc_isi.0.capture]
[FAILED] Failed to s[   14.212431] mx8-img-md: created link [mxc-mipi-csi2.0] => [mxc_isi.0]
tart Network Time Synchr[   14.221748] mx8-img-md: created link [mxc_isi.1] => [mxc_isi.1.capture]
onization.
[   14.231415] mx8-img-md: created link [mxc-mipi-csi2.1] => [mxc_isi.1]
[   14.239784] mx8-img-md: created link [ov5640 1-003c] => [mxc-mipi-csi2.0]
[   14.246899] mx8-img-md: created link [ov5640 2-003c] => [mxc-mipi-csi2.1]
See 'systemctl status systemd-tim[   14.255260] mxc-md 32c00000.bus:camera: mxc_md_create_links
esyncd.service' for details.
[  OK  ] Reached target Hardware activated USB gadget.
[  OK  ] Stopped Network Time Synchronization.
[FAILED] Failed to start Network Time Synchronization.
See 'systemctl status systemd-timesyncd.service' for details.
[  OK  ] Stopped Network Time Synchronization.
[FAILED] Failed to start Network Time Synchronization.
See 'systemctl status systemd-timesyncd.service' for details.
[  OK  ] Listening on Load/Save RF �itch Status /dev/rfkill Watch.
[  OK  ] Created slice Slice /system/systemd-fsck.
[  OK  ] Found device /dev/mmcblk2p2.
         Starting File System Check on /dev/mmcblk2p2...
[  OK  ] Found device /dev/mmcblk2p1.
         Starting File System Check on /dev/mmcblk2p1...
[  OK  ] Finished File System Check on /dev/mmcblk2p2.
         Mounting /run/media/rfs-mmcblk2p2...
[   15.969620] EXT4-fs (mmcblk2p2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[  OK  ] Mounted /run/media/rfs-mmcblk2p2.
[  OK  ] Found device /dev/mmcblk1p2.
[  OK  ] Finished File System Check on /dev/mmcblk2p1.
         Mounting /run/media/boot-mmcblk2p1...
         Starting File System Check on /dev/mmcblk1p2...
[  OK  ] Mounted /run/media/boot-mmcblk2p1.
[  OK  ] Found device /dev/mmcblk1p1.
         Starting File System Check on /dev/mmcblk1p1...
[  OK  ] Finished File System Check on /dev/mmcblk1p2.
         Mounting /run/media/ROOTFS-mmcblk1p2...
[   16.930964] EXT4-fs (mmcblk1p2): mounting ext3 file system using the ext4 subsystem
[   17.201139] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[  OK  ] Mounted /run/media/ROOTFS-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 Timer 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 sshd.socket.
[  OK  ] Listening on Weston socket.
[  OK  ] Reached target Socket Units.
[  OK  ] Reached target Basic System.
[  OK  ] Started Job spooling tools.
[  OK  ] Started Periodic Command Scheduler.
         Starting D-Bus System Message Bus...
[  OK  ] Started Linux Firmware Loader Daemon.
[  OK  ] Started Configuration for i.MX GPU (Former rc_gpu.S).
[  OK  ] Started ISP i.MX 8Mplus daemon.
[   21.305962] imx-sdma 30e10000.dma-controller: firmware found.
[   21.306623] imx-sdma 30bd0000.dma-controller: firmware found.
[   21.308187] xhci_hcd 0000:01:00.0: failed to load firmware renesas_usb_fw.mem, fallback to ROM
[   21.308284] xhci_hcd 0000:01:00.0: xHCI Host Controller
[   21.308307] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 3
[   21.313639] xhci_hcd 0000:01:00.0: hcc params 0x014051cf hci version 0x100 quirks 0x0000001100000090
[   21.318031] imx-sdma 30bd0000.dma-controller: loaded firmware 4.6
[   21.327515] xhci_hcd 0000:01:00.0: xHCI Host Controller
[   21.359770] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 4
[   21.367235] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
         Starting IPv6 P[   21.374648] hub 3-0:1.0: USB hub found
acket Filtering Framework...[   21.380221] hub 3-0:1.0: 2 ports detected

[   21.387477] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[   21.396959] hub 4-0:1.0: USB hub found
[   21.400815] hub 4-0:1.0: 2 ports detected
         Starting IPv4 Packet Filtering Framework...
         Starting Network Time Service (one-shot ntpdate mode)...
         Starting Telephony service...
[  OK  ] Started System Logging Service.
[FAILED] Failed to start User Login Management.
See 'systemctl status systemd-logind.service' for details.
syslogd[619]: Error opening log file: /var/log/auth.log: No such file or directory
[  OK  ] Started TEE Supplicant.
syslogd[619]: Error opening log file: /var/log/syslog: No such file or directory
         Starting OpenSSH Key Generation...
syslogd[619]: Error opening log file: /var/log/kern.log: No such file or directory
[  OK  ] Started D-Bus System Message Bus.
syslogd[619]: Error opening log file: /var/log/mail.log: No such file or directory
syslogd[619]: Error opening log file: /var/log/mail.err: No such file or directory
[  OK  ] Finished IPv6 Packet Filtering Framework.
syslogd[619]: Error opening log file: /var/log/messages: No such file or directory
[  OK  ] Finished IPv4 Packet Filtering Framework.
[  OK  ] Finished Network Time Service (one-shot ntpdate mode).
[  OK  ] Created slice Slice /system/sshd.
[  OK  ] Reached target Preparation for Network.
         Starting Connection service...
[  OK  ] Stopped User Login Management.
         Starting Load Kernel Module drm...
         Starting Network Configuration...
[  OK  ] Started Telephony service.
[  OK  ] Finished Load Kernel Module drm.
[FAILED] Failed to start User Login Management.
See 'systemctl status systemd-logind.service' for details.
[  OK  ] Stopped User Login Management.
         Starting Load Kernel Module drm...
[  OK  ] Started Connection service.
[  OK  ] Finished Load Kernel Module drm.
         Starting Avahi mDNS/DNS-SD Stack...
[FAILED] Failed to start User Login Management.
See 'systemctl status systemd-logind.service' for details.
[  OK  ] Stopped User Login Management.
         Starting Load Kernel Module drm...
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
[  OK  ] Finished Load Kernel Module drm.
[FAILED] Failed to start User Login Management.
See 'systemctl status systemd-logind.service' for details.
[  OK  ] Stopped User Login Management.
         Starting Load Kernel Module drm...
         Starting WPA supplicant...
[  OK  ] Started Network Configuration.
[  OK  ] Finished Load Kernel Module drm.
[FAILED] Failed to start Hostname Service.
See 'systemctl status systemd-hostnamed.service' for details.
[FAILED] Failed to start User Login Management.
See 'systemctl status systemd-logind.service' for details.
[  OK  ] Started WPA supplicant.
[  OK  ] Reached target Network.
         Starting containerd container runtime...
[  OK  ] Started NFS status monitor for NFSv2/3 locking..
[FAILED] Failed to start Respond to IPv6 Node Information Queries.
See 'systemctl status ninfod.service' for details.
         Starting /etc/rc.local Compatibility...
[FAILED] Failed to start Network Router Discovery Daemon.
See 'systemctl status rdisc.service' for details.
[  OK  ] Stopped User Login Management.
         Starting Load Kernel Module drm...
         Starting Permit User Sessions...
[  OK  ] Started /etc/rc.local Compatibility.
[  OK  ] Finished Load Kernel Module drm.
[  OK  ] Finished Permit User Sessions.
[  OK  ] Started Getty on tty1.
[  OK  ] Started Serial Getty on ttymxc1.
[  OK  ] Reached target Login Prompts.
[FAILED] Failed to start User Login Management.
See 'systemctl status systemd-logind.service' for details.
         Starting Weston, a Wayland�ositor, as a system service...
         Starting User Database Manager...
[  OK  ] Started User Database Manager.
[   23.260843] audit: type=1006 audit(1651167759.600:2): pid=663 uid=0 old-auid=4294967295 auid=0 tty=tty7 old-ses=4294967295 ses=1 res=1
[   23.273829] audit: type=1300 audit(1651167759.600:2): arch=c00000b7 syscall=64 success=yes exit=1 a0=8 a1=ffffe19f4e40 a2=1 a3=ffffab2a5020 items=0 ppid=1 pid=663 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=tty7 ses=1 comm="(weston)" exe="/lib/systemd/systemd" key=(null)
[   23.300697] audit: type=1327 audit(1651167759.600:2): proctitle="(weston)"
[FAILED] Failed to start Weston, a �mpositor, as a system service.
See 'systemctl status weston.service' for details.
[  OK  ] Started containerd container runtime.
[  OK  ] Reached target Multi-User System.
[  OK  ] Reached target Graphical Interface.
         Starting Record Runlevel Change in UTMP...
[  OK  ] Finished Record Runlevel Change in UTMP.
[  OK  ] Finished OpenSSH Key Generation.
[  OK  ] Started OpenSSH Per-Connec�on Daemon (192.168.0.4:54253).

NXP i.MX Release Distro 5.15-kirkstone desk-mx8mp ttymxc1

desk-mx8mp login: [   26.336871] imx-dwmac 30bf0000.ethernet eth1: Link is Up - 1Gbps/Full - flow control rx/tx
[   26.345195] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready

desk-mx8mp login: root
root@desk-mx8mp:~#
root@desk-mx8mp:~#
root@desk-mx8mp:~# uname -a
Linux desk-mx8mp 5.15.71-desk-mx8m-l-4.0.0 #1 SMP PREEMPT Thu Jul 20 15:30:07 CEST 2023 aarch64 aarch64 aarch64 GNU/Linux
root@desk-mx8mp:~# cat /etc/build
-----------------------
Build Configuration:  |
-----------------------
DISTRO = fsl-imx-wayland
DISTRO_VERSION = 5.15-kirkstone
MACHINE = desk-mx8mp
IMAGE_BASENAME = desk-image-qt6
-----------------------
Layer Revisions:      |
-----------------------
meta              = HEAD:24a3f7b3648185e33133f5d96b184a6cb6524f3d
meta-poky         = HEAD:24a3f7b3648185e33133f5d96b184a6cb6524f3d
meta-oe           = HEAD:744a4b6eda88b9a9ca1cf0df6e18be384d9054e3
meta-multimedia   = HEAD:744a4b6eda88b9a9ca1cf0df6e18be384d9054e3
meta-python       = HEAD:744a4b6eda88b9a9ca1cf0df6e18be384d9054e3
meta-freescale    = HEAD:c82d4634e7aba8bc0de73ce1dfc997b630051571
meta-freescale-3rdparty = HEAD:5977197340c7a7db17fe3e02a4e014ad997565ae
meta-freescale-distro = HEAD:d5bbb487b2816dfc74984a78b67f7361ce404253
meta-bsp          = HEAD:f3f6777cc016be11084e98c9986f09791c92a63f
meta-sdk          = HEAD:f3f6777cc016be11084e98c9986f09791c92a63f
meta-ml           = HEAD:f3f6777cc016be11084e98c9986f09791c92a63f
meta-clang        = HEAD:c728c3f9168c8a4ed05163a51dd48ca1ad8ac21d
meta-virtualization = HEAD:9482648daf0bb42ff3475e7892542cf99f3b8d48
meta-nxp-demo-experience = HEAD:52eaf8bf42f8eda2917a1c8c046003c8c2c8f629
meta-chromium     = HEAD:e232c2e21b96dc092d9af8bea4b3a528e7a46dd6
meta-firefox      = HEAD:e232c2e21b96dc092d9af8bea4b3a528e7a46dd6
meta-gnome        = HEAD:744a4b6eda88b9a9ca1cf0df6e18be384d9054e3
meta-networking   = HEAD:744a4b6eda88b9a9ca1cf0df6e18be384d9054e3
meta-filesystems  = HEAD:744a4b6eda88b9a9ca1cf0df6e18be384d9054e3
meta-webserver    = HEAD:744a4b6eda88b9a9ca1cf0df6e18be384d9054e3
meta-python2      = HEAD:f02882e2aa9279ca7becca8d0cedbffe88b5a253
meta-qt6          = HEAD:ed785a25d12e365d1054700d4fc94a053176eb14
meta-dave         = HEAD:4d30d6a017ace629fca7ab4f6466885781c48a54
meta-desk-mx      = HEAD:be03001c6015cd7b42444ddcf062e1058b677cae
root@desk-mx8mp:~# ls -la /lib/modules/$(uname -r)
total 1160
drwxr-xr-x  3 541 502   4096 Jul 20  2023 .
drwxr-xr-x  4 541 502   4096 Jul 20  2023 ..
lrwxrwxrwx  1 541 502     64 Jul 20  2023 build -> /home/jenkins/workspace/workspace/DESK-MX8M-L-4.x.x_Linux-kernel
drwxr-xr-x 10 541 502   4096 Jul 20  2023 kernel
-rw-r--r--  1 541 502 203921 Jul 20  2023 modules.alias
-rw-r--r--  1 541 502 208115 Jul 20  2023 modules.alias.bin
-rw-r--r--  1 541 502  36037 Jul 20  2023 modules.builtin
-rw-r--r--  1 541 502  70747 Jul 20  2023 modules.builtin.alias.bin
-rw-r--r--  1 541 502  39328 Jul 20  2023 modules.builtin.bin
-rw-r--r--  1 541 502 229962 Jul 20  2023 modules.builtin.modinfo
-rw-r--r--  1 541 502  46720 Jul 20  2023 modules.dep
-rw-r--r--  1 541 502  82895 Jul 20  2023 modules.dep.bin
-rw-r--r--  1 541 502    146 Jul 20  2023 modules.devname
-rw-r--r--  1 541 502  31093 Jul 20  2023 modules.order
-rw-r--r--  1 541 502    366 Jul 20  2023 modules.softdep
-rw-r--r--  1 541 502  81992 Jul 20  2023 modules.symbols
-rw-r--r--  1 541 502 105342 Jul 20  2023 modules.symbols.bin
lrwxrwxrwx  1 541 502     64 Jul 20  2023 source -> /home/jenkins/workspace/workspace/DESK-MX8M-L-4.x.x_Linux-kernel
root@desk-mx8mp:~# ls -la /lib/modules/$(uname -r)        
total 16
drwxr-xr-x  4  541  502 4096 Jul 20  2023 .
drwxr-xr-x 11  541  502 4096 Jul 20  2023 ..
drwxr-xr-x  3  541  502 4096 Jul 20  2023 5.15.71-desk-mx8m-l-4.0.0
drwxr-xr-x  4 root root 4096 Mar  9  2018 5.15.71-desk-mx8m-l-4.0.0+g50e18a0c8871
root@desk-mx8mp:~# shutdown -h now
[  OK  ] Removed slice Slice /system/modprobe.
[  OK  ] Removed slice Slice /system/sshd.
[  OK  ] Stopped target Graphical Interface.
[  OK  ] St         Stopping System Logging Service...
         Stopping Load/Save Random Seed...
[  OK  ] Stopped OpenSSH Key Generation.
[  OK  ] Stopped Job spooling tools.
[  OK  ] Stopped Periodic Command Scheduler.
[  OK  ] Stopped Linux Firmware Loader Daemon.
[  OK  ] Stopped Telephony service.
[  OK  ] Stopped System Logging Service.
[  OK  ] Stopped Avahi mDNS/DNS-SD Stack.
[  OK  ] Stopped NFS status monitor for NFSv2/3 locking..
[  OK  ] Stopped containerd container runtime.
[  OK  ] Stopped Getty on tty1.
[  OK  ] Stopped Serial Getty on ttymxc1.
[  OK  ] Stopped Load/Save Random Seed.
[  OK  ] Removed slice Slice /system/getty.
[  OK  ] Removed slice Slice /system/serial-getty.
[  OK  ] Stopped target Host and Network Name Lookups.
[  OK  ] Stopped /etc/rc.local Compatibility.
         Stopping Permit User Sessions...
[  OK  ] Stopped Permit User Sessions.
[  OK  ] Stopped target Network.
[  OK  ] Stopped target Remote File Systems.
         Stopping Connection service...
         Stopping Network Configuration...
         Stopping WPA supplicant...
[  OK  ] Stopped Network Configuration.
[   70.399144] imx-dwmac 30bf0000.ethernet eth1: Link is Down
[   70.405676] imx-dwmac 30bf0000.ethernet eth1: FPE workqueue stop
[   70.415928] imx-dwmac 30bf0000.ethernet eth1: PHY [stmmac-1:07] driver [Microchip KSZ9131 Gigabit PHY] (irq=POLL)
[   70.426333] imx-dwmac 30bf0000.ethernet eth1: configuring for phy/rgmii-id link mode
[  OK  ] Stopped WPA supplicant.
[  OK  ] Stopped Connection service.
[  OK  ] Stopped target Preparation for Network.
         Stopping D-Bus System Message Bus...
[  OK  ] Stopped IPv6 Packet Filtering Framework.
[  OK  ] Stopped IPv4 Packet Filtering Framework.
[  OK  ] Stopped D-Bus System Message Bus.
[  OK  ] Stopped target Basic System.
[  OK  ] Stopped target Path Units.
[  OK  ] Stopped Dispatch Password �ts to Console Directory Watch.
[  OK  ] Stopped Forward Password R�uests to Wall Directory Watch.
[  OK  ] Stopped target Slice Units.
[  OK  ] Removed slice User and Session Slice.
[  OK  ] Stopped target Socket Units.
[  OK  ] Closed Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Closed D-Bus System Message Bus Socket.
[  OK  ] Closed Docker Socket for the API.
[  OK  ] Closed sshd.socket.
[  OK  ] Closed Syslog Socket.
[  OK  ] Closed Network Service Netlink Socket.
[  OK  ] Closed Weston socket.
[  OK  ] Stopped target System Initialization.
[  OK  ] Stopped Apply Kernel Variables.
[  OK  ] Stopped Update is Completed.
[  OK  ] Stopped Rebuild Dynamic Linker Cache.
[  OK  ] Stopped Rebuild Journal Catalog.
         Stopping Record System Boot/Shutdown in UTMP...
[  OK  ] Stopped Record System Boot/Shutdown in UTMP.
[  OK  ] Stopped Create Volatile Files and Directories.
[  OK  ] Stopped target Local File Systems.
         Unmounting /run/credentials/systemd-sysusers.service...
         Unmounting /run/media/BOOT-mmcblk1p1...
         Unmounting /run/media/ROOTFS-mmcblk1p2...
         Unmounting /run/media/boot-mmcblk2p1...
         Unmounting /run/media/rfs-mmcblk2p2...
         Unmounting Temporary Directory /tmp...
         Unmounting /var/volatile...
[  OK  ] Unmounted /run/credentials/systemd-sysusers.service.
[  OK  ] Unmounted /run/media/BOOT-mmcblk1p1.
[  OK  ] Unmounted /run/media/ROOTFS-mmcblk1p2.
[  OK  ] Unmounted /run/media/boot-mmcblk2p1.
[  OK  ] Unmounted /run/media/rfs-mmcblk2p2.
[  OK  ] Unmounted Temporary Directory /tmp.
[  OK  ] Unmounted /var/volatile.
[  OK  ] Stopped target Swaps.
[  OK  ] Reached target Unmount All Filesystems.
[  OK  ] Stopped File System Check on /dev/mmcblk1p1.
[  OK  ] Stopped File System Check on /dev/mmcblk1p2.
[  OK  ] Stopped File System Check on /dev/mmcblk2p1.
[  OK  ] Stopped File System Check on /dev/mmcblk2p2.
[  OK  ] Removed slice Slice /system/systemd-fsck.
[  OK  ] Stopped target Preparation for Local File Systems.
[  OK  ] Stopped Create Static Device Nodes in /dev.
[  OK  ] Stopped Create System Users.
[  OK  ] Stopped Remount Root and Kernel File Systems.
[  OK  ] Reached target System Shutdown.
[  OK  ] Reached target Late Shutdown Services.
[  OK  ] Finished System Power Off.
[  OK  ] Reached target System Power Off.
[   71.611202] systemd-shutdown[1]: Syncing filesystems and block devices.
[   71.618037] systemd-shutdown[1]: Sending SIGTERM to remaining processes...
[   71.638046] systemd-journald[204]: Received SIGTERM from PID 1 (systemd-shutdow).
[   71.646674] audit: type=1335 audit(1651167807.988:3): pid=204 uid=0 auid=4294967295 tty=(none) ses=4294967295 comm="systemd-journal" exe="/lib/systemd/systemd-journald" nl-mcgrp=1 op=disconnect res=1
[   71.669846] systemd-shutdown[1]: Sending SIGKILL to remaining processes...
[   71.687907] systemd-shutdown[1]: Unmounting file systems.
[   71.694224] systemd-shutdown[1]: All filesystems unmounted.
[   71.699845] systemd-shutdown[1]: Deactivating swaps.
[   71.704888] systemd-shutdown[1]: All swaps deactivated.
[   71.710192] systemd-shutdown[1]: Detaching loop devices.
[   71.720619] systemd-shutdown[1]: All loop devices detached.
[   71.726493] systemd-shutdown[1]: Stopping MD devices.
[   71.737915] systemd-shutdown[1]: All MD devices stopped.
[   71.743376] systemd-shutdown[1]: Detaching DM devices.
[   71.751884] systemd-shutdown[1]: All DM devices detached.
[   71.757402] systemd-shutdown[1]: All filesystems, swaps, loop devices, MD devices and DM devices detached.
[   71.859992] systemd-shutdown[1]: Syncing filesystems and block devices.
[   71.866731] systemd-shutdown[1]: Powering off.
[   71.871211] kvm: exiting hardware virtualization
[   71.926560] reboot: Power down




Development[edit | edit source]

Synchronizing the repository[edit | edit source]

In DESK-MX8M-L, the following source trees are clones of the correspondent DAVE Embedded Systems git repositories:

Component GIT Remote
MX8 mkimage git@git.dave.eu:desk-mx-l/desk-mx8-mkimage/desk-mx8-mkimage.git
U-Boot git@git.dave.eu:desk-mx-l/u-boot-imx.git
Linux kernel git@git.dave.eu:desk-mx-l/linux-imx.git
Yocto BSP git@git.dave.eu:desk-mx-l/desk-mx-l-bsp.git

For more information about the access to these repositories, please refer to this link.

Access to DAVE Embedded Systems' git repositories is granted to the development kit's owners only. Please refer to this page for detailed instructions on how to get access.

Instructions[edit | edit source]

The components listed in the table above can be kept in sync and up to date with DAVE Embedded Systems' repositories.

Once the git account has been enabled, the developer can:

  • clone the repository with the git clone <git_remote_repository> -b desk-mx8m-l-4.0.0 command
  • synchronize a source tree entering the repository directory and launching the git fetch origin command.

Please note that git fetch doesn't merge the commits on the current branch. To do that, the developer should run the git merge command or replace the fetch-merge process with a single git pull command. Please note that the recommended method is the fetch-merge process. For further information on Git, please refer to the official Git Documentation



Building Boot Image[edit | edit source]

200px-Emblem-important.svg.png

The following procedure may be used just during the development stage (as an example, for modifying and testing just some part of the overall binary like u-boot).

The Yocto build should be used for creating the deployment or production binary artifacts.

Quick reference[edit | edit source]

Repository Information
URL git@git.dave.eu:desk-mx-l/desk-mx8-mkimage.git
stable branch desk-mx8m-l-4.x.x
stable tag desk-mx8m-l-4.0.0

i.MX8 Boot Image[edit | edit source]

The System Controller Unit (SCU) represents the evolution of centralized control for system-level resources on i.MX8. The heart of the system controller is a Cortex-M4 that executes System Controller Firmware. The SCF is an essential part of the i.MX8 architecture. Please find more information about SCF here.

TF-A binary bl31.bin, scfw_tcm.bin and u-boot.bin are combined together to generate a binary file called flash.bin; the imx-mkimage tool is used to generate flash.bin which will be flashed into the bootable storage device.

In the following paragraphs we will explain how to get or build those binaries to be combined in a single binary to be flashed in the bootable storage device.

Prepare environment[edit | edit source]

It is assumed that the development environment has been set up properly as described here.

  • start the Linux development VM and login into the system
  • open a terminal window and cd into desk-mx8-mkimage directory
dvdk@vagrant:~$ cd desk-mx-l/desk-mx8-mkimage
dvdk@vagrant:~/desk-mx-l/desk-mx8-mkimage$
  • in case of needs you can update your local repository with the following git command
dvdk@vagrant:~/desk-mx-l/desk-mx8-mkimage$ git pull
  • configure the build environment
dvdk@vagrant:~/desk-mx-l/desk-mx8-mkimage$ source ~/desk-mx-l/desk-mx8m-l-4.0.0_env.sh 

Build U-Boot[edit | edit source]

First step is to build U-Boot binaries: the same instructions can be found in the dedicated wiki page

dvdk@vagrant:~$ cd ~/desk-mx-l/desk-mx8-mkimage/u-boot-imx/
dvdk@vagrant:~/desk-mx-l/desk-mx8-mkimage/u-boot-imx$
  • select the proper defconfig and start the make compilation

For ORCA SOM:

dvdk@vagrant:~/desk-mx-l/desk-mx8-mkimage/u-boot-imx$ make imx8mp_mito8mplus_defconfig
dvdk@vagrant:~/desk-mx-l/desk-mx8-mkimage/u-boot-imx$ make -j$(nproc)

For MITO 8M Mini SOM:

dvdk@vagrant:~/desk-mx-l/desk-mx8-mkimage/u-boot-imx$ make imx8mm_mito8mmini_defconfig
dvdk@vagrant:~/desk-mx-l/desk-mx8-mkimage/u-boot-imx$ make -j$(nproc)

This steps produce the u-boot-spl.bin and u-boot.bin files used at the last step.

dvdk@vagrant:~/desk-mx-l/desk-mx8-mkimage/u-boot-imx$ ls -la spl/u-boot-spl.bin
-rwxrwxr-x 1 dvdk dvdk 94328 Feb 17 14:56 spl/u-boot-spl.bin
dvdk@vagrant:~/desk-mx-l/desk-mx8-mkimage/u-boot-imx$ ls -la u-boot.bin
-rw-rw-r-- 1 dvdk dvdk 861312 Feb 17 14:55 u-boot.bin
dvdk@vagrant:~/desk-mx-l/desk-mx8-mkimage/u-boot-imx$ 

Build ATF[edit | edit source]

This process builds the ARM Trusted Firmware: please find more information here

dvdk@vagrant:~$ cd ~/desk-mx-l/desk-mx8-mkimage/imx-atf/
dvdk@vagrant:~/desk-mx-l/desk-mx8-mkimage/imx-atf$
  • for building the ATF, the following var has to be unset
dvdk@vagrant:~/desk-mx-l/desk-mx8-mkimage/imx-atf$ unset LDFLAGS

Then, build the TF-A binary for the selected platform.

For ORCA SOM:

dvdk@vagrant:~/desk-mx-l/desk-mx8-mkimage/imx-atf$ make PLAT=imx8mp bl31

For MITO 8M Mini SOM:

dvdk@vagrant:~/desk-mx-l/desk-mx8-mkimage/imx-atf$ make PLAT=imx8mm bl31

Get i.MX firmware[edit | edit source]

This will download the binary archive, accept EULA automatically (you must agree with that) and extract the archive itself

dvdk@vagrant:~$ cd ~/desk-mx-l/desk-mx8-mkimage/
dvdk@vagrant:~/desk-mx-l/desk-mx8-mkimage$ ./fetch_firmware.sh 
--2023-07-24 15:25:21--  https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-imx-8.18.bin
Resolving www.nxp.com (www.nxp.com)... 104.87.170.182
Connecting to www.nxp.com (www.nxp.com)|104.87.170.182|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1513050 (1.4M) [application/octet-stream]
Saving to: ‘firmware-imx-8.18.bin’

firmware-imx-8.18.bin                                       100%[=========================================================================================================================================>]   1.44M  --.-KB/s    in 0.05s   

2023-07-24 15:25:21 (31.1 MB/s) - ‘firmware-imx-8.18.bin’ saved [1513050/1513050]

Welcome to NXP firmware-imx-8.18.bin

WARNING: EULA has been auto-accepted; this implies that you agree with it.
Unpacking file ................................................................................ done
dvdk@vagrant:~/desk-mx-l/desk-mx8-mkimage$

Generate Boot image[edit | edit source]

After building all pieces of software, create the flash.bin boot Image running:

./${BOARD}_generate_flash.bin

where BOARD is: imx8mp-mito8mplus or imx8mm-mito8mmini

For ORCA SOM:

dvdk@vagrant:~$ cd ~/desk-mx-l/desk-mx8-mkimage/
dvdk@vagrant:~/desk-mx-l/desk-mx8-mkimage$ ./imx8mp-mito8mplus_generate_flash.bin 
Compiling mkimage_imx8
PLAT=imx8mp HDMI=no
Compiling mkimage_imx8
gcc  -O2 -pipe -g -feliminate-unused-debug-types  mkimage_imx8.c -o mkimage_imx8 -lz
23582+0 records in
23582+0 records out
94328 bytes (94 kB, 92 KiB) copied, 0.0379032 s, 2.5 MB/s
./../scripts/dtb_check.sh imx8mp-evk.dtb evk.dtb
Use u-boot DTB: imx8mp-evk.dtb
./../scripts/pad_image.sh tee.bin
...
...
...
...
========= OFFSET dump =========
Loader IMAGE:
 header_image_off 	0x0
 dcd_off 		0x0
 image_off 		0x40
 csf_off 		0x2b800
 spl hab block: 	0x91ffc0 0x0 0x2b800

Second Loader IMAGE:
 sld_header_off 	0x58000
 sld_csf_off 		0x59020
 sld hab block: 	0x401fcdc0 0x58000 0x1020

******************************
******************************

flash.bin generated successfully
write it on a SD card with
dd if=flash.bin of=/dev/sdX bs=1k seek=32 conv=fsync

******************************
******************************
dvdk@vagrant:~/desk-mx-l/desk-mx8-mkimage$ 

For MITO M8M Mini SOM:

./imx8mm-mito8mmini_generate_flash.bin 

Binary files can be copied to the tftp root directory /tftpboot/desk-mx-l/ with the following command:

dvdk@vagrant:~/desk-mx-l/desk-mx8-mkimage$ cp flash.bin /tftpboot/desk-mx8m-l/desk-mx8m-l-4.0.0-rc2_imx8mp_flash.bin

For ORCA SOM:

dvdk@vagrant:~/desk-mx-l/desk-mx8-mkimage$ cp flash.bin /tftpboot/desk-mx8m-l/desk-mx8m-l-4.0.0_imx8mp_flash.bin

For MITO 8M Mini SOM:

dvdk@vagrant:~/desk-mx-l/desk-mx8-mkimage$ cp flash.bin /tftpboot/desk-mx8m-l/desk-mx8m-l-4.0.0_imx8mm_flash.bin

Please refer to this page for more information on how to update the bootloader on your board.



Building U-Boot[edit | edit source]

Quick reference[edit | edit source]

Repository Information
URL git@git.dave.eu:desk-mx-l/u-boot-imx.git
stable branch desk-mx8m-l-2.x.x
stable tag desk-mx-l-2.0.0

U-Boot defconfigs
Platform SOM ConfigID CB ConfigID defconfig
SBCX 0x00000002 0x0000100a imx8mm_mito8mmini_defconfig
SBC ORCA 0x00000005 0x00001008 imx8mp_mito8mplus_defconfig

Instructions[edit | edit source]

It is assumed that the development environment has been set up properly as described here.

  • start the Linux development VM and login into the system
  • open a terminal window and cd into U-Boot source code
cd desk-mx-l/u-boot
  • in case of needs you can update your local repository with the following git command
git pull
  • checkout the required branch
git checkout desk-mx8m-l-2.0.0
  • configure the build environment
source /home/dvdk/desk-mx-l/desk-mx8m-l-2.0.0_env.sh

For ORCA

make imx8mp_mito8mplus_defconfig
make

For MITO 8M Mini

make imx8mm_mito8mmini_defconfig
make

Binary files can be copied to the tftp root directory /tftpboot/desk-mx-l/ with the following command:

cp spl/u-boot-spl.bin /tftpboot/desk-mx-l/
cp u-boot.bin /tftpboot/desk-mx-l/

Please refer to this page for more information on how to update the bootloader on your board.




Building Linux[edit | edit source]

Quick reference[edit | edit source]

Repository Information
URL git@git.dave.eu:desk-mx-l/linux-imx.git
stable branch desk-mx8m-l-4.x.x
stable tag desk-mx8m-l-4.1.0

Build Information
defconfig imx_v8_defconfig
Kernel binary Image
Device trees Platform DTB
SBC AXEL imx8mm-mito8mmini-cb100a.dts
SBC ORCA imx8mp-mito8mplus-cb1008.dts

Instructions[edit | edit source]

It is assumed that the development environment has been set up properly as described here.

  • start the Linux development VM and login into the system
  • open a terminal window and cd into linux directory
dvdk@vagrant:~$ cd ~/desk-mx-l/linux
dvdk@vagrant:~/desk-mx-l/linux$
  • in case of needs you can update your local repository with the following git command
dvdk@vagrant:~/desk-mx-l/linux$ git pull
  • configure the build environment
dvdk@vagrant:~/desk-mx-l/linux$ source ~/desk-mx-l/desk-mx8m-l-4.0.0_env.sh 
  • enter the source tree directory and run the following commands:
dvdk@vagrant:~/desk-mx-l/linux$ make imx_v8_defconfig
dvdk@vagrant:~/desk-mx-l/linux$ make -j$(nproc) Image modules freescale/imx8mm-mito8mmini-cb100a.dtb freescale/imx8mp-mito8mplus-cb1008.dtb

NOTE: this is the default configuration suitable for the latest target.

The former command selects the default DESK-MX8M-L configuration, while the latter builds the kernel binary image with the required U-Boot header and the kernel device tree.

Default Linux kernel configuration can be changed by using the standard menuconfig, xconfig, or gconfig make target. Subsequent builds just require Image make target to update the binary image. Once the build process is complete, the kernel binary image is stored into the arch/arm64/boot/Image file. Both this file and the kernel device tree can be copied to the tftp root directory /tftpboot/desk-mx-l/ with the following commands:

dvdk@vagrant:~/desk-mx-l/linux$ cp arch/arm64/boot/Image /tftpboot/desk-mx8m-l/
dvdk@vagrant:~/desk-mx-l/linux$ cp arch/arm64/boot/dts/freescale/*.dtb /tftpboot/desk-mx8m-l/

Usually, kernel modules are installed with make modules_install command, but this method installs the modules into the /lib/modules directory of your MVM, which is not what you want.

A better way to deploy kernel modules while cross-compiling is

  • generate a .tar.gz archive
  • install this archive into the target root file system

User can create such an archive, for example, using the following commands:

dvdk@vagrant:~/desk-mx-l/linux$ mkdir modules-install
dvdk@vagrant:~/desk-mx-l/linux$ make INSTALL_MOD_PATH=modules-install modules_install
dvdk@vagrant:~/desk-mx-l/linux$ cd modules-install
dvdk@vagrant:~/desk-mx-l/linux/modules-install$ tar cvzf ../modules.tar.gz . && cd ..
dvdk@vagrant:~/desk-mx-l/linux$ 

Now copy modules.tar.gz into the target root file system and install them as root with the following command

root@desk-mx8mp:~# tar xvzf modules.tar.gz -C /


Building the Yocto BSP[edit | edit source]

Quick reference[edit | edit source]

Repository Information
Repository Yocto BSP Layer
URL git@git.dave.eu:desk-mx-l/meta-desk-mx.git
stable branch desk-mx8m-l-4.x.x
stable tag desk-mx8m-l-4.1.0
Build targets
Name Description
dave-image-devel This image include tools for development/debugging
desk-image-qt6 This image include a Qt6 graphic backend on framebuffer

Introduction[edit | edit source]

As known, in addition to a bootloader and the o.s. kernel, an embedded Linux system needs a root file system to operate. The root file system must contain everything needed to support the Linux system (applications, settings, data, etc.). The root file system is the file system that is contained on the same partition on which the root directory is located. The Linux kernel, at the end of its startup stage, mounts the root file system on the configured root device and finally launches the /sbin/init, the first user space process and "father" of all the other processes. For more information on the Linux filesystem, please refer to http://www.thegeekstuff.com/2010/09/linux-file-system-structure/.

DESK-MX8M-L provides one (or more) pre-built root file system, that can be used during the evaluation/development/deployment cycle. For instance, the root file system included in the desk-mx8m-l-4.x.x-image-devel image is suited for the development phase, since it provides a relatively rich set of packages including tools and libraries used to debug the application code. The pre-built root file systems are located here: /home/dvdk/<target_name>/rfs/<kit_name>/.

Besides the pre-built root file systems, DAVE also provides a rich repository containing pre-built applications and libraries. These packages can be easily installed on the target by using the apt-get tool. Please refer to this application note for more details.

To generate the supported root file systems, the build of the Yocto BSP has to be run. The output of this process is an image containing the U-Boot binary file, the Linux kernel image, and the selected root file system image. The following sections describe in detail how to execute this operation.

For more general information regarding the Yocto build system, please refer the dedicated category page.

How to build the Yocto BSP images including the U-Boot binary file, the Linux kernel image, and the target root file system image with KAS[edit | edit source]

200px-Emblem-important.svg.png

The following procedure requires the access to the DAVE Embedded Systems' git repositories. The access to such repositories is granted to development kit's owners only. Please refer to this page for detailed instructions on how to get it.


200px-Emblem-important.svg.png

This process requires a lot of hardware resources in terms of disk storage, RAM, and processing power. For this reason, it also is recommended to consider the use of a physical machine. For more details on this topic, please refer to the NXP documentation on this BSP, i.e. the i.MX Yocto Project User's Guide, which talks about the host setup for the Yocto build system.

Initialize the build environment[edit | edit source]

Check that the following packages are install:

dvdk@vagrant:~$ sudo apt-get update && sudo apt install gawk wget git diffstat unzip texinfo gcc build-essential chrpath socat cpio python3 python3-pip python3-pexpect xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev pylint3 xterm python3-subunit mesa-common-dev zstd liblz4-tool

Before running the build, the KAS environment must be initialized properly.

dvdk@vagrant:~$ virtualenv -p /usr/bin/python3 venv
created virtual environment CPython3.8.10.final.0-64 in 351ms
  creator CPython3Posix(dest=/home/dooraim/venv, clear=False, no_vcs_ignore=False, global=False)
  seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/home/dooraim/.local/share/virtualenv)
    added seed packages: pip==24.0, setuptools==69.1.1, wheel==0.42.0
  activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator
dvdk@vagrant:~$ source venv/bin/activate
(venv) dvdk@vagrant:~$ pip3 install kas==4.2
Collecting kas==4.2
  Downloading kas-4.2.tar.gz (39 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting PyYAML<7,>=3.0 (from kas==4.2)
  Using cached PyYAML-6.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.1 kB)
Collecting distro<2,>=1.0.0 (from kas==4.2)
  Downloading distro-1.9.0-py3-none-any.whl.metadata (6.8 kB)
Collecting jsonschema<5,>=2.5.0 (from kas==4.2)
  Using cached jsonschema-4.21.1-py3-none-any.whl.metadata (7.8 kB)
Collecting kconfiglib<15,>=14.1.0 (from kas==4.2)
  Downloading kconfiglib-14.1.0-py2.py3-none-any.whl.metadata (39 kB)
Collecting attrs>=22.2.0 (from jsonschema<5,>=2.5.0->kas==4.2)
  Using cached attrs-23.2.0-py3-none-any.whl.metadata (9.5 kB)
Collecting importlib-resources>=1.4.0 (from jsonschema<5,>=2.5.0->kas==4.2)
  Downloading importlib_resources-6.4.0-py3-none-any.whl.metadata (3.9 kB)
Collecting jsonschema-specifications>=2023.03.6 (from jsonschema<5,>=2.5.0->kas==4.2)
  Using cached jsonschema_specifications-2023.12.1-py3-none-any.whl.metadata (3.0 kB)
Collecting pkgutil-resolve-name>=1.3.10 (from jsonschema<5,>=2.5.0->kas==4.2)
  Using cached pkgutil_resolve_name-1.3.10-py3-none-any.whl.metadata (624 bytes)
Collecting referencing>=0.28.4 (from jsonschema<5,>=2.5.0->kas==4.2)
  Downloading referencing-0.34.0-py3-none-any.whl.metadata (2.8 kB)
Collecting rpds-py>=0.7.1 (from jsonschema<5,>=2.5.0->kas==4.2)
  Using cached rpds_py-0.18.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (4.1 kB)
Collecting zipp>=3.1.0 (from importlib-resources>=1.4.0->jsonschema<5,>=2.5.0->kas==4.2)
  Downloading zipp-3.18.1-py3-none-any.whl.metadata (3.5 kB)
Downloading distro-1.9.0-py3-none-any.whl (20 kB)
Using cached jsonschema-4.21.1-py3-none-any.whl (85 kB)
Downloading kconfiglib-14.1.0-py2.py3-none-any.whl (145 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 145.9/145.9 kB 12.2 MB/s eta 0:00:00
Using cached PyYAML-6.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (736 kB)
Using cached attrs-23.2.0-py3-none-any.whl (60 kB)
Downloading importlib_resources-6.4.0-py3-none-any.whl (38 kB)
Using cached jsonschema_specifications-2023.12.1-py3-none-any.whl (18 kB)
Using cached pkgutil_resolve_name-1.3.10-py3-none-any.whl (4.7 kB)
Downloading referencing-0.34.0-py3-none-any.whl (26 kB)
Using cached rpds_py-0.18.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB)
Downloading zipp-3.18.1-py3-none-any.whl (8.2 kB)
Building wheels for collected packages: kas
  Building wheel for kas (pyproject.toml) ... done
  Created wheel for kas: filename=kas-4.2-py3-none-any.whl size=57786 sha256=919ab9cedc442039708d8846f9fb02e8b43d823cb54d8785737bf46361c594a6
  Stored in directory: /home/dooraim/.cache/pip/wheels/5f/47/a7/e9a292a85a88f96c6b3d834d5e9aceb6927ae2e2b89b123ecb
Successfully built kas
Installing collected packages: zipp, rpds-py, PyYAML, pkgutil-resolve-name, kconfiglib, distro, attrs, referencing, importlib-resources, jsonschema-specifications, jsonschema, kas
Successfully installed PyYAML-6.0.1 attrs-23.2.0 distro-1.9.0 importlib-resources-6.4.0 jsonschema-4.21.1 jsonschema-specifications-2023.12.1 kas-4.2 kconfiglib-14.1.0 pkgutil-resolve-name-1.3.10 referencing-0.34.0 rpds-py-0.18.0 zipp-3.18.1
(venv) dvdk@vagrant:~$

then, fetch the meta-desk-mx repositories with the proper branch:

(venv) dvdk@vagrant:~/desk-mx-l/yocto$ git clone git@git.dave.eu:desk-mx-l/meta-desk-mx.git -b refs/tags/desk-mx8m-l-4.1.0

Running the build[edit | edit source]

Please note that even the basic root file system requires a few hours to build on a mid/hi range desktop (4-6 cores, 8-12 GiB RAM) also depending on your Internet connection speed (all sources are fetched from the network). Nearly 20GiB of disk space is required for the build. The process may be slowed down significantly since the performances of a virtual machine are reduced if compared to the physical hardware. Thus, it's recommended to check the hardware capabilities of the host system and, when building with Yocto is required, to consider the following options:

  • Migrating the build system to a physical machine
  • Assuming that the host system has the required resources, extending the hardware capabilities of the default MVM (e.g. adding more cores and disk space).

Once completed the initialization phase, developers can launch the Yocto image build with KAS, with the following commands:

  • for build dave-image-devel image with DESK-MX8MM-L machine
(venv) dvdk@vagrant:~/desk-mx-l/yocto$ kas build desk-mx8mm-l_devel.yml
  • for build dave-image-devel image with DESK-MX8MM-L machine with support of MULTILIB-LIB32
(venv) dvdk@vagrant:~/desk-mx-l/yocto$ kas build desk-mx8mm-l_devel_multilib.yml
  • for build dave-image-devel image with DESK-MX8MP-L machine
(venv) dvdk@vagrant:~/desk-mx-l/yocto$ kas build desk-mx8mp-l_devel.yml

Where dave-image-devel is one of the images listed in here.

Once the build process is completed, the resulting files (the U-Boot binaries, the Linux kernel image, the device tree blob, the .tar.gz compressed root file system image, etc.) will be available in build/tmp/deploy/images/<machine_name>.

Generating the SDKs[edit | edit source]

In way to get the corresponding SDK for QT6, perform the following command:

  • for DESK-MX8MM-L machine
(venv) dvdk@vagrant:~/desk-mx-l/yocto$ KAS_TASK="populate_sdk" kas build desk-mx8mm-l_qt6.yml
  • for DESK-MX8MP-L machine
(venv) dvdk@vagrant:~/desk-mx-l/yocto$ KAS_TASK="populate_sdk" kas build desk-mx8mp-l_qt6.yml

Generating the Toolchain[edit | edit source]

Toolchain can be created by the following command:

  • for DESK-MX8MM-L machine
(venv) dvdk@vagrant:~/desk-mx-l/yocto$ KAS_TARGET="meta-toolchain" kas build desk-mx8mm-l_devel.yml
  • for DESK-MX8MM-L machine with support of MULTILIB-LIB32
(venv) dvdk@vagrant:~/desk-mx-l/yocto$ KAS_TARGET="meta-toolchain" kas build desk-mx8mm-l_devel_multilib.yml
  • for DESK-MX8MP-L machine
(venv) dvdk@vagrant:~/desk-mx-l/yocto$ KAS_TARGET="meta-toolchain" kas build desk-mx8mp-l_devel.yml

Building additional packages[edit | edit source]

To build additional packages, for example memtester the user need to perform the following command

(venv) dvdk@vagrant:~/desk-mx-l/yocto$ KAS_TARGET="memtester" kas build desk-mx8mm-l_devel.yml

The resulting packages (the default format is deb) can be found inside build/tmp/deploy/deb.



How to create a bootable SD card[edit | edit source]

This article shows how to (re)create the bootable SD card, from the binary images produced by the DESK-MX-L Yocto build, using a standard SD image flasher like balenaEtcher

The process is relatively straightforward: it consists of writing the WIC file of interest generated by Yocto onto the SD card. The following instruction explains how to use balenaEtcher on a Windows host. The procedure is similar when working with a Linux host.

  • download the desired binary image to flash (*.wic or *.wic.bz2) from the mirror binary server selecting the proper DESK-MX8M-L release
    • among the binaries made available in the mirror there are several *.wic.bz2 files for the available releases. In particular, there is the dave-image-devel-desk-mx8mp.wic.bz2 (for ORCA) or dave-image-devel-desk-mx8mm.wic.bz2 (for MITO8M Mini) files. This image is the one used to program the microSD card delivered along with the evaluation kit.
  • connect the microSD card to the PC Host
  • open balenaEtcher tool
  • once the tool is open:
    • select the binary to flash by clicking on "Flash from file"
    • select the microSD to flash by clicking on "Select target"
    • flash the uSD by clicking o "Flash".
Unpacking
Flashing
Validating

SD card structure[edit | edit source]

The created SD card has the following structure:

  • raw sectors for the bootloader storage: tipically this is a 8MB raw part where storing the bootloader binaries (like imx8mp_flash.bin) for the bootrom startup
  • FAT32 first partition: this will be mapped to the /dev/mmcblk1p1 device in Linux
    • usually this partition contains the Linux kernel binary and the device tree blob
    • the splash screen image is stored in this partition too for a splash image showing during U-Boot startup
  • ext4 second partition: this will be mapped to the /dev/mmcblk1p2 device in Linux
    • this partition contains the Linux root file system

Creating the SD card from binary artifacts[edit | edit source]

Even if the overall binary artifacts have been created by the Yocto build, it is highly discouraged to manually create the SD card starting from them.

The Yocto build take care about the overall binary consistance (like kernel modules and so on) avoiding to mistmatch different version.

Moreover, the SD card is intended to be used during the development process and not for the production phase (where other deployment specifications and details have to be taken into account).




Hello World example[edit | edit source]

Here below an example on C code displaying the classic Hello World! message on the target serial console.

This example shows how to use the arm cross-compiler using the environment configured for this purpose

Setting the cross-compiler[edit | edit source]

  • start the Linux development VM and login into the system
  • open a terminal window and cd into your source code directory
dvdk@vagrant:~$ mkdir -p ~/myproject
dvdk@vagrant:~$ cd ~/myproject/
dvdk@vagrant:~/myproject$ vi hello.c
dvdk@vagrant:~/myproject$ cat hello.c 
#include <stdio.h>

int main(){
        printf("Hello, World!\n");
        return 0;
}
  • configure the build environment
dvdk@vagrant:~/myproject$ source /home/dvdk/desk-mx-l/desk-mx8m-l-4.0.0_env.sh
  • as you can see here below, the $CC environment variable has been properly configured for using the SDK sysroot parameter:
dvdk@vagrant:~/myproject$ echo $CC
aarch64-poky-linux-gcc -march=armv8-a+crc+crypto -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/opt/yocto/sdk/desk-mx8m-l/desk-mx8m-l-4.0.0/sysroots/armv8a-poky-linux
dvdk@vagrant:~/myproject$ 
  • invoke the cross-compiler for compiling your source code example: the object file obtained, is a proper ELF 64-bit for the target microprocessor
dvdk@vagrant:~/myproject$ $CC hello.c -o hello
dvdk@vagrant:~/myproject$ file hello
hello: ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, BuildID[sha1]=a7220d78ac1016774b614ce1d50adae71cd713a3, for GNU/Linux 3.14.0, with debug_info, not stripped
dvdk@vagrant:~/myproject$

Running the example on the target[edit | edit source]

Now it is enough to copy the object file in the /home/root rfs directory and boot from nfs...

dvdk@vagrant:~/myproject$ sudo cp hello /home/dvdk/desk-mx-l/rfs/desk-mx8m-l-4.0.0/mx8mp/home/root/
dvdk@vagrant:~/myproject$ sudo ls -la /home/dvdk/desk-mx-l/rfs/desk-mx8m-l-4.0.0/mx8mp/home/root/
total 32
drwx------ 3 root root  4096 Jul 25 12:52 .
drwxr-xr-x 4 root root  4096 Mar  9  2018 ..
-rwxr-xr-x 1 root root 13928 Jul 25 12:52 hello
drwxr-xr-x 7 root root  4096 Mar  9  2018 .nxp-demo-experience
-rw-r--r-- 1 root root  1011 Mar  9  2018 .profile
dvdk@vagrant:~/myproject$ 

on the target:

...
...
...
[  OK  ] Reached target Multi-User System.
[  OK  ] Started Weston, a Wayland .|mpositor, as a system service.
[  OK  ] Reached target Graphical Interface.
         Starting Record Runlevel Change in UTMP...
[  OK  ] Started Hostname Service.
[  OK  ] Started WPA supplicant.
[  OK  ] Finished Record Runlevel Change in UTMP.

NXP i.MX Release Distro 5.15-kirkstone desk-mx8mp ttymxc1

desk-mx8mp login: root
root@desk-mx8mp:~#
root@desk-mx8mp:~# ls -la
total 44
drwx------ 3 root root  4096 Jul 25 10:56 .
drwxr-xr-x 4 root root  4096 Mar  9  2018 ..
-rw------- 1 root root  8362 Jul 25 10:53 .bash_history
drwxr-xr-x 7 root root  4096 Mar  9  2018 .nxp-demo-experience
-rw-r--r-- 1 root root  1011 Mar  9  2018 .profile
-rwxr-xr-x 1 root root 13928 Jul 25 10:55 hello
root@desk-mx8mp:~# ./hello 
Hello, World!
root@desk-mx8mp:~#



Deployment[edit | edit source]

Boot from different storage devices[edit | edit source]

ORCA and MITO 8M Mini SOMs are designed to support different bootable storage devices.

The i.MX8M Plus and i.MX8M Mini/Nano SoCs support different boot modes. DAVE Embedded Systems SOM designs simplify and provide the following boot mode options:

The usage of NOR flash memories, NAND devices and eMMC devices can be chosen with regard to the reliability. This is especially true when the NAND flash is used as the boot device. Several techniques such as wear leveling and bad block management have to be implemented to achieve an acceptable reliability.

Please check the ORCA or MITO 8M Mini P/N composition page for the storage devices available on the SOMs or contact our technical support for more information.



Customizing the splash screen[edit | edit source]

Resources[edit | edit source]

For further details on splash screen support in U-Boot, please refer to:

Instructions[edit | edit source]

The following U-Boot environment variables are required:

  • splashimage: RAM address where the BMP image is loaded. Please note that it must be a 32-bit aligned address with a 0x2 offset (eg: 0x20000002)
  • loadsplash: comand for loading the BMP image from the storage device (e.g flash memory) to RAM. This command is automatically run by U-Boot at startup
U-Boot variables[edit | edit source]
loadsplash=run mmc_loadsplash
mmc_loadsplash=ext4load mmc ${mmcdev}:1 ${loadaddr} ${splashfile}; cp.b ${loadaddr} ${splashimage} ${filesize}
splashfile=splash_image.bmp
splashimage=0x50000000

Please note that the eMMC first partition is used for storing the splash image file. The BMP should be present into this partition (formatted as ext2, ext3 or ext4).



Standalone boot[edit | edit source]

Introduction[edit | edit source]

This document was written and tested with the software/hardware combination described in the history table above. However, it contains general concepts that can be adapted on any DAVE Embedded Systems' Linux platform.


200px-Emblem-important.svg.png

The following programming examples are intended for laboratory usage or for preliminary deployment strategy.

A complete deployment strategy has to be carefully identified taking into account the overall arguments like boot speed, safe boot, recovery mechanisms, watchdog supervisor, etc.


Generally speaking, it is possible to configure a <SOM> to boot in standalone mode, without the need of a system microSD card or an NFS server, for example, with three options:

  • booting with NOR and NAND internal storage
    • in this configuration the primary boot images will be fetched from NOR flash storage, while the root file system will be fetched from NAND flash
  • booting with NAND only
    • in this configuration the whole system will boot without the need of a NOR flash storage, all images and the root file system will be fetched from NAND flash
  • booting with eMMC only
    • in this configuration the whole system will boot without the need of a NOR/NAND flashes storage, all images and the root file system will be fetched from the eMMC flash


200px-Emblem-important.svg.png

In the following paragraphs, we will take into account a real case using an embedded eMMC mounted in the ORCA or MITO 8M Mini SOMs

Program boot images into eMMC[edit | edit source]

The flash.bin Boot Image can be created following the instructions described in the Building Boot Image wiki page, fir example:

Boot binary[edit | edit source]

Load Boot binary form a tftp server:

load='tftpboot ${loadaddr} ${serverip}:${binfile}'
binfile='desk-mx8m-l/imx8mp_flash.bin'
u-boot=> run load
Using ethernet@30be0000 device
TFTP from server 192.168.0.13; our IP address is 192.168.0.90
Filename 'desk-mx8m-l/imx8mp_flash.bin'.
Load address: 0x40480000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         ########
         1.8 MiB/s
done
Bytes transferred = 1304608 (13e820 hex)
u-boot=>

or load Boot binary form an SD card:

Hit ENTER within 1 seconds to stop autoboot
u-boot=> fatload mmc 1:1 ${loadaddr} imx8mp_flash.bin
1304608 bytes read in 63 ms (21.4 MiB/s)
u-boot=>

In case of MITO 8M Mini, the name of binary file to upload is imx8mm_flash.bin

ORCA SOM[edit | edit source]

Flash the Boot image[edit | edit source]

Update to the latest Boot image version allows usage of u-boot environment variables available.

mmc_update=mmc dev 2; setexpr blocks ${filesize} / 0x200; setexpr blocks ${blocks} + 1; mmc write ${loadaddr} 40 ${blocks}
u-boot=> run mmc_update 
switch to partitions #0, OK
mmc2(part 0) is current device (eMMC)

MMC write: dev # 2, block # 64, count 2809 ... 2809 blocks written: OK
u-boot=>

MITO 8M Mini[edit | edit source]

Flash the Boot image[edit | edit source]
mmc_update=mmc dev 0; setexpr blocks ${filesize} / 0x200; setexpr blocks ${blocks} + 1; mmc write ${loadaddr} 42 ${blocks}
u-boot=> run mmc_update 
switch to partitions #0, OK
mmc0(part 0) is current device (eMMC)

MMC write: dev # 0, block # 66, count 2748 ... 2748 blocks written: OK
u-boot=>

Configuring the u-boot environment manually[edit | edit source]

Once the Boot Image has been correctly programmed, start the system from eMMC in order to configure/program the u-boot environment variables for a correct boot sequence. U-Boot environment is already set.

kernel image and device tree[edit | edit source]

The following environment variables has to be set (or at least checked) in u-boot; depending on the formatted eMMC partition (FAT32 or ext4), the vars has to be properly modified:

FAT32[edit | edit source]

setenv mmc_loadk 'fatload mmc ${mmcdev}:1 ${loadaddr} ${image}'
setenv mmc_loadfdt 'fatload mmc ${mmcdev}:1 ${fdt_addr} ${fdt}'

ext4[edit | edit source]

setenv mmc_loadk 'ext4load mmc ${mmcdev}:1 ${loadaddr} ${image}'
setenv mmc_loadfdt 'ext4load mmc ${mmcdev}:1 ${fdt_addr} ${fdt}'

Then, u-boot uses the previously listed commands for reading the binary images and starting the Linux file system from the eMMC part 2 (which is reserved for the root-file system storage):

setenv mmcboot 'run mmcargs addcons addmisc; if run mmc_loadk; then if run mmc_loadfdt; then if run configid_fixupfdt; then booti ${loadaddr} - ${fdtaddr}; fi; fi; fi'
setenv mmcargs 'setenv bootargs root=${mmcroot}'
setenv normalboot mmcboot

boot vars[edit | edit source]

The following environment variables should be configured for u-boot properly identify the boot files, e.g.

setenv image Image

ORCA SOM[edit | edit source]

The platform dependent variable have to be properly configured:

  • the proper device tree binary
setenv fdt imx8mp-mito8mplus-cb1001.dtb
  • the eMMC mmcblk device
setenv mmcroot '/dev/mmcblk2p2 rootwait rw'

then save the environment and reboot the system to apply the new configuration:

u-boot=> saveenv
Saving Environment to MMC...
Writing to MMC(2)... done
u-boot=> reset

MITO 8M Mini[edit | edit source]

The platform dependent variable have to be properly configured:

  • the proper device tree binary
setenv fdt imx8mm-mito8mmini-cb100a.dtb
  • the eMMC mmcblk device
setenv mmcroot '/dev/mmcblk0p2 rootwait rw'

then save the environment and reboot the system to apply the new configuration:

u-boot=> saveenv
Saving Environment to MMC...
Writing to MMC(0)... done
u-boot=> reset

Program root file system into eMMC[edit | edit source]

  • boot the system via SD or NFS as described in the e Booting from NFS
  • eMMC device has to be partitioned and properly formatted choosing the file system for each partition
  • an example of SD partitioning script is the following one:


200px-Emblem-important.svg.png

In the following examples, mmcblk2 device is used, we will refer to ORCA SOM. If MITO 8M Mni is used the mmcblk0 block device has to be seleced

Partitioning[edit | edit source]

#!/bin/sh

node=$1

# partition size in MB
BOOTLOAD_RESERVE=8
BOOT_SIZE=2048
RFS_SIZE=4096

# create the SDCARD partition
part=""
echo ${node} | grep mmcblk > /dev/null
if [ "$?" -eq "0" ]; then
        part="p"
fi

# print the SD total capacity
total_size=`sfdisk -s ${node}`
total_size=`expr ${total_size} / 1024`
echo SD total size: ${total_size}KB

# calculate partition sizes
boot_start=`expr ${BOOTLOAD_RESERVE} \\* 1024 \\* 1024 / 512`
boot_size=`expr ${BOOT_SIZE} \\* 1024 \\* 1024 / 512`
rfs_start=`expr ${boot_size} + ${boot_start}`
rfs_size=`expr ${RFS_SIZE} \\* 1024 \\* 1024 / 512`

umount ${node}${part}1 > /dev/null 2>&1
umount ${node}${part}2 > /dev/null 2>&1

# call sfdisk to create partition table
 { echo ${boot_start},${boot_size},83,-; echo ${rfs_start},${rfs_size},83,-; } | sfdisk --force ${node}

# format the SDCARD partition
echo "formatting boot"
mkfs.vfat ${node}${part}1 -n boot
echo "formatting rfs"
mkfs.ext4 -F ${node}${part}2 -Lrfs

E.g.


root@desk-mx8mp:~# ./emmc_partition.sh /dev/mmcblk2
SD total size: 7457KB
[  238.978157]  mmcblk2: p1 p2 p3
Checking that no-one is using this disk right now ... OK

Disk /dev/mmcblk2: 7.29 GiB, 7820083200 bytes, 15273600 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xbe0f0cf6

Old situation:

Device         Boot    Start      End  Sectors  Size Id Type
/dev/mmcblk2p1         32768   524288   491521  240M  c W95 FAT32 (LBA)
/dev/mmcblk2p2        524289 12058623 11534335  5.5G 83 Linux
/dev/mmcblk2p3      12058624 15273599  3214976  1.5G 83 Linux

>>> Created a new DOS disklabel with disk identifier 0x7b310a69.
/dev/mmcblk2p1: Created a new partition 1 of type 'Linux' and of size 2 GiB.
/dev/mmcblk2p2: Created a new partition 2 of type 'Linux' and of size 4 GiB.
/dev/mmcblk2p3: Done.

New situation:
Disklabel type: dos
Disk identifier: 0x7b310a69

Device         Boot   Start      End Sectors Size Id Type
/dev/mmcblk2p1        16384  4210687 4194304   2G 83 Linux
/dev/mmcblk2p2      4210688 12599295 8388608   4G 83 Linux

The partition table has been altered.
Calling ioctl() to re-read partition table.
[  239.419641]  mmcblk2: p1 p2
Syncing disks.
formatting boot
mkfs.fat 4.2 (2021-01-31)
mkfs.fat: Warning: lowercase labels might not work properly on some systems
formatting rfs
mke2fs 1.45.3 (14-Jul-2019)
Discarding device blocks: done
Creating filesystem with 1048576 4k blocks and 262144 inodes
Filesystem UUID: aacf8195-ddbd-4fdc-a83e-99f57659367e
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912, 819200, 884736

Allocating group tables: done
Writing inode tables: done
Creating journal (16384 blocks): done
Writing superblocks and filesystem accounting information: done
root@desk-mx8mp:~#
  • create a mount point and mount the first partition
mkdir -p /mnt/emmc
mount /dev/mmcblk2p1 /mnt/emmc
  • copy kernel and dtb files from SD card
root@desk-mx8mp:~# mount /dev/mmcblk2p1 /mnt/emmc
root@desk-mx8mp:~# mkdir -p /mnt/sd
root@desk-mx8mp:~# mount /dev/mmcblk1p1 /mnt/sd
root@desk-mx8mp:~# cp /mnt/sd/* /mnt/emmc/
root@desk-mx8mp:~# umount /mnt/emmc
  • now mount the EXT4 volume in the temporary directory

E.g.:

root@desk-mx8mp:~# mount /dev/mmcblk2p2 /mnt/emmc
root@desk-mx8mp:~# cd /mnt/emmc/
root@desk-mx8mp:/mnt/emmc#
  • you can now extract the root file system into that directory
tar xvjf dave-image-devel-desk-mx8mp.tar.bz2
  • finally, you need to cleanly umount and safely reboot or turn off the system.
root@desk-mx8mp:/mnt/emmc# cd
root@desk-mx8mp:~# umount /mnt/emmc
root@desk-mx8mp:~# reboot

Boot configuration[edit | edit source]

Once the system has been completely programmed, select the eMMC boot mode, reboot the system and configure U-Boot to apply for using the new configuration, i.e. to boot from internal storage:

u-boot=> setenv bootcmd run mmcboot
u-boot=> saveenv
u-boot=> reset

Automatically Boot[edit | edit source]

In DESK-MX8M-L-4.0.0, U-Boot default envirounment has already all command, and variables, to perform boot from eMMC, without apply any manual change to U-Boot environment. If we load binaries from boot partition of uSD to boot partition of eMMC, and if boot partition of eMMC is formatting in FAT32, well, we have the following boot.


U-Boot SPL 2022.04-desk-mx8m-l-4.0.0 (Jul 21 2023 - 14:01:51 +0200)
WARNING: SOM ConfigID on block 0 is UNLOCKED
SOM ConfigID#: 00000005
DDRINFO: start DRAM init
DDRINFO: DRAM rate 4000MTS
DDRINFO:ddrphy calibration done
DDRINFO: ddrmix config done
Normal Boot
Trying to boot from BOOTROM
Boot Stage: Primary boot
image offset 0x8000, pagesize 0x200, ivt offset 0x0
WARNING: CB ConfigID on block 0 is UNLOCKED
Failed to find node!, err: -1!
Failed to find node!, err: -1!
NOTICE:  BL31: v2.6(release):desk-mx8m-l-4.0.0-rc2-0-g2b811b9b8
NOTICE:  BL31: Built : 19:00:25, Jun 29 2023


U-Boot 2022.04-desk-mx8m-l-4.0.0 (Jul 21 2023 - 14:01:51 +0200), Build: desk-mx8m-l-4.0.0

CPU:   Freescale i.MX8MP[8] rev1.1 1600 MHz (running at 1200 MHz)
CPU:   Industrial temperature grade (-40C to 105C) at 41C
Reset cause: POR
Model: DAVE i.MX8MPlus on SBC ORCA Rev A
DRAM:  6 GiB
Relocating to fff05000, new gd at fdbffda0, sp at fdbf5350
WARNING: CB ConfigID on block 0 is UNLOCKED
TCPC:  Vendor ID [0x1fc9], Product ID [0x5110], Addr [I2C2 0x50]
SNK.Power1.5 on CC2
PDO 0: type 0, 5000 mV, 500 mA [RSHUDE]
PDO 1: type 0, 9000 mV, 2180 mA []
PDO 2: type 0, 12000 mV, 1880 mA []
PDO 3: type 0, 15000 mV, 1510 mA []
PDO 4: type 0, 20000 mV, 1130 mA []
PDO 5: type 3, undefined
Requesting PDO 2: 12000 mV, 1880 mA
Source accept request
PD source ready!
tcpc_pd_receive_message: Polling ALERT register, TCPC_ALERT_RX_STATUS bit failed, ret = -62
TCPC:  Vendor ID [0x0], Product ID [0x202], Addr [I2C2 0x3d]
Core:  175 devices, 20 uclasses, devicetree: fit
MMC:   FSL_SDHC: 1, FSL_SDHC: 2
Loading Environment from MMC... OK
Fail to setup video link
In:    serial
Out:   serial
Err:   serial

 BuildInfo:
  - ATF 2b811b9

WARNING: SOM ConfigID on block 0 is UNLOCKED
SOM ConfigID#: 00000005
SOM UniqueID#: 1e261000:55aa2564:469660d3:d0c2b602
CB ConfigID#: 00001008
CB UniqueID#: b7000035:c48de62d
WARNING: SOM ConfigID on block 0 is UNLOCKED
SOM: MX8MP-Mito8MPlus on SBC-ORCA HDMI + LVDStoHDMI
switch to partitions #0, OK
mmc2(part 0) is current device (eMMC)
flash target is MMC:2
Net:   
Warning: ethernet@30bf0000 (eth1) using random MAC address - ea:ec:19:9a:0a:3e

Warning: ethernet@30be0000 (eth0) using random MAC address - ba:28:4b:b7:0d:e5
eth0: ethernet@30be0000, eth1: ethernet@30bf0000 [PRIME]
Fastboot: Normal
Normal Boot
Hit any key to stop autoboot:  2 ��� 1 ��� 0 
switch to partitions #0, OK
mmc2(part 0) is current device (eMMC)
Failed to load 'boot.scr'
31351296 bytes read in 122 ms (245.1 MiB/s)
Booting from mmc ...
61121 bytes read in 18 ms (3.2 MiB/s)
FDT: override 'som_uniqueid' with '1e261000:55aa2564:469660d3:d0c2b602'
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 0000000043011fff

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.15.71-desk-mx8m-l-4.0.0+g50e18a0c8871 (oe-user@oe-host) (aarch64-poky-linux-gcc (GCC) 11.3.0, GNU ld (GNU Binutils) 2.38.20220708) #1 SMP PREEMPT Thu Jul 20 10:56:49 UTC 2023
[    0.000000] Machine model: i.MX8MPlus Mito8MPlus on SBC Orca - adapter LVDS HDMI
[    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 0x1bf43a800-0x1bf43cfff]
[    0.000000] Zone ranges:
[    0.000000]   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 0x0000000056000000-0x00000000923fffff]
[    0.000000]   node   0: [mem 0x0000000092400000-0x00000000a43fffff]
[    0.000000]   node   0: [mem 0x00000000a4400000-0x00000001bfffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x00000001bfffffff]
[    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: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.2
[    0.000000] percpu: Embedded 20 pages/cpu s41368 r8192 d32360 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] Built 1 zonelists, mobility grouping on.  Total pages: 1548288
[    0.000000] Policy zone: Normal
[    0.000000] Kernel command line: console=ttymxc1,115200 root=/dev/mmcblk2p2 rootwait rw
[    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 0x00000000c0000000-0x00000000c4000000] (64MB)
[    0.000000] Memory: 4784748K/6291456K available (18688K kernel code, 1560K rwdata, 7244K rodata, 3008K init, 543K bss, 523668K 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] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 160 SPIs implemented
[    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: CPU0: found redistributor 0 region 0:0x0000000038880000
[    0.000000] ITS: No ITS available, not enabling LPIs
[    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.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.000537] pid_max: default: 32768 minimum: 301
[    0.000595] LSM: Security Framework initializing
[    0.000691] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.000720] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.002080] rcu: Hierarchical SRCU implementation.
[    0.003321] EFI services will not be available.
[    0.003519] smp: Bringing up secondary CPUs ...
[    0.003941] Detected VIPT I-cache on CPU1
[    0.003968] GICv3: CPU1: found redistributor 1 region 0:0x00000000388a0000
[    0.004002] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.004467] Detected VIPT I-cache on CPU2
[    0.004486] GICv3: CPU2: found redistributor 2 region 0:0x00000000388c0000
[    0.004506] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.004922] Detected VIPT I-cache on CPU3
[    0.004943] GICv3: CPU3: found redistributor 3 region 0:0x00000000388e0000
[    0.004960] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.005027] smp: Brought up 1 node, 4 CPUs
[    0.005053] SMP: Total of 4 processors activated.
[    0.005061] CPU features: detected: 32-bit EL0 Support
[    0.005065] CPU features: detected: 32-bit EL1 Support
[    0.005075] CPU features: detected: CRC32 instructions
[    0.012530] CPU: All CPU(s) started at EL2
[    0.012565] alternatives: patching kernel code
[    0.014270] devtmpfs: initialized
[    0.022591] KASLR disabled due to lack of seed
[    0.022732] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.022749] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.048412] pinctrl core: initialized pinctrl subsystem
[    0.048904] DMI not present or invalid.
[    0.049473] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.054524] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations
[    0.055000] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.055563] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.055655] audit: initializing netlink subsys (disabled)
[    0.055855] audit: type=2000 audit(0.052:1): state=initialized audit_enabled=0 res=1
[    0.056416] thermal_sys: Registered thermal governor 'step_wise'
[    0.056421] thermal_sys: Registered thermal governor 'power_allocator'
[    0.056702] cpuidle: using governor menu
[    0.056887] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.056968] ASID allocator initialised with 65536 entries
[    0.058077] Serial: AMBA PL011 UART driver
[    0.058136] imx mu driver is registered.
[    0.058158] imx rpmsg driver is registered.
[    0.069095] imx8mp-pinctrl 30330000.pinctrl: initialized IMX pinctrl driver
[    0.078570] platform 32c00000.bus:ldb@32ec005c: Fixing up cyclic dependency with 32e90000.lcd-controller
[    0.085104] platform 32fd8000.hdmi: Fixing up cyclic dependency with 32fc6000.lcd-controller
[    0.107321] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.107338] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.107345] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.107353] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.108512] cryptd: max_cpu_qlen set to 1000
[    0.111530] ACPI: Interpreter disabled.
[    0.112295] iommu: Default domain type: Translated 
[    0.112303] iommu: DMA domain TLB invalidation policy: strict mode 
[    0.112463] vgaarb: loaded
[    0.112735] SCSI subsystem initialized
[    0.113036] usbcore: registered new interface driver usbfs
[    0.113072] usbcore: registered new interface driver hub
[    0.113103] usbcore: registered new device driver usb
[    0.114239] mc: Linux media interface: v0.10
[    0.114262] videodev: Linux video capture interface: v2.00
[    0.114335] pps_core: LinuxPPS API ver. 1 registered
[    0.114341] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.114359] PTP clock support registered
[    0.114530] EDAC MC: Ver: 3.0.0
[    0.115626] FPGA manager framework
[    0.115704] Advanced Linux Sound Architecture Driver Initialized.
[    0.116197] Bluetooth: Core ver 2.22
[    0.116223] NET: Registered PF_BLUETOOTH protocol family
[    0.116232] Bluetooth: HCI device and connection manager initialized
[    0.116241] Bluetooth: HCI socket layer initialized
[    0.116248] Bluetooth: L2CAP socket layer initialized
[    0.116263] Bluetooth: SCO socket layer initialized
[    0.117028] clocksource: Switched to clocksource arch_sys_counter
[    0.117165] VFS: Disk quotas dquot_6.6.0
[    0.117306] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.117453] pnp: PnP ACPI: disabled
[    0.123483] NET: Registered PF_INET protocol family
[    0.123725] IP idents hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.126613] tcp_listen_portaddr_hash hash table entries: 4096 (order: 4, 65536 bytes, linear)
[    0.126723] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.126741] TCP established hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.127150] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes, linear)
[    0.128017] TCP: Hash tables configured (established 65536 bind 65536)
[    0.128120] UDP hash table entries: 4096 (order: 5, 131072 bytes, linear)
[    0.128275] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes, linear)
[    0.128539] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.128966] RPC: Registered named UNIX socket transport module.
[    0.128974] RPC: Registered udp transport module.
[    0.128978] RPC: Registered tcp transport module.
[    0.128985] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.129696] PCI: CLS 0 bytes, default 64
[    0.130342] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    0.131129] kvm [1]: IPA Size Limit: 40 bits
[    0.132769] kvm [1]: GICv3: no GICV resource entry
[    0.132776] kvm [1]: disabling GICv2 emulation
[    0.132790] kvm [1]: GIC system register CPU interface enabled
[    0.132872] kvm [1]: vgic interrupt IRQ9
[    0.132980] kvm [1]: Hyp mode initialized successfully
[    0.136270] Initialise system trusted keyrings
[    0.136444] workingset: timestamp_bits=42 max_order=21 bucket_order=0
[    0.142443] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.143021] NFS: Registering the id_resolver key type
[    0.143051] Key type id_resolver registered
[    0.143058] Key type id_legacy registered
[    0.143128] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.143135] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.143155] jffs2: version 2.2. (NAND) � 2001-2006 Red Hat, Inc.
[    0.143474] 9p: Installing v9fs 9p2000 file system support
[    0.179192] Key type asymmetric registered
[    0.179201] Asymmetric key parser 'x509' registered
[    0.179249] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
[    0.179256] io scheduler mq-deadline registered
[    0.179265] io scheduler kyber registered
[    0.186321] EINJ: ACPI disabled.
[    0.196940] imx-sdma 30bd0000.dma-controller: Direct firmware load for imx/sdma/sdma-imx7d.bin failed with error -2
[    0.196961] imx-sdma 30bd0000.dma-controller: Falling back to sysfs fallback for: imx/sdma/sdma-imx7d.bin
[    0.198702] mxs-dma 33000000.dma-apbh: initialized
[    0.200393] SoC: i.MX8MP revision 1.1
[    0.200971] Bus freq driver module loaded
[    0.207293] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.209656] 30860000.serial: ttymxc0 at MMIO 0x30860000 (irq = 31, base_baud = 5000000) is a IMX
[    0.210132] 30880000.serial: ttymxc2 at MMIO 0x30880000 (irq = 32, base_baud = 5000000) is a IMX
[    0.210528] 30890000.serial: ttymxc1 at MMIO 0x30890000 (irq = 33, base_baud = 1500000) is a IMX
[    1.300270] printk: console [ttymxc1] enabled
[    1.319984] loop: module loaded
[    1.324570] megasas: 07.717.02.00-rc1
[    1.329980] imx ahci driver is registered.
[    1.335857] SPI driver spidev has no spi_device_id for spidev
[    1.341618] SPI driver spidev has no spi_device_id for dave,sbcx-exp
[    1.352148] tun: Universal TUN/TAP device driver, 1.6
[    1.357386] CAN device driver interface
[    1.362621] thunder_xcv, ver 1.0
[    1.365889] thunder_bgx, ver 1.0
[    1.369150] nicpf, ver 1.0
[    1.374410] hclge is initializing
[    1.377750] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - version
[    1.384981] hns3: Copyright (c) 2017 Huawei Corporation.
[    1.390352] e1000: Intel(R) PRO/1000 Network Driver
[    1.395238] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    1.401033] e1000e: Intel(R) PRO/1000 Network Driver
[    1.406003] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    1.411973] igb: Intel(R) Gigabit Ethernet Network Driver
[    1.417378] igb: Copyright (c) 2007-2014 Intel Corporation.
[    1.422983] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[    1.429261] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    1.435379] sky2: driver version 1.30
[    1.439749] usbcore: registered new interface driver r8152
[    1.445496] VFIO - User Level meta-driver version: 0.3
[    1.456312] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.462921] ehci-pci: EHCI PCI platform driver
[    1.467410] ehci-platform: EHCI generic platform driver
[    1.472880] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.479085] ohci-pci: OHCI PCI platform driver
[    1.483574] ohci-platform: OHCI generic platform driver
[    1.489742] usbcore: registered new interface driver uas
[    1.495111] usbcore: registered new interface driver usb-storage
[    1.501191] usbcore: registered new interface driver usbserial_generic
[    1.507744] usbserial: USB Serial support registered for generic
[    1.513781] usbcore: registered new interface driver ftdi_sio
[    1.519546] usbserial: USB Serial support registered for FTDI USB Serial Device
[    1.526892] usbcore: registered new interface driver usb_serial_simple
[    1.533437] usbserial: USB Serial support registered for carelink
[    1.539551] usbserial: USB Serial support registered for zio
[    1.545231] usbserial: USB Serial support registered for funsoft
[    1.551259] usbserial: USB Serial support registered for flashloader
[    1.557633] usbserial: USB Serial support registered for google
[    1.563575] usbserial: USB Serial support registered for libtransistor
[    1.570124] usbserial: USB Serial support registered for vivopay
[    1.576154] usbserial: USB Serial support registered for moto_modem
[    1.582442] usbserial: USB Serial support registered for motorola_tetra
[    1.589080] usbserial: USB Serial support registered for nokia
[    1.594935] usbserial: USB Serial support registered for novatel_gps
[    1.601311] usbserial: USB Serial support registered for hp4x
[    1.607083] usbserial: USB Serial support registered for suunto
[    1.613029] usbserial: USB Serial support registered for siemens_mpi
[    1.619419] usbcore: registered new interface driver usb_ehset_test
[    1.630449] snvs_rtc 30370000.snvs:snvs-rtc-lp: registered as rtc0
[    1.636668] snvs_rtc 30370000.snvs:snvs-rtc-lp: setting system clock to 1970-01-01T00:00:00 UTC (0)
[    1.645868] i2c_dev: i2c /dev entries driver
[    1.652315] Driver for 1-wire Dallas network protocol.
[    1.660853] Bluetooth: HCI UART driver ver 2.3
[    1.665327] Bluetooth: HCI UART protocol H4 registered
[    1.670479] Bluetooth: HCI UART protocol BCSP registered
[    1.675814] Bluetooth: HCI UART protocol LL registered
[    1.680960] Bluetooth: HCI UART protocol ATH3K registered
[    1.686382] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    1.692757] Bluetooth: HCI UART protocol Broadcom registered
[    1.698445] Bluetooth: HCI UART protocol QCA registered
[    1.703906] EDAC MC: ECC not enabled
[    1.708995] sdhci: Secure Digital Host Controller Interface driver
[    1.715197] sdhci: Copyright(c) Pierre Ossman
[    1.720424] Synopsys Designware Multimedia Card Interface Driver
[    1.727260] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.735386] ledtrig-cpu: registered to indicate activity on CPUs
[    1.742377] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[    1.749315] usbcore: registered new interface driver usbhid
[    1.754895] usbhid: USB HID core driver
[    1.764404]  cs_system_cfg: CoreSight Configuration manager initialised
[    1.766495] mmc2: SDHCI controller on 30b60000.mmc [30b60000.mmc] using ADMA
[    1.775104] Galcore version 6.4.3.p4.398061
[    1.870047] mmc2: new HS400 Enhanced strobe MMC card at address 0001
[    1.877250] mmcblk2: mmc2:0001 DG4008 7.28 GiB 
[    1.882961]  mmcblk2: p1 p2
[    1.886234] mmcblk2boot0: mmc2:0001 DG4008 4.00 MiB 
[    1.892847] mmcblk2boot1: mmc2:0001 DG4008 4.00 MiB 
[    1.894333] [drm] Initialized vivante 1.0.0 20170808 for 40000000.mix_gpu_ml on minor 0
[    1.899316] mmcblk2rpmb: mmc2:0001 DG4008 4.00 MiB, chardev (234:0)
[    1.907266] hantrodec 0 : module inserted. Major = 510
[    1.917734] hantrodec 1 : module inserted. Major = 510
[    1.924313] hantroenc: HW at base <0000000038320000> with ID <0x80006200>
[    1.931242] hx280enc: module inserted. Major <509>
[    1.939660] NET: Registered PF_LLC protocol family
[    1.944964] NET: Registered PF_INET6 protocol family
[    1.952488] Segment Routing with IPv6
[    1.956201] In-situ OAM (IOAM) with IPv6
[    1.960171] NET: Registered PF_PACKET protocol family
[    1.965257] can: controller area network core
[    1.969654] NET: Registered PF_CAN protocol family
[    1.974469] can: raw protocol
[    1.977450] can: broadcast manager protocol
[    1.981649] can: netlink gateway - max_hops=1
[    1.987084] Bluetooth: RFCOMM TTY layer initialized
[    1.992013] Bluetooth: RFCOMM socket layer initialized
[    1.997195] Bluetooth: RFCOMM ver 1.11
[    2.000951] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    2.006270] Bluetooth: BNEP filters: protocol multicast
[    2.011507] Bluetooth: BNEP socket layer initialized
[    2.016479] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    2.022411] Bluetooth: HIDP socket layer initialized
[    2.028396] 8021q: 802.1Q VLAN Support v1.8
[    2.032616] lib80211: common routines for IEEE802.11 drivers
[    2.038736] 9pnet: Installing 9P2000 support
[    2.043039] tsn generic netlink module v1 init...
[    2.047848] Key type dns_resolver registered
[    2.052989] Loading compiled-in X.509 certificates
[    2.082252] regulator-se050-en GPIO handle specifies active low - ignored
[    2.156940] nxp-pca9450 0-0025: pca9450bc probed.
[    2.161765] i2c i2c-0: IMX I2C adapter registered
[    2.167865] i2c 1-003c: Fixing up cyclic dependency with 32e40000.csi
[    2.174632] ov5640 1-003c: supply DOVDD not found, using dummy regulator
[    2.181433] ov5640 1-003c: supply AVDD not found, using dummy regulator
[    2.188103] ov5640 1-003c: supply DVDD not found, using dummy regulator
[    2.197081] i2c i2c-1: IMX I2C adapter registered
[    2.202907] i2c 2-003c: Fixing up cyclic dependency with 32e50000.csi
[    2.209662] ov5640 2-003c: supply DOVDD not found, using dummy regulator
[    2.216460] ov5640 2-003c: supply AVDD not found, using dummy regulator
[    2.223129] ov5640 2-003c: supply DVDD not found, using dummy regulator
[    2.235890] i2c i2c-2: IMX I2C adapter registered
[    2.241755] i2c 5-004c: Fixing up cyclic dependency with 32c00000.bus:ldb@32ec005c
[    2.332690] i2c i2c-5: IMX I2C adapter registered
[    2.338356] imx8mq-usb-phy 381f0040.usb-phy: supply vbus not found, using dummy regulator
[    2.346880] imx8mq-usb-phy 382f0040.usb-phy: supply vbus not found, using dummy regulator
[    2.357420] imx6q-pcie 33800000.pcie: supply epdev_on not found, using dummy regulator
[    2.365705] imx6q-pcie 33800000.pcie: EXT REF_CLK is used!.
[    2.371906] imx6q-pcie 33800000.pcie: PCIe PHY PLL clock is locked.
[    2.378876] pps pps0: new PPS source ptp0
[    2.391630] fec 30be0000.ethernet eth0: registered PHC device 0
[    2.398472] imx-dwmac 30bf0000.ethernet: IRQ eth_lpi not found
[    2.405484] imx-dwmac 30bf0000.ethernet: User ID: 0x10, Synopsys ID: 0x51
[    2.409393] imx6q-pcie 33800000.pcie: PCIe PLL is locked.
[    2.412292] imx-dwmac 30bf0000.ethernet: 	DWMAC4/5
[    2.417733] imx6q-pcie 33800000.pcie: iATU unroll: enabled
[    2.422479] imx-dwmac 30bf0000.ethernet: DMA HW capability register supported
[    2.427961] imx6q-pcie 33800000.pcie: Detected iATU regions: 4 outbound, 4 inbound
[    2.435097] imx-dwmac 30bf0000.ethernet: RX Checksum Offload Engine supported
[    2.442672] imx6q-pcie 33800000.pcie: host bridge /soc@0/pcie@33800000 ranges:
[    2.449803] imx-dwmac 30bf0000.ethernet: TX Checksum insertion supported
[    2.457039] imx6q-pcie 33800000.pcie:   No bus range found for /soc@0/pcie@33800000, using [bus 00-ff]
[    2.463725] imx-dwmac 30bf0000.ethernet: Wake-Up On Lan supported
[    2.473059] imx6q-pcie 33800000.pcie:       IO 0x001ff80000..0x001ff8ffff -> 0x0000000000
[    2.479174] imx-dwmac 30bf0000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    2.487316] imx6q-pcie 33800000.pcie:      MEM 0x0018000000..0x001fefffff -> 0x0018000000
[    2.494963] imx-dwmac 30bf0000.ethernet: Enabled L3L4 Flow TC (entries=8)
[    2.503218] imx6q-pcie 33800000.pcie: iATU unroll: enabled
[    2.509928] imx-dwmac 30bf0000.ethernet: Enabled RFS Flow TC (entries=8)
[    2.515416] imx6q-pcie 33800000.pcie: Detected iATU regions: 4 outbound, 4 inbound
[    2.522157] imx-dwmac 30bf0000.ethernet: Enabling HW TC (entries=256, max_off=256)
[    2.537277] imx-dwmac 30bf0000.ethernet: Using 34 bits DMA width
[    2.547844] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    2.553374] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
[    2.561377] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220fe6d hci version 0x110 quirks 0x0000002001010010
[    2.570813] xhci-hcd xhci-hcd.1.auto: irq 77, io mem 0x38100000
[    2.576863] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    2.582368] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
[    2.590040] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[    2.597389] hub 1-0:1.0: USB hub found
[    2.601173] hub 1-0:1.0: 1 port detected
[    2.605413] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    2.614567] hub 2-0:1.0: USB hub found
[    2.618351] hub 2-0:1.0: 1 port detected
[    2.621648] imx6q-pcie 33800000.pcie: Link up
[    2.625148] gpio-42 (onewire): enforced open drain please flag it properly in DT/ACPI DSDT/board file
[    2.637329] imx-cpufreq-dt imx-cpufreq-dt: cpu speed grade 7 mkt segment 2 supported-hw 0x80 0x4
[    2.647021] Hot alarm is canceled. GPU3D clock will return to 64/64
[    2.657065] sdhci-esdhc-imx 30b50000.mmc: Got CD GPIO
[    2.657604] mxc-mipi-csi2-sam 32e40000.csi: supply mipi-phy not found, using dummy regulator
[    2.663612] w1_master_driver w1_bus_master1: Attaching one wire slave 2d.000035c48de6 crc b7
[    2.670851] : mipi_csis_imx8mp_phy_reset, No remote pad found!
[    2.684918] mxc-mipi-csi2-sam 32e40000.csi: lanes: 2, hs_settle: 13, clk_settle: 2, wclk: 1, freq: 500000000
[    2.693135] mmc1: SDHCI controller on 30b50000.mmc [30b50000.mmc] using ADMA
[    2.695652] mxc-mipi-csi2-sam 32e50000.csi: supply mipi-phy not found, using dummy regulator
[    2.710529] : mipi_csis_imx8mp_phy_reset, No remote pad found!
[    2.716428] mxc-mipi-csi2-sam 32e50000.csi: lanes: 2, hs_settle: 13, clk_settle: 2, wclk: 1, freq: 266000000
[    2.725040] imx6q-pcie 33800000.pcie: Link up
[    2.727861] isi-capture 32e00000.isi:cap_device: deferring 32e00000.isi:cap_device device registration
[    2.730627] imx6q-pcie 33800000.pcie: Link up, Gen2
[    2.745627] mxc-isi 32e00000.isi: mxc_isi.0 registered successfully
[    2.753251] isi-capture 32e02000.isi:cap_device: deferring 32e02000.isi:cap_device device registration
[    2.762684] mxc-isi 32e02000.isi: mxc_isi.1 registered successfully
[    2.771602] dwhdmi-imx 32fd8000.hdmi: Detected HDMI TX controller v2.13a with HDCP (samsung_dw_hdmi_phy2)
[    2.781679] dwhdmi-imx 32fd8000.hdmi: registered DesignWare HDMI I2C bus driver
[    2.790000] imx-drm display-subsystem: bound imx-lcdifv3-crtc.0 (ops lcdifv3_crtc_ops)
[    2.797970] imx-drm display-subsystem: bound imx-lcdifv3-crtc.1 (ops lcdifv3_crtc_ops)
[    2.806149] imx-drm display-subsystem: bound 32c00000.bus:ldb@32ec005c (ops imx8mp_ldb_ops)
[    2.814531] imx-drm display-subsystem: bound 32fd8000.hdmi (ops dw_hdmi_imx_ops)
[    2.822196] [drm] Initialized imx-drm 1.0.0 20120507 for display-subsystem on minor 1
[    2.837044] imx6q-pcie 33800000.pcie: Link up
[    2.841520] imx6q-pcie 33800000.pcie: PCI host bridge to bus 0000:00
[    2.841635] mmc0: SDHCI controller on 30b40000.mmc [30b40000.mmc] using ADMA
[    2.847906] pci_bus 0000:00: root bus resource [bus 00-ff]
[    2.860427] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    2.861035] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[    2.866612] pci_bus 0000:00: root bus resource [mem 0x18000000-0x1fefffff]
[    2.878184] mmc0: queuing unknown CIS tuple 0x01 [d9 01 ff] (3 bytes)
[    2.880040] pci 0000:00:00.0: [16c3:abcd] type 01 class 0x060400
[    2.892461] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
[    2.894218] mmc0: queuing unknown CIS tuple 0x1a [01 01 00 02 07] (5 bytes)
[    2.898735] pci 0000:00:00.0: reg 0x38: [mem 0x00000000-0x0000ffff pref]
[    2.909061] mmc0: queuing unknown CIS tuple 0x1b [c1 41 30 30 ff ff 32 00] (8 bytes)
[    2.912454] pci 0000:00:00.0: supports D1
[    2.920816] mmc0: queuing unknown CIS tuple 0x14 [] (0 bytes)
[    2.924149] pci 0000:00:00.0: PME# supported from D0 D1 D3hot D3cold
[    2.932050] mmc0: new high speed SDIO card at address 0001
[    2.938644] pci 0000:01:00.0: [1912:0015] type 00 class 0x0c0330
[    2.947817] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00001fff 64bit]
[    2.954972] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    2.974971] pci 0000:00:00.0: BAR 0: assigned [mem 0x18000000-0x180fffff]
[    2.981787] pci 0000:00:00.0: BAR 14: assigned [mem 0x18100000-0x181fffff]
[    2.988672] pci 0000:00:00.0: BAR 6: assigned [mem 0x18200000-0x1820ffff pref]
[    2.995906] pci 0000:01:00.0: BAR 0: assigned [mem 0x18100000-0x18101fff 64bit]
[    3.003255] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    3.008489] pci 0000:00:00.0:   bridge window [mem 0x18100000-0x181fffff]
[    3.015611] pcieport 0000:00:00.0: PME: Signaling with IRQ 242
[    3.021566] pci 0000:01:00.0: enabling device (0000 -> 0002)
[    3.078007] hub 1-1:1.0: USB hub found
[    3.082426] hub 1-1:1.0: 4 ports detected
[    3.195831] usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd
[    3.351589] hub 2-1:1.0: USB hub found
[    3.353662] hub 2-1:1.0: 4 ports detected
[    3.471897] Console: switching to colour frame buffer device 160x45
[    3.501810] imx-drm display-subsystem: [drm] fb0: imx-drmdrmfb frame buffer device
[    3.513556] isi-m2m 32e00000.isi:m2m_device: Register m2m success for ISI.0
[    3.520680] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    3.532577] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    3.541091] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    3.549713] platform regulatory.0: Falling back to sysfs fallback for: regulatory.db
[    3.558642] ALSA device list:
[    3.561625]   No soundcards found.
[    3.572590] EXT4-fs (mmcblk2p2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[    3.582433] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    3.590422] devtmpfs: mounted
[    3.593979] Freeing unused kernel memory: 3008K
[    3.605677] Run /sbin/init as init process
[    3.695221] systemd[1]: System time before build time, advancing clock.
[    3.710195] systemd[1]: systemd 250.5+ running in system mode (+PAM -AUDIT -SELINUX -APPARMOR +IMA -SMACK +SECCOMP -GCRYPT -GNUTLS -OPENSSL +ACL +BLKID -CURL -ELFUTILS -FIDO2 -IDN2 -IDN -IPTC +KMOD -LIBCRYPTSETUP +LIBFDISK -PCRE2 -PWQUALITY -P11KIT -QRENCODE -BZIP2 -LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=hybrid)
[    3.741876] systemd[1]: Detected architecture arm64.

Welcome to NXP i.MX Release Distro 5.15-kirkstone (kirkstone)!

[    3.818113] systemd[1]: Hostname set to <desk-mx8mp>.
[    3.873108] systemd-sysv-generator[195]: SysV service '/etc/init.d/single' lacks a native systemd unit 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.
[    3.897675] systemd-sysv-generator[195]: SysV service '/etc/init.d/sendsigs' lacks a native systemd unit 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.
[    3.922244] systemd-sysv-generator[195]: SysV service '/etc/init.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, in order to make it more safe and robust.
[    3.946500] systemd-sysv-generator[195]: SysV service '/etc/init.d/halt' lacks a native systemd unit 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.
[    3.970078] systemd-sysv-generator[195]: SysV service '/etc/init.d/umountnfs.sh' lacks a native systemd unit 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.
[    3.994614] systemd-sysv-generator[195]: SysV service '/etc/init.d/reboot' lacks a native systemd unit 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.
[    4.018363] systemd-sysv-generator[195]: SysV service '/etc/init.d/save-rtc.sh' lacks a native systemd unit 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.
[    4.257376] systemd[1]: Queued start job for default target Multi-User System.
[    4.299980] systemd[1]: Created slice Slice /system/getty.
[  OK  ] Created slice Slice /system/getty.
[    4.322835] systemd[1]: Created slice Slice /system/modprobe.
[  OK  ] Created slice Slice /system/modprobe.
[    4.346835] systemd[1]: Created slice Slice /system/serial-getty.
[  OK  ] Created slice Slice /system/serial-getty.
[    4.370622] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[    4.393404] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password …ts to Console Directory Watch.
[    4.417341] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password R�uests to Wall Directory Watch.
[    4.441785] systemd[1]: Reached target Path Units.
[  OK  ] Reached target Path Units.
[    4.461180] systemd[1]: Reached target Remote File Systems.
[  OK  ] Reached target Remote File Systems.
[    4.481152] systemd[1]: Reached target Slice Units.
[  OK  ] Reached target Slice Units.
[    4.501500] systemd[1]: Reached target Swaps.
[  OK  ] Reached target Swaps.
[    4.521642] systemd[1]: Listening on RPCbind Server Activation Socket.
[  OK  ] Listening on RPCbind Server Activation Socket.
[    4.545290] systemd[1]: Reached target RPC Port Mapper.
[  OK  ] Reached target RPC Port Mapper.
[    4.565521] systemd[1]: Listening on Syslog Socket.
[  OK  ] Listening on Syslog Socket.
[    4.585400] systemd[1]: Listening on initctl Compatibility Named Pipe.
[  OK  ] Listening on initctl Compatibility Named Pipe.
[    4.610005] systemd[1]: Listening on Journal Audit Socket.
[  OK  ] Listening on Journal Audit Socket.
[    4.633746] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[    4.657809] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[    4.677810] systemd[1]: Listening on Network Service Netlink Socket.
[  OK  ] Listening on Network Service Netlink Socket.
[    4.703573] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[    4.725674] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[    4.750077] systemd[1]: Listening on User Database Manager Socket.
[  OK  ] Listening on User Database Manager Socket.
[    4.776540] systemd[1]: Mounting Huge Pages File System...
         Mounting Huge Pages File System...
[    4.800197] systemd[1]: Mounting POSIX Message Queue File System...
         Mounting POSIX Message Queue File System...
[    4.824282] systemd[1]: Mounting Kernel Debug File System...
         Mounting Kernel Debug File System...
[    4.841812] systemd[1]: Kernel Trace File System was skipped because of a failed condition check (ConditionPathExists=/sys/kernel/tracing).
[    4.858313] systemd[1]: Mounting Temporary Directory /tmp...
         Mounting Temporary Directory /tmp...
[    4.881557] systemd[1]: Starting Create List of Static Device Nodes...
         Starting Create List of Static Device Nodes...
[    4.908977] systemd[1]: Starting Load Kernel Module configfs...
         Starting Load Kernel Module configfs...
[    4.932975] systemd[1]: Starting Load Kernel Module drm...
         Starting Load Kernel Module drm...
[    4.961320] systemd[1]: Starting Load Kernel Module fuse...
         Starting Load Kernel Module fuse...
[    4.973568] fuse: init (API version 7.34)
[    4.984699] systemd[1]: Starting RPC Bind...
         Starting RPC Bind...
[    5.001892] systemd[1]: File System Check on Root Device was skipped because of a failed condition check (ConditionPathIsReadWrite=!/).
[    5.014886] systemd[1]: systemd-journald.service: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
[    5.027788] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
[    5.039822] systemd[1]: Starting Journal Service...
         Starting Journal Service...
[    5.063356] systemd[1]: Load Kernel Modules was skipped because all trigger condition checks failed.
[    5.075669] systemd[1]: Starting Generate network units from Kernel command line...
         Starting Generate network �ts from Kernel command line...
[    5.104001] systemd[1]: Starting Remount Root and Kernel File Systems...
         Starting Remount Root and Kernel File Systems...
[    5.118020] EXT4-fs (mmcblk2p2): re-mounted. Opts: (null). Quota mode: none.
[    5.128392] systemd[1]: Starting Apply Kernel Variables...
         Starting Apply Kernel Variables...
[    5.148228] systemd[1]: Starting Coldplug All udev Devices...
         Starting Coldplug All udev Devices...
[    5.174853] systemd[1]: Started RPC Bind.
[  OK  ] Started RPC Bind.
[    5.197849] systemd[1]: Started Journal Service.
[  OK  ] Started Journal Service.
[  OK  ] Mounted Huge Pages File System.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Mounted Kernel Debug File System.
[  OK  ] Mounted Temporary Directory /tmp.
[  OK  ] Finished Create List of Static Device Nodes.
[  OK  ] Finished Load Kernel Module configfs.
[  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  ] Finished Apply Kernel Variables.
         Mounting FUSE Control File System...
         Mounting Kernel Configuration File System...
         Starting Flush Journal to Persistent Storage...
[    5.457700] systemd-journald[207]: Received client request to flush runtime journal.
         Starting Create Static Device Nodes in /dev...
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Mounted Kernel Configuration File System.
[  OK  ] Finished Flush Journal to Persistent Storage.
[  OK  ] Finished Create Static Device Nodes in /dev.
[  OK  ] Reached target Preparation for Local File Systems.
         Mounting /var/volatile...
         Starting Rule-based Manage�for Device Events and Files...
[  OK  ] Mounted /var/volatile.
         Starting Load/Save Random Seed...
[  OK  ] Reached target Local File Systems.
         Starting Create Volatile Files and Directories...
[  OK  ] Started Rule-based Manager for Device Events and Files.
[  OK  ] Finished Coldplug All udev Devices.
[  OK  ] Finished Create Volatile Files and Directories.
         Starting Network Time Synchronization...
         Starting Record System Boot/Shutdown in UTMP...
[  OK  ] Finished Record System Boot/Shutdown in UTMP.
[  OK  ] Started Network Time Synchronization.
[  OK  ] Reached target System Initialization.
[    6.025059] remoteproc remoteproc0: imx-dsp-rproc is available
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target System Time Set.
[    6.055034] caam-snvs 30370000.caam-snvs: violation handlers armed - init state
[  OK  ] Started Daily rotation of log files.
[    6.081366] caam 30900000.crypto: Entropy delay = 3200
[  OK  ] Reached target Timer Units.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Listening on dropbear.socket.
[  OK  ] Reached targe[    6.159066] caam 30900000.crypto: failed to acquire DECO 0
t Socket Units.
[    6.166378] caam 30900000.crypto: failed to instantiate RNG
[  OK  ] Reached target Basic System.
[    6.199084] wlan: loading out-of-tree module taints kernel.
[  OK  ] Started Job spooling tools.
[  OK  ] Started Periodic Command Scheduler.
[    6.306983] imx8_media_dev: module is from the staging directory, the quality is unknown, you have been warned.
         Starting D-Bus System Message Bus...
[    6.331177] random: dbus-daemon: uninitialized urandom read (12 bytes read)
[    6.342232] mx8-img-md: Registered mxc_isi.0.capture as /dev/video1
[    6.349045] mx8-img-md: Registered mxc_isi.1.capture as /dev/video2
[    6.352316] wlan: loading driver v4.5.25.46
[    6.355582] mx8-img-md: Registered sensor subdevice: ov5640 2-003c (1)
[    6.358178] random: dbus-daemon: uninitialized urandom read (12 bytes read)
[    6.373153] mx8-img-md: Registered sensor subdevice: ov5640 1-003c (2)
[    6.376648] hifDeviceInserted: Dumping clocks (50000000,200000000)
[    6.379831] mx8-img-md: created link [mxc_isi.0] => [mxc_isi.0.capture]
[    6.392632] mx8-img-md: created link [mxc-mipi-csi2.0] => [mxc_isi.0]
[    6.392646] mx8-img-md: created link [mxc_isi.1] => [mxc_isi.1.capture]
[    6.392651] mx8-img-md: created link [mxc-mipi-csi2.1] => [mxc_isi.1]
[    6.392656] mx8-img-md: created link [ov5640 1-003c] => [mxc-mipi-csi2.0]
[    6.392666] mx8-img-md: created link [ov5640 2-003c] => [mxc-mipi-csi2.1]
         Starting IPv6 P[    6.425941] mxc-md 32c00000.bus:camera: mxc_md_create_links
acket Filtering Framework...
         Starting IPv4 Packet Filtering Framework...
         Starting Lighttpd Daemon...
         Starting Telephony service...
[  OK  ] Started System Logging Service.
         Starting User Login Management...
[  OK  ] Started TEE Supplicant.
[  OK  ] Started D-Bus System Message Bus.
[  OK  ] Finished IPv6 Packet Filtering Framework.
[  OK  ] Finished IPv4 Packet Filtering Framework.
[  OK  ] Started Lighttpd Daemon.
[  OK  ] Started Telephony service.
[  OK  ] Started User Login Management.
[  OK  ] Reached target Preparation for Network.
[  OK  ] Reached target Hardware activated USB gadget.
[  OK  ] Listening on Load/Save RF �itch Status /dev/rfkill Watch.
         Starting Network Configuration...
         Starting Load/Save RF Kill Switch Status...
[  OK  ] Started Network Configuration.
         Starting Network Name Resolution...
[  OK  ] Started Load/Save RF Kill Switch Status.
[  OK  ] Started Network Name Resolution.
[  OK  ] Reached target Network.
[  OK  ] Reached target Host and Network Name Lookups.
         Starting Avahi mDNS/DNS-SD Stack...
         Starting DNS forwarder and DHCP server...
[  OK  ] Started NFS status monitor for NFSv2/3 locking..
[  OK  ] Started Respond to IPv6 Node Information Queries.
         Starting Network Time Service...
         Starting Postfix Mail Transport Agent...
[  OK  ] Started Network Router Discovery Daemon.
         Starting Permit User Sessions...
[  OK  ] Started Vsftpd ftp daemon.
[  OK  ] Started Xinetd A Powerful Replacement For Inetd.
[  OK  ] Started Network Time Service.
[  OK  ] Finished Permit User Sessions.
[  OK  ] Started DNS forwarder and DHCP server.
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
[  OK  ] Started Getty on tty1.
[  OK  ] Started Serial Getty on ttymxc1.
[  OK  ] Reached target Login Prompts.
[  OK  ] Started Postfix Mail Transport Agent.
[  OK  ] Reached target Multi-User System.
         Starting Record Runlevel Change in UTMP...
[  OK  ] Finished Record Runlevel Change in UTMP.
[  OK  ] Finished Load/Save Random Seed.

NXP i.MX Release Distro 5.15-kirkstone desk-mx8mp ttymxc1

desk-mx8mp login: root
root@desk-mx8mp:~# uname -a
Linux desk-mx8mp 5.15.71-desk-mx8m-l-4.0.0+g50e18a0c8871 #1 SMP PREEMPT Thu Jul 20 10:56:49 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux
root@desk-mx8mp:~# shutdown -h now
         Stopping Session c1 of User root...
[  OK  ] Removed slice Slice /system/modprobe.
[  OK  ] Stopped target Multi-User System.
[  OK  ] Stopped target Login Prompts.
[  OK  ] Stopped target RPC Port Mapper.
[  OK  ] Stopped target Timer Units.
[  OK  ] Stopped Daily rotation of log files.
[  OK  ] Stopped Daily Cleanup of Temporary Directories.
[  OK  ] Stopped target System Time Set.
[  OK  ] Stopped target Hardware activated USB gadget.
[  OK  ] Closed Load/Save RF Kill Switch Status /dev/rfkill Watch.
         Stopping Job spooling tools...
         Stopping Avahi mDNS/DNS-SD Stack...
         Stopping Periodic Command Scheduler...
         Stopping DNS forwarder and DHCP server...
         Stopping Getty on tty1...
         Stopping Lighttpd Daemon...
         Stopping NFS status monitor for NFSv2/3 locking....
         Stopping Respond to IPv6 Node Information Queries...
         Stopping Network Time Service...
         Stopping Telephony service...
         Stopping Postfix Mail Transport Agent...
         Stopping Network Router Discovery Daemon...
         Stopping Serial Getty on ttymxc1...
         Stopping System Logging Service...
         Stopping Load/Save Random Seed...
         Stopping Vsftpd ftp daemon...
         Stopping Xinetd A Powerful Replacement For Inetd...
[  OK  ] Stopped Job spooling tools.
[  OK  ] Stopped Periodic Command Scheduler.
[  OK  ] Stopped Telephony service.
[  OK  ] Stopped System Logging Service.
[  OK  ] Stopped Lighttpd Daemon.
[  OK  ] Stopped Avahi mDNS/DNS-SD Stack.
[  OK  ] Stopped NFS status monitor for NFSv2/3 locking..
[  OK  ] Stopped Respond to IPv6 Node Information Queries.
[  OK  ] Stopped Network Router Discovery Daemon.
[  OK  ] Stopped Network Time Service.
[  OK  ] Stopped Vsftpd ftp daemon.
[  OK  ] Stopped Xinetd A Powerful Replacement For Inetd.
[  OK  ] Stopped Getty on tty1.
[  OK  ] Stopped Serial Getty on ttymxc1.
[  OK  ] Stopped DNS forwarder and DHCP server.
[  OK  ] Stopped Postfix Mail Transport Agent.
[  OK  ] Stopped Load/Save Random Seed.
[  OK  ] Stopped Session c1 of User root.
[  OK  ] Removed slice Slice /system/getty.
[  OK  ] Removed slice Slice /system/serial-getty.
[  OK  ] Stopped target Host and Network Name Lookups.
         Stopping User Login Management...
         Stopping User Manager for UID 0...
[  OK  ] Stopped User Manager for UID 0.
         Stopping User Runtime Directory /run/user/0...
[  OK  ] Unmounted /run/user/0.
[  OK  ] Stopped User Runtime Directory /run/user/0.
[  OK  ] Removed slice User Slice of UID 0.
         Stopping D-Bus System Message Bus...
         Stopping Permit User Sessions...
[  OK  ] Stopped User Login Management.
[  OK  ] Stopped D-Bus System Message Bus.
[  OK  ] Stopped Permit User Sessions.
[  OK  ] Stopped target Network.
[  OK  ] Stopped target Remote File Systems.
         Stopping Network Name Resolution...
[  OK  ] Stopped Network Name Resolution.
         Stopping Network Configuration...
[  OK  ] Stopped Network Configuration.
[  OK  ] Stopped target Preparation for Network.
[  OK  ] Stopped IPv6 Packet Filtering Framework.
[  OK  ] Stopped IPv4 Packet Filtering Framework.
[  OK  ] Stopped target Basic System.
[  OK  ] Stopped target Path Units.
[  OK  ] Stopped Dispatch Password �ts to Console Directory Watch.
[  OK  ] Stopped Forward Password R�uests to Wall Directory Watch.
[  OK  ] Stopped target Slice Units.
[  OK  ] Removed slice User and Session Slice.
[  OK  ] Stopped target Socket Units.
[  OK  ] Closed Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Closed D-Bus System Message Bus Socket.
[  OK  ] Closed dropbear.socket.
[  OK  ] Stopped target System Initialization.
[  OK  ] Closed Syslog Socket.
[  OK  ] Closed Network Service Netlink Socket.
[  OK  ] Stopped Apply Kernel Variables.
         Stopping Network Time Synchronization...
[  OK  ] Stopped Network Time Synchronization.
[  OK  ] Stopped Create Volatile Files and Directories.
[  OK  ] Stopped target Local File Systems.
         Unmounting Temporary Directory /tmp...
         Unmounting /var/volatile...
[  OK  ] Unmounted Temporary Directory /tmp.
[  OK  ] Unmounted /var/volatile.
[  OK  ] Stopped target Preparation for Local File Systems.
[  OK  ] Stopped target Swaps.
[  OK  ] Reached target Unmount All Filesystems.
[  OK  ] Stopped Remount Root and Kernel File Systems.
[  OK  ] Stopped Create Static Device Nodes in /dev.
[  OK  ] Reached target System Shutdown.
[  OK  ] Reached target Late Shutdown Services.
[  OK  ] Finished System Power Off.
[  OK  ] Reached target System Power Off.
[   52.155590] systemd-shutdown[1]: Syncing filesystems and block devices.
[   52.175955] systemd-shutdown[1]: Sending SIGTERM to remaining processes...
[   52.201827] systemd-journald[207]: Received SIGTERM from PID 1 (systemd-shutdow).
[   52.213839] audit: type=1335 audit(1651167793.516:3): pid=207 uid=0 auid=4294967295 tty=(none) ses=4294967295 comm="systemd-journal" exe="/lib/systemd/systemd-journald" nl-mcgrp=1 op=disconnect res=1
[   60.411143] imx-sdma 30e10000.dma-controller: firmware found.
[   60.411433] imx-sdma 30bd0000.dma-controller: firmware found.
[   60.422840] imx-sdma 30bd0000.dma-controller: loaded firmware 4.6
[   62.203259] systemd-shutdown[1]: Waiting for process: 224 (systemd-udevd), 243 (systemd-udevd)
[   64.477453] cfg80211: failed to load regulatory.db
[   66.525432] xhci_hcd 0000:01:00.0: failed to load firmware renesas_usb_fw.mem, fallback to ROM
[   66.534140] xhci_hcd 0000:01:00.0: xHCI Host Controller
[   66.539406] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 3
[   66.552111] xhci_hcd 0000:01:00.0: hcc params 0x014051cf hci version 0x100 quirks 0x0000001100000090
[   66.561888] xhci_hcd 0000:01:00.0: xHCI Host Controller
[   66.567127] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 4
[   66.574547] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[   66.581837] hub 3-0:1.0: USB hub found
[   66.585614] hub 3-0:1.0: 2 ports detected
[   66.589887] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[   66.598583] hub 4-0:1.0: USB hub found
[   66.602356] hub 4-0:1.0: 2 ports detected
[   66.629359] systemd-shutdown[1]: Sending SIGKILL to remaining processes...
[   66.646040] systemd-shutdown[1]: Unmounting file systems.
[   66.653423] [443]: Remounting '/' read-only with options 'n/a'.
[   66.669965] EXT4-fs (mmcblk2p2): re-mounted. Opts: (null). Quota mode: none.
[   66.680878] systemd-shutdown[1]: All filesystems unmounted.
[   66.686583] systemd-shutdown[1]: Deactivating swaps.
[   66.691853] systemd-shutdown[1]: All swaps deactivated.
[   66.697213] systemd-shutdown[1]: Detaching loop devices.
[   66.704975] systemd-shutdown[1]: All loop devices detached.
[   66.710574] systemd-shutdown[1]: Stopping MD devices.
[   66.715875] systemd-shutdown[1]: All MD devices stopped.
[   66.721199] systemd-shutdown[1]: Detaching DM devices.
[   66.726563] systemd-shutdown[1]: All DM devices detached.
[   66.731975] systemd-shutdown[1]: All filesystems, swaps, loop devices, MD devices and DM devices detached.
[   66.748076] systemd-shutdown[1]: Syncing filesystems and block devices.
[   66.755091] systemd-shutdown[1]: Powering off.
[   66.759580] kvm: exiting hardware virtualization
[   66.849341] usb 3-2: new full-speed USB device number 2 using xhci_hcd
[   67.037260] reboot: Power down




How to configure the network interfaces[edit | edit source]

For deploying an Embedded System, one of the most important configuration is the Network Interface configuration.

Once the Embedded Device is finally configured for stand-alone bootstrap, the network interface should be configured for reaching the device remotely via network connections like ssh, telnet, ftp, http, etc.

This Application Note briefly describes how it is possible to simply configure the network interfaces on systemd

Resources[edit | edit source]

For further details on network configuration, please refer - for example - to:

Examples[edit | edit source]

The following configuration assumptions are used in the paragraphs shown below:

  • IP address range of the LAN network 192.168.1.0 - 192.168.1.255
  • IP address of the gateway 192.168.1.254
  • IP address of the device 192.168.1.100

systemd[edit | edit source]

The network configuration for systemd are basically found in the /etc/systemd/network/ directory.

The most simply way for configuring the network interface is to create/edit the file /etc/systemd/network/20-eth0.network as per the following paragraphs. In the event that there are another network interface, then this must be create/edit as /etc/systemd/network/20-eth1.network. For more example and usage hints on systemd, please refer to our wiki page.

Static IP address[edit | edit source]

SBC ORCA has two network interfaces, below is shown how to configure them both through a static IP. In the case of SBCX MINI there is only one ethernet interface, consequently going to configure only eth0 interface.

Example for ethernet interface 0.

[Match]
Name=eth0

# Prevent the interface loading if the kernel boots from nfs
KernelCommandLine=!nfsroot

[Network]
Address=192.168.1.100
Gateway=192.168.1.254
DNS=192.168.1.1

Example for ethernet interface 1.

[Match]
Name=eth1

# Prevent the interface loading if the kernel boots from nfs
KernelCommandLine=!nfsroot

[Network]
Address=192.168.1.101
Gateway=192.168.1.254
DNS=192.168.1.1

Once modified, the networkd service should be resarted:

systemctl restart systemd-networkd

Dynamic IP addres (DHCP)[edit | edit source]

SBC ORCA has two network interfaces, below is shown how to configure them both through DHCP. In the case of SBCX MINI there is only one ethernet interface, consequently going to configure only eth0 interface.

The network interface is configured - using a proper DHCP server on the network - by using the DHCP key in the configuration file as the following:

[Match]
Name=eth0

# Prevent the interface loading if the kernel boots from nfs
KernelCommandLine=!nfsroot

[Network]
DHCP=yes

In the event that there are another network interface, the configuration file as the following:

[Match]
Name=eth1

# Prevent the interface loading if the kernel boots from nfs
KernelCommandLine=!nfsroot

[Network]
DHCP=yes

When systemd network starts, it tries to use a DHCP server present in the network to configure the interface.

DNS[edit | edit source]

The DNS key (in the configuration file) is used only if the systemd-resolved service is enabled and the /etc/resolv.conf has a symbolic link to /run/systemd/resolve/stub-resolv.conf

ln -sf /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf

Once modified, the resolved service should be resarted:

systemctl restart systemd-resolved

loopback network interface[edit | edit source]

systemd contains native implementations of various tasks that need to be executed as part of the boot process.

For example, it sets the hostname or configures the loopback network device.

Apply configuration changes[edit | edit source]

After editing the above files, changes are applied after reboot or by restarting systemd-networkd.service:

root@desk-mx8mp:~# systemctl restart systemd-networkd.service


Peripherals[edit | edit source]

Peripheral CAN[edit | edit source]

Device tree configuration[edit | edit source]

Here below an example of device tree configuration that can be used modifying DAVE's kit for the ORCA SOM:

From imx8mp-mito8mplus-cb1001.dts:

&flexcan1 {
    pinctrl-names = "default";
    pinctrl-0 = <&pinctrl_flexcan1>;
    status = "okay";
};

&flexcan2 {
    pinctrl-names = "default";
    pinctrl-0 = <&pinctrl_flexcan2>;
    status = "okay";
};

From imx8mp-mito8mplus.dtsi:

    pinctrl_flexcan1: flexcan1grp {
	fsl,pins = <
		MX8MP_IOMUXC_SAI2_TXC__CAN1_RX		0x154
		MX8MP_IOMUXC_SAI5_RXD1__CAN1_TX		0x154
	>;
    };

    pinctrl_flexcan2: flexcan2grp {
	fsl,pins = <
		MX8MP_IOMUXC_SAI2_MCLK__CAN2_RX		0x154
		MX8MP_IOMUXC_SAI2_TXD0__CAN2_TX		0x154
	>;
    };

Accessing the peripheral[edit | edit source]

Linux messages at boot time[edit | edit source]

...
...
[    0.857679] CAN device driver interface
[    0.862032] flexcan 308c0000.can: 308c0000.can supply xceiver not found, using dummy regulator
[    0.871290] flexcan 308d0000.can: 308d0000.can supply xceiver not found, using dummy regulator
...
...
[    1.841605] can: controller area network core (rev 20170425 abi 9)
[    1.852275] can: raw protocol (rev 20170425)
[    1.856550] can: broadcast manager protocol (rev 20170425 t)
[    1.862220] can: netlink gateway (rev 20190810) max_hops=1

Enable the interface and check status[edit | edit source]

root@desk-mx8mp:~# ip link set can0 type can bitrate 500000 triple-sampling on
root@desk-mx8mp:~# ip link set can1 type can bitrate 500000 triple-sampling on
root@desk-mx8mp:~# ifconfig can0 up
[   94.651224] IPv6: ADDRCONF(NETDEV_CHANGE): can0: link becomes ready
root@desk-mx8mp:~# ifconfig can1 up
[   96.465845] IPv6: ADDRCONF(NETDEV_CHANGE): can1: link becomes ready
root@desk-mx8mp:~# ifconfig can0
can0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          UP RUNNING NOARP  MTU:16  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:10
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:29

root@desk-mx8mp:~# ifconfig can1
can1      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          UP RUNNING NOARP  MTU:16  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:10
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:30

root@desk-mx8mp:~#

Usage with can-utils[edit | edit source]

root@desk-mx8mp:~# cansend can0 5A1#11.22.33.44.55.66.77.88
interface = can0, family = 29, ty[  151.329908] flexcan 308c0000.can can0: bus-off
pe = 3, proto = 1
root@desk-mx8mp:~#

Additional information[edit | edit source]

Each CAN port appears like a networking interface in the form canX where X is the port number.

Information about programming the CAN socket interface is given in the kernel tree under Documentation/networking/can.txt

DESK-MX8M-L/Pheripherals/Ethernet DESK-MX8M-L/Pheripherals/HDMI DESK-MX8M-L/Pheripherals/LVDS DESK-MX8M-L/Pheripherals/MIPI DESK-MX8M-L/Pheripherals/SD DESK-MX8M-L/Pheripherals/UART DESK-MX8M-L/Pheripherals/USB OTG DESK-MX8M-L/Pheripherals/USB Host DESK-MX8M-L/Pheripherals/PCI express DESK-MX8M-L/Pheripherals/GPIOs