This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software:
Hi all,
We are trying to connect an SD card to the MMC2 Port on our system, we have enabled the sdhci2 on your device tree, but it seems it is not working , i mean when card is connected we are not able to detect in the linux. we are able to see mmc2 driver is loaded in the kernal boot logs, but whenever we connect the SD card, it is not detected.
below are the Device tree added in our system:
by default 3.3v is provided to the SD card. we are able to see 1.8V on the SD_CD when the card is not detected and when connected it goes LOW.
sdhci2: mmc@fa20000 { compatible = "ti,am62-sdhci"; reg = <0x00 0x0fa20000 0x00 0x1000>, <0x00 0x0fa28000 0x00 0x400>; interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>; power-domains = <&k3_pds 184 TI_SCI_PD_EXCLUSIVE>; clocks = <&k3_clks 184 5>, <&k3_clks 184 6>; clock-names = "clk_ahb", "clk_xin"; bus-width = <4>; ti,clkbuf-sel = <0x7>; ti,otap-del-sel-legacy = <0x8>; ti,otap-del-sel-sd-hs = <0x0>; ti,otap-del-sel-sdr12 = <0x0>; ti,otap-del-sel-sdr25 = <0x0>; ti,otap-del-sel-sdr50 = <0x8>; ti,otap-del-sel-sdr104 = <0x7>; ti,otap-del-sel-ddr50 = <0x8>; ti,itap-del-sel-legacy = <0xa>; ti,itap-del-sel-sd-hs = <0xa>; ti,itap-del-sel-sdr12 = <0xa>; ti,itap-del-sel-sdr25 = <0x1>; status = "disabled"; }; /* On-module Wi-Fi on WB SKUs, module-specific SDIO otherwise */ pinctrl_sdhci2: main-mmc2-pins-default { pinctrl-single,pins = < AM62X_IOPAD(0x120, PIN_INPUT, 0) /* (C24) MMC2_CMD */ /* WiFi_SDIO_CMD */ AM62X_IOPAD(0x118, PIN_INPUT, 0) /* (D25) MMC2_CLK */ /* WiFi_SDIO_CLK */ AM62X_IOPAD(0x114, PIN_INPUT, 0) /* (B24) MMC2_DAT0 */ /* WiFi_SDIO_DATA0 */ AM62X_IOPAD(0x110, PIN_INPUT, 0) /* (C25) MMC2_DAT1 */ /* WiFi_SDIO_DATA1 */ AM62X_IOPAD(0x10c, PIN_INPUT, 0) /* (E23) MMC2_DAT2 */ /* WiFi_SDIO_DATA2 */ AM62X_IOPAD(0x108, PIN_INPUT, 0) /* (D24) MMC2_DAT3 */ /* WiFi_SDIO_DATA3 */ AM62X_IOPAD(0x11c, PIN_INPUT, 0) /* (#N/A) MMC2_CLKB */ AM62X_IOPAD(0x0124, PIN_INPUT_PULLUP, 7) /* (A23) MMC2_SDCD.GPIO0_71 */ >; }; /* MMC2 */ &sdhci2 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_sdhci2>; cd-gpios = <&main_gpio0 71 GPIO_ACTIVE_LOW>; disable-wp; ti,driver-strength-ohm = <50>; ti,fails-without-test-cd; status = "okay"; };
Hi,
Please disable the higher speed modes like so & try booting. If you still see failure then please share the Kernel logs.
&sdhci2 { ... /delete-property/ ti,otap-del-sel-sdr12; /delete-property/ ti,otap-del-sel-sdr25; /delete-property/ ti,otap-del-sel-sdr50; /delete-property/ ti,otap-del-sel-sdr104; /delete-property/ ti,otap-del-sel-ddr50; ... };
Thanks!
still the same issue, SD card is not detected.
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034] [ 0.000000] Linux version 6.1.80-6.7.0-devel+git.603f75dc931d (oe-user@oe-host) (aarch64-tdx-linux-gcc (GCC) 11.4.0, GNU ld (GNU Binutils) 2.38.20220708) #1 SMP PREEMPT Wed Aug 28 15:15:41 UTC 2024 [ 0.000000] Machine model: Toradex Verdin AM62 on Verdin Development Board [ 0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '') [ 0.000000] printk: bootconsole [ns16550a0] enabled [ 0.000000] efi: UEFI not found. [ 0.000000] Reserved memory: created DMA memory pool at 0x000000009db00000, size 12 MiB [ 0.000000] OF: reserved mem: initialized node r5f-memory@9db00000, compatible id shared-dma-pool [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000080000000-0x00000000bfffffff] [ 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-0x000000009dafffff] [ 0.000000] node 0: [mem 0x000000009db00000-0x000000009e6fffff] [ 0.000000] node 0: [mem 0x000000009e700000-0x000000009e77ffff] [ 0.000000] node 0: [mem 0x000000009e780000-0x000000009fffffff] [ 0.000000] node 0: [mem 0x00000000a0000000-0x00000000bfffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000bfffffff] [ 0.000000] cma: Reserved 128 MiB at 0x00000000b6c00000 [ 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 20 pages/cpu s41064 r8192 d32664 u81920 [ 0.000000] pcpu-alloc: s41064 r8192 d32664 u81920 alloc=20*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: ARM erratum 845719 [ 0.000000] alternatives: applying boot alternatives [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 258048 [ 0.000000] Kernel command line: root=PARTUUID=acf35290-02 ro rootwait console=tty1 console=ttyS2,115200 consoleblank=0 earlycon=ns16550a,mmio32,0x02800000 [ 0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear) [ 0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear) [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 840536K/1048576K available (11136K kernel code, 1360K rwdata, 3816K rodata, 2176K init, 424K bss, 76968K reserved, 131072K 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: 256 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:0x0000000001880000 [ 0.000000] ITS [mem 0x01820000-0x0182ffff] [ 0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS [ 0.000000] ITS@0x0000000001820000: Devices Table too large, reduce ids 20->19 [ 0.000000] ITS@0x0000000001820000: allocated 524288 Devices @80800000 (flat, esz 8, psz 64K, shr 0) [ 0.000000] ITS: using cache flushing for cmd queue [ 0.000000] GICv3: using LPI property table @0x0000000080030000 [ 0.000000] GIC: using cache flushing for LPI property table [ 0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000080040000 [ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention. [ 0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0x3ffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns [ 0.000000] sched_clock: 58 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns [ 0.008611] Console: colour dummy device 80x25 [ 0.013625] printk: console [tty1] enabled [ 0.017871] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000) [ 0.028565] pid_max: default: 32768 minimum: 301 [ 0.033342] LSM: Security Framework initializing [ 0.038210] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) [ 0.045797] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) [ 0.055762] cblist_init_generic: Setting adjustable number of callback queues. [ 0.063239] cblist_init_generic: Setting shift to 1 and lim to 1. [ 0.069546] cblist_init_generic: Setting adjustable number of callback queues. [ 0.076954] cblist_init_generic: Setting shift to 1 and lim to 1. [ 0.083353] rcu: Hierarchical SRCU implementation. [ 0.088271] rcu: Max phase no-delay instances is 1000. [ 0.094303] Platform MSI: msi-controller@1820000 domain created [ 0.100919] EFI services will not be available. [ 0.105890] smp: Bringing up secondary CPUs ... [ 0.111252] Detected VIPT I-cache on CPU1 [ 0.111379] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000 [ 0.111401] GICv3: CPU1: using allocated LPI pending table @0x0000000080050000 [ 0.111466] CPU1: Booted secondary processor 0x0000000001 [0x410fd034] [ 0.111593] smp: Brought up 1 node, 2 CPUs [ 0.141042] SMP: Total of 2 processors activated. [ 0.145863] CPU features: detected: 32-bit EL0 Support [ 0.151147] CPU features: detected: CRC32 instructions [ 0.156469] CPU: All CPU(s) started at EL2 [ 0.160663] alternatives: applying system-wide alternatives [ 0.168063] devtmpfs: initialized [ 0.180870] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.190921] futex hash table entries: 512 (order: 3, 32768 bytes, linear) [ 0.203711] pinctrl core: initialized pinctrl subsystem [ 0.209916] DMI not present or invalid. [ 0.214584] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.221861] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations [ 0.229215] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [ 0.237226] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [ 0.245429] audit: initializing netlink subsys (disabled) [ 0.251235] audit: type=2000 audit(0.160:1): state=initialized audit_enabled=0 res=1 [ 0.251766] thermal_sys: Registered thermal governor 'step_wise' [ 0.259176] thermal_sys: Registered thermal governor 'power_allocator' [ 0.265540] cpuidle: using governor menu [ 0.276473] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.283484] ASID allocator initialised with 65536 entries [ 0.302978] KASLR disabled due to lack of seed [ 0.313871] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages [ 0.320868] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page [ 0.327288] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages [ 0.334236] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page [ 0.340651] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages [ 0.347598] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page [ 0.354012] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages [ 0.360958] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page [ 0.369068] k3-chipinfo 43000014.chipid: Family:AM62X rev:SR1.0 JTAGID[0x0bb7e02f] Detected [ 0.379267] iommu: Default domain type: Translated [ 0.384293] iommu: DMA domain TLB invalidation policy: strict mode [ 0.391016] SCSI subsystem initialized [ 0.395049] libata version 3.00 loaded. [ 0.395251] usbcore: registered new interface driver usbfs [ 0.400917] usbcore: registered new interface driver hub [ 0.406378] usbcore: registered new device driver usb [ 0.412030] pps_core: LinuxPPS API ver. 1 registered [ 0.417119] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.426480] PTP clock support registered [ 0.430630] EDAC MC: Ver: 3.0.0 [ 0.434953] FPGA manager framework [ 0.438560] Advanced Linux Sound Architecture Driver Initialized. [ 0.445864] clocksource: Switched to clocksource arch_sys_counter [ 0.452419] VFS: Disk quotas dquot_6.6.0 [ 0.456492] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.469636] NET: Registered PF_INET protocol family [ 0.474920] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 0.483638] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear) [ 0.492287] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.500235] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 0.508228] TCP bind hash table entries: 8192 (order: 6, 262144 bytes, linear) [ 0.515951] TCP: Hash tables configured (established 8192 bind 8192) [ 0.522658] UDP hash table entries: 512 (order: 2, 16384 bytes, linear) [ 0.529469] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear) [ 0.536887] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 0.543247] RPC: Registered named UNIX socket transport module. [ 0.549354] RPC: Registered udp transport module. [ 0.554172] RPC: Registered tcp transport module. [ 0.558987] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.565587] NET: Registered PF_XDP protocol family [ 0.571343] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available [ 0.581534] Initialise system trusted keyrings [ 0.586429] workingset: timestamp_bits=46 max_order=18 bucket_order=0 [ 0.597555] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.604294] NFS: Registering the id_resolver key type [ 0.609547] Key type id_resolver registered [ 0.613832] Key type id_legacy registered [ 0.617996] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 0.624860] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... [ 0.668426] Key type asymmetric registered [ 0.672634] Asymmetric key parser 'x509' registered [ 0.677692] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245) [ 0.685483] io scheduler mq-deadline registered [ 0.690130] io scheduler kyber registered [ 0.697822] pinctrl-single 4084000.pinctrl: 34 pins, size 136 [ 0.704612] pinctrl-single f4000.pinctrl: 171 pins, size 684 [ 0.716928] Serial: 8250/16550 driver, 8 ports, IRQ sharing enabled [ 0.734421] brd: module loaded [ 0.742552] loop: module loaded [ 0.749752] tun: Universal TUN/TAP device driver, 1.6 [ 0.755769] VFIO - User Level meta-driver version: 0.3 [ 0.761889] usbcore: registered new interface driver usb-storage [ 0.768697] i2c_dev: i2c /dev entries driver [ 0.775184] sdhci: Secure Digital Host Controller Interface driver [ 0.781572] sdhci: Copyright(c) Pierre Ossman [ 0.786276] sdhci-pltfm: SDHCI platform and OF driver helper [ 0.792663] ledtrig-cpu: registered to indicate activity on CPUs [ 0.799009] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping .... [ 0.805978] usbcore: registered new interface driver usbhid [ 0.811690] usbhid: USB HID core driver [ 0.816659] optee: probing for conduit method. [ 0.821278] optee: revision 3.20 (8e74d476) [ 0.821623] optee: dynamic shared memory is enabled [ 0.831193] optee: initialized driver [ 0.836964] Initializing XFRM netlink socket [ 0.841431] NET: Registered PF_PACKET protocol family [ 0.846707] Key type dns_resolver registered [ 0.851564] registered taskstats version 1 [ 0.855797] Loading compiled-in X.509 certificates [ 0.870304] ti-sci 44043000.system-controller: ABI: 3.1 (firmware rev 0x0009 '9.0.5--v09.00.05 (Kool Koala)') [ 0.949292] i2c 0-0030: Fixed dependency cycle(s) with /bus@f0000/i2c@20000000/pmic@30/regulators/buck2 [ 0.990291] input: tps65219-pwrbutton as /devices/platform/bus@f0000/20000000.i2c/i2c-0/0-0030/tps65219-pwrbutton.2.auto/input/input0 [ 1.004635] rtc-ds1307 0-0032: oscillator failed, set time! [ 1.010548] rtc-ds1307 0-0032: registered as rtc0 [ 1.015514] rtc-ds1307 0-0032: hctosys: unable to read the hardware clock [ 1.024422] at24 0-0050: supply vcc not found, using dummy regulator [ 1.031426] at24 0-0050: 256 byte 24c02 EEPROM, writable, 16 bytes/write [ 1.038363] omap_i2c 20000000.i2c: bus 0 rev0.12 at 400 kHz [ 1.070421] lm73 1-0049: sensor 'lm73' [ 1.075012] lm73 1-004a: sensor 'lm73' [ 1.078901] omap_i2c 20010000.i2c: bus 1 rev0.12 at 100 kHz [ 1.084892] ti-sci-intr 4210000.interrupt-controller: Interrupt Router 5 domain created [ 1.093265] ti-sci-intr bus@f0000:interrupt-controller@a00000: Interrupt Router 3 domain created [ 1.102532] ti-sci-inta 48000000.interrupt-controller: Interrupt Aggregator domain 28 created [ 1.113567] ti-udma 485c0100.dma-controller: Number of rings: 82 [ 1.121960] ti-udma 485c0100.dma-controller: Channels: 48 (bchan: 18, tchan: 12, rchan: 18) [ 1.133128] ti-udma 485c0000.dma-controller: Number of rings: 150 [ 1.143445] ti-udma 485c0000.dma-controller: Channels: 35 (tchan: 20, rchan: 15) [ 1.153902] printk: console [ttyS2] disabled [ 1.158386] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 287, base_baud = 3000000) is a 8250 [ 1.167292] printk: console [ttyS2] enabled [ 1.175763] printk: bootconsole [ns16550a0] disabled [ 1.187060] 2810000.serial: ttyS0 at MMIO 0x2810000 (irq = 288, base_baud = 3000000) is a 8250 [ 1.196771] 2820000.serial: ttyS3 at MMIO 0x2820000 (irq = 289, base_baud = 3000000) is a 8250 [ 1.206531] 2830000.serial: ttyS5 at MMIO 0x2830000 (irq = 290, base_baud = 3000000) is a 8250 [ 1.216211] 2840000.serial: ttyS6 at MMIO 0x2840000 (irq = 291, base_baud = 3000000) is a 8250 [ 1.225880] 2850000.serial: ttyS4 at MMIO 0x2850000 (irq = 292, base_baud = 3000000) is a 8250 [ 1.235498] 2860000.serial: ttyS7 at MMIO 0x2860000 (irq = 293, base_baud = 3000000) is a 8250 [ 1.245897] davinci_mdio 8000f00.mdio: Configuring MDIO in manual mode [ 1.289881] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7, bus freq 1000000 [ 1.298711] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA01103, cpsw version 0x6BA81103 Ports: 3 quirks:00000006 [ 1.311590] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.5 [ 1.318730] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512 [ 1.325509] am65-cpsw-nuss 8000000.ethernet: CPTS ver 0x4e8a010c, freq:500000000, add_val:1 pps:0 [ 1.336155] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19 [ 1.346654] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller [ 1.352255] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 1 [ 1.360140] xhci-hcd xhci-hcd.3.auto: USB3 root hub has no ports [ 1.366154] xhci-hcd xhci-hcd.3.auto: hcc params 0x0258fe6d hci version 0x110 quirks 0x0000008020010010 [ 1.375612] xhci-hcd xhci-hcd.3.auto: irq 297, io mem 0x31000000 [ 1.382475] hub 1-0:1.0: USB hub found [ 1.386280] hub 1-0:1.0: 1 port detected [ 1.497912] mmc0: CQHCI version 5.10 [ 1.500366] gpio-427 (CTRL_SLEEP_MOCI#): hogged as output/high [ 1.516778] debugfs: Directory 'spi0.0' with parent 'regmap' already present! [ 1.524138] max310x spi0.0: MAX3109 ID 0xf3 does not match [ 1.531291] davinci_mdio 8000f00.mdio: Configuring MDIO in manual mode [ 1.542933] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc] using ADMA 64-bit [ 1.577870] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7, bus freq 1000000 [ 1.591401] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver TI DP83867 [ 1.601247] sdhci-am654 fa20000.mmc: Got CD GPIO [ 1.606592] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present! [ 1.606849] mmc2: CQHCI version 5.10 [ 1.617312] input: gpio-keys as /devices/platform/gpio-keys/input/input1 [ 1.627778] mmc0: new HS200 MMC card at address 0001 [ 1.633934] mmcblk0: mmc0:0001 Q2J55L 7.09 GiB [ 1.640844] mmcblk0: p1 p2 [ 1.642421] ALSA device list: [ 1.644652] mmcblk0boot0: mmc0:0001 Q2J55L 16.0 MiB [ 1.646833] No soundcards found. [ 1.653164] mmcblk0boot1: mmc0:0001 Q2J55L 16.0 MiB [ 1.659634] mmc2: SDHCI controller on fa20000.mmc [fa20000.mmc] using ADMA 64-bit [ 1.661284] mmcblk0rpmb: mmc0:0001 Q2J55L 4.00 MiB, chardev (241:0) [ 1.679973] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem [ 1.687376] EXT4-fs (mmcblk0p2): write access will be enabled during recovery [ 2.658396] EXT4-fs (mmcblk0p2): recovery complete [ 2.665085] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Quota mode: none. [ 2.673751] VFS: Mounted root (ext4 filesystem) readonly on device 179:2. [ 2.681388] devtmpfs: mounted [ 2.685994] Freeing unused kernel memory: 2176K [ 2.690644] Run /sbin/init as init process [ 2.694761] with arguments: [ 2.694768] /sbin/init [ 2.694774] with environment: [ 2.694779] HOME=/ [ 2.694785] TERM=linux [ 2.828619] systemd[1]: System time before build time, advancing clock. [ 2.875034] systemd[1]: systemd 250.5+ running in system mode (+PAM -AUDIT -SELINUX -APPARMOR +IMA -SMACK +SECCOMP -GCRYPT -GNUTLS -OPENSSL +ACL +BLKID -CURL -ELFUTILS -FIDO2 -IDN2 -IDN -IPTC +KMOD -LIBCRYPTSETUP +LIBFDISK -PCRE2 -PWQUALITY -P11KIT -QRENCODE -BZIP2 -LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK +XKBCOMMON +UTMP +SYSVINIT default-hierarchy=hybrid) [ 2.907105] systemd[1]: Detected architecture arm64. [ 2.972703] systemd[1]: Hostname set to <verdin-am62-15133535>. [ 3.317845] systemd[1]: Binding to IPv6 address not available since kernel does not support IPv6. [ 3.326865] systemd[1]: Binding to IPv6 address not available since kernel does not support IPv6. [ 3.415183] systemd[1]: Binding to IPv6 address not available since kernel does not support IPv6. [ 3.447291] systemd[1]: Queued start job for default target Graphical Interface. [ 3.510125] systemd[1]: Created slice Slice /system/getty. [ 3.536463] systemd[1]: Created slice Slice /system/modprobe. [ 3.560737] systemd[1]: Created slice Slice /system/serial-getty. [ 3.585708] systemd[1]: Created slice User and Session Slice. [ 3.599866] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. [ 3.622459] systemd[1]: Started Forward Password Requests to Wall Directory Watch. [ 3.646683] systemd[1]: Reached target Host and Network Name Lookups. [ 3.670098] systemd[1]: Reached target Path Units. [ 3.686192] systemd[1]: Reached target Remote File Systems. [ 3.706340] systemd[1]: Reached target Slice Units. [ 3.722312] systemd[1]: Reached target Swaps. [ 3.787808] systemd[1]: Listening on RPCbind Server Activation Socket. [ 3.810578] systemd[1]: Reached target RPC Port Mapper. [ 3.837176] systemd[1]: Listening on Syslog Socket. [ 3.855138] systemd[1]: Listening on initctl Compatibility Named Pipe. [ 3.880631] systemd[1]: Listening on Journal Audit Socket. [ 3.903848] systemd[1]: Listening on Journal Socket (/dev/log). [ 3.928136] systemd[1]: Listening on Journal Socket. [ 3.946240] systemd[1]: Listening on Network Service Netlink Socket. [ 3.973279] systemd[1]: Listening on udev Control Socket. [ 3.996266] systemd[1]: Listening on udev Kernel Socket. [ 4.020657] systemd[1]: Listening on User Database Manager Socket. [ 4.070731] systemd[1]: Mounting Huge Pages File System... [ 4.122711] systemd[1]: Mounting POSIX Message Queue File System... [ 4.156491] systemd[1]: Mounting Kernel Debug File System... [ 4.179503] systemd[1]: Kernel Trace File System was skipped because of a failed condition check (ConditionPathExists=/sys/kernel/tracing). [ 4.204060] systemd[1]: Mounting Temporary Directory /tmp... [ 4.243057] systemd[1]: Starting Create List of Static Device Nodes... [ 4.277213] systemd[1]: Starting Load Kernel Module configfs... [ 4.323305] systemd[1]: Starting Load Kernel Module drm... [ 4.356483] systemd[1]: Starting Load Kernel Module fuse... [ 4.382758] fuse: init (API version 7.37) [ 4.407180] systemd[1]: Starting RPC Bind... [ 4.436153] systemd[1]: Starting File System Check on Root Device... [ 4.487176] systemd[1]: Starting Journal Service... [ 4.513502] systemd[1]: Starting Load Kernel Modules... [ 4.559667] systemd[1]: Starting Generate network units from Kernel command line... [ 4.592600] systemd[1]: Starting Coldplug All udev Devices... [ 4.627076] systemd[1]: Started RPC Bind. [ 4.647028] systemd[1]: Started Journal Service. [ 5.048609] EXT4-fs (mmcblk0p2): re-mounted. Quota mode: none. [ 5.183778] systemd-journald[156]: Received client request to flush runtime journal. [ 5.341343] audit: type=1334 audit(1651167747.508:2): prog-id=5 op=LOAD [ 5.351517] audit: type=1334 audit(1651167747.508:3): prog-id=6 op=LOAD [ 6.400210] ina2xx 1-0040: power monitor ina260 (Rshunt = 0 uOhm) [ 6.429925] random: crng init done [ 6.441075] ina2xx 1-0041: power monitor ina260 (Rshunt = 0 uOhm) [ 6.475961] ina2xx 1-0042: power monitor ina260 (Rshunt = 0 uOhm) [ 6.484625] ina2xx 1-0043: power monitor ina260 (Rshunt = 0 uOhm) [ 6.496279] omap8250 2b300000.serial: No clock speed specified: using default: 48000000 [ 6.509690] 2b300000.serial: ttyS1 at MMIO 0x2b300000 (irq = 482, base_baud = 3000000) is a 8250 [ 6.510847] ina2xx 1-0044: power monitor ina260 (Rshunt = 0 uOhm) [ 6.531810] ina2xx 1-0045: power monitor ina260 (Rshunt = 0 uOhm) [ 6.545575] ina2xx 1-0046: power monitor ina260 (Rshunt = 0 uOhm) [ 6.563935] ina2xx 1-0047: power monitor ina260 (Rshunt = 0 uOhm) [ 6.591277] ina2xx 1-004b: power monitor ina260 (Rshunt = 0 uOhm) [ 6.681439] pwm-backlight backlight-mezzanine: supply power not found, using dummy regulator [ 6.847367] k3-m4-rproc 5000000.m4fss: device does not reserved memory regions, ret = -22 [ 6.863877] k3-m4-rproc 5000000.m4fss: reserved memory init failed, ret = -22 [ 6.885781] remoteproc remoteproc0: releasing 5000000.m4fss [ 6.893088] k3-m4-rproc: probe of 5000000.m4fss failed with error -22 [ 6.962243] rtc-ti-k3 2b1f0000.rtc: registered as rtc1 [ 7.012734] platform 78000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1) [ 7.037082] platform 78000000.r5f: configured R5F for IPC-only mode [ 7.063836] pvrsrvkm: loading out-of-tree module taints kernel. [ 7.089005] platform 78000000.r5f: device does not have reserved memory regions, ret = -22 [ 7.105369] k3_r5_rproc bus@f0000:bus@b00000:r5fss@78000000: reserved memory init failed, ret = -22 [ 7.115390] [drm] Initialized tidss 1.0.0 20180215 for 30200000.dss on minor 0 [ 7.126536] remoteproc remoteproc0: releasing 78000000.r5f [ 7.138258] PVR_K: 183: Device: fd00000.gpu [ 7.138537] PVR_K: 183: Read BVNC 33.15.11.3 from HW device registers [ 7.138788] PVR_K: 183: RGX Device registered with BVNC 33.15.11.3 [ 7.139056] Console: switching to colour frame buffer device 240x67 [ 7.139939] [drm] Initialized pvr 23.3.6512818 20170530 for fd00000.gpu on minor 1 [ 7.216442] k3_r5_rproc bus@f0000:bus@b00000:r5fss@78000000: k3_r5_cluster_rproc_init failed, ret = -22 [ 7.216570] k3_r5_rproc: probe of bus@f0000:bus@b00000:r5fss@78000000 failed with error -22 [ 7.278042] tidss 30200000.dss: [drm] fb0: tidssdrmfb frame buffer device [ 9.523485] remoteproc remoteproc0: 30074000.pru is available [ 9.533141] remoteproc remoteproc1: 30078000.pru is available [ 10.265616] audit: type=1334 audit(1651269009.024:4): prog-id=7 op=LOAD [ 10.274305] audit: type=1334 audit(1651269009.032:5): prog-id=8 op=LOAD [ 10.796941] audit: type=1334 audit(1651269009.556:6): prog-id=9 op=LOAD [ 10.808063] audit: type=1334 audit(1651269009.568:7): prog-id=10 op=LOAD [ 11.616757] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ 11.653535] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ 11.663585] cfg80211: Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600' [ 11.748962] am65-cpsw-nuss 8000000.ethernet eth0: PHY [8000f00.mdio:00] driver [TI DP83867] (irq=356) [ 11.759346] audit: type=1334 audit(1651269010.520:8): prog-id=11 op=LOAD [ 11.771437] am65-cpsw-nuss 8000000.ethernet eth0: configuring for phy/rgmii-rxid link mode [ 11.773583] audit: type=1334 audit(1651269010.528:9): prog-id=12 op=LOAD [ 12.371684] audit: type=1334 audit(1651269011.132:10): prog-id=13 op=LOAD [ 12.379485] audit: type=1334 audit(1651269011.140:11): prog-id=14 op=LOAD [ 12.847445] audit: type=1006 audit(1651269011.608:12): pid=552 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=1 res=1 [ 12.869274] audit: type=1300 audit(1651269011.608:12): arch=c00000b7 syscall=64 success=yes exit=1 a0=8 a1=fffff4e5af80 a2=1 a3=0 items=0 ppid=1 pid=552 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="(systemd)" exe="/lib/systemd/systemd" key=(null) [ 12.895460] audit: type=1327 audit(1651269011.608:12): proctitle="(systemd)" [ 12.916309] audit: type=1334 audit(1651269011.676:13): prog-id=15 op=LOAD [ 13.777304] PVR_K: 546: RGX Firmware image 'rgx.fw.33.15.11.3' loaded [ 13.791561] PVR_K: 546: Shader binary image 'rgx.sh.33.15.11.3' loaded [ 13.813827] systemd-journald[156]: Data hash table of /run/log/journal/7557ee5ac0174e58b6c93fd1fc1934a2/system.journal has a fill level at 75.0 (2731 of 3640 items, 2097152 file size, 767 bytes per hash table item), suggesting rotation. [ 13.835196] systemd-journald[156]: /run/log/journal/7557ee5ac0174e58b6c93fd1fc1934a2/system.journal: Journal header limits reached or header out-of-date, rotating. [ 24.678880] TI DP83867 8000f00.mdio:00: Downshift occurred from negotiated speed 1Gbps to actual speed 100Mbps, check cabling! [ 24.690974] am65-cpsw-nuss 8000000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx [ 24.779001] 8021q: 802.1Q VLAN Support v1.8 [ 24.783691] 8021q: adding VLAN 0 to HW filter on device eth0 [ 42.418245] kauditd_printk_skb: 10 callbacks suppressed [ 42.418285] audit: type=1334 audit(1651269041.180:18): prog-id=12 op=UNLOAD [ 42.430838] audit: type=1334 audit(1651269041.180:19): prog-id=11 op=UNLOAD
Hi Naveenkumar,
I see your board has grounded all MMC2 signals, while the EVM MMC1 pulls all signals, except MMC1_CLK, to VDDSHV_SDIO, which will be 3.3v by default, then switch to 1.8v when transition to high-speed modes.
I am looping in our MMC hardware expert to comment if it is okay to ground all MMC signals.
Sorry, I think I misread your board schematics, the MMC2 signals are not directly ground, those are just ESD protection components.
Have all the MMC2 DAT lines and CMD line been pulled up to 3.3v on your board?
Hi Naveenkumar,
Please share the schematics for SOC MMC2 interface, VDDSHV6 IO power connection and SD card IO supply level switching logic, SD card power reset implementation.
Regards,
Sreenivasa
Hi Sreenivasa,
Thanks for your reply.
we are using Verdin am62 SOM which has ti am62x, we dont have the schematics of the SOM implementations, but when we measure the voltage levels of the IO on the MMC2, it is always at 1.8V. we don't have an reset logic implemented for MMC2 and SD is always powered using a 3.3v.
Hi Naveenkumar,
You need to check if the SD card implementation provision is available for the MMC2.
You can configure the MMC2 supply VDDSHV6 to 3.3V and interface with SD card in legacy speed.
Regards,
Sreenivasa
Hi Sreenivasa,
VDDSHV6 power domain needs to be pulled upto 3.3V to make SD card work in legacy mode?
incase VDDSHV6 is connected to 1.8V is there a way we can make SD card work?
Hi Naveenkumar,
I am not aware of a way to make it work.
Please review the SD card requirements and the software implementation.
Regards,
Sreenivasa