DESK-MX8M-L/Deployment/Standalone boot

From DAVE Developer's Wiki
Jump to: navigation, search
History
Issue Date Notes

2022/02/17

First DESK-MX8M-L release

2023/02/27

DESK-MX8M-L-2.0.0 release
2023/08/22 DESK-MX8M-L-4.0.0 release


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