Apalis IMX8: imx6q-pcie 5f010000.pcie: PCIe PLL lock timeout

I’m using the Apalis IMX8 SoC mounted on the Ixora V1.2A carrier board powered by a 12V@2.5A OTS power supply. It has been flashed with a custom image based on tdx-reference-minimal-image. I am monitoring the boot process via a serial cable connected to the UART1 pinouts on the Ixora board.

When powered on, the boot process fails to complete after hitting the error “imx6q-pcie 5f010000.pcie: PCIe PLL lock timeout”

Is there a way to fix this? Is there something that could have caused it? Other boards with this same setup do not encounter this issue.

Thanks!

Hey @ruffle,

We have this error reference on our troubleshooting page, this same serial debug hang-up. This occurs on the first boot with an image w/o Secure boot (on the order of minutes), but subsequently faster on second boot and onward.

Are you able to reboot this module, wait ~a few minutes and see if the module boots and check if second boot is quicker?

When you say this doesn’t occur with other boards and the same setup…Do you mean, the same SoM, carrier board, debugging method, and the same exact image loaded?

-Eric

Thanks for the suggestion. I tried that and after about 18 minutes the boot process has not moved. I am including the full boot log below in case I missed something else obvious. One thing I do note is that I don’t see the Starting version 250.5+ message or something like it.

U-Boot 2022.04-6.1.0-devel+git.1c83b1aaad86 (Jan 05 2023 - 08:25:45 +0000)

CPU:   NXP i.MX8QM RevB A53 at 1200 MHz at 30C

DRAM:  4 GiB
Core:  186 devices, 15 uclasses, devicetree: separate
MMC:   FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2
Loading Environment from MMC... OK
In:    serial@5a070000
Out:   serial@5a070000
Err:   serial@5a070000
Model: Toradex 0047 Apalis iMX8QM 4GB IT V1.1D
Serial#: 07307165

 BuildInfo:
  - SCFW f5623878, SECO-FW c9de51c0, IMX-MKIMAGE 37648c8b, ATF 9202efc
  - U-Boot 2022.04-6.1.0-devel+git.1c83b1aaad86

Net:   eth0: ethernet@5b040000
Normal Boot
Hit any key to stop autoboot:  0
MMC: no card present
MMC: no card present
switch to partitions #0, OK
mmc0(part 0) is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
5964 bytes read in 3 ms (1.9 MiB/s)
## Executing script at 9d480000
Loading DeviceTree: imx8qm-apalis-v1.1-eval.dtb
170359 bytes read in 7 ms (23.2 MiB/s)
117 bytes read in 2 ms (56.6 KiB/s)
Applying Overlay: apalis-imx8_hdmi_overlay.dtbo
2205 bytes read in 3 ms (717.8 KiB/s)
Applying Overlay: apalis-imx8_spi1_spidev_overlay.dtbo
551 bytes read in 4 ms (133.8 KiB/s)
Applying Overlay: apalis-imx8_spi2_spidev_overlay.dtbo
551 bytes read in 4 ms (133.8 KiB/s)
11634831 bytes read in 262 ms (42.3 MiB/s)
Bootargs: root=PARTUUID=5ccd4a51-02 ro rootwait console=tty1 console=ttyLP1,115200 consoleblank=0 earlycon
   Uncompressing Kernel Image
## Flattened Device Tree blob at 9d400000
   Booting using the fdt blob at 0x9d400000
   Loading Device Tree to 00000000fd64f000, end 00000000fd69bfff ... OK
Disable pwm@5a190000 rsrc 188 not owned
Disable clock-controller@5a590000 rsrc 188 not owned

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.15.77-6.1.0-devel+git.349786b46e61 (oe-user@oe-host) (aarch64-tdx-linux-gcc (GCC) 11.3.0, GNU ld (GNU Binutils) 2.38.20220708) #1 SMP PREEMPT Wed Dec 28 09:58:
45 UTC 2022
[    0.000000] Machine model: Toradex Apalis iMX8QM V1.1 on Apalis Evaluation Board
[    0.000000] efi: UEFI not found.
[    0.000000] Reserved memory: created CMA memory pool at 0x00000000c0000000, 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 0x0000000090400000, size 1 MiB
[    0.000000] OF: reserved mem: initialized node vdevbuffer@90400000, compatible id shared-dma-pool
[    0.000000] earlycon: lpuart32 at MMIO32 0x000000005a070000 (options '')
[    0.000000] printk: bootconsole [lpuart32] enabled
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000080200000-0x00000008ffffffff]
[    0.000000] NUMA: NODE_DATA [mem 0x8ff7b6800-0x8ff7b8fff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000080200000-0x00000000ffffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   [mem 0x0000000100000000-0x00000008ffffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080200000-0x0000000083ffffff]
[    0.000000]   node   0: [mem 0x0000000084000000-0x00000000863fffff]
[    0.000000]   node   0: [mem 0x0000000086400000-0x0000000087ffffff]
[    0.000000]   node   0: [mem 0x0000000088000000-0x000000008fffffff]
[    0.000000]   node   0: [mem 0x0000000090000000-0x00000000901fffff]
[    0.000000]   node   0: [mem 0x0000000090200000-0x00000000904fffff]
[    0.000000]   node   0: [mem 0x0000000090500000-0x0000000091ffffff]
[    0.000000]   node   0: [mem 0x0000000092000000-0x00000000921fffff]
[    0.000000]   node   0: [mem 0x0000000092200000-0x00000000923fffff]
[    0.000000]   node   0: [mem 0x0000000092400000-0x00000000951fffff]
[    0.000000]   node   0: [mem 0x0000000095200000-0x00000000ffffffff]
[    0.000000]   node   0: [mem 0x0000000880000000-0x00000008ffffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080200000-0x00000008ffffffff]
[    0.000000] On node 0, zone DMA: 512 pages in unavailable ranges
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.2
[    0.000000] percpu: Embedded 20 pages/cpu s42648 r8192 d31080 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: 1031688
[    0.000000] Policy zone: Normal
[    0.000000] Kernel command line: root=PARTUUID=5ccd4a51-02 ro rootwait console=tty1 console=ttyLP1,115200 consoleblank=0 earlycon
[    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 0x00000000bc000000-0x00000000c0000000] (64MB)
[    0.000000] Memory: 2813136K/4192256K available (16256K kernel code, 1758K rwdata, 6812K rodata, 3264K init, 524K bss, 396080K reserved, 983040K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=6, 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=6.
[    0.000000]  Trampoline variant of Tasks RCU enabled.
[    0.000000]  Tracing 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=6
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 512 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:0x0000000051b00000
[    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.000001] sched_clock: 56 bits at 8MHz, resolution 125ns, wraps every 2199023255500ns
[    0.008864] Console: colour dummy device 80x25
[    0.013472] printk: console [tty1] enabled
[    0.017312] Calibrating delay loop (skipped), value calculated using timer frequency.. 16.00 BogoMIPS (lpj=32000)
[    0.027494] pid_max: default: 32768 minimum: 301
[    0.032144] LSM: Security Framework initializing
[    0.036800] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.044095] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.053667] rcu: Hierarchical SRCU implementation.
[    0.059680] EFI services will not be available.
[    0.064190] smp: Bringing up secondary CPUs ...
[    0.069250] Detected VIPT I-cache on CPU1
[    0.069291] GICv3: CPU1: found redistributor 1 region 0:0x0000000051b20000
[    0.069345] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.070205] Detected VIPT I-cache on CPU2
[    0.070225] GICv3: CPU2: found redistributor 2 region 0:0x0000000051b40000
[    0.070247] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.071032] Detected VIPT I-cache on CPU3
[    0.071051] GICv3: CPU3: found redistributor 3 region 0:0x0000000051b60000
[    0.071073] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.072722] CPU features: detected: Spectre-v2
[    0.072730] CPU features: detected: Spectre-v3a
[    0.072734] CPU features: detected: Spectre-BHB
[    0.072739] CPU features: detected: ARM erratum 1742098
[    0.072742] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
[    0.072744] Detected PIPT I-cache on CPU4
[    0.072763] GICv3: CPU4: found redistributor 100 region 0:0x0000000051b80000
[    0.072787] CPU4: Booted secondary processor 0x0000000100 [0x410fd082]
[    0.073612] Detected PIPT I-cache on CPU5
[    0.073627] GICv3: CPU5: found redistributor 101 region 0:0x0000000051ba0000
[    0.073644] CPU5: Booted secondary processor 0x0000000101 [0x410fd082]
[    0.073706] smp: Brought up 1 node, 6 CPUs
[    0.190333] SMP: Total of 6 processors activated.
[    0.195020] CPU features: detected: 32-bit EL0 Support
[    0.200153] CPU features: detected: 32-bit EL1 Support
[    0.205269] CPU features: detected: CRC32 instructions
[    0.223346] CPU: All CPU(s) started at EL2
[    0.227144] alternatives: patching kernel code
[    0.233131] devtmpfs: initialized
[    0.255016] KASLR disabled due to lack of seed
[    0.259306] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.268886] futex hash table entries: 2048 (order: 5, 131072 bytes, linear)
[    0.305802] pinctrl core: initialized pinctrl subsystem
[    0.311407] DMI not present or invalid.
[    0.315509] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.325832] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
[    0.332929] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.340748] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.348425] audit: initializing netlink subsys (disabled)
[    0.353879] audit: type=2000 audit(0.256:1): state=initialized audit_enabled=0 res=1
[    0.354416] thermal_sys: Registered thermal governor 'step_wise'
[    0.361459] thermal_sys: Registered thermal governor 'power_allocator'
[    0.368148] cpuidle: using governor menu
[    0.378484] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.385157] ASID allocator initialised with 65536 entries
[    0.390684] Serial: AMBA PL011 UART driver
[    0.394551] imx mu driver is registered.
[    0.398417] imx rpmsg driver is registered.
[    0.462216] platform 56268000.hdmi: Fixing up cyclic dependency with 56180000.dpu
[    0.483254] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.489681] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.496325] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.503018] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.510936] cryptd: max_cpu_qlen set to 1000
[    0.519015] ACPI: Interpreter disabled.
[    0.525197] iommu: Default domain type: Translated
[    0.529754] iommu: DMA domain TLB invalidation policy: strict mode
[    0.536203] vgaarb: loaded
[    0.538998] SCSI subsystem initialized
[    0.542765] usbcore: registered new interface driver usbfs
[    0.547956] usbcore: registered new interface driver hub
[    0.553242] usbcore: registered new device driver usb
[    0.560328] mc: Linux media interface: v0.10
[    0.564283] videodev: Linux video capture interface: v2.00
[    0.569794] pps_core: LinuxPPS API ver. 1 registered
[    0.574684] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.583821] PTP clock support registered
[    0.588045] EDAC MC: Ver: 3.0.0
[    0.592462] FPGA manager framework
[    0.595595] Advanced Linux Sound Architecture Driver Initialized.
[    0.602903] imx-scu scu: NXP i.MX SCU Initialized
[    0.634832] imx8qm-pinctrl scu:pinctrl: initialized IMX pinctrl driver
[    0.645667] clocksource: Switched to clocksource arch_sys_counter
[    0.651623] VFS: Disk quotas dquot_6.6.0
[    0.655387] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.662391] pnp: PnP ACPI: disabled
[    0.699777] NET: Registered PF_INET protocol family
[    0.704571] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.713329] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    0.721607] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.729266] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.737387] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
[    0.744976] TCP: Hash tables configured (established 32768 bind 32768)
[    0.751275] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.757933] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.765154] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.771000] RPC: Registered named UNIX socket transport module.
[    0.776589] RPC: Registered udp transport module.
[    0.781297] RPC: Registered tcp transport module.
[    0.785967] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.792403] PCI: CLS 0 bytes, default 64
[    0.797055] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[    0.806574] kvm [1]: IPA Size Limit: 40 bits
[    0.811625] kvm [1]: vgic-v2@52020000
[    0.814968] kvm [1]: GIC system register CPU interface enabled
[    0.820886] kvm [1]: vgic interrupt IRQ9
[    0.824844] kvm [1]: Hyp mode initialized successfully
[    0.833688] Initialise system trusted keyrings
[    0.837922] workingset: timestamp_bits=42 max_order=20 bucket_order=0
[    0.849640] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.855667] NFS: Registering the id_resolver key type
[    0.860414] Key type id_resolver registered
[    0.864554] Key type id_legacy registered
[    0.868615] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.875241] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.882831] 9p: Installing v9fs 9p2000 file system support
[    0.924010] Key type asymmetric registered
[    0.927775] Asymmetric key parser 'x509' registered
[    0.932681] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
[    0.940026] io scheduler mq-deadline registered
[    0.944538] io scheduler kyber registered
[    0.964615] EINJ: ACPI disabled.
[    1.174136] mxs-dma 5b810000.dma-apbh: initialized
[    1.181647] Bus freq driver module loaded
[    1.194211] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    1.204759] 5a060000.serial: ttyLP0 at MMIO 0x5a060010 (irq = 59, base_baud = 5000000) is a FSL_LPUART
[    1.214560] 5a070000.serial: ttyLP1 at MMIO 0x5a070010 (irq = 60, base_baud = 5000000) is a FSL_LPUAR[    1.223723] printk: console [ttyLP1] enabled
[    1.223723] printk: console [ttyLP1] enabled
[    1.232155] printk: bootconsole [lpuart32] disabled
[    1.232155] printk: bootconsole [lpuart32] disabled
[    1.242489] 5a080000.serial: ttyLP2 at MMIO 0x5a080010 (irq = 61, base_baud = 5000000) is a FSL_LPUART
[    1.252575] 5a090000.serial: ttyLP3 at MMIO 0x5a090010 (irq = 62, base_baud = 5000000) is a FSL_LPUART
[    1.263988] arm-smmu 51400000.iommu: probing hardware configuration...
[    1.270548] arm-smmu 51400000.iommu: SMMUv2 with:
[    1.275272] arm-smmu 51400000.iommu:         stage 1 translation
[    1.280684] arm-smmu 51400000.iommu:         stage 2 translation
[    1.286094] arm-smmu 51400000.iommu:         nested translation
[    1.291430] arm-smmu 51400000.iommu:         stream matching with 32 register groups
[    1.298583] arm-smmu 51400000.iommu:         32 context banks (0 stage-2 only)
[    1.305222] arm-smmu 51400000.iommu:         Supported page sizes: 0x61311000
[    1.311768] arm-smmu 51400000.iommu:         Stage-1: 48-bit VA -> 48-bit IPA
[    1.318317] arm-smmu 51400000.iommu:         Stage-2: 48-bit IPA -> 48-bit PA
[    1.406621] brd: module loaded
[    1.412907] loop: module loaded
[    1.417953] megasas: 07.717.02.00-rc1
[    1.423772] ahci-imx 5f020000.sata: Adding to iommu group 0
[    1.429568] ahci-imx 5f020000.sata: phy impedance ratio is not specified.
[    1.436418] ahci-imx 5f020000.sata: No cache used with register defaults set!
[    1.443758] ahci-imx 5f020000.sata: supply ahci not found, using dummy regulator
[    1.451220] ahci-imx 5f020000.sata: supply phy not found, using dummy regulator
[    1.458571] ahci-imx 5f020000.sata: supply target not found, using dummy regulator
[    1.466218] ahci-imx 5f020000.sata: external osc is used.
[    1.471768] ahci-imx 5f020000.sata: TX PLL of the PHY is not locked
[    1.478532] imx ahci driver is registered.
[    1.487650] tun: Universal TUN/TAP device driver, 1.6
[    1.493948] fec 5b040000.ethernet: Adding to iommu group 1
[    1.499973] pps pps0: new PPS source ptp0
[    1.508089] e1000: Intel(R) PRO/1000 Network Driver
[    1.513021] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    1.518802] e1000e: Intel(R) PRO/1000 Network Driver
[    1.523771] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    1.529726] igb: Intel(R) Gigabit Ethernet Network Driver
[    1.535133] igb: Copyright (c) 2007-2014 Intel Corporation.
[    1.540727] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[    1.547001] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    1.553405] usbcore: registered new interface driver r8152
[    1.559080] VFIO - User Level meta-driver version: 0.3
[    1.567755] cdns3-imx 5b110000.usb: Adding to iommu group 2
[    1.574849] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.581422] ehci-pci: EHCI PCI platform driver
[    1.585923] ehci-platform: EHCI generic platform driver
[    1.591672] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.597874] ohci-pci: OHCI PCI platform driver
[    1.602357] ohci-platform: OHCI generic platform driver
[    1.608719] usbcore: registered new interface driver uas
[    1.614087] usbcore: registered new interface driver usb-storage
[    1.620149] usbcore: registered new interface driver usbserial_generic
[    1.626695] usbserial: USB Serial support registered for generic
[    1.632725] usbcore: registered new interface driver ftdi_sio
[    1.638524] usbserial: USB Serial support registered for FTDI USB Serial Device
[    1.645864] usbcore: registered new interface driver usb_serial_simple
[    1.652409] usbserial: USB Serial support registered for carelink
[    1.658512] usbserial: USB Serial support registered for zio
[    1.664188] usbserial: USB Serial support registered for funsoft
[    1.670210] usbserial: USB Serial support registered for flashloader
[    1.676577] usbserial: USB Serial support registered for google
[    1.682512] usbserial: USB Serial support registered for libtransistor
[    1.689053] usbserial: USB Serial support registered for vivopay
[    1.695074] usbserial: USB Serial support registered for moto_modem
[    1.701352] usbserial: USB Serial support registered for motorola_tetra
[    1.707983] usbserial: USB Serial support registered for nokia
[    1.713829] usbserial: USB Serial support registered for novatel_gps
[    1.720200] usbserial: USB Serial support registered for hp4x
[    1.725969] usbserial: USB Serial support registered for suunto
[    1.731907] usbserial: USB Serial support registered for siemens_mpi
[    1.738280] usbcore: registered new interface driver usb_ehset_test
[    1.751424] input: sc-powerkey as /devices/platform/sc-powerkey/input/input0
[    1.760780] imx-sc-rtc scu:rtc: registered as rtc1
[    1.766391] i2c_dev: i2c /dev entries driver
[    1.778715] amphion-vpu-core 2d080000.vpu-core: [0] = decoder
[    1.786388] amphion-vpu-core 2d090000.vpu-core: [1] = encoder
[    1.794375] amphion-vpu-core 2d0a0000.vpu-core: [2] = encoder
[    1.812482] sdhci: Secure Digital Host Controller Interface driver
[    1.818741] sdhci: Copyright(c) Pierre Ossman
[    1.824539] Synopsys Designware Multimedia Card Interface Driver
[    1.831973] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.840552] sdhci-esdhc-imx 5b010000.mmc: Adding to iommu group 3
[    1.846990] ledtrig-cpu: registered to indicate activity on CPUs
[    1.855391] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[    1.862249] usbcore: registered new interface driver usbhid
[    1.868131] usbhid: USB HID core driver
[    1.879816] mmc0: SDHCI controller on 5b010000.mmc [5b010000.mmc] using ADMA
[    1.882833]  cs_system_cfg: CoreSight Configuration manager initialised
[    1.903252] NET: Registered PF_LLC protocol family
[    1.908397] NET: Registered PF_INET6 protocol family
[    1.913926] Segment Routing with IPv6
[    1.917607] In-situ OAM (IOAM) with IPv6
[    1.921580] NET: Registered PF_PACKET protocol family
[    1.926790] 8021q: 802.1Q VLAN Support v1.8
[    1.931044] 9pnet: Installing 9P2000 support
[    1.935357] tsn generic netlink module v1 init...
[    1.940129] Key type dns_resolver registered
[    1.944589] Loading compiled-in X.509 certificates
[    1.945247] mmc0: new HS400 Enhanced strobe MMC card at address 0001
[    1.956729] mmcblk0: mmc0:0001 IX2932 29.1 GiB
[    1.963374]  mmcblk0: p1 p2 p3
[    1.967100] mmcblk0boot0: mmc0:0001 IX2932 4.00 MiB
[    1.973424] mmcblk0boot1: mmc0:0001 IX2932 4.00 MiB
[    1.979649] mmcblk0rpmb: mmc0:0001 IX2932 4.00 MiB, chardev (234:0)
[    1.990890] gpio-414 (CONNECTOR_IS_HDMI): hogged as output/high
[    1.997954] gpio-363 (PCIE_WIFI_CLK): hogged as output/high
[    2.005487] gpio-299 (PCIE_SATA_CLK): hogged as output/high
[    2.017183] imx-lpi2c 5a800000.i2c: can't get pinctrl, bus recovery not supported
[    2.024741] imx-lpi2c 5a800000.i2c: use pio mode
[    2.029631] i2c i2c-2: LPI2C adapter registered
[    2.034675] imx-lpi2c 5a810000.i2c: use pio mode
[    2.045908] sgtl5000 3-000a: sgtl5000 revision 0x11
[    2.093093] usb3503 3-0008: switched to HUB mode
[    2.097764] usb3503 3-0008: usb3503_probe: probed in hub mode
[    2.103847] i2c i2c-3: LPI2C adapter registered
[    2.109483] imx-lpi2c 5a820000.i2c: use pio mode
[    2.116652] rtc-ds1307 4-0068: oscillator failed, set time!
[    2.122352] rtc-ds1307 4-0068: registered as rtc0
[    2.128266] rtc-ds1307 4-0068: hctosys: unable to read the hardware clock
[    2.135126] i2c i2c-4: LPI2C adapter registered
[    2.140440] imx-lpi2c 5a830000.i2c: use pio mode
[    2.145250] i2c i2c-5: LPI2C adapter registered
[    2.156466] imx6q-pcie 5f010000.pcie: No cache used with register defaults set!
[    2.156562] imx6q-pcie 5f000000.pcie: supply epdev_on not found, using dummy regulator
[    2.163297] dpu-core 56180000.dpu: driver probed
[    2.166282] dpu-core 57180000.dpu: driver probed
[    2.172104] imx6q-pcie 5f000000.pcie: No cache used with register defaults set!
[    2.181964] pps pps0: new PPS source ptp0
[    2.197192] fec 5b040000.ethernet eth0: registered PHC device 0
[    2.204023] cdns-usb3 5b130000.usb: Adding to iommu group 2
[    2.210210] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    2.210750] imx6q-pcie 5f010000.pcie: ERROR PM_REQ_CORE_RST is still set.
[    2.215978] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
[    2.230543] xhci-hcd xhci-hcd.1.auto: hcc params 0x200073c8 hci version 0x100 quirks 0x0000002200018010
[    2.239962] xhci-hcd xhci-hcd.1.auto: irq 245, io mem 0x5b130000
[    2.246109] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    2.251615] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
[    2.259297] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[    2.266191] hub 1-0:1.0: USB hub found
[    2.269975] hub 1-0:1.0: 1 port detected
[    2.274063] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    2.282457] hub 2-0:1.0: USB hub found
[    2.286231] hub 2-0:1.0: 1 port detected
[    2.351058] imx6q-pcie 5f000000.pcie: ERROR PM_REQ_CORE_RST is still set.
[    2.598755] ci_hdrc ci_hdrc.1: EHCI Host Controller
[    2.603952] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 3
[    2.622652] imx6q-pcie 5f010000.pcie: PCIe PLL lock timeout
[    2.625879] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[    2.634139] hub 3-0:1.0: USB hub found

When you say this doesn’t occur with other boards and the same setup…Do you mean, the same SoM, carrier board, debugging method, and the same exact image loaded?

Yeah; specifically, after I encountered this issue, I took another Apalis out of its package (had not been used before), put it on the same ixora board with the same power supply, cables, etc, used Tezi to flash the image in the same way, did a reboot, and did not see this issue on that first boot.

Hey @ruffle,

Being that the setup + image works with a new Apalis Module. Can you put the non-working module into recovery mode and with our easy installer, reinstall the image.

-Eric

Just tried this; no change.

@ruffle,

Same error I assume as well?

Would you mind trying again, but instead of your custom image, with the easy installer, pick one of the based reference images to see if the module will boots? This will allow us to either look towards hardware or software for solutions. And also post the boot logs if an option again.

Thanks you,

-Eric

I tried loading the reference image. I don’t think it succeeded but I’m not sure; there is a login prompt but the HDMI output never came up. The serial output was

Serial#: 07307165

 BuildInfo:
  - SCFW 6638c032, SECO-FW c9de51c0, IMX-MKIMAGE 3bfcfccb, ATF 3c1583b
  - U-Boot 2022.04-6.5.0+git.28dc906f6107

flash target is MMC:0
Net:   eth0: ethernet@5b040000
Fastboot: Normal
Normal Boot
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0(part 0) is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
973 bytes read in 2 ms (474.6 KiB/s)
## Executing script at 9d480000
Saving Environment to MMC... Writing to MMC(0)... OK
6659 bytes read in 3 ms (2.1 MiB/s)
170047 bytes read in 7 ms (23.2 MiB/s)
117 bytes read in 3 ms (38.1 KiB/s)
Applying Overlay: apalis-imx8_hdmi_overlay.dtbo
2205 bytes read in 4 ms (538.1 KiB/s)
Applying Overlay: apalis-imx8_spi1_spidev_overlay.dtbo
551 bytes read in 4 ms (133.8 KiB/s)
Applying Overlay: apalis-imx8_spi2_spidev_overlay.dtbo
551 bytes read in 4 ms (133.8 KiB/s)
13423185 bytes read in 294 ms (43.5 MiB/s)
11578015 bytes read in 255 ms (43.3 MiB/s)
   Uncompressing Kernel Image
## Flattened Device Tree blob at 9d400000
   Booting using the fdt blob at 0x9d400000
   Loading Device Tree to 00000000fd626000, end 00000000fd672fff ... OK

Starting kernel ...

[    1.192305] rtc-ds1307 4-0068: hctosys: unable to read the hardware clock
[    1.566145] debugfs: Directory 'lvds1' with parent 'pm_genpd' already present!
[    1.573572] debugfs: Directory 'mipi1-i2c1' with parent 'pm_genpd' already present!
[    1.582271] debugfs: Directory 'mipi1-i2c0' with parent 'pm_genpd' already present!
[    1.584185] imx6q-pcie 5f010000.pcie: ERROR PM_REQ_CORE_RST is still set.
[    1.589957] debugfs: Directory 'mipi1-pwm0' with parent 'pm_genpd' already present!
[    1.604420] debugfs: Directory 'mipi1' with parent 'pm_genpd' already present!
[    1.697773] imx6q-pcie 5f000000.pcie: ERROR PM_REQ_CORE_RST is still set.
[    1.996959] imx6q-pcie 5f010000.pcie: PCIe PLL lock timeout
[    2.104597] imx6q-pcie 5f000000.pcie: PCIe PLL lock timeout
Starting version 250.5+
[    6.135596] ahci-imx 5f020000.sata: TX PLL of the PHY is not locked
[    6.240875] debugfs: File 'Capture' in directory 'dapm' already present!
[    6.897942] imx-audmix imx-audmix.0: failed to find SAI platform device

TorizonCore 6.5.0+build.8 apalis-imx8-07307165 -

apalis-imx8-07307165 login:
apalis-imx8-07307165 login:

Hey @ruffle,

From the logs it looks like the module can correctly boot into the default username/password: torizon/torizon. It looks like you used the reference image without the evaluation contains. So it makes sense you do not see an output on the HDMI. Here is the list of images, there is a tab that states “With evaluation containers”

Is there versioning difference between the Apalis IMX8 that works and the one that does not?

-Eric

The image that does not work on this unit works on every other unit

@ruffle,

Correct, I’m trying to isolate if its a specific hardware version of the IMX8 could be the source of error.

As an example: Are all modules the same Apalis IMX8 … [V1.1A] or possible Apalis IMX8 … [V1.1E]

There is usually, if not peeled off a sticker on the module that will say. Or with a BSP 6 Torizon installed you can get from the output sudo tdx-info

-Eric

They both have those stickers and both say V1.1D.

I think that the most likely scenario here is that I made a mistake handling the one that does not currently work, and it has become damaged in some way. I was hoping that there might be a clue about what I did wrong or what its condition is.

@ruffle,

Given the identical modules, and same hardware, I believe it is best to go down the path of an RMA.

To setup an RMA with us please see the following link for instructions, it will have you fill out a form.

Then you can ship this to our offices at the following address:
Toradex Inc.
719 2nd Ave, Suite 850 |
Seattle, WA 98104 | United States