i.MX8 devkit Core20 not detecting ubuntu-seed

Hi everyone.

I am having some difficulties in getting my devkit to install Core20 onto itself. The kit boots the kernel, goes over to initrd, and starts the services.

I can see that the-tool is being started, etc. (But it takes a long time to try and detect a TPM module, which is not present at all on this board)

Any way I can diagnose on why ubuntu-seed is not detected/mounted?

Initrd logs:

Welcome to Linux!
[    3.667677] systemd[1]: No hostname configured.
[    3.672381] systemd[1]: Set hostname to <ubuntu>.
[    3.677420] random: systemd: uninitialized urandom read (16 bytes read)
[    3.684395] systemd[1]: Initializing machine ID from random generator.
[    4.216048] random: systemd: uninitialized urandom read (16 bytes read)
[    4.224798] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password …ts to Console Directory Watch.
[    4.251962] random: systemd: uninitialized urandom read (16 bytes read)
[    4.258789] systemd[1]: Reached target Local Encrypted Volumes.
[  OK  ] Reached target Local Encrypted Volumes.
[    4.283551] systemd[1]: Reached target Paths.
[  OK  ] Reached target Paths.
[    4.303490] systemd[1]: Reached target Slices.
[  OK  ] Reached target Slices.
[    4.323539] systemd[1]: Reached target Swap.
[  OK  ] Reached target Swap.
[    4.344661] systemd[1]: Listening on initctl Compatibility Named Pipe.
[  OK  ] Listening on initctl Compatibility Named Pipe.
[    4.370252] systemd[1]: Listening on Journal Audit Socket.
[  OK  ] Listening on Journal Audit Socket.
[    4.392424] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[    4.416913] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[    4.436570] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[    4.460584] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[    4.486227] systemd[1]: dev-hugepages.mount: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
[    4.498790] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
[    4.527444] systemd[1]: Mounting Huge Pages File System...
         Mounting Huge Pages File System...
[    4.576634] systemd[1]: Mounting POSIX Message Queue File System...
         Mounting POSIX Message Queue File System...
[    4.626389] systemd[1]: Mounting Kernel Debug File System...
         Mounting Kernel Debug File System...
[    4.650712] systemd[1]: Condition check resulted in Kernel Trace File System being skipped.
[    4.680904] systemd[1]: Mounting Temporary Directory (/tmp)...
         Mounting Temporary Directory (/tmp)...
[    4.705019] random: systemd: uninitialized urandom read (16 bytes read)
[    4.735125] systemd[1]: Starting Journal Service...
         Starting Journal Service...
[    4.756965] systemd[1]: Condition check resulted in Create list of static device nodes for the current kernel being skipped.
[    4.770235] systemd[1]: Condition check resulted in Boot Process Profiler being skipped.
[    4.779532] systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped.
[    4.790417] random: systemd: uninitialized urandom read (16 bytes read)
[    4.822686] systemd[1]: Starting Load Kernel Modules...
         Starting Load Kernel Modules...
[    4.845407] random: systemd: uninitialized urandom read (16 bytes read)
[    4.885108] systemd[1]: Starting Create System Users...
         Starting Create System Users...
[    4.950870] systemd[1]: Starting udev Coldplug all Devices...
         Starting udev Coldplug all Devices...
[    5.010693] systemd[1]: Mounted Huge Pages File System.
[  OK  ] Mounted Huge Pages File System.
[    5.047568] systemd[1]: Mounted POSIX Message Queue File System.
[  OK  ] Mounted POSIX Message Queue File System.
[    5.078835] systemd[1]: Mounted Kernel Debug File System.
[  OK  ] Mounted Kernel Debug File System.
[    5.113374] systemd[1]: Mounted Temporary Directory (/tmp).
[  OK  ] Mounted Temporary Directory (/tmp).
[    5.133876] systemd-modules-load[174]: Failed to find module '[    5.142965] systemd[1]: Started Journal Service.
virtio_scsi'
[  OK  ] Started Journal Service.
[    5.169740] systemd-modules-load[174]: Module 'virtio_blk' is built in
[  OK  ] Finished Load Kernel Modules.
[    5.208670] systemd-modules-load[174]: Failed to find module 'hv_storvsc'
[  OK  ] Finished Create System Users.
[    5.248615] systemd-modules-load[174]: Failed to find module 'hv_vmbus'
[  OK  ] Reached target Local File Systems.
[    5.284978] systemd-modules-load[174]: Module 'scsi_transport_sas' is built in
[    5.328556] systemd-modules-load[174]: Module 'megaraid_sas' is built in
         Mounting Kernel Configuration File System...
[    5.337603] systemd-modules-load[174]: Failed to find module 'mptspi'
[    5.383360] systemd[1]: Finished Load Kernel Modules.
         Starting Flush Journal to Persistent Storage...
[    5.413935] systemd[1]: Finished Create System Users.
[    5.447645] systemd[1]: Reached target Local File Systems.
         Starting Apply Kernel Variables...
[    5.465299] systemd[1]: Condition check resulted in FUSE Control File System being skipped.
[    5.527942] systemd-journald[173]: Received client request to flush runtime journal.
         Starting Create Static Device Nodes in /dev...
[    5.558197] systemd[1]: Mounting Kernel Configuration File System...
[  OK  ] Mounted Kernel Configuration File System.
[    5.595887] systemd[1]: Condition check resulted in Store a System Token in an EFI Variable being skipped.
[  OK  ] Finished Flush Journal to Persistent Storage.
[    5.651118] systemd[1]: Starting Flush Journal to Persistent Storage...
[  OK  ] Finished Apply Kernel Variables.
[    5.692334] systemd[1]: Condition check resulted in Commit a transient machine-id on disk being skipped.
[    5.734201] systemd[1]: Starting Apply Kernel Variables...
[  OK  ] Finished Create Static Device Nodes in /dev.
[    5.756660] systemd[1]: Starting Create Static Device Nodes in /dev...
[    5.788383] random: systemd: uninitialized urandom read (16 bytes read)
[    5.799785] random: systemd-journal: uninitialized urandom read (16 bytes read)
[    5.808870] systemd[1]: Mounted Kernel Configuration File System.
         Starting Create Volatile Files and Directories    5.843203] random: systemd-journal: uninitialized urandom read (16 bytes read)
0m...
[    5.855376] systemd-sysctl[179]: Not setting net/ipv4/conf/all/promote_secondaries (explicit setting exists).
[    5.888896] systemd-sysctl[179]: Not setting net/ipv4/conf/default/promote_secondaries (explicit setting exists).
         Starting udev Kernel Device Manager...
[    5.891866] systemd-sysctl[179]: Couldn't write 'fq_codel' to 'net/core/default_qdisc', ignoring: No such file or directory
[    5.945094] systemd[1]: Finished Flush Journal to Persistent Storage.
[    5.973184] systemd[1]: Finished Apply Kernel Variables.
[    6.004963] systemd[1]: Finished Create Static Device Nodes in /dev.
[  OK  ] Finished Create Volatile Files and Directories.
[    6.038973] systemd[1]: Starting Create Volatile Files and Directories...
[    6.079513] systemd[1]: Starting udev Kernel Device Manager...
[    6.104358] systemd-tmpfiles[183]: Failed to copy files to /etc/nsswitch.conf: No such file or directory
         Starting Rebuild Journal Catalog...
[    6.139185] systemd-tmpfiles[183]: Failed to copy files to /etc/pam.d: No such file or directory
[  OK  ] Started udev Kernel Device Manager.
[    6.195012] systemd-tmpfiles[183]: Failed to copy files to /etc/issue: No such file or directory
[    6.241339] systemd[1]: Finished Create Volatile Files and Directories.
[    6.286216] journalctl[185]: No items in catalog.
[  OK  ] Finished Rebuild Journal Catalog.
[    6.329672] systemd-udevd[184]: Network interface NamePolicy= disabled on kernel command line, ignoring.
[    6.369107] systemd[1]: Starting Rebuild Journal Catalog...
         Starting Update is Completed...
[    6.395291] systemd[1]: Started udev Kernel Device Manager.
[    6.422878] systemd[1]: Finished Rebuild Journal Catalog.
[    6.450016] systemd[1]: Starting Update is Completed...
[  OK  ] Finished Update is Completed.
[    6.649622] systemd[1]: Finished Update is Completed.
[    7.151690] random: systemd: uninitialized urandom read (16 bytes read)
[  OK  ] Finished udev Coldplug all Devices.
[    7.430299] systemd[1]: Finished udev Coldplug all Devices.
         Starting udev Wait for Complete Device Initialization...
[    7.500356] systemd[1]: Starting udev Wait for Complete Device Initialization...
[    7.678943] systemd-udevd[191]: Using default interface naming scheme 'v245'.
[    8.057103] udevadm[210]: systemd-udev-settle.service is deprecated.
[  OK  ] Finished udev Wait for Complete Device Initialization.
[    8.076522] systemd[1]: Finished udev Wait for Complete Device Initialization.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timers.
[    8.123122] systemd[1]: Reached target System Initialization.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
[    8.173978] systemd[1]: Started Daily Cleanup of Temporary Directories.
[    8.248533] systemd[1]: Reached target Timers.
         Starting Wait for the Ubuntu Core chooser trigger...
[    8.249248] systemd[1]: Listening on D-Bus System Message Bus Socket.
         Starting the-tool.service...
[    8.289880] snap-bootstrap[217]: cmd_recovery_chooser_trigger.go:91: trigger wait timeout 10s
[    8.320913] snap-bootstrap[217]: cmd_recovery_chooser_trigger.go:92: device timeout 2s
[    8.336751] snap-bootstrap[217]: cmd_recovery_chooser_trigger.go:93: marker file /run/snapd-recovery-chooser-triggered
[    8.356392] systemd[1]: Reached target Sockets.
[    8.369497] snap-bootstrap[217]: triggerwatch.go:108: waiting for trigger key: KEY_1
[    8.384290] systemd[1]: Reached target Basic System.
[    8.396663] systemd[1]: Starting Wait for the Ubuntu Core chooser trigger...
[    8.413268] the-tool[225]: 2023/08/22 12:08:41.755591 cmd_initramfs_mounts.go:83: snap-bootstrap version 2.60.2+20.04 starting
[    8.436246] the-tool[225]: 2023/08/22 12:08:41.757881 cmd_initramfs_mounts.go:1549: waiting up to 1m0s for label ubuntu-seed to appear
[    8.461580] systemd[1]: Starting the-tool.service...
[   10.316347] snap-bootstrap[217]: cmd_recovery_chooser_trigger.go:108: no matching input devices
[  OK  ] Finished Wait for the Ubuntu Core chooser trigger.
[   10.349776] systemd[1]: Finished Wait for the Ubuntu Core chooser trigger.
[   10.382547] systemd[1]: Reached target Login Prompts (Pre).
[  OK  ] Reached target Login Prompts (Pre).
[   69.472728] the-tool[225]: 2023/08/22 12:09:42.910725 secboot_tpm.go:196: cannot open TPM connection: no TPM2 device is available
[FAILED] Failed to start the-tool.service.
[   69.500463] the-tool[225]: 2023/08/22 12:09:42.912020 main.go:63: execution error: open /dev/disk/by-label: no such file or directory
See 'systemctl status the-tool.service' for details.
[   69.536641] the-tool[225]: error: open /dev/disk/by-label: no such file or directory
[  OK  ] Stopped target Local Encrypted Volumes.
[   69.569757] systemd[1]: the-tool.service: Main process exited, code=exited, status=1/FAILURE
[  OK  ] Stopped target Login Prompts (Pre).
[  OK  ] Stopped target Paths.
[   69.597617] systemd[1]: the-tool.service: Failed with result 'exit-code'.
[   69.632768] systemd[1]: Failed to start the-tool.service.
[  OK  ] Stopped target Slices.
[  OK  ] Stopped target Sockets.
[  OK  ] Stopped target Timers.

Here is the kernel log before initrd:

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.15.52-Luffy-gb71a542152a0-dirty (root@core20-builder) (aarch64-linux-gnu-gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1 SMP PREEMPT Tue Aug 22 11:55:13 UTC 2023
[    0.000000] Machine model: Devkit
[    0.000000] efi: UEFI not found.
[    0.000000] [Firmware Bug]: Kernel image misaligned at boot, please fix your bootloader!
[    0.000000] OF: reserved mem: node linux,cma compatible matching fail
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000040000000-0x000000013fffffff]
[    0.000000] NUMA: NODE_DATA [mem 0x13f7b9b00-0x13f7bbfff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000040000000-0x00000000ffffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   [mem 0x0000000100000000-0x000000013fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000040000000-0x000000013fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000013fffffff]
[    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.1
[    0.000000] percpu: Embedded 20 pages/cpu s41176 r8192 d32552 u81920
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] CPU features: kernel page table isolation forced ON by KASLR
[    0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1032192
[    0.000000] Policy zone: Normal
[    0.000000] Kernel command line: snapd_recovery_mode=install snapd_recovery_system=20230822 panic=-1 systemd.gpt_auto=0 rd.systemd.unit=basic.target net.ifnames=0
[    0.000000] Unknown kernel command line parameters "snapd_recovery_mode=install snapd_recovery_system=20230822", will be passed to user space.
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: mapped [mem 0x00000000fbfff000-0x00000000fffff000] (64MB)
[    0.000000] Memory: 4001092K/4194304K available (16832K kernel code, 1486K rwdata, 6432K rodata, 2880K init, 551K bss, 193212K reserved, 0K 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: 128 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.33MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x1ec0311ec, max_idle_ns: 440795202152 ns
[    0.000001] sched_clock: 56 bits at 8MHz, resolution 120ns, wraps every 2199023255541ns
[    0.000651] Console: colour dummy device 80x25
[    0.001318] printk: console [tty0] enabled
[    0.001425] Calibrating delay loop (skipped), value calculated using timer frequency.. 16.66 BogoMIPS (lpj=33333)
[    0.001463] pid_max: default: 32768 minimum: 301
[    0.001560] LSM: Security Framework initializing
[    0.001595] Yama: becoming mindful.
[    0.001699] AppArmor: AppArmor initialized
[    0.001822] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.001867] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.003914] rcu: Hierarchical SRCU implementation.
[    0.005405] EFI services will not be available.
[    0.005699] smp: Bringing up secondary CPUs ...
[    0.006301] Detected VIPT I-cache on CPU1
[    0.006340] GICv3: CPU1: found redistributor 1 region 0:0x00000000388a0000
[    0.006383] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.007047] Detected VIPT I-cache on CPU2
[    0.007076] GICv3: CPU2: found redistributor 2 region 0:0x00000000388c0000
[    0.007108] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.007736] Detected VIPT I-cache on CPU3
[    0.007763] GICv3: CPU3: found redistributor 3 region 0:0x00000000388e0000
[    0.007794] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.007916] smp: Brought up 1 node, 4 CPUs
[    0.008032] SMP: Total of 4 processors activated.
[    0.008049] CPU features: detected: 32-bit EL0 Support
[    0.008064] CPU features: detected: 32-bit EL1 Support
[    0.008084] CPU features: detected: CRC32 instructions
[    0.019889] CPU: All CPU(s) started at EL2
[    0.019962] alternatives: patching kernel code
[    0.022201] devtmpfs: initialized
[    0.032748] KASLR disabled due to lack of seed
[    0.032965] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.033005] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.033272] pinctrl core: initialized pinctrl subsystem
[    0.033895] DMI not present or invalid.
[    0.034728] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.035573] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
[    0.035730] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.035863] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.035918] audit: initializing netlink subsys (disabled)
[    0.036112] audit: type=2000 audit(0.036:1): state=initialized audit_enabled=0 res=1
[    0.036800] thermal_sys: Registered thermal governor 'step_wise'
[    0.036808] thermal_sys: Registered thermal governor 'user_space'
[    0.036826] thermal_sys: Registered thermal governor 'power_allocator'
[    0.037187] cpuidle: using governor menu
[    0.037575] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.037687] ASID allocator initialised with 32768 entries
[    0.039158] Serial: AMBA PL011 UART driver
[    0.039266] imx mu driver is registered.
[    0.039302] imx rpmsg driver is registered.
[    0.051380] imx8mq-pinctrl 30330000.pinctrl: initialized IMX pinctrl driver
[    0.065933] platform 32e00000.display-controller: Fixing up cyclic dependency with 32c00000.hdmi
[    0.090846] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.090886] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.090907] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.090930] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.092740] cryptd: max_cpu_qlen set to 1000
[    0.096613] ACPI: Interpreter disabled.
[    0.097373] iommu: Default domain type: Translated
[    0.097393] iommu: DMA domain TLB invalidation policy: strict mode
[    0.098316] vgaarb: loaded
[    0.098724] SCSI subsystem initialized
[    0.099170] usbcore: registered new interface driver usbfs
[    0.099232] usbcore: registered new interface driver hub
[    0.099284] usbcore: registered new device driver usb
[    0.099585] mc: Linux media interface: v0.10
[    0.099628] videodev: Linux video capture interface: v2.00
[    0.099696] pps_core: LinuxPPS API ver. 1 registered
[    0.099713] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.099755] PTP clock support registered
[    0.099959] EDAC MC: Ver: 3.0.0
[    0.101291] FPGA manager framework
[    0.102106] Bluetooth: Core ver 2.22
[    0.102156] NET: Registered PF_BLUETOOTH protocol family
[    0.102174] Bluetooth: HCI device and connection manager initialized
[    0.102198] Bluetooth: HCI socket layer initialized
[    0.102218] Bluetooth: L2CAP socket layer initialized
[    0.102246] Bluetooth: SCO socket layer initialized
[    0.102289] NetLabel: Initializing
[    0.102302] NetLabel:  domain hash size = 128
[    0.102316] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    0.102410] NetLabel:  unlabeled traffic allowed by default
[    0.103306] clocksource: Switched to clocksource arch_sys_counter
[    0.103490] VFS: Disk quotas dquot_6.6.0
[    0.103565] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.104256] AppArmor: AppArmor Filesystem Enabled
[    0.104303] pnp: PnP ACPI: disabled
[    0.112652] NET: Registered PF_INET protocol family
[    0.112911] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.115116] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    0.115245] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.115281] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.115625] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
[    0.116221] TCP: Hash tables configured (established 32768 bind 32768)
[    0.116356] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.116484] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.116721] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.117237] RPC: Registered named UNIX socket transport module.
[    0.117258] RPC: Registered udp transport module.
[    0.117274] RPC: Registered tcp transport module.
[    0.117288] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.118289] PCI: CLS 0 bytes, default 64
[    0.118571] Trying to unpack rootfs image as initramfs...
[    0.135513] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    0.136396] kvm [1]: IPA Size Limit: 40 bits
[    0.137857] kvm [1]: vgic-v2@31020000
[    0.137899] kvm [1]: GIC system register CPU interface enabled
[    0.138084] kvm [1]: vgic interrupt IRQ9
[    0.138285] kvm [1]: Hyp mode initialized successfully
[    0.143344] Initialise system trusted keyrings
[    0.143584] workingset: timestamp_bits=42 max_order=20 bucket_order=0
[    0.151705] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.153067] NFS: Registering the id_resolver key type
[    0.153137] Key type id_resolver registered
[    0.153155] Key type id_legacy registered
[    0.153262] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.153291] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.153332] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.153796] 9p: Installing v9fs 9p2000 file system support
[    0.207782] Key type asymmetric registered
[    0.207839] Asymmetric key parser 'x509' registered
[    0.208001] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    0.208172] io scheduler mq-deadline registered
[    0.208192] io scheduler kyber registered
[    0.215536] EINJ: ACPI disabled.
[    0.224659] mxs-dma 33000000.dma-apbh: initialized
[    0.230630] SoC: i.MX8MQ revision 2.1
[    0.230813] Config NOC for VPU and CPU
[    0.231536] Bus freq driver module loaded
[    0.238003] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.241032] 30860000.serial: ttymxc0 at MMIO 0x30860000 (irq = 44, base_baud = 1562500) is a IMX
[    0.241108] imx-uart 30860000.serial: Console IMX rounded baud rate from 114679 to 114700
[    0.435185] Freeing initrd memory: 18012K
[    0.442154] printk: console [ttymxc0] enabled
[    1.327624] 30890000.serial: ttymxc1 at MMIO 0x30890000 (irq = 45, base_baud = 1562500) is a IMX
[    1.337071] 30a60000.serial: ttymxc3 at MMIO 0x30a60000 (irq = 53, base_baud = 5000000) is a IMX
[    1.347631] i2c_dev: i2c /dev entries driver
[    1.362246] brd: module loaded
[    1.566219] loop: module loaded
[    1.570509] of_reserved_mem_lookup() returned NULL
[    1.575425] megasas: 07.717.02.00-rc1
[    1.581066] imx ahci driver is registered.
[    1.592119] tun: Universal TUN/TAP device driver, 1.6
[    1.598157] thunder_xcv, ver 1.0
[    1.601466] thunder_bgx, ver 1.0
[    1.604762] nicpf, ver 1.0
[    1.610056] hclge is initializing
[    1.613403] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - version
[    1.620652] hns3: Copyright (c) 2017 Huawei Corporation.
[    1.626040] e1000: Intel(R) PRO/1000 Network Driver
[    1.630941] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    1.636759] e1000e: Intel(R) PRO/1000 Network Driver
[    1.641745] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    1.647905] sky2: driver version 1.30
[    1.652013] usbcore: registered new interface driver r8152
[    1.657815] VFIO - User Level meta-driver version: 0.3
[    1.665551] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.672112] ehci-pci: EHCI PCI platform driver
[    1.676620] ehci-platform: EHCI generic platform driver
[    1.682083] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.688298] ohci-pci: OHCI PCI platform driver
[    1.692801] ohci-platform: OHCI generic platform driver
[    1.698882] usbcore: registered new interface driver uas
[    1.704279] usbcore: registered new interface driver usb-storage
[    1.710387] usbcore: registered new interface driver usbserial_generic
[    1.716968] usbserial: USB Serial support registered for generic
[    1.723037] usbcore: registered new interface driver cp210x
[    1.728656] usbserial: USB Serial support registered for cp210x
[    1.734632] usbcore: registered new interface driver ftdi_sio
[    1.740426] usbserial: USB Serial support registered for FTDI USB Serial Device
[    1.747795] usbcore: registered new interface driver usb_serial_simple
[    1.754374] usbserial: USB Serial support registered for carelink
[    1.760513] usbserial: USB Serial support registered for zio
[    1.766215] usbserial: USB Serial support registered for funsoft
[    1.772271] usbserial: USB Serial support registered for flashloader
[    1.778669] usbserial: USB Serial support registered for google
[    1.784636] usbserial: USB Serial support registered for libtransistor
[    1.791213] usbserial: USB Serial support registered for vivopay
[    1.797260] usbserial: USB Serial support registered for moto_modem
[    1.803572] usbserial: USB Serial support registered for motorola_tetra
[    1.810230] usbserial: USB Serial support registered for nokia
[    1.816108] usbserial: USB Serial support registered for novatel_gps
[    1.822505] usbserial: USB Serial support registered for hp4x
[    1.828336] usbserial: USB Serial support registered for suunto
[    1.834299] usbserial: USB Serial support registered for siemens_mpi
[    1.840716] usbcore: registered new interface driver usb_ehset_test
[    1.850281] input: 30370000.snvs:snvs-powerkey as /devices/platform/soc@0/30000000.bus/30370000.snvs/30370000.snvs:snvs-powerkey/input/input0
[    1.865478] snvs_rtc 30370000.snvs:snvs-rtc-lp: registered as rtc0
[    1.871715] snvs_rtc 30370000.snvs:snvs-rtc-lp: setting system clock to 1970-01-01T00:00:00 UTC (0)
[    1.884801] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com
[    1.893380] Bluetooth: HCI UART driver ver 2.3
[    1.897864] Bluetooth: HCI UART protocol H4 registered
[    1.903028] Bluetooth: HCI UART protocol BCSP registered
[    1.908390] Bluetooth: HCI UART protocol LL registered
[    1.913550] Bluetooth: HCI UART protocol ATH3K registered
[    1.918996] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    1.925314] Bluetooth: HCI UART protocol QCA registered
[    1.932392] sdhci: Secure Digital Host Controller Interface driver
[    1.938602] sdhci: Copyright(c) Pierre Ossman
[    1.943878] Synopsys Designware Multimedia Card Interface Driver
[    1.950693] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.958539] ledtrig-cpu: registered to indicate activity on CPUs
[    1.964596] LED trigger gps-g failed to register (-17)
[    1.971200] usbcore: registered new interface driver usbhid
[    1.976803] usbhid: USB HID core driver
[    1.984852]  cs_system_cfg: CoreSight Configuration manager initialised
[    1.993065] optee: probing for conduit method.
[    1.997544] optee: api uid mismatch
[    2.001058] optee: probe of firmware:optee failed with error -22
[    2.011640] NET: Registered PF_LLC protocol family
[    2.017144] NET: Registered PF_INET6 protocol family
[    2.026279] Segment Routing with IPv6
[    2.030036] In-situ OAM (IOAM) with IPv6
[    2.034042] NET: Registered PF_PACKET protocol family
[    2.040789] Bluetooth: RFCOMM TTY layer initialized
[    2.045705] Bluetooth: RFCOMM socket layer initialized
[    2.050882] Bluetooth: RFCOMM ver 1.11
[    2.054667] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    2.060002] Bluetooth: BNEP filters: protocol multicast
[    2.065256] Bluetooth: BNEP socket layer initialized
[    2.070240] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    2.076188] Bluetooth: HIDP socket layer initialized
[    2.082888] 8021q: 802.1Q VLAN Support v1.8
[    2.087119] lib80211: common routines for IEEE802.11 drivers
[    2.092938] 9pnet: Installing 9P2000 support
[    2.097259] tsn generic netlink module v1 init...
[    2.102121] Key type dns_resolver registered
[    2.108342] Loading compiled-in X.509 certificates
[    2.119017] Key type encrypted registered
[    2.123076] AppArmor: AppArmor sha1 policy hashing enabled
[    2.149205] i2c i2c-0: IMX I2C adapter registered
[    2.155328] i2c 1-0067: Fixing up cyclic dependency with 38100000.usb
[    2.162149] i2c i2c-1: IMX I2C adapter registered
[    2.168366] at24 2-0050: supply vcc not found, using dummy regulator
[    2.180085] at24 2-0050: 1024 byte 24c08 EEPROM, writable, 1 bytes/write
[    2.186895] i2c i2c-2: IMX I2C adapter registered
[    2.193229] i2c i2c-3: IMX I2C adapter registered
[    2.198551] imx8mq-usb-phy 381f0040.usb-phy: supply vbus not found, using dummy regulator
[    2.207216] imx8mq-usb-phy 382f0040.usb-phy: supply vbus not found, using dummy regulator
[    2.217440] imx6q-pcie 33800000.pcie: supply epdev_on not found, using dummy regulator
[    2.217998] imx6q-pcie 33c00000.pcie: supply epdev_on not found, using dummy regulator
[    2.221473] pps pps0: new PPS source ptp0
[    2.226237] imx6q-pcie 33800000.pcie: PCIe PLL is locked.
[    2.234165] imx6q-pcie 33c00000.pcie: PCIe PLL is locked.
[    2.237445] imx6q-pcie 33800000.pcie: iATU unroll: enabled
[    2.242630] imx6q-pcie 33c00000.pcie: iATU unroll: enabled
[    2.247991] imx6q-pcie 33800000.pcie: Detected iATU regions: 4 outbound, 4 inbound
[    2.253423] imx6q-pcie 33c00000.pcie: Detected iATU regions: 4 outbound, 4 inbound
[    2.258922] imx6q-pcie 33800000.pcie: host bridge /soc@0/pcie@33800000 ranges:
[    2.264437] imx6q-pcie 33c00000.pcie: host bridge /soc@0/pcie@33c00000 ranges:
[    2.270544] fec 30be0000.ethernet eth0: registered PHC device 0
[    2.272072] imx6q-pcie 33800000.pcie:       IO 0x001ff80000..0x001ff8ffff -> 0x0000000000
[    2.272761] imx-cpufreq-dt imx-cpufreq-dt: cpu speed grade 2 mkt segment 2 supported-hw 0x4 0x4
[    2.279623] imx6q-pcie 33c00000.pcie:   No bus range found for /soc@0/pcie@33c00000, using [bus 00-ff]
[    2.281438] mxc_hantro 38300000.vpu: deferred probe timeout, ignoring dependency
[    2.281447] mxc_hantro: probe of 38300000.vpu failed with error -110
[    2.286344] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    2.286896] imx6q-pcie 33800000.pcie:      MEM 0x0018000000..0x001fefffff -> 0x0018000000
[    2.288443] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    2.289183] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    2.289197] cfg80211: failed to load regulatory.db
[    2.294145] imx6q-pcie 33c00000.pcie:       IO 0x0027f80000..0x0027f8ffff -> 0x0000000000
[    2.298020] imx6q-pcie 33800000.pcie: iATU unroll: enabled
[    2.299667] imx6q-pcie 33c00000.pcie:      MEM 0x0020000000..0x0027efffff -> 0x0020000000
[    2.301413] imx6q-pcie 33800000.pcie: Detected iATU regions: 4 outbound, 4 inbound
[    2.303250] imx6q-pcie 33c00000.pcie: iATU unroll: enabled
[    2.425260] imx6q-pcie 33c00000.pcie: Detected iATU regions: 4 outbound, 4 inbound
[    3.309977] imx6q-pcie 33800000.pcie: Phy link never came up
[    3.315766] imx6q-pcie: probe of 33800000.pcie failed with error -110
[    3.431735] imx6q-pcie 33c00000.pcie: Phy link never came up
[    3.439005] imx6q-pcie: probe of 33c00000.pcie failed with error -110
[    3.471018] Freeing unused kernel memory: 2880K
[    3.475978] Run /init as init process
[    3.556521] systemd[1]: System time before build time, advancing clock.
[    3.580683] systemd[1]: systemd 245 running in system mode. (+PAM +AUDIT +SELINUX -IMA +APPARMOR -SMACK -SYSVINIT -UTMP +LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL -XZ +LZ4 +SECCOMP +BLKID -ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=hybrid)
[    3.603777] systemd[1]: Detected architecture arm64.
[    3.608959] systemd[1]: Running in initial RAM disk.

Hello.

Found the issue.

For reasons unknown, the mmc driver is not probing the MMC devices on a 5.15 kernel. This works on a 5.10 version.

I will go with the 5.10 kernel version. If you come across this issue, just sure that your mmc chip is being detected.

1 Like