varigit / linux-imx

Linux kernel for Variscite SOMs using NXP i.MX SoCs
https://variwiki.com
Other
74 stars 183 forks source link

USDHC2 not working in lf-5.15.y_var01 branch #26

Closed Muhammadhassan1234 closed 1 month ago

Muhammadhassan1234 commented 1 month ago

Hello! I was working on 5.4-2.1.x-imx_var01 branch and both my emmc and my external sd card was working fine. However, I updated my kernel to lf-5.15.y_var01 and my sdcard stopped working. Here are the usdhc2 nodes that I am using for both kernel versions. However, it is working in 5.4-2.1.x-imx_var01 but not in lf-5.15.y_var01. I have attached the device tree node overlay and logs below. Please tell me where is the problem!


#include "imx6dl-var-som-solo.dtsi"
/* uSDHC2, MMC/SD card */
&usdhc2 {   
    pinctrl-names = "default";
    pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>;
    cd-gpios = <&gpio4 14 GPIO_ACTIVE_LOW>;
    keep-power-in-suspend;
    enable-sdio-wakeup;
    status = "okay";
};

&iomuxc {
 imx6qdl-var-som-mx6 {

    pinctrl_usdhc2_gpio: usdhc2gpiogrp {
        fsl,pins = <
            /* SDMMC2 CD */
            MX6QDL_PAD_KEY_COL4__GPIO4_IO14         0x80000000
        >;
    };
 };
};

In 5.4-2.1.x-imx_var01, It detects all mmc on var-som-mx6 as show in kernel logs below#

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.4.142+g1ed6493ec6e5 (oe-user@oe-host) (gcc version 9.3.0 (GCC)) #1 SMP PREEMPT Tue May 3 20:55:29 UTC 2022
[    0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Variscite VAR-SOM-6SOLO with i.MX6SOLO, eMMC & SD card support on 
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Reserved memory: created CMA memory pool at 0x3c000000, size 320 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] percpu: Embedded 15 pages/cpu s32332 r8192 d20916 u61440
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 259840
[    0.000000] Kernel command line: console=ttymxc0,115200 root=/dev/mmcblk1p2 rootwait rw video=mxcfb0:dev=ldb,1024x600M@60,if=RGB24 video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 693624K/1048576K available (10240K kernel code, 521K rwdata, 3796K rodata, 1024K init, 432K bss, 27272K reserved, 327680K cma-reserved, 0K highmem)
[    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 restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000]  Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] L2C-310 erratum 769419 enabled
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000] L2C-310 ID prefetch enabled, offset 16 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 cache controller enabled, 16 ways, 512 kB
[    0.000000] L2C-310: CACHE_ID 0x410000c8, AUX_CTRL 0x76450001
[    0.000000] random: get_random_bytes called from start_kernel+0x2c8/0x48c with crng_init=0
[    0.000000] ccm: ldb_di0_sel already changed from reset value: 1
[    0.000000] ccm: ldb_di1_sel already changed from reset value: 1
[    0.000000] Switching to timer-based delay loop, resolution 333ns
[    0.000008] sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 715827882841ns
[    0.000034] clocksource: mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 637086815595 ns
[    0.001343] Console: colour dummy device 80x30
[    0.001373] Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=30000)
[    0.001388] pid_max: default: 32768 minimum: 301
[    0.001575] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.001596] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.002462] CPU: Testing write buffer coherency: ok
[    0.002501] CPU0: Spectre v2: using BPIALL workaround
[    0.002818] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.003524] Setting up static identity map for 0x10100000 - 0x10100060
[    0.003692] rcu: Hierarchical SRCU implementation.
[    0.004106] smp: Bringing up secondary CPUs ...
[    0.004733] smp: Brought up 1 node, 1 CPU
[    0.004747] SMP: Total of 1 processors activated (6.00 BogoMIPS).
[    0.004754] CPU: All CPU(s) started in SVC mode.
[    0.005171] devtmpfs: initialized
[    0.013908] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.014313] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.014338] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.027070] pinctrl core: initialized pinctrl subsystem
[    0.028188] NET: Registered protocol family 16
[    0.036166] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.037151] cpuidle: using governor menu
[    0.037389] CPU identified as i.MX6DL, silicon rev 1.3
[    0.045340] vdd1p1: supplied by regulator-dummy
[    0.045893] vdd3p0: supplied by regulator-dummy
[    0.046382] vdd2p5: supplied by regulator-dummy
[    0.046917] vddarm: supplied by regulator-dummy
[    0.047610] vddpu: supplied by regulator-dummy
[    0.047973] vddsoc: supplied by regulator-dummy
[    0.048594] mxs_phy 20c9000.usbphy: 20c9000.usbphy supply phy-3p0 not found, using dummy regulator
[    0.049064] mxs_phy 20ca000.usbphy: 20ca000.usbphy supply phy-3p0 not found, using dummy regulator
[    0.060614] No ATAGs?
[    0.060677] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.060693] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.061894] imx6dl-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
[    0.063372] imx mu driver is registered.
[    0.063827] imx rpmsg driver is registered.
[    0.092470] vgaarb: loaded
[    0.093428] SCSI subsystem initialized
[    0.093903] usbcore: registered new interface driver usbfs
[    0.093960] usbcore: registered new interface driver hub
[    0.094006] usbcore: registered new device driver usb
[    0.094159] usb_phy_generic usbphynop1: usbphynop1 supply vcc not found, using dummy regulator
[    0.094372] usb_phy_generic usbphynop2: usbphynop2 supply vcc not found, using dummy regulator
[    0.096087] i2c i2c-1: IMX I2C adapter registered
[    0.096832] i2c i2c-2: IMX I2C adapter registered
[    0.097266] mc: Linux media interface: v0.10
[    0.097310] videodev: Linux video capture interface: v2.00
[    0.097360] pps_core: LinuxPPS API ver. 1 registered
[    0.097370] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.097390] PTP clock support registered
[    0.119720] imx-ipuv3 2400000.ipu: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)
[    0.121123] mxc_vdoa 21e4000.vdoa: i.MX Video Data Order Adapter(VDOA) driver probed
[    0.121804] mxc_mipi_csi2 21dc000.mipi: i.MX MIPI CSI2 driver probed
[    0.121819] mxc_mipi_csi2 21dc000.mipi: i.MX MIPI CSI2 dphy version is 0x3130302a
[    0.121922] MIPI CSI2 driver module loaded
[    0.121984] Advanced Linux Sound Architecture Driver Initialized.
[    0.123076] Bluetooth: Core ver 2.22
[    0.123133] NET: Registered protocol family 31
[    0.123142] Bluetooth: HCI device and connection manager initialized
[    0.123158] Bluetooth: HCI socket layer initialized
[    0.123171] Bluetooth: L2CAP socket layer initialized
[    0.123196] Bluetooth: SCO socket layer initialized
[    0.123782] clocksource: Switched to clocksource mxc_timer1
[    0.123966] VFS: Disk quotas dquot_6.6.0
[    0.124043] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.133005] thermal_sys: Registered thermal governor 'step_wise'
[    0.133359] NET: Registered protocol family 2
[    0.133672] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.134739] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.134777] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.134864] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.135005] TCP: Hash tables configured (established 8192 bind 8192)
[    0.135192] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.135234] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.135441] NET: Registered protocol family 1
[    0.136045] RPC: Registered named UNIX socket transport module.
[    0.136057] RPC: Registered udp transport module.
[    0.136066] RPC: Registered tcp transport module.
[    0.136074] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.136089] PCI: CLS 0 bytes, default 64
[    0.136638] hw perfevents: no interrupt-affinity property for /pmu, guessing.
[    0.136821] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    0.138344] Bus freq driver module loaded
[    0.139365] Initialise system trusted keyrings
[    0.139673] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[    0.145966] NFS: Registering the id_resolver key type
[    0.145997] Key type id_resolver registered
[    0.146005] Key type id_legacy registered
[    0.146049] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.146541] fuse: init (API version 7.31)
[    0.182279] Key type asymmetric registered
[    0.182292] Asymmetric key parser 'x509' registered
[    0.182505] io scheduler mq-deadline registered
[    0.182518] io scheduler kyber registered
[    0.187637] mxc_hdmi 20e0000.hdmi_video: 20e0000.hdmi_video supply HDMI not found, using dummy regulator
[    0.189370] mxc_sdc_fb fb@0: registered mxc display driver ldb
[    0.223855] imx-ipuv3 2400000.ipu: IPU DMFC DP HIGH RESOLUTION: 1(0,1), 5B(2~5), 5F(6,7)
[    0.289919] Console: switching to colour frame buffer device 128x37
[    0.326858] mxc_sdc_fb fb@1: Can't get fb option for mxcfb1!
[    0.329193] mxs-dma 110000.dma-apbh: initialized
[    0.334547] pfuze100-regulator 1-0008: unrecognized pfuze chip ID!
[    0.336529] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 25, base_baud = 5000000) is a IMX
[    1.182281] printk: console [ttymxc0] enabled
[    1.187682] 21ec000.serial: ttymxc2 at MMIO 0x21ec000 (irq = 70, base_baud = 5000000) is a IMX
[    1.197013] 21f0000.serial: ttymxc3 at MMIO 0x21f0000 (irq = 71, base_baud = 5000000) is a IMX
[    1.206321] 21f4000.serial: ttymxc4 at MMIO 0x21f4000 (irq = 72, base_baud = 5000000) is a IMX
[    1.216503] imx sema4 driver is registered.
[    1.234510] brd: module loaded
[    1.247938] loop: module loaded
[    1.254793] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xdc
[    1.261155] nand: Micron MT29F4G08ABADAWP
[    1.265198] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.272870] gpmi-nand 112000.gpmi-nand: use legacy bch geometry
[    1.279128] Scanning device for bad blocks
[    1.298229] random: fast init done
[    1.808532] 4 fixed-partitions partitions found on MTD device gpmi-nand
[    1.815173] Creating 4 MTD partitions on "gpmi-nand":
[    1.820235] 0x000000000000-0x000000200000 : "spl"
[    1.834659] 0x000000200000-0x000000400000 : "bootloader"
[    1.844633] 0x000000400000-0x000000c00000 : "kernel"
[    1.854631] 0x000000c00000-0x000040000000 : "rootfs"
[    1.859605] mtd: partition "rootfs" extends beyond the end of device "gpmi-nand" -- size truncated to 0x1f400000
[    1.884604] gpmi-nand 112000.gpmi-nand: driver registered.
[    1.893203] libphy: Fixed MDIO Bus: probed
[    1.897843] CAN device driver interface
[    2.024130] pps pps0: new PPS source ptp0
[    2.033262] libphy: fec_enet_mii_bus: probed
[    2.038100] fec 2188000.ethernet eth0: registered PHC device 0
[    2.044429] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.050961] ehci-pci: EHCI PCI platform driver
[    2.055545] ehci-mxc: Freescale On-Chip EHCI Host driver
[    2.061303] usbcore: registered new interface driver usb-storage
[    2.069363] imx_usb 2184200.usb: No over current polarity defined
[    2.079482] ci_hdrc ci_hdrc.0: EHCI Host Controller
[    2.084498] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
[    2.113849] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
[    2.119445] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[    2.127740] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.134983] usb usb1: Product: EHCI Host Controller
[    2.139865] usb usb1: Manufacturer: Linux 5.4.142+g1ed6493ec6e5 ehci_hcd
[    2.146583] usb usb1: SerialNumber: ci_hdrc.0
[    2.151527] hub 1-0:1.0: USB hub found
[    2.155380] hub 1-0:1.0: 1 port detected
[    2.164800] rtc-ds1307 2-0068: SET TIME!
[    2.171844] rtc-ds1307 2-0068: registered as rtc0
[    2.177700] i2c /dev entries driver
[    2.182730] mxc_v4l2_output v4l2_out: V4L2 device registered as video16
[    2.189676] mxc_v4l2_output v4l2_out: V4L2 device registered as video17
[    2.199062] imx2-wdt 20bc000.wdog: timeout 60 sec (nowayout=0)
[    2.205478] Bluetooth: HCI UART driver ver 2.3
[    2.209930] Bluetooth: HCI UART protocol H4 registered
[    2.215102] Bluetooth: HCI UART protocol BCSP registered
[    2.220449] Bluetooth: HCI UART protocol LL registered
[    2.225633] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    2.231922] Bluetooth: HCI UART protocol Marvell registered
[    2.237585] usbcore: registered new interface driver btusb
[    2.244088] sdhci: Secure Digital Host Controller Interface driver
[    2.250271] sdhci: Copyright(c) Pierre Ossman
[    2.244088] sdhci: Secure Digital Host Controller Interface driver
[    2.250271] sdhci: Copyright(c) Pierre Ossman
[    2.254652] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.292914] mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc] using ADMA
[    2.301396] sdhci-esdhc-imx 2194000.usdhc: Got CD GPIO
[    2.336756] mmc1: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA
[    2.377796] mmc1: host does not support reading read-only switch, assuming write-enable
[    2.390070] mmc1: new high speed SDHC card at address 59b4
[    2.397704] mmc0: new DDR MMC card at address 0001
[    2.403644] mmcblk1: mmc1:59b4 LX32G 29.5 GiB
[    2.408729] mmcblk0: mmc0:0001 8GTF4R 7.28 GiB
[    2.413905] mmcblk0boot0: mmc0:0001 8GTF4R partition 1 4.00 MiB
[    2.420393] mmcblk0boot1: mmc0:0001 8GTF4R partition 2 4.00 MiB
[    2.426631] mmcblk0rpmb: mmc0:0001 8GTF4R partition 3 512 KiB, chardev (240:0)
[    2.437137]  mmcblk0: p1
[    2.439858]  mmcblk1: p1 p2
[    2.443862] usb 1-1: new high-speed USB device number 2 using ci_hdrc
[    2.463840] mmc2: SDHCI controller on 2198000.usdhc [2198000.usdhc] using ADMA
[    2.473683] caam 2100000.caam: Entropy delay = 3200
[    2.484392] sdhci-esdhc-imx 2198000.usdhc: card claims to support voltages below defined range
[    2.518079] mmc2: new high speed SDIO card at address 0001
[    2.539483] caam 2100000.caam: Instantiated RNG4 SH0
[    2.600244] caam 2100000.caam: Instantiated RNG4 SH1
[    2.605283] caam 2100000.caam: device ID = 0x0a16010000000100 (Era 4)
[    2.611790] caam 2100000.caam: job rings = 2, qi = 0
[    2.632142] caam algorithms registered in /proc/crypto
[    2.641649] caam_jr 2101000.jr0: registering rng-caam
[    2.654926] caam-snvs 20cc000.caam-snvs: can't get snvs clock
[    2.660730] caam-snvs 20cc000.caam-snvs: violation handlers armed - non-secure state
[    2.669819] usbcore: registered new interface driver usbhid
[    2.675589] usbhid: USB HID core driver
[    2.679770] usb 1-1: New USB device found, idVendor=2109, idProduct=2812, bcdDevice=90.90
[    2.691116] mxc_vpu 2040000.vpu_fsl: VPU initialized
[    2.696189] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    2.703330] usb 1-1: Product: USB2.0 Hub
[    2.709750] mxc_hdmi_cec soc:hdmi_cec@120000: HDMI CEC initialized
[    2.720465] usb 1-1: Manufacturer: VIA Labs, Inc.
[    2.727144] fsl-ssi-dai 202c000.ssi: No cache defaults, reading back from HW
[    2.735074] hub 1-1:1.0: USB hub found
[    2.740273] fsl-hdmi-dai soc:hdmi_audio@120000: failed to probe. Load HDMI-video first.
[    2.748417] hub 1-1:1.0: 4 ports detected
[    2.752477] fsl-hdmi-dai: probe of soc:hdmi_audio@120000 failed with error -12
[    2.763805] imx-audio-hdmi sound-hdmi: initialize HDMI-audio failed. load HDMI-video first!
[    2.772419] NET: Registered protocol family 26
[    2.777614] NET: Registered protocol family 10
[    2.783452] Segment Routing with IPv6
[    2.787290] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    2.793953] NET: Registered protocol family 17
[    2.798411] can: controller area network core (rev 20170425 abi 9)
[    2.804735] NET: Registered protocol family 29
[    2.809184] can: raw protocol (rev 20170425)
[    2.813471] can: broadcast manager protocol (rev 20170425 t)
[    2.819162] can: netlink gateway (rev 20190810) max_hops=1
[    2.824943] Bluetooth: RFCOMM TTY layer initialized
[    2.829838] Bluetooth: RFCOMM socket layer initialized
[    2.835101] Bluetooth: RFCOMM ver 1.11
[    2.838868] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    2.844203] Bluetooth: BNEP filters: protocol multicast
[    2.849437] Bluetooth: BNEP socket layer initialized
[    2.854420] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    2.860348] Bluetooth: HIDP socket layer initialized
[    2.865380] lib80211: common routines for IEEE802.11 drivers
[    2.871079] Key type dns_resolver registered
[    2.877203] Registering SWP/SWPB emulation handler
[    2.882241] Loading compiled-in X.509 certificates
[    2.909341] imx_epdc_fb 20f4000.epdc: can't get/select pinctrl
[    2.938230] imx_thermal tempmon: Extended Commercial CPU temperature grade - max:105C critical:100C passive:95C
[    2.949865] debugfs: Directory '202c000.ssi' with parent 'tlv320aic3x-audio' already present!
[    2.958591] asoc-simple-card sound: tlv320aic3x-hifi <-> 202c000.ssi mapping ok
[    2.971446] rtc-ds1307 2-0068: setting system clock to 2024-10-03T17:45:59 UTC (1727977559)
[    2.980326] ALSA device list:
[    2.983298]   #0: tlv320aic3x-audio
[    3.011047] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
[    3.019296] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    3.026321] devtmpfs: mounted
[    3.031226] Freeing unused kernel memory: 1024K
[    3.036136] Run /sbin/init as init process
[    3.412547] systemd[1]: systemd 244 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.434563] systemd[1]: Detected architecture arm.

However, in lf-5.15.y_var01 , it doesn't detect the mmc1. Here are the logs

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.15.71+g7517d0d98abe (oe-user@oe-host) (arm-fslc-linux-gnueabi-gcc (GCC) 11.3.0, GNU ld (GNU Binutils) 2.38.20220708) #1 SMP PREEMPT Thu Feb 29 14:10:44 UTC 2024
[    0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Variscite VAR-SOM-6SOLO with i.MX6SOLO, eMMC & SD card support on
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Reserved memory: created CMA memory pool at 0x3c000000, size 320 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000010000000-0x000000004fffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000010000000-0x000000004fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000010000000-0x000000004fffffff]
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] percpu: Embedded 12 pages/cpu s19020 r8192 d21940 u49152
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 259840
[    0.000000] Kernel command line: console=ttymxc0,115200 root=/dev/mmcblk1p2 rootwait rw video=mxcfb0:dev=ldb,1024x600M@60,if=RGB24 video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 691852K/1048576K available (11264K kernel code, 1296K rwdata, 3660K rodata, 1024K init, 414K bss, 29044K reserved, 327680K cma-reserved, 0K highmem)
[    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=4 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 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] L2C-310 erratum 769419 enabled
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000] L2C-310 ID prefetch enabled, offset 16 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 cache controller enabled, 16 ways, 512 kB
[    0.000000] L2C-310: CACHE_ID 0x410000c8, AUX_CTRL 0x76450001
[    0.000000] ccm: possible glitch: ldb_di0_sel already changed from reset value: 1
[    0.000000] ccm: possible glitch: ldb_di1_sel already changed from reset value: 1
[    0.000000] Switching to timer-based delay loop, resolution 333ns
[    0.000001] sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 715827882841ns
[    0.000032] clocksource: mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 637086815595 ns
[    0.001410] Console: colour dummy device 80x30
[    0.001451] Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=30000)
[    0.001474] pid_max: default: 32768 minimum: 301
[    0.001693] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.001724] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.002665] CPU: Testing write buffer coherency: ok
[    0.002722] CPU0: Spectre v2: using BPIALL workaround
[    0.003016] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.004292] Setting up static identity map for 0x10100000 - 0x10100060
[    0.004493] rcu: Hierarchical SRCU implementation.
[    0.004966] smp: Bringing up secondary CPUs ...
[    0.005700] smp: Brought up 1 node, 1 CPU
[    0.005719] SMP: Total of 1 processors activated (6.00 BogoMIPS).
[    0.005734] CPU: All CPU(s) started in SVC mode.
[    0.006207] devtmpfs: initialized
[    0.015196] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.015459] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.015488] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.031139] pinctrl core: initialized pinctrl subsystem
[    0.032804] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.040706] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.041782] thermal_sys: Registered thermal governor 'step_wise'
[    0.042052] cpuidle: using governor menu
[    0.042226] CPU identified as i.MX6DL, silicon rev 1.3
[    0.056944] vdd1p1: supplied by regulator-dummy
[    0.057573] vdd3p0: supplied by regulator-dummy
[    0.058103] vdd2p5: supplied by regulator-dummy
[    0.058629] vddarm: supplied by regulator-dummy
[    0.059336] vddpu: supplied by regulator-dummy
[    0.059768] vddsoc: supplied by regulator-dummy
[    0.060573] mxs_phy 20c9000.usbphy: supply phy-3p0 not found, using dummy regulator
[    0.061226] mxs_phy 20ca000.usbphy: supply phy-3p0 not found, using dummy regulator
[    0.070658] platform 21dc000.mipi: Fixing up cyclic dependency with 20e0000.iomuxc-gpr:ipu1_csi1_mux
[    0.070751] platform 21dc000.mipi: Fixing up cyclic dependency with 20e0000.iomuxc-gpr:ipu1_csi0_mux
[    0.072653] platform 2400000.ipu: Fixing up cyclic dependency with ldb
[    0.072735] platform 2400000.ipu: Fixing up cyclic dependency with 20e0000.iomuxc-gpr:ipu1_csi1_mux
[    0.072833] platform 2400000.ipu: Fixing up cyclic dependency with 20e0000.iomuxc-gpr:ipu1_csi0_mux
[    0.077402] No ATAGs?
[    0.077475] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.077493] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.078587] imx6dl-pinctrl 20e0000.pinctrl: initialized IMX pinctrl driver
[    0.080429] imx mu driver is registered.
[    0.080886] imx rpmsg driver is registered.
[    0.099893] vgaarb: loaded
[    0.100357] SCSI subsystem initialized
[    0.100875] usbcore: registered new interface driver usbfs
[    0.100932] usbcore: registered new interface driver hub
[    0.100997] usbcore: registered new device driver usb
[    0.101150] usb_phy_generic usbphynop1: supply vcc not found, using dummy regulator
[    0.101330] usb_phy_generic usbphynop1: dummy supplies not allowed for exclusive requests
[    0.101504] usb_phy_generic usbphynop2: supply vcc not found, using dummy regulator
[    0.101652] usb_phy_generic usbphynop2: dummy supplies not allowed for exclusive requests
[    0.103831] i2c i2c-1: IMX I2C adapter registered
[    0.105058] i2c i2c-2: IMX I2C adapter registered
[    0.105497] mc: Linux media interface: v0.10
[    0.105546] videodev: Linux video capture interface: v2.00
[    0.105667] pps_core: LinuxPPS API ver. 1 registered
[    0.105681] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.105704] PTP clock support registered
[    0.129758] imx-ipuv3 2400000.ipu: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)
[    0.131434] mxc_vdoa 21e4000.vdoa: i.MX Video Data Order Adapter(VDOA) driver probed
[    0.132125] mxc_mipi_csi2 21dc000.mipi: i.MX MIPI CSI2 driver probed
[    0.132145] mxc_mipi_csi2 21dc000.mipi: i.MX MIPI CSI2 dphy version is 0x3130302a
[    0.132410] MIPI CSI2 driver module loaded
[    0.132468] Advanced Linux Sound Architecture Driver Initialized.
[    0.133619] Bluetooth: Core ver 2.22
[    0.133685] NET: Registered PF_BLUETOOTH protocol family
[    0.133698] Bluetooth: HCI device and connection manager initialized
[    0.133716] Bluetooth: HCI socket layer initialized
[    0.133729] Bluetooth: L2CAP socket layer initialized
[    0.133754] Bluetooth: SCO socket layer initialized
[    0.134544] clocksource: Switched to clocksource mxc_timer1
[    0.134751] VFS: Disk quotas dquot_6.6.0
[    0.134841] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.143831] NET: Registered PF_INET protocol family
[    0.144204] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.145581] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.145625] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.145650] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.145737] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.145877] TCP: Hash tables configured (established 8192 bind 8192)
[    0.146069] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.146122] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.146352] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.147085] RPC: Registered named UNIX socket transport module.
[    0.147104] RPC: Registered udp transport module.
[    0.147113] RPC: Registered tcp transport module.
[    0.147123] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.147139] PCI: CLS 0 bytes, default 64
[    0.147419] armv7-pmu pmu: hw perfevents: no interrupt-affinity property, guessing.
[    0.147714] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    0.149668] Bus freq driver module loaded
[    0.150642] Initialise system trusted keyrings
[    0.150912] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[    0.156964] NFS: Registering the id_resolver key type
[    0.157016] Key type id_resolver registered
[    0.157028] Key type id_legacy registered
[    0.157078] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.157579] fuse: init (API version 7.34)
[    0.250284] Key type asymmetric registered
[    0.250303] Asymmetric key parser 'x509' registered
[    0.250753] io scheduler mq-deadline registered
[    0.250773] io scheduler kyber registered
[    0.256195] mxs-dma 110000.dma-apbh: initialized
[    0.262670] pfuze100-regulator 1-0008: unrecognized pfuze chip ID!
[    0.264327] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 32, base_baud = 5000000) is a IMX   
[    1.185696] printk: console [ttymxc0] enabled
[    1.191168] 21ec000.serial: ttymxc2 at MMIO 0x21ec000 (irq = 77, base_baud = 5000000) is a IMX   
[    1.200556] 21f0000.serial: ttymxc3 at MMIO 0x21f0000 (irq = 78, base_baud = 5000000) is a IMX   
[    1.209893] 21f4000.serial: ttymxc4 at MMIO 0x21f4000 (irq = 79, base_baud = 5000000) is a IMX   
[    1.220229] imx sema4 driver is registered.
[    1.234804] brd: module loaded
[    1.245630] loop: module loaded
[    1.252178] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xdc
[    1.258588] nand: Micron MT29F4G08ABADAWP
[    1.262608] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.270320] gpmi-nand 112000.nand-controller: use legacy bch geometry
[    1.277196] Scanning device for bad blocks
[    1.773815] 4 fixed-partitions partitions found on MTD device gpmi-nand
[    1.780461] Creating 4 MTD partitions on "gpmi-nand":
[    1.785539] 0x000000000000-0x000000200000 : "spl"
[    1.791851] 0x000000200000-0x000000400000 : "bootloader"
[    1.798697] 0x000000400000-0x000001000000 : "kernel"
[    1.805187] 0x000001000000-0x000040000000 : "rootfs"
[    1.810170] mtd: partition "rootfs" extends beyond the end of device "gpmi-nand" -- size truncated to 0x1f000000
[    1.823507] gpmi-nand 112000.nand-controller: driver registered.
[    1.832970] CAN device driver interface
[    1.839909] pps pps0: new PPS source ptp0
[    1.847377] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.853920] ehci-pci: EHCI PCI platform driver
[    1.858555] usbcore: registered new interface driver usb-storage
[    1.867499] SPI driver ads7846 has no spi_device_id for ti,tsc2046
[    1.873694] SPI driver ads7846 has no spi_device_id for ti,ads7843
[    1.879957] SPI driver ads7846 has no spi_device_id for ti,ads7845
[    1.886192] SPI driver ads7846 has no spi_device_id for ti,ads7873
[    1.895701] rtc-ds1307 2-0068: SET TIME!
[    1.902723] rtc-ds1307 2-0068: registered as rtc0
[    1.908965] rtc-ds1307 2-0068: setting system clock to 2024-10-03T18:46:11 UTC (1727981171)
[    1.918388] i2c_dev: i2c /dev entries driver
[    1.926662] Bluetooth: HCI UART driver ver 2.3
[    1.931123] Bluetooth: HCI UART protocol H4 registered
[    1.936302] Bluetooth: HCI UART protocol BCSP registered
[    1.941651] Bluetooth: HCI UART protocol LL registered
[    1.946839] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    1.953137] Bluetooth: HCI UART protocol Marvell registered
[    1.958800] usbcore: registered new interface driver btusb
[    1.965335] sdhci: Secure Digital Host Controller Interface driver
[    1.971524] sdhci: Copyright(c) Pierre Ossman
[    1.975918] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.985763] caam 2100000.crypto: Entropy delay = 3200
[    2.003339] caam 2100000.crypto: Instantiated RNG4 SH0
[    2.015816] caam 2100000.crypto: Instantiated RNG4 SH1
[    2.020972] caam 2100000.crypto: device ID = 0x0a16010000000100 (Era 4)
[    2.027632] mmc0: SDHCI controller on 2190000.mmc [2190000.mmc] using ADMA
[    2.034587] caam 2100000.crypto: job rings = 2, qi = 0
[    2.053222] caam algorithms registered in /proc/crypto
[    2.060397] caam 2100000.crypto: rng crypto API alg registered prng-caam
[    2.067283] caam 2100000.crypto: registering rng-caam
[    2.073549] Device caam-keygen registered
[    2.085357] caam-snvs 20cc000.caam-snvs: violation handlers armed - non-secure state
[    2.094025] usbcore: registered new interface driver usbhid
[    2.099877] random: crng init done
[    2.103428] usbhid: USB HID core driver
[    2.111562] mxc_vpu 2040000.vpu_fsl: VPU initialized
[    2.119549] fsl-ssi-dai 202c000.ssi: No cache defaults, reading back from HW
[    2.129766] NET: Registered PF_LLC protocol family
[    2.135270] NET: Registered PF_INET6 protocol family
[    2.141536] Segment Routing with IPv6
[    2.145388] In-situ OAM (IOAM) with IPv6
[    2.149454] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    2.156295] mmc0: new DDR MMC card at address 0001
[    2.164909] NET: Registered PF_PACKET protocol family
[    2.169988] can: controller area network core
[    2.174512] NET: Registered PF_CAN protocol family
[    2.180197] mmcblk0: mmc0:0001 8GTF4R 7.28 GiB
[    2.186730] can: raw protocol
[    2.189859]  mmcblk0: p1
[    2.193223] mmcblk0boot0: mmc0:0001 8GTF4R 4.00 MiB
[    2.198328] can: broadcast manager protocol
[    2.202537] can: netlink gateway - max_hops=1
[    2.209090] mmcblk0boot1: mmc0:0001 8GTF4R 4.00 MiB
[    2.214885] Bluetooth: RFCOMM TTY layer initialized
[    2.219803] Bluetooth: RFCOMM socket layer initialized
[    2.226289] mmcblk0rpmb: mmc0:0001 8GTF4R 512 KiB, chardev (243:0)
[    2.232607] Bluetooth: RFCOMM ver 1.11
[    2.236419] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    2.241741] Bluetooth: BNEP filters: protocol multicast
[    2.247004] Bluetooth: BNEP socket layer initialized
[    2.251974] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    2.257928] Bluetooth: HIDP socket layer initialized
[    2.262942] lib80211: common routines for IEEE802.11 drivers
[    2.268680] Key type dns_resolver registered
[    2.274995] Registering SWP/SWPB emulation handler
[    2.280075] Loading compiled-in X.509 certificates
[    2.310953] pps pps0: new PPS source ptp0
[    2.318217] imx_usb 2184200.usb: No over current polarity defined
[    2.328332] ci_hdrc ci_hdrc.0: EHCI Host Controller
[    2.333242] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
[    2.364582] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
[    2.370181] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[    2.378523] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.385776] usb usb1: Product: EHCI Host Controller
[    2.390664] usb usb1: Manufacturer: Linux 5.15.71+g7517d0d98abe ehci_hcd
[    2.397588] usb usb1: SerialNumber: ci_hdrc.0
[    2.402596] hub 1-0:1.0: USB hub found
[    2.406442] hub 1-0:1.0: 1 port detected
[    2.412951] imx_thermal 20c8000.anatop:tempmon: Extended Commercial CPU temperature grade - max:105C critical:100C passive:95C
[    2.427020] fsl-ssi-dai 202c000.ssi: No cache defaults, reading back from HW
[    2.434214] fsl-ssi-dai 202c000.ssi: Unbalanced pm_runtime_enable!
[    2.442571] pps pps0: new PPS source ptp0
[    2.451637] fsl-ssi-dai 202c000.ssi: No cache defaults, reading back from HW
[    2.458918] fsl-ssi-dai 202c000.ssi: Unbalanced pm_runtime_enable!
[    2.467237] pps pps0: new PPS source ptp0
[    2.475103] ALSA device list:
[    2.478085]   No soundcards found.
[    2.481796] Waiting for root device /dev/mmcblk1p2...
[    2.694613] usb 1-1: new high-speed USB device number 2 using ci_hdrc
[    2.897941] usb 1-1: New USB device found, idVendor=2109, idProduct=2812, bcdDevice=90.90
[    2.906347] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    2.913550] usb 1-1: Product: USB2.0 Hub
[    2.918662] usb 1-1: Manufacturer: VIA Labs, Inc.
[    2.925541] hub 1-1:1.0: USB hub found
[    2.929667] hub 1-1:1.0: 4 ports detected
[    2.943785] fsl-ssi-dai 202c000.ssi: No cache defaults, reading back from HW
[    2.951731] fsl-ssi-dai 202c000.ssi: Unbalanced pm_runtime_enable!
[    2.961044] pps pps0: new PPS source ptp0
[    2.971043] fsl-ssi-dai 202c000.ssi: No cache defaults, reading back from HW
[    2.978361] fsl-ssi-dai 202c000.ssi: Unbalanced pm_runtime_enable!
[    4.344624] usb 1-1.4: new high-speed USB device number 3 using ci_hdrc
[    4.521192] usb 1-1.4: New USB device found, idVendor=0b95, idProduct=1790, bcdDevice= 1.00
[    4.529770] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    4.537170] usb 1-1.4: Product: AX88179
[    4.541028] usb 1-1.4: Manufacturer: ASIX Elec. Corp.
[    4.546134] usb 1-1.4: SerialNumber: 00503F560275A2
[    4.556946] pps pps0: new PPS source ptp0
[    4.567080] fsl-ssi-dai 202c000.ssi: No cache defaults, reading back from HW
[    4.574317] fsl-ssi-dai 202c000.ssi: Unbalanced pm_runtime_enable!
[   32.484635] usb_otg_vbus: disabling
varigigi commented 1 month ago

Hi @Muhammadhassan1234, please open a ticket in Variscite customer portal and I'l be glad to support you. Thanks