Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

imx93-evk: Failure to detect the SD card #1823

Closed
fabioestevam opened this issue May 14, 2024 · 5 comments
Closed

imx93-evk: Failure to detect the SD card #1823

fabioestevam opened this issue May 14, 2024 · 5 comments

Comments

@fabioestevam
Copy link
Member

Hi,

I built a core-image-minimal using the scarthgap from meta-freescale and flashed the resultant wic.gz into the SD card.

The kernel boots, but the SD card is not detected.

Does anyone have any ideas?

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x412fd050]
[    0.000000] Linux version 6.6.28-lf-6.6.y-lf-6.6.y-g776652a165f5 (oe-user@oe-host) (aarch64-fslc-linux-gcc (GCC) 13.2.0, GNU ld (GNU Binutils) 2.42.0.20240216) #1 SMP PREEMPT Tue Apr 30 17:02:34 UTC 2024
[    0.000000] KASLR disabled due to lack of seed
[    0.000000] Machine model: NXP i.MX93 11X11 EVK board
[    0.000000] efi: UEFI not found.
[    0.000000] Reserved memory: created CMA memory pool at 0x00000000b0000000, size 256 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] OF: reserved mem: 0x00000000b0000000..0x00000000bfffffff (262144 KiB) map reusable linux,cma
[    0.000000] OF: reserved mem: 0x000000002021e000..0x000000002021efff (4 KiB) nomap non-reusable rsc-table@2021e000
[    0.000000] OF: reserved mem: 0x0000000096000000..0x0000000097dfffff (30720 KiB) nomap non-reusable optee_core@96000000
[    0.000000] OF: reserved mem: 0x0000000097e00000..0x0000000097ffffff (2048 KiB) nomap non-reusable optee_shm@97e00000
[    0.000000] OF: reserved mem: 0x00000000a4000000..0x00000000a4007fff (32 KiB) nomap non-reusable vdev0vring0@a4000000
[    0.000000] OF: reserved mem: 0x00000000a4008000..0x00000000a400ffff (32 KiB) nomap non-reusable vdev0vring1@a4008000
[    0.000000] OF: reserved mem: 0x00000000a4010000..0x00000000a4017fff (32 KiB) nomap non-reusable vdev1vring0@a4010000
[    0.000000] OF: reserved mem: 0x00000000a4018000..0x00000000a401ffff (32 KiB) nomap non-reusable vdev1vring1@a4018000
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4020000, size 1 MiB
[    0.000000] OF: reserved mem: initialized node vdevbuffer@a4020000, compatible id shared-dma-pool
[    0.000000] OF: reserved mem: 0x00000000a4020000..0x00000000a411ffff (1024 KiB) nomap non-reusable vdevbuffer@a4020000
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4120000, size 1 MiB
[    0.000000] OF: reserved mem: initialized node ele-reserved@a4120000, compatible id shared-dma-pool
[    0.000000] OF: reserved mem: 0x00000000a4120000..0x00000000a421ffff (1024 KiB) nomap non-reusable ele-reserved@a4120000
[    0.000000] Reserved memory: created CMA memory pool at 0x00000000c0000000, size 256 MiB
[    0.000000] OF: reserved mem: initialized node ethosu_region@C0000000, compatible id shared-dma-pool
[    0.000000] OF: reserved mem: 0x00000000c0000000..0x00000000cfffffff (262144 KiB) map reusable ethosu_region@C0000000
[    0.000000] earlycon: lpuart32 at MMIO32 0x0000000044380000 (options '')
[    0.000000] printk: bootconsole [lpuart32] enabled
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000080000000-0x00000000ffffffff]
[    0.000000] NUMA: NODE_DATA [mem 0xffbc76c0-0xffbc9fff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x0000000095ffffff]
[    0.000000]   node   0: [mem 0x0000000098000000-0x00000000a3ffffff]
[    0.000000]   node   0: [mem 0x00000000a4000000-0x00000000a421ffff]
[    0.000000]   node   0: [mem 0x00000000a4220000-0x00000000ffffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000ffffffff]
[    0.000000] On node 0, zone DMA: 8192 pages in unavailable ranges
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: Trusted OS migration not required
[    0.000000] psci: SMC Calling Convention v1.2
[    0.000000] percpu: Embedded 22 pages/cpu s50536 r8192 d31384 u90112
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] CPU features: detected: Virtualization Host Extensions
[    0.000000] CPU features: kernel page table isolation forced OFF by mitigations=off
[    0.000000] CPU features: detected: Qualcomm erratum 1009, or ARM erratum 1286807, 2441009
[    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
[    0.000000] alternatives: applying boot alternatives
[    0.000000] Kernel command line: console=ttyLP0,115200 earlycon root=/dev/mmcblk1p2 rootwait rw
[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.000000] Fallback order for Node 0: 0 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 507904
[    0.000000] Policy zone: DMA
[    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
[    0.000000] software IO TLB: area num 2.
[    0.000000] software IO TLB: mapped [mem 0x00000000f9800000-0x00000000fd800000] (64MB)
[    0.000000] Memory: 1396396K/2064384K available (20800K kernel code, 1612K rwdata, 7636K rodata, 3904K init, 634K bss, 143700K reserved, 524288K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, 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=2.
[    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=2
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 960 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] GICv3: GICv3 features: 16 PPIs
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000048040000
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000000] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.008362] Console: colour dummy device 80x25
[    0.012598] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.022772] pid_max: default: 32768 minimum: 301
[    0.027409] LSM: initializing lsm=capability,integrity
[    0.032548] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.039848] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.048248] spectre-v4 mitigation disabled by command-line option
[    0.054150] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.060657] RCU Tasks: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1.
[    0.067502] RCU Tasks Trace: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1.
[    0.075124] rcu: Hierarchical SRCU implementation.
[    0.079750] rcu: 	Max phase no-delay instances is 1000.
[    0.085846] EFI services will not be available.
[    0.090353] smp: Bringing up secondary CPUs ...
[    0.095011] Detected VIPT I-cache on CPU1
[    0.095070] GICv3: CPU1: found redistributor 100 region 0:0x0000000048060000
[    0.095104] CPU1: Booted secondary processor 0x0000000100 [0x412fd050]
[    0.095206] smp: Brought up 1 node, 2 CPUs
[    0.116554] SMP: Total of 2 processors activated.
[    0.121226] CPU features: detected: 32-bit EL0 Support
[    0.126349] CPU features: detected: 32-bit EL1 Support
[    0.131454] CPU features: detected: Data cache clean to the PoU not required for I/D coherence
[    0.140037] CPU features: detected: Common not Private translations
[    0.146270] CPU features: detected: CRC32 instructions
[    0.151392] CPU features: detected: RCpc load-acquire (LDAPR)
[    0.157103] CPU features: detected: LSE atomic instructions
[    0.162650] CPU features: detected: Privileged Access Never
[    0.168195] CPU features: detected: RAS Extension Support
[    0.173571] CPU features: detected: Speculative Store Bypassing Safe (SSBS)
[    0.180550] CPU: All CPU(s) started at EL2
[    0.184577] alternatives: applying system-wide alternatives
[    0.194394] devtmpfs: initialized
[    0.203008] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.212505] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.227038] pinctrl core: initialized pinctrl subsystem
[    0.233623] DMI not present or invalid.
[    0.237638] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.243929] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
[    0.250806] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.258503] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.266364] audit: initializing netlink subsys (disabled)
[    0.271840] audit: type=2000 audit(0.180:1): state=initialized audit_enabled=0 res=1
[    0.272232] thermal_sys: Registered thermal governor 'step_wise'
[    0.279407] thermal_sys: Registered thermal governor 'power_allocator'
[    0.285411] cpuidle: using governor menu
[    0.295959] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.302582] ASID allocator initialised with 65536 entries
[    0.308623] Serial: AMBA PL011 UART driver
[    0.312514] imx mu driver is registered.
[    0.316359] imx rpmsg driver is registered.
[    0.326670] imx93-pinctrl 443c0000.pinctrl: initialized IMX pinctrl driver
[    0.338418] platform 4ae00000.csi: Fixed dependency cycle(s) with /soc@0/bus@42000000/i2c@42530000/ap1302_mipi@3c
[    0.350080] platform 4ae10000.dsi: Fixed dependency cycle(s) with /soc@0/bus@44000000/i2c@44340000/hdmi@3d
[    0.359506] platform 4ae10000.dsi: Fixed dependency cycle(s) with /soc@0/lcd-controller@4ae30000
[    0.368409] platform 4ae10000.dsi: Fixed dependency cycle(s) with /soc@0/lcd-controller@4ae30000
[    0.377029] platform 4ae30000.lcd-controller: Fixed dependency cycle(s) with /soc@0/dsi@4ae10000
[    0.385937] platform 4c100000.usb: Fixed dependency cycle(s) with /soc@0/bus@42000000/i2c@42530000/tcpc@50
[    0.395582] platform 4c200000.usb: Fixed dependency cycle(s) with /soc@0/bus@42000000/i2c@42530000/tcpc@51
[    0.407571] Modules: 24064 pages in range for non-PLT usage
[    0.407582] Modules: 515584 pages in range for PLT usage
[    0.413620] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
[    0.425432] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
[    0.431672] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
[    0.438430] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
[    0.444670] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[    0.451429] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
[    0.457670] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
[    0.464429] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
[    0.472260] ACPI: Interpreter disabled.
[    0.476550] iommu: Default domain type: Translated
[    0.481107] iommu: DMA domain TLB invalidation policy: strict mode
[    0.487492] SCSI subsystem initialized
[    0.491278] usbcore: registered new interface driver usbfs
[    0.496518] usbcore: registered new interface driver hub
[    0.501808] usbcore: registered new device driver usb
[    0.507637] mc: Linux media interface: v0.10
[    0.511683] videodev: Linux video capture interface: v2.00
[    0.517150] pps_core: LinuxPPS API ver. 1 registered
[    0.522040] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.531145] PTP clock support registered
[    0.535177] EDAC MC: Ver: 3.0.0
[    0.538675] scmi_core: SCMI protocol bus registered
[    0.543804] FPGA manager framework
[    0.547001] Advanced Linux Sound Architecture Driver Initialized.
[    0.553565] Bluetooth: Core ver 2.22
[    0.556896] NET: Registered PF_BLUETOOTH protocol family
[    0.562179] Bluetooth: HCI device and connection manager initialized
[    0.568496] Bluetooth: HCI socket layer initialized
[    0.573347] Bluetooth: L2CAP socket layer initialized
[    0.578379] Bluetooth: SCO socket layer initialized
[    0.583595] vgaarb: loaded
[    0.586560] clocksource: Switched to clocksource arch_sys_counter
[    0.592611] VFS: Disk quotas dquot_6.6.0
[    0.596332] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.603275] pnp: PnP ACPI: disabled
[    0.611591] NET: Registered PF_INET protocol family
[    0.616371] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.624679] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    0.633002] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.640663] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.648605] TCP bind hash table entries: 16384 (order: 7, 524288 bytes, linear)
[    0.656215] TCP: Hash tables configured (established 16384 bind 16384)
[    0.662606] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.669181] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.676394] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.682263] RPC: Registered named UNIX socket transport module.
[    0.687933] RPC: Registered udp transport module.
[    0.692599] RPC: Registered tcp transport module.
[    0.697278] RPC: Registered tcp-with-tls transport module.
[    0.702739] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.709904] PCI: CLS 0 bytes, default 64
[    0.713804] kvm [1]: IPA Size Limit: 40 bits
[    0.717832] kvm [1]: GICv3: no GICV resource entry
[    0.722578] kvm [1]: disabling GICv2 emulation
[    0.727011] kvm [1]: GIC system register CPU interface enabled
[    0.732823] kvm [1]: vgic interrupt IRQ9
[    0.736724] kvm [1]: VHE mode initialized successfully
[    0.742754] Initialise system trusted keyrings
[    0.747129] workingset: timestamp_bits=42 max_order=19 bucket_order=0
[    0.753599] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.759398] NFS: Registering the id_resolver key type
[    0.764216] Key type id_resolver registered
[    0.768347] Key type id_legacy registered
[    0.772346] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.779017] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.786386] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.792643] 9p: Installing v9fs 9p2000 file system support
[    0.820364] Key type asymmetric registered
[    0.824195] Asymmetric key parser 'x509' registered
[    0.829087] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
[    0.836423] io scheduler mq-deadline registered
[    0.840931] io scheduler kyber registered
[    0.844934] io scheduler bfq registered
[    0.853110] EINJ: ACPI disabled.
[    0.860690] Bus freq driver module loaded
[    0.870010] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.887720] printk: console [ttyLP0] enabled0x44380010 (irq = 17, base_baud = 1500000) is a FSL_LPUART
[    0.887720] printk: console [ttyLP0] enabled
[    0.896144] printk: bootconsole [lpuart32] disabled
[    0.896144] printk: bootconsole [lpuart32] disabled
[    0.916977] loop: module loaded
[    0.921285] megasas: 07.725.01.00-rc1
[    0.929810] tun: Universal TUN/TAP device driver, 1.6
[    0.935536] thunder_xcv, ver 1.0
[    0.938811] thunder_bgx, ver 1.0
[    0.942048] nicpf, ver 1.0
[    0.945644] pps pps0: new PPS source ptp0
[    0.952961] fec 42890000.ethernet eth0: registered PHC device 0
[    0.960409] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - version
[    0.967659] hns3: Copyright (c) 2017 Huawei Corporation.
[    0.973027] hclge is initializing
[    0.976374] e1000: Intel(R) PRO/1000 Network Driver
[    0.981242] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    0.987000] e1000e: Intel(R) PRO/1000 Network Driver
[    0.991954] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    0.997882] igb: Intel(R) Gigabit Ethernet Network Driver
[    1.003277] igb: Copyright (c) 2007-2014 Intel Corporation.
[    1.008851] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[    1.015110] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    1.021183] sky2: driver version 1.30
[    1.025268] usbcore: registered new device driver r8152-cfgselector
[    1.031592] usbcore: registered new interface driver r8152
[    1.037505] VFIO - User Level meta-driver version: 0.3
[    1.044820] usbcore: registered new interface driver uas
[    1.050170] usbcore: registered new interface driver usb-storage
[    1.056220] usbcore: registered new interface driver usbserial_generic
[    1.062749] usbserial: USB Serial support registered for generic
[    1.068771] usbcore: registered new interface driver ftdi_sio
[    1.074515] usbserial: USB Serial support registered for FTDI USB Serial Device
[    1.081824] usbcore: registered new interface driver usb_serial_simple
[    1.088383] usbserial: USB Serial support registered for carelink
[    1.094478] usbserial: USB Serial support registered for flashloader
[    1.100845] usbserial: USB Serial support registered for funsoft
[    1.106851] usbserial: USB Serial support registered for google
[    1.112770] usbserial: USB Serial support registered for hp4x
[    1.118515] usbserial: USB Serial support registered for kaufmann
[    1.124613] usbserial: USB Serial support registered for libtransistor
[    1.131144] usbserial: USB Serial support registered for moto_modem
[    1.137410] usbserial: USB Serial support registered for motorola_tetra
[    1.144021] usbserial: USB Serial support registered for nokia
[    1.149854] usbserial: USB Serial support registered for novatel_gps
[    1.156214] usbserial: USB Serial support registered for siemens_mpi
[    1.162572] usbserial: USB Serial support registered for suunto
[    1.168496] usbserial: USB Serial support registered for vivopay
[    1.174503] usbserial: USB Serial support registered for zio
[    1.180169] usbcore: registered new interface driver usb_ehset_test
[    1.189748] input: 44440000.bbnsm:pwrkey as /devices/platform/soc@0/44000000.bus/44440000.bbnsm/44440000.bbnsm:pwrkey/input/input0
[    1.204920] bbnsm_rtc 44440000.bbnsm:rtc: registered as rtc0
[    1.211250] bbnsm_rtc 44440000.bbnsm:rtc: setting system clock to 1970-01-01T00:00:00 UTC (0)
[    1.220502] i2c_dev: i2c /dev entries driver
[    1.228070] imx7ulp-wdt 42490000.watchdog: imx93 wdt probe
[    1.259202] Bluetooth: HCI UART driver ver 2.3
[    1.263671] Bluetooth: HCI UART protocol H4 registered
[    1.268803] Bluetooth: HCI UART protocol BCSP registered
[    1.274124] Bluetooth: HCI UART protocol LL registered
[    1.279254] Bluetooth: HCI UART protocol ATH3K registered
[    1.284655] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    1.291051] Bluetooth: HCI UART protocol Broadcom registered
[    1.296719] Bluetooth: HCI UART protocol QCA registered
[    1.303232] sdhci: Secure Digital Host Controller Interface driver
[    1.309444] sdhci: Copyright(c) Pierre Ossman
[    1.314184] Synopsys Designware Multimedia Card Interface Driver
[    1.320597] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.327694] ledtrig-cpu: registered to indicate activity on CPUs
[    1.335297] fsl-se-fw se-fw2: assigned reserved memory node ele-reserved@a4120000
[    1.344649] fsl-se-fw se-fw2: Successfully registered ele-trng
[    1.350559] random: crng init done
[    1.350881] fsl-se-fw se-fw2: i.MX secure-enclave: mu2 interface to firmware, configured.
[    1.358472] mmc0: SDHCI controller on 42850000.mmc [42850000.mmc] using ADMA
[    1.362273] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[    1.375959] usbcore: registered new interface driver usbhid
[    1.381570] usbhid: USB HID core driver
[    1.386270] dwc-mipi-csi2-host 4ae00000.csi: lanes: 2, name: mxc-mipi-csi2.0
[    1.395086] mxc-isi_v1 4ae40000.isi: mxc_isi.0 registered successfully
[    1.403236] ethosu ethosu: assigned reserved memory node ethosu_region@C0000000
[    1.449740] hw perfevents: enabled with armv8_cortex_a55 PMU driver, 7 counters available
[    1.460230]  cs_system_cfg: CoreSight Configuration manager initialised
[    1.468395] optee: probing for conduit method.
[    1.472902] optee: revision 4.0 (e0a3e777)
[    1.473241] mmc0: new HS400 Enhanced strobe MMC card at address 0001
[    1.473341] optee: dynamic shared memory is enabled
[    1.477857] mmcblk0: mmc0:0001 DA6016 14.7 GiB
[    1.484039] optee: initialized driver
[    1.496812]  mmcblk0: p1 p2
[    1.500746] NET: Registered PF_LLC protocol family
[    1.505979] mmcblk0boot0: mmc0:0001 DA6016 4.00 MiB
[    1.506637] u32 classifier
[    1.511869] mmcblk0boot1: mmc0:0001 DA6016 4.00 MiB
[    1.513580]     input device check on
[    1.519382] mmcblk0rpmb: mmc0:0001 DA6016 4.00 MiB, chardev (234:0)
[    1.522121]     Actions configured
[    1.532182] NET: Registered PF_INET6 protocol family
[    1.538046] Segment Routing with IPv6
[    1.541745] In-situ OAM (IOAM) with IPv6
[    1.545715] NET: Registered PF_PACKET protocol family
[    1.550794] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.563867] Bluetooth: RFCOMM TTY layer initialized
[    1.568755] Bluetooth: RFCOMM socket layer initialized
[    1.573906] Bluetooth: RFCOMM ver 1.11
[    1.577659] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    1.582959] Bluetooth: BNEP filters: protocol multicast
[    1.588179] Bluetooth: BNEP socket layer initialized
[    1.593134] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    1.599052] Bluetooth: HIDP socket layer initialized
[    1.604251] 8021q: 802.1Q VLAN Support v1.8
[    1.608465] lib80211: common routines for IEEE802.11 drivers
[    1.614168] 9pnet: Installing 9P2000 support
[    1.618563] Key type dns_resolver registered
[    1.636271] registered taskstats version 1
[    1.640477] Loading compiled-in X.509 certificates
[    1.669261] usb_phy_generic usbphynop1: dummy supplies not allowed for exclusive requests
[    1.677591] usb_phy_generic usbphynop2: dummy supplies not allowed for exclusive requests
[    1.697205] imx-drm display-subsystem: bound imx-lcdifv3-crtc.0 (ops lcdifv3_crtc_ops)
[    1.705186] [drm:drm_bridge_attach] *ERROR* failed to attach bridge /soc@0/dsi@4ae10000 to encoder DSI-34: -517
[    1.715279] dw-mipi-dsi-imx 4ae10000.dsi: [drm:dw_mipi_dsi_imx_bind] *ERROR* failed to attach bridge: -517
[    1.725261] dw-mipi-dsi-imx 4ae10000.dsi: [drm:dw_mipi_dsi_imx_probe] *ERROR* failed to register component: -517
[    1.736791] imx-dwmac 428a0000.ethernet: IRQ eth_lpi not found
[    1.743684] imx-dwmac 428a0000.ethernet: User ID: 0x10, Synopsys ID: 0x52
[    1.750515] imx-dwmac 428a0000.ethernet: 	DWMAC4/5
[    1.755301] imx-dwmac 428a0000.ethernet: DMA HW capability register supported
[    1.762421] imx-dwmac 428a0000.ethernet: RX Checksum Offload Engine supported
[    1.769544] imx-dwmac 428a0000.ethernet: TX Checksum insertion supported
[    1.776239] imx-dwmac 428a0000.ethernet: Wake-Up On Lan supported
[    1.782378] imx-dwmac 428a0000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    1.790031] imx-dwmac 428a0000.ethernet: Enabled L3L4 Flow TC (entries=8)
[    1.796811] imx-dwmac 428a0000.ethernet: Enabled RFS Flow TC (entries=10)
[    1.803595] imx-dwmac 428a0000.ethernet: Enabling HW TC (entries=256, max_off=256)
[    1.811155] imx-dwmac 428a0000.ethernet: Using 32/32 bits DMA host/device width
[    1.834203] remoteproc remoteproc0: imx-rproc is available
[    1.847533] platform 4ae10000.dsi: Fixed dependency cycle(s) with /soc@0/bus@44000000/i2c@44340000/hdmi@3d
[    1.857270] i2c 0-003d: Fixed dependency cycle(s) with /soc@0/dsi@4ae10000
[    1.864302] adv7511 0-003d: supply avdd not found, using dummy regulator
[    1.871086] adv7511 0-003d: supply dvdd not found, using dummy regulator
[    1.877818] adv7511 0-003d: supply pvdd not found, using dummy regulator
[    1.884532] adv7511 0-003d: supply a2vdd not found, using dummy regulator
[    1.891333] adv7511 0-003d: supply v3p3 not found, using dummy regulator
[    1.898047] adv7511 0-003d: supply v1p2 not found, using dummy regulator
[    1.905017] adv7511 0-003d: Probe failed. Remote port 'dsi@4ae10000' disabled
[    1.912511] st_lsm6dsx_i2c 0-006a: supply vdd not found, using dummy regulator
[    1.919871] st_lsm6dsx_i2c 0-006a: supply vddio not found, using dummy regulator
[    2.461436] st_lsm6dsx_i2c 0-006a: mounting matrix not found: using identity...
[    2.469441] i2c i2c-0: LPI2C adapter registered
[    2.476006] adp5585-gpio adp5585-gpio.1.auto: DMA mask not set
[    2.482709] adp5585-pwm adp5585-pwm.2.auto: DMA mask not set
[    2.488520] i2c i2c-1: LPI2C adapter registered
[    2.494347] adp5585 2-0034: Failed to read reg 0x00, ret is -5
[    2.500213] adp5585: probe of 2-0034 failed with error -5
[    2.506015] i2c i2c-2: LPI2C adapter registered
[    2.512408] imx-drm display-subsystem: bound imx-lcdifv3-crtc.0 (ops lcdifv3_crtc_ops)
[    2.520377] [drm:drm_bridge_attach] *ERROR* failed to attach bridge /soc@0/dsi@4ae10000 to encoder DSI-34: -19
[    2.530377] dw-mipi-dsi-imx 4ae10000.dsi: [drm:dw_mipi_dsi_imx_bind] *ERROR* failed to attach bridge: -19
[    2.539940] imx-drm display-subsystem: failed to bind 4ae10000.dsi (ops dw_mipi_dsi_imx_ops): -19
[    2.549008] imx-drm display-subsystem: adev bind failed: -19
[    2.554667] dw-mipi-dsi-imx 4ae10000.dsi: [drm:dw_mipi_dsi_imx_probe] *ERROR* failed to register component: -19
[    2.588998] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    2.598037] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    2.604267] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
[    2.611572] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    2.614626] clk: Disabling unused clocks
[    2.620183] platform regulatory.0: Falling back to sysfs fallback for: regulatory.db
[    2.624757] ALSA device list:
[    2.634820]   No soundcards found.
[    2.638628] Waiting for root device /dev/mmcblk1p2...
[   12.715863] platform regulator-dvdd_sel: deferred probe pending
[   12.721821] i2c 1-0022: deferred probe pending
[   12.726264] i2c 2-0050: deferred probe pending
[   12.730702] platform regulator-dvdd: deferred probe pending
[   12.736265] platform regulator-vdd: deferred probe pending
[   12.741750] platform regulator-vddo: deferred probe pending
[   12.747316] platform regulator-vaa_sel: deferred probe pending
[   12.753138] platform regulator-avdd: deferred probe pending
[   12.758703] i2c 1-0025: deferred probe pending
[   12.763139] i2c 2-0051: deferred probe pending
[   12.767581] i2c 2-003c: deferred probe pending
[   12.772014] platform imx93-lpm: deferred probe pending
[   12.777144] platform 42590000.serial: deferred probe pending
[   12.782795] platform usdhc3_pwrseq: deferred probe pending
[   12.788272] platform 42860000.mmc: deferred probe pending
[   12.793663] platform 428b0000.mmc: deferred probe pending
[   12.799054] platform sound-bt-sco: deferred probe pending
[   12.804444] platform regulator-usdhc2: deferred probe pending
[   12.810181] platform regulator-vdd-12v: deferred probe pending
[   12.816009] platform regulator-usdhc3: deferred probe pending
@fabioestevam
Copy link
Member Author

Also: if I manually build kernel lf-6.6.3-1.0.0 from NXP and flash it to the SD card, the kernel boots, the SD card is detected and the rootfs is successfully mounted.

It seems there is a kernel regression when going from 6.6.3 to 6.6.28.

@MrCry0
Copy link
Contributor

MrCry0 commented May 15, 2024

@fabioestevam Could you please add the boot log from NXP kernel?

@fabioestevam
Copy link
Member Author

Hi @MrCry0

Here it goes:

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x412fd050]
[    0.000000] Linux version 6.6.3-gccf0a99701a7 (fabio@fabio-Precision-3551) (aarch64-linux-gnu-gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #11 SMP PREEMPT Tue May 14 17:50:59 -03 2024
[    0.000000] KASLR disabled due to lack of seed
[    0.000000] Machine model: NXP i.MX93 11X11 EVK board
[    0.000000] efi: UEFI not found.
[    0.000000] Reserved memory: created CMA memory pool at 0x00000000b0000000, size 256 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] OF: reserved mem: 0x00000000b0000000..0x00000000bfffffff (262144 KiB) map reusable linux,cma
[    0.000000] OF: reserved mem: 0x000000002021e000..0x000000002021efff (4 KiB) nomap non-reusable rsc-table@2021e000
[    0.000000] OF: reserved mem: 0x0000000096000000..0x0000000097dfffff (30720 KiB) nomap non-reusable optee_core@96000000
[    0.000000] OF: reserved mem: 0x0000000097e00000..0x0000000097ffffff (2048 KiB) nomap non-reusable optee_shm@97e00000
[    0.000000] OF: reserved mem: 0x00000000a4000000..0x00000000a4007fff (32 KiB) nomap non-reusable vdev0vring0@a4000000
[    0.000000] OF: reserved mem: 0x00000000a4008000..0x00000000a400ffff (32 KiB) nomap non-reusable vdev0vring1@a4008000
[    0.000000] OF: reserved mem: 0x00000000a4010000..0x00000000a4017fff (32 KiB) nomap non-reusable vdev1vring0@a4010000
[    0.000000] OF: reserved mem: 0x00000000a4018000..0x00000000a401ffff (32 KiB) nomap non-reusable vdev1vring1@a4018000
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4020000, size 1 MiB
[    0.000000] OF: reserved mem: initialized node vdevbuffer@a4020000, compatible id shared-dma-pool
[    0.000000] OF: reserved mem: 0x00000000a4020000..0x00000000a411ffff (1024 KiB) nomap non-reusable vdevbuffer@a4020000
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4120000, size 1 MiB
[    0.000000] OF: reserved mem: initialized node ele-reserved@a4120000, compatible id shared-dma-pool
[    0.000000] OF: reserved mem: 0x00000000a4120000..0x00000000a421ffff (1024 KiB) nomap non-reusable ele-reserved@a4120000
[    0.000000] Reserved memory: created CMA memory pool at 0x00000000c0000000, size 256 MiB
[    0.000000] OF: reserved mem: initialized node ethosu_region@C0000000, compatible id shared-dma-pool
[    0.000000] OF: reserved mem: 0x00000000c0000000..0x00000000cfffffff (262144 KiB) map reusable ethosu_region@C0000000
[    0.000000] earlycon: lpuart32 at MMIO32 0x0000000044380000 (options '')
[    0.000000] printk: bootconsole [lpuart32] enabled
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000080000000-0x00000000ffffffff]
[    0.000000] NUMA: NODE_DATA [mem 0xffbc66c0-0xffbc8fff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x0000000095ffffff]
[    0.000000]   node   0: [mem 0x0000000098000000-0x00000000a3ffffff]
[    0.000000]   node   0: [mem 0x00000000a4000000-0x00000000a421ffff]
[    0.000000]   node   0: [mem 0x00000000a4220000-0x00000000ffffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000ffffffff]
[    0.000000] On node 0, zone DMA: 8192 pages in unavailable ranges
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: Trusted OS migration not required
[    0.000000] psci: SMC Calling Convention v1.2
[    0.000000] percpu: Embedded 22 pages/cpu s50536 r8192 d31384 u90112
[    0.000000] pcpu-alloc: s50536 r8192 d31384 u90112 alloc=22*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] CPU features: detected: Virtualization Host Extensions
[    0.000000] CPU features: detected: Qualcomm erratum 1009, or ARM erratum 1286807, 2441009
[    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
[    0.000000] alternatives: applying boot alternatives
[    0.000000] Kernel command line: console=ttyLP0,115200 earlycon root=/dev/mmcblk1p2 rootwait rw
[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.000000] Fallback order for Node 0: 0 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 507904
[    0.000000] Policy zone: DMA
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: area num 2.
[    0.000000] software IO TLB: mapped [mem 0x00000000f9800000-0x00000000fd800000] (64MB)
[    0.000000] Memory: 1396520K/2064384K available (20672K kernel code, 1612K rwdata, 7628K rodata, 3904K init, 634K bss, 143576K reserved, 524288K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, 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=2.
[    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=2
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 960 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] GICv3: GICv3 features: 16 PPIs
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000048040000
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000000] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.008356] Console: colour dummy device 80x25
[    0.012589] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.022763] pid_max: default: 32768 minimum: 301
[    0.027400] LSM: initializing lsm=capability,integrity
[    0.032539] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.039839] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.048277] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.054649] RCU Tasks: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1.
[    0.061497] RCU Tasks Trace: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1.
[    0.069117] rcu: Hierarchical SRCU implementation.
[    0.073743] rcu: 	Max phase no-delay instances is 1000.
[    0.079807] EFI services will not be available.
[    0.084305] smp: Bringing up secondary CPUs ...
[    0.088965] Detected VIPT I-cache on CPU1
[    0.089024] GICv3: CPU1: found redistributor 100 region 0:0x0000000048060000
[    0.089060] CPU1: Booted secondary processor 0x0000000100 [0x412fd050]
[    0.089158] smp: Brought up 1 node, 2 CPUs
[    0.110512] SMP: Total of 2 processors activated.
[    0.115184] CPU features: detected: 32-bit EL0 Support
[    0.120307] CPU features: detected: 32-bit EL1 Support
[    0.125413] CPU features: detected: Data cache clean to the PoU not required for I/D coherence
[    0.133995] CPU features: detected: Common not Private translations
[    0.140229] CPU features: detected: CRC32 instructions
[    0.145351] CPU features: detected: RCpc load-acquire (LDAPR)
[    0.151062] CPU features: detected: LSE atomic instructions
[    0.156608] CPU features: detected: Privileged Access Never
[    0.162154] CPU features: detected: RAS Extension Support
[    0.167530] CPU features: detected: Speculative Store Bypassing Safe (SSBS)
[    0.174511] CPU: All CPU(s) started at EL2
[    0.178535] alternatives: applying system-wide alternatives
[    0.188269] devtmpfs: initialized
[    0.196859] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.206358] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.219892] pinctrl core: initialized pinctrl subsystem
[    0.226401] DMI not present or invalid.
[    0.230418] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.236712] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
[    0.243588] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.251290] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.259154] audit: initializing netlink subsys (disabled)
[    0.264628] audit: type=2000 audit(0.176:1): state=initialized audit_enabled=0 res=1
[    0.265006] thermal_sys: Registered thermal governor 'step_wise'
[    0.272195] thermal_sys: Registered thermal governor 'power_allocator'
[    0.278199] cpuidle: using governor menu
[    0.288747] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.295370] ASID allocator initialised with 65536 entries
[    0.301396] Serial: AMBA PL011 UART driver
[    0.305285] imx mu driver is registered.
[    0.309130] imx rpmsg driver is registered.
[    0.318950] imx93-pinctrl 443c0000.pinctrl: initialized IMX pinctrl driver
[    0.332411] platform 4ae30000.lcd-controller: Fixed dependency cycle(s) with /soc@0/dsi@4ae10000/ports/port@0/endpoint
[    0.345682] Modules: 24096 pages in range for non-PLT usage
[    0.345694] Modules: 515616 pages in range for PLT usage
[    0.351726] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
[    0.363534] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
[    0.369773] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
[    0.376532] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
[    0.382772] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[    0.389531] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
[    0.395772] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
[    0.402531] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
[    0.410404] ACPI: Interpreter disabled.
[    0.414694] iommu: Default domain type: Translated
[    0.419252] iommu: DMA domain TLB invalidation policy: strict mode
[    0.425632] SCSI subsystem initialized
[    0.429239] libata version 3.00 loaded.
[    0.429403] usbcore: registered new interface driver usbfs
[    0.434635] usbcore: registered new interface driver hub
[    0.439925] usbcore: registered new device driver usb
[    0.445758] mc: Linux media interface: v0.10
[    0.449804] videodev: Linux video capture interface: v2.00
[    0.455266] pps_core: LinuxPPS API ver. 1 registered
[    0.460159] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.469264] PTP clock support registered
[    0.473294] EDAC MC: Ver: 3.0.0
[    0.476772] scmi_core: SCMI protocol bus registered
[    0.481877] FPGA manager framework
[    0.485066] Advanced Linux Sound Architecture Driver Initialized.
[    0.491618] Bluetooth: Core ver 2.22
[    0.494946] NET: Registered PF_BLUETOOTH protocol family
[    0.500223] Bluetooth: HCI device and connection manager initialized
[    0.506545] Bluetooth: HCI socket layer initialized
[    0.511396] Bluetooth: L2CAP socket layer initialized
[    0.516429] Bluetooth: SCO socket layer initialized
[    0.521620] vgaarb: loaded
[    0.524694] clocksource: Switched to clocksource arch_sys_counter
[    0.530750] VFS: Disk quotas dquot_6.6.0
[    0.534462] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.541402] pnp: PnP ACPI: disabled
[    0.549648] NET: Registered PF_INET protocol family
[    0.554430] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.562738] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    0.571063] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.578721] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.586662] TCP bind hash table entries: 16384 (order: 7, 524288 bytes, linear)
[    0.594267] TCP: Hash tables configured (established 16384 bind 16384)
[    0.600651] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.607244] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.614449] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.620276] RPC: Registered named UNIX socket transport module.
[    0.625939] RPC: Registered udp transport module.
[    0.630605] RPC: Registered tcp transport module.
[    0.635285] RPC: Registered tcp-with-tls transport module.
[    0.640745] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.647892] PCI: CLS 0 bytes, default 64
[    0.651774] kvm [1]: IPA Size Limit: 40 bits
[    0.655821] kvm [1]: GICv3: no GICV resource entry
[    0.660567] kvm [1]: disabling GICv2 emulation
[    0.665000] kvm [1]: GIC system register CPU interface enabled
[    0.670813] kvm [1]: vgic interrupt IRQ9
[    0.674712] kvm [1]: VHE mode initialized successfully
[    0.680731] Initialise system trusted keyrings
[    0.685097] workingset: timestamp_bits=42 max_order=19 bucket_order=0
[    0.691566] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.697370] NFS: Registering the id_resolver key type
[    0.702186] Key type id_resolver registered
[    0.706319] Key type id_legacy registered
[    0.710318] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.716988] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.724357] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.730598] 9p: Installing v9fs 9p2000 file system support
[    0.757890] Key type asymmetric registered
[    0.761716] Asymmetric key parser 'x509' registered
[    0.766604] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
[    0.773944] io scheduler mq-deadline registered
[    0.778451] io scheduler kyber registered
[    0.782455] io scheduler bfq registered
[    0.790680] EINJ: ACPI disabled.
[    0.798214] Bus freq driver module loaded
[    0.807449] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.815832] 44380000.serial: ttyLP0 at MMIO 0x44380010 (irq = 17, base_baud = 1500000) is a FSL_LPUART
[    0.825148] printk: console [ttyLP0] enabled
[    0.833562] printk: bootconsole [lpuart32] disabled
[    0.854884] loop: module loaded
[    0.859314] megasas: 07.725.01.00-rc1
[    0.867879] tun: Universal TUN/TAP device driver, 1.6
[    0.873605] thunder_xcv, ver 1.0
[    0.876881] thunder_bgx, ver 1.0
[    0.880117] nicpf, ver 1.0
[    0.883699] pps pps0: new PPS source ptp0
[    0.891000] fec 42890000.ethernet eth0: registered PHC device 0
[    0.898441] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - version
[    0.905689] hns3: Copyright (c) 2017 Huawei Corporation.
[    0.911031] hclge is initializing
[    0.914366] e1000: Intel(R) PRO/1000 Network Driver
[    0.919239] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    0.925002] e1000e: Intel(R) PRO/1000 Network Driver
[    0.929954] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    0.935879] igb: Intel(R) Gigabit Ethernet Network Driver
[    0.941273] igb: Copyright (c) 2007-2014 Intel Corporation.
[    0.946850] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[    0.953106] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    0.959168] sky2: driver version 1.30
[    0.963245] usbcore: registered new device driver r8152-cfgselector
[    0.969533] usbcore: registered new interface driver r8152
[    0.975436] VFIO - User Level meta-driver version: 0.3
[    0.982598] usbcore: registered new interface driver uas
[    0.987940] usbcore: registered new interface driver usb-storage
[    0.994027] usbcore: registered new interface driver usbserial_generic
[    1.000573] usbserial: USB Serial support registered for generic
[    1.006600] usbcore: registered new interface driver ftdi_sio
[    1.012351] usbserial: USB Serial support registered for FTDI USB Serial Device
[    1.019660] usbcore: registered new interface driver usb_serial_simple
[    1.026222] usbserial: USB Serial support registered for carelink
[    1.032320] usbserial: USB Serial support registered for flashloader
[    1.038671] usbserial: USB Serial support registered for funsoft
[    1.044682] usbserial: USB Serial support registered for google
[    1.050604] usbserial: USB Serial support registered for hp4x
[    1.056351] usbserial: USB Serial support registered for kaufmann
[    1.062447] usbserial: USB Serial support registered for libtransistor
[    1.068978] usbserial: USB Serial support registered for moto_modem
[    1.075244] usbserial: USB Serial support registered for motorola_tetra
[    1.081856] usbserial: USB Serial support registered for nokia
[    1.087692] usbserial: USB Serial support registered for novatel_gps
[    1.094057] usbserial: USB Serial support registered for siemens_mpi
[    1.100413] usbserial: USB Serial support registered for suunto
[    1.106335] usbserial: USB Serial support registered for vivopay
[    1.112346] usbserial: USB Serial support registered for zio
[    1.118009] usbcore: registered new interface driver usb_ehset_test
[    1.127323] input: 44440000.bbnsm:pwrkey as /devices/platform/soc@0/44000000.bus/44440000.bbnsm/44440000.bbnsm:pwrkey/input/input0
[    1.142499] bbnsm_rtc 44440000.bbnsm:rtc: registered as rtc0
[    1.148814] bbnsm_rtc 44440000.bbnsm:rtc: setting system clock to 1970-01-01T00:00:00 UTC (0)
[    1.158063] i2c_dev: i2c /dev entries driver
[    1.164348] qoriq_thermal 44482000.tmu: invalid range data.
[    1.171160] imx7ulp-wdt 42490000.watchdog: imx93 wdt probe
[    1.203925] Bluetooth: HCI UART driver ver 2.3
[    1.208389] Bluetooth: HCI UART protocol H4 registered
[    1.213518] Bluetooth: HCI UART protocol BCSP registered
[    1.218841] Bluetooth: HCI UART protocol LL registered
[    1.223971] Bluetooth: HCI UART protocol ATH3K registered
[    1.229380] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    1.235766] Bluetooth: HCI UART protocol Broadcom registered
[    1.241432] Bluetooth: HCI UART protocol QCA registered
[    1.247859] sdhci: Secure Digital Host Controller Interface driver
[    1.254073] sdhci: Copyright(c) Pierre Ossman
[    1.258902] Synopsys Designware Multimedia Card Interface Driver
[    1.265303] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.272275] ledtrig-cpu: registered to indicate activity on CPUs
[    1.279280] fsl-se-fw se-fw2: assigned reserved memory node ele-reserved@a4120000
[    1.288654] fsl-se-fw se-fw2: Successfully registered ele-trng
[    1.294289] random: crng init done
[    1.294842] fsl-se-fw se-fw2: i.MX secure-enclave: mu2 interface to firmware, configured.
[    1.306123] mmc0: SDHCI controller on 42850000.mmc [42850000.mmc] using ADMA
[    1.306216] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[    1.319906] usbcore: registered new interface driver usbhid
[    1.325480] usbhid: USB HID core driver
[    1.331163] mxc-isi_v1 4ae40000.isi: mxc_isi.0 registered successfully
[    1.338798] ethosu ethosu: assigned reserved memory node ethosu_region@C0000000
[    1.377658] mmc0: new HS400 Enhanced strobe MMC card at address 0001
[    1.384515] mmcblk0: mmc0:0001 DA6016 14.7 GiB
[    1.389247] hw perfevents: enabled with armv8_cortex_a55 PMU driver, 7 counters available
[    1.390063]  mmcblk0: p1 p2
[    1.399749]  cs_system_cfg: CoreSight Configuration manager initialised
[    1.400751] mmcblk0boot0: mmc0:0001 DA6016 4.00 MiB
[    1.408345] optee: probing for conduit method.
[    1.412664] mmcblk0boot1: mmc0:0001 DA6016 4.00 MiB
[    1.416231] optee: revision 4.0 (e0a3e777)
[    1.421717] optee: dynamic shared memory is enabled
[    1.421955] mmcblk0rpmb: mmc0:0001 DA6016 4.00 MiB, chardev (234:0)
[    1.426106] optee: initialized driver
[    1.444046] NET: Registered PF_LLC protocol family
[    1.448951] u32 classifier
[    1.451679]     input device check on
[    1.455343]     Actions configured
[    1.459164] NET: Registered PF_INET6 protocol family
[    1.464850] Segment Routing with IPv6
[    1.468525] In-situ OAM (IOAM) with IPv6
[    1.472501] NET: Registered PF_PACKET protocol family
[    1.477569] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.490605] Bluetooth: RFCOMM TTY layer initialized
[    1.495487] Bluetooth: RFCOMM socket layer initialized
[    1.500639] Bluetooth: RFCOMM ver 1.11
[    1.504385] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    1.509684] Bluetooth: BNEP filters: protocol multicast
[    1.514904] Bluetooth: BNEP socket layer initialized
[    1.519859] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    1.525772] Bluetooth: HIDP socket layer initialized
[    1.530918] 8021q: 802.1Q VLAN Support v1.8
[    1.535123] lib80211: common routines for IEEE802.11 drivers
[    1.540773] lib80211_crypt: registered algorithm 'NULL'
[    1.540777] lib80211_crypt: registered algorithm 'WEP'
[    1.540780] lib80211_crypt: registered algorithm 'CCMP'
[    1.540783] lib80211_crypt: registered algorithm 'TKIP'
[    1.540809] 9pnet: Installing 9P2000 support
[    1.545206] Key type dns_resolver registered
[    1.562238] registered taskstats version 1
[    1.566477] Loading compiled-in X.509 certificates
[    1.593359] usb_phy_generic usbphynop1: dummy supplies not allowed for exclusive requests
[    1.601688] usb_phy_generic usbphynop2: dummy supplies not allowed for exclusive requests
[    1.622803] imx-dwmac 428a0000.ethernet: IRQ eth_lpi not found
[    1.629617] imx-dwmac 428a0000.ethernet: User ID: 0x10, Synopsys ID: 0x52
[    1.636421] imx-dwmac 428a0000.ethernet: 	DWMAC4/5
[    1.641209] imx-dwmac 428a0000.ethernet: DMA HW capability register supported
[    1.648335] imx-dwmac 428a0000.ethernet: RX Checksum Offload Engine supported
[    1.655457] imx-dwmac 428a0000.ethernet: TX Checksum insertion supported
[    1.662147] imx-dwmac 428a0000.ethernet: Wake-Up On Lan supported
[    1.668284] imx-dwmac 428a0000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    1.675930] imx-dwmac 428a0000.ethernet: Enabled L3L4 Flow TC (entries=8)
[    1.682707] imx-dwmac 428a0000.ethernet: Enabled RFS Flow TC (entries=10)
[    1.689495] imx-dwmac 428a0000.ethernet: Enabling HW TC (entries=256, max_off=256)
[    1.697051] imx-dwmac 428a0000.ethernet: Using 32/32 bits DMA host/device width
[    1.713252] remoteproc remoteproc0: imx-rproc is available
[    1.726578] i2c 0-003d: Fixed dependency cycle(s) with /soc@0/dsi@4ae10000/ports/port@1/endpoint
[    1.735499] adv7511 0-003d: supply avdd not found, using dummy regulator
[    1.742305] adv7511 0-003d: supply dvdd not found, using dummy regulator
[    1.749035] adv7511 0-003d: supply pvdd not found, using dummy regulator
[    1.755753] adv7511 0-003d: supply a2vdd not found, using dummy regulator
[    1.762558] adv7511 0-003d: supply v3p3 not found, using dummy regulator
[    1.769273] adv7511 0-003d: supply v1p2 not found, using dummy regulator
[    1.776234] adv7511 0-003d: Probe failed. Remote port 'dsi@4ae10000' disabled
[    1.783702] st_lsm6dsx_i2c 0-006a: supply vdd not found, using dummy regulator
[    1.791012] st_lsm6dsx_i2c 0-006a: supply vddio not found, using dummy regulator
[    2.331692] st_lsm6dsx_i2c 0-006a: mounting matrix not found: using identity...
[    2.339762] i2c i2c-0: LPI2C adapter registered
[    2.345934] pca953x 1-0022: supply vcc not found, using dummy regulator
[    2.352672] pca953x 1-0022: using AI
[    2.357862] adp5585-gpio adp5585-gpio.1.auto: DMA mask not set
[    2.364487] adp5585-pwm adp5585-pwm.2.auto: DMA mask not set
[    2.370302] i2c i2c-1: LPI2C adapter registered
[    2.375837] i2c 2-0050: Fixed dependency cycle(s) with /soc@0/usb@4c100000/port/endpoint
[    2.384779] i2c 2-0051: Fixed dependency cycle(s) with /soc@0/usb@4c200000/port/endpoint
[    2.393669] adp5585 2-0034: Failed to read reg 0x00, ret is -5
[    2.399530] adp5585: probe of 2-0034 failed with error -5
[    2.405094] i2c 2-003c: Fixed dependency cycle(s) with /soc@0/bus@42800000/camera/csi@4ae00000/port/endpoint
[    2.415194] i2c i2c-2: LPI2C adapter registered
[    2.421529] 42590000.serial: ttyLP4 at MMIO 0x42590010 (irq = 106, base_baud = 1500000) is a FSL_LPUART
[    2.431054] serial serial0: tty port ttyLP4 registered
[    2.437327] imx-drm display-subsystem: bound imx-lcdifv3-crtc.0 (ops lcdifv3_crtc_ops)
[    2.445288] [drm:drm_bridge_attach] *ERROR* failed to attach bridge /soc@0/dsi@4ae10000 to encoder DSI-34: -19
[    2.455290] dw-mipi-dsi-imx 4ae10000.dsi: [drm:dw_mipi_dsi_imx_bind] *ERROR* failed to attach bridge: -19
[    2.464849] imx-drm display-subsystem: failed to bind 4ae10000.dsi (ops dw_mipi_dsi_imx_ops): -19
[    2.473921] imx-drm display-subsystem: adev bind failed: -19
[    2.479592] dw-mipi-dsi-imx 4ae10000.dsi: [drm:dw_mipi_dsi_imx_probe] *ERROR* failed to register component: -19
[    2.502062] dwc-mipi-csi2-host 4ae00000.csi: lanes: 2, name: mxc-mipi-csi2.0
[    2.502098] sdhci-esdhc-imx 42860000.mmc: Got CD GPIO
[    2.516681] OF: graph: no port node found in /soc@0/bus@42000000/i2c@42530000/tcpc@50/connector
[    2.525438] OF: graph: no port node found in /soc@0/bus@42000000/i2c@42530000/tcpc@50/connector
[    2.534180] OF: graph: no port node found in /soc@0/bus@42000000/i2c@42530000/tcpc@50/connector
[    2.536844] nxp-pca9450 1-0025: PWRON interrupt.
[    2.547490] nxp-pca9450 1-0025: WDOGB interrupt.
[    2.552108] nxp-pca9450 1-0025: LOWVSYS interrupt.
[    2.557040] nxp-pca9450 1-0025: pca9451a probed.
[    2.557297] mmc1: SDHCI controller on 42860000.mmc [42860000.mmc] using ADMA
[    2.573128] OF: graph: no port node found in /soc@0/bus@42000000/i2c@42530000/tcpc@51/connector
[    2.581855] OF: graph: no port node found in /soc@0/bus@42000000/i2c@42530000/tcpc@51/connector
[    2.590557] OF: graph: no port node found in /soc@0/bus@42000000/i2c@42530000/tcpc@51/connector
[    2.606897] sdhci-esdhc-imx 428b0000.mmc: allocated mmc-pwrseq
[    2.614584] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    2.623643] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    2.629406] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    2.632756] clk: Disabling unused clocks
[    2.638026] platform regulatory.0: Falling back to sysfs fallback for: regulatory.db
[    2.642538] ALSA device list:
[    2.652640]   No soundcards found.
[    2.680536] mmc2: SDHCI controller on 428b0000.mmc [428b0000.mmc] using ADMA
[    2.687877] Waiting for root device /dev/mmcblk1p2...
[    2.762114] mmc2: new ultra high speed SDR104 SDIO card at address 0001
[    2.794174] mmc1: host does not support reading read-only switch, assuming write-enable
[    2.808579] mmc1: new ultra high speed DDR50 SDHC card at address aaaa
[    2.815581] mmcblk1: mmc1:aaaa SL16G 14.8 GiB
[    2.825196]  mmcblk1: p1 p2
[    2.851601] EXT4-fs (mmcblk1p2): recovery complete
[    2.857953] EXT4-fs (mmcblk1p2): mounted filesystem 436aa69d-b436-4ea1-af36-547c1218a920 r/w with ordered data mode. Quota mode: none.
[    2.870094] VFS: Mounted root (ext4 filesystem) on device 179:98.
[    2.879200] devtmpfs: mounted
[    2.883267] Freeing unused kernel memory: 3904K
[    2.887935] Run /sbin/init as init process
[    2.892027]   with arguments:
[    2.892030]     /sbin/init
[    2.892032]   with environment:
[    2.892034]     HOME=/
[    2.892036]     TERM=linux
[    3.215174] udevd[136]: starting version 3.2.14
[    3.240227] udevd[137]: starting eudev-3.2.14
[    3.564882] EXT4-fs (mmcblk1p2): re-mounted 436aa69d-b436-4ea1-af36-547c1218a920 r/w. Quota mode: none.
[    3.952711] RTL8211F-VD Gigabit Ethernet 42890000.ethernet-1:02: attached PHY driver (mii_bus:phy_addr=42890000.ethernet-1:02, irq=POLL)
[   12.677564] platform sound-bt-sco: deferred probe pending
[   12.682993] i2c 2-003c: deferred probe pending
[   12.687434] platform regulator-dvdd_sel: deferred probe pending
[   12.693343] platform regulator-dvdd: deferred probe pending
[   12.698907] platform regulator-vdd: deferred probe pending
[   12.704384] platform regulator-vddo: deferred probe pending
[   12.709952] platform regulator-vaa_sel: deferred probe pending
[   12.715772] platform regulator-avdd: deferred probe pending

The SD card is correctly detected:

root@imx93-11x11-lpddr4x-evk:~# dmesg | grep mmc
[    0.000000] Kernel command line: console=ttyLP0,115200 earlycon root=/dev/mmcblk1p2 rootwait rw
[    1.306123] mmc0: SDHCI controller on 42850000.mmc [42850000.mmc] using ADMA
[    1.377658] mmc0: new HS400 Enhanced strobe MMC card at address 0001
[    1.384515] mmcblk0: mmc0:0001 DA6016 14.7 GiB
[    1.390063]  mmcblk0: p1 p2
[    1.400751] mmcblk0boot0: mmc0:0001 DA6016 4.00 MiB
[    1.412664] mmcblk0boot1: mmc0:0001 DA6016 4.00 MiB
[    1.421955] mmcblk0rpmb: mmc0:0001 DA6016 4.00 MiB, chardev (234:0)
[    2.502098] sdhci-esdhc-imx 42860000.mmc: Got CD GPIO
[    2.557297] mmc1: SDHCI controller on 42860000.mmc [42860000.mmc] using ADMA
[    2.606897] sdhci-esdhc-imx 428b0000.mmc: allocated mmc-pwrseq
[    2.680536] mmc2: SDHCI controller on 428b0000.mmc [428b0000.mmc] using ADMA
[    2.687877] Waiting for root device /dev/mmcblk1p2...
[    2.762114] mmc2: new ultra high speed SDR104 SDIO card at address 0001
[    2.794174] mmc1: host does not support reading read-only switch, assuming write-enable
[    2.808579] mmc1: new ultra high speed DDR50 SDHC card at address aaaa
[    2.815581] mmcblk1: mmc1:aaaa SL16G 14.8 GiB
[    2.825196]  mmcblk1: p1 p2
[    2.851601] EXT4-fs (mmcblk1p2): recovery complete
[    2.857953] EXT4-fs (mmcblk1p2): mounted filesystem 436aa69d-b436-4ea1-af36-547c1218a920 r/w with ordered data mode. Quota mode: none.
[    3.564882] EXT4-fs (mmcblk1p2): re-mounted 436aa69d-b436-4ea1-af36-547c1218a920 r/w. Quota mode: none.

Does the SD card get detected for you when using 6.6.28?

Thanks

@fabioestevam
Copy link
Member Author

Hi @MrCry0 and @otavio

I fixed the boot issue and submitted a pull request:

Freescale/linux-fslc@e9ea6ba

@fabioestevam
Copy link
Member Author

Closing this issue as I sent a fix for this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants