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.

AM5728: am5728 kernel 5.10 sd card detection

Part Number: AM5728
Other Parts Discussed in Thread: DRA752, TMP102

Hi,

i have this kernel up and running, except for mmc1, connected to a microsd slot.

At mmc2 there is emmc and it works perfectly.

As from dra7-l4.dtsi, the driver used actually seems to be sdhci-omap.c and not hsmmc.

Attaching dts and boot log. Card seems detected, but there is no partition table processed.
Also, removing and reinserting, seems no detection happen.

I checked power supply (3,3), CD pin active low, all seems correct.

&mmc1 { /* 0x4809c000 */

pinctrl-names = "default", "hs";

pinctrl-0 = <&mmc1_pins_default>;
pinctrl-1 = <&mmc1_pins_hs>;

vmmc-supply = <&vdd_3v3>;
vqmmc-supply = <&ldo1_reg>;
bus-width = <4>;

cd-gpios = <&gpio6 27 GPIO_ACTIVE_LOW>;
max-frequency = <96000000>;

status = "okay";
};

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.10.65-00008-g98d45358edb2-dirty (angelo@dfj) (arm-linux-gnueabihf-gcc (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)) 8.3.0, GNU ld (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)) 2.32.0.20190321) #170 SMP PREEMPT Mon Feb 28 21:30:32 CET 2022
[ 0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=10c5387d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[ 0.000000] OF: fdt: Machine model: TI AM5728
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] efi: UEFI not found.
[ 0.000000] Reserved memory: created CMA memory pool at 0x95800000, size 56 MiB
[ 0.000000] OF: reserved mem: initialized node ipu2_cma@95800000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created CMA memory pool at 0x99000000, size 64 MiB
[ 0.000000] OF: reserved mem: initialized node dsp1_cma@99000000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created CMA memory pool at 0x9d000000, size 32 MiB
[ 0.000000] OF: reserved mem: initialized node ipu1_cma@9d000000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created CMA memory pool at 0x9f000000, size 8 MiB
[ 0.000000] OF: reserved mem: initialized node dsp2_cma@9f000000, compatible id shared-dma-pool
[ 0.000000] cma: Reserved 24 MiB at 0xfe400000
[ 0.000000] OMAP4: Map 0xafe00000 to (ptrval) for dram barrier
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000080000000-0x00000000afdfffff]
[ 0.000000] HighMem [mem 0x00000000afe00000-0x00000000ffffefff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000080000000-0x00000000afdfffff]
[ 0.000000] node 0: [mem 0x00000000b0000000-0x00000000ffffefff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000ffffefff]
[ 0.000000] DRA752 ES2.0
[ 0.000000] percpu: Embedded 16 pages/cpu s33688 r8192 d23656 u65536
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 522051
[ 0.000000] Kernel command line: console=ttyS2,115200n8 root=/dev/mmcblk1p4 rw rootwait earlyprintk nologlevel rw
[ 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: 1872200K/2095100K available (9099K kernel code, 719K rwdata, 1968K rodata, 1024K init, 230K bss, 34484K reserved, 188416K cma-reserved, 1286140K highmem)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] Trampoline variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies.
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] random: get_random_bytes called from 0xc0d00b6c with crng_init=0
[ 0.000000] OMAP clocksource: 32k_counter at 32768 Hz
[ 0.000000] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
[ 0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 65535999984741ns
[ 0.001434] TI gptimer clockevent: always-on 32786 Hz at /ocp/interconnect@4ae00000/segment@10000/target-module@8000
[ 0.002014] TI gptimer percpu-dmtimer: 20000000 Hz at /ocp/interconnect@48000000/segment@0/target-module@34000
[ 0.002197] TI gptimer percpu-dmtimer: 20000000 Hz at /ocp/interconnect@48000000/segment@0/target-module@36000
[ 0.004089] Console: colour dummy device 80x30
[ 0.004119] Calibrating delay loop... 2052.09 BogoMIPS (lpj=1026048)
[ 0.011138] pid_max: default: 32768 minimum: 301
[ 0.011230] LSM: Security Framework initializing
[ 0.011291] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.011291] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.011962] CPU: Testing write buffer coherency: ok
[ 0.011993] CPU0: Spectre v2: using ICIALLU workaround
[ 0.012207] /cpus/cpu@0 missing clock-frequency property
[ 0.012237] /cpus/cpu@1 missing clock-frequency property
[ 0.012268] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.012847] Setting up static identity map for 0x80100000 - 0x80100078
[ 0.012969] rcu: Hierarchical SRCU implementation.
[ 0.013641] EFI services will not be available.
[ 0.014251] smp: Bringing up secondary CPUs ...
[ 0.021423] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.021423] CPU1: Spectre v2: using ICIALLU workaround
[ 0.021575] smp: Brought up 1 node, 2 CPUs
[ 0.021575] SMP: Total of 2 processors activated (4124.67 BogoMIPS).
[ 0.021575] CPU: All CPU(s) started in SVC mode.
[ 0.022064] devtmpfs: initialized
[ 0.046630] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
[ 0.046813] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[ 0.046844] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[ 0.050170] pinctrl core: initialized pinctrl subsystem
[ 0.050811] DMI not present or invalid.
[ 0.051116] NET: Registered protocol family 16
[ 0.052368] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.055267] omap_hwmod: l3_main_2 using broken dt data from ocp
[ 0.075683] thermal_sys: Registered thermal governor 'step_wise'
[ 0.076629] cpuidle: using governor menu
[ 0.269409] random: fast init done
[ 3.066619] platform 48970000.vip: Cannot lookup hwmod 'vip1'
[ 3.478790] iommu: Default domain type: Translated
[ 3.482788] mc: Linux media interface: v0.10
[ 3.482849] videodev: Linux video capture interface: v2.00
[ 3.482940] pps_core: LinuxPPS API ver. 1 registered
[ 3.482940] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 3.482971] PTP clock support registered
[ 3.483001] EDAC MC: Ver: 3.0.0
[ 3.483734] Advanced Linux Sound Architecture Driver Initialized.
[ 3.484161] Bluetooth: Core ver 2.22
[ 3.484222] NET: Registered protocol family 31
[ 3.484222] Bluetooth: HCI device and connection manager initialized
[ 3.484252] Bluetooth: HCI socket layer initialized
[ 3.484283] Bluetooth: L2CAP socket layer initialized
[ 3.484283] Bluetooth: SCO socket layer initialized
[ 3.484802] clocksource: Switched to clocksource 32k_counter
[ 3.493896] NET: Registered protocol family 2
[ 3.494049] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 3.495086] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 12288 bytes, linear)
[ 3.495178] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 3.495269] TCP bind hash table entries: 8192 (order: 5, 163840 bytes, linear)
[ 3.495422] TCP: Hash tables configured (established 8192 bind 8192)
[ 3.495513] UDP hash table entries: 512 (order: 2, 24576 bytes, linear)
[ 3.495574] UDP-Lite hash table entries: 512 (order: 2, 24576 bytes, linear)
[ 3.495697] NET: Registered protocol family 1
[ 3.496215] RPC: Registered named UNIX socket transport module.
[ 3.496246] RPC: Registered udp transport module.
[ 3.496246] RPC: Registered tcp transport module.
[ 3.496246] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 3.496276] PCI: CLS 0 bytes, default 64
[ 3.497406] Initialise system trusted keyrings
[ 3.497558] workingset: timestamp_bits=14 max_order=19 bucket_order=5
[ 3.501739] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 3.502349] NFS: Registering the id_resolver key type
[ 3.502410] Key type id_resolver registered
[ 3.502410] Key type id_legacy registered
[ 3.502441] ntfs: driver 2.1.32 [Flags: R/O].
[ 3.502960] jitterentropy: Initialization failed with host not compliant with requirements: 2
[ 3.502990] Key type asymmetric registered
[ 3.502990] Asymmetric key parser 'x509' registered
[ 3.503051] bounce: pool size: 64 pages
[ 3.503082] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[ 3.503112] io scheduler mq-deadline registered
[ 3.503112] io scheduler kyber registered
[ 4.193054] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
[ 4.594696] OMAP GPIO hardware version 0.1
[ 4.823730] palmas 0-0058: Irq flag is 0x00000008
[ 4.839355] palmas 0-0058: Muxing GPIO 2f, PWM 0, LED 0
[ 4.852416] smps12: supplied by regulator-dummy
[ 4.854522] smps3: supplied by regulator-dummy
[ 4.856597] smps45: supplied by regulator-dummy
[ 4.858856] smps6: supplied by regulator-dummy
[ 4.861145] SMPS7: supplied by regulator-dummy
[ 4.862213] smps8: supplied by regulator-dummy
[ 4.864074] smps9: Bringing 0uV into 1100000-1100000uV
[ 4.864959] smps9: supplied by regulator-dummy
[ 4.866210] ldo1: supplied by regulator-dummy
[ 4.868469] ldo2: supplied by regulator-dummy
[ 4.870513] ldo3: supplied by regulator-dummy
[ 4.872589] ldo4: supplied by regulator-dummy
[ 4.875183] LDO5: supplied by regulator-dummy
[ 4.875946] LDO6: supplied by regulator-dummy
[ 4.876708] LDO7: supplied by regulator-dummy
[ 4.877502] LDO8: supplied by regulator-dummy
[ 4.877960] ldo9: supplied by regulator-dummy
[ 4.880249] ldoln: supplied by regulator-dummy
[ 4.882293] ldousb: supplied by regulator-dummy
[ 4.886138] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
[ 4.929199] edma 43300000.dma: memcpy is disabled
[ 4.932891] edma 43300000.dma: TI EDMA DMA engine driver
[ 4.944671] pinctrl-single 4a003400.pinmux: 282 pins, size 1128
[ 4.950439] pwm-backlight backlight: supply power not found, using dummy regulator
[ 4.956665] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 4.959411] printk: console [ttyS2] disabled
[ 4.959564] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 110, base_baud = 3000000) is a 8250
[ 5.873168] printk: console [ttyS2] enabled
[ 5.880828] omap_rng 48090000.rng: Random Number Generator ver. 20
[ 5.887207] random: crng init done
[ 5.900512] panel-simple display: supply power not found, using dummy regulator
[ 5.912261] display-connector connector@0: HDMI connector with no type
[ 5.918853] display-connector: probe of connector@0 failed with error -22
[ 5.933288] loop: module loaded
[ 5.938812] libphy: Fixed MDIO Bus: probed
[ 5.943756] tun: Universal TUN/TAP device driver, 1.6
[ 5.949005] CAN device driver interface
[ 5.954162] c_can_platform 4ae3c000.can: c_can_platform device registered (regs=4493e337, irq=109)
[ 5.964050] c_can_platform 48480000.can: c_can_platform device registered (regs=7934cefc, irq=137)
[ 5.974822] PPP generic driver version 2.4.2
[ 5.979278] PPP BSD Compression module registered
[ 5.984008] PPP Deflate Compression module registered
[ 5.989135] PPP MPPE Compression module registered
[ 5.993957] NET: Registered protocol family 24
[ 5.998718] mousedev: PS/2 mouse device common for all mice
[ 6.004547] -->tsc2013_init
[ 6.007385] tsc2013_init-->i2c_add_driver
[ 6.013153] bq32k 0-0068: registered as rtc0
[ 6.017822] bq32k 0-0068: setting system clock to 2022-01-30T19:51:29 UTC (1643572289)
[ 6.026275] i2c /dev entries driver
[ 6.034057] Bluetooth: HCI UART driver ver 2.3
[ 6.038543] Bluetooth: HCI UART protocol H4 registered
[ 6.043731] Bluetooth: HCI UART protocol BCSP registered
[ 6.050445] cpu cpu0: dev_pm_opp_set_regulators: no regulator (vdd) found: -19
[ 6.058532] sdhci: Secure Digital Host Controller Interface driver
[ 6.064758] sdhci: Copyright(c) Pierre Ossman
[ 6.070220] sdhci-pltfm: SDHCI platform and OF driver helper
[ 6.077392] omap_gpio 4805d000.gpio: Could not set line 27 debounce to 200000 microseconds (-22)
[ 6.086273] sdhci-omap 4809c000.mmc: Got CD GPIO
[ 6.086303] ledtrig-cpu: registered to indicate activity on CPUs
[ 6.097625] vdd_3v3: supplied by regen1
[ 6.102386] sdhci-omap 480b4000.mmc: no pinctrl state for ddr_1_8v mode
[ 6.109588] sdhci-omap 480d1000.mmc: supply vqmmc not found, using dummy regulator
[ 6.110565] sdhci-omap 480b4000.mmc: no pinctrl state for ddr_3_3v mode
[ 6.124816] sdhci-omap 480b4000.mmc: no pinctrl state for hs mode
[ 6.128326] ti-eqep-cnt 48442000.epwmss:eqep@0x48442180: invalid resource
[ 6.130981] sdhci-omap 480b4000.mmc: no pinctrl state for hs mode
[ 6.137847] ti-eqep-cnt: probe of 48442000.epwmss:eqep@0x48442180 failed with error -22
[ 6.153625] aic_dvdd_fixed: supplied by vdd_3v3
[ 6.160217] davinci-mcasp 4846c000.mcasp: IRQ common not found
[ 6.167907] NET: Registered protocol family 10
[ 6.169586] mmc1: SDHCI controller on 480b4000.mmc [480b4000.mmc] using ADMA
[ 6.173156] Segment Routing with IPv6
[ 6.179504] sdhci-omap 480b4000.mmc: probe ok
[ 6.183319] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 6.194061] NET: Registered protocol family 17
[ 6.198577] can: controller area network core
[ 6.203033] NET: Registered protocol family 29
[ 6.207519] can: raw protocol
[ 6.210510] can: broadcast manager protocol
[ 6.214721] can: netlink gateway - max_hops=1
[ 6.219329] Bluetooth: RFCOMM TTY layer initialized
[ 6.224273] Bluetooth: RFCOMM socket layer initialized
[ 6.229522] Bluetooth: RFCOMM ver 1.11
[ 6.233306] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 6.238677] Bluetooth: BNEP filters: protocol multicast
[ 6.243957] Bluetooth: BNEP socket layer initialized
[ 6.248992] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 6.254974] Bluetooth: HIDP socket layer initialized
[ 6.260253] Key type dns_resolver registered
[ 6.264709] Registering SWP/SWPB emulation handler
[ 6.269561] omap_voltage_late_init: Voltage driver support not added
[ 6.275970] Power Management for TI OMAP4+ devices.
[ 6.281311] Loading compiled-in X.509 certificates
[ 6.287170] Key type encrypted registered
[ 6.291259] evm: Initialising EVM extended attributes:
[ 6.296447] evm: security.capability
[ 6.300048] evm: HMAC attrs: 0x1
[ 6.323577] mmc1: new MMC card at address 0001
[ 6.328704] mmcblk1: mmc1:0001 P1XXXX 7.20 GiB
[ 6.333557] mmcblk1boot0: mmc1:0001 P1XXXX partition 1 16.0 MiB
[ 6.339843] mmcblk1boot1: mmc1:0001 P1XXXX partition 2 16.0 MiB
[ 6.346038] mmcblk1rpmb: mmc1:0001 P1XXXX partition 3 128 KiB, chardev (244:0)
[ 6.346069] dmm 4e000000.dmm: workaround for errata i878 in use
[ 6.358764] mmcblk1: p1 p2 p3 p4 p5 p6 p7
[ 6.367065] dmm 4e000000.dmm: initialized all PAT entries
[ 6.375579] omap_i2c 48060000.i2c: bus 2 rev0.12 at 100 kHz
[ 6.381652] pca953x 0-0021: supply vcc not found, using dummy regulator
[ 6.388458] pca953x 0-0021: using no AI
[ 6.407653] tmp102 3-0048: initialized
[ 6.412292] -->tsc2013_probe
[ 6.415283] tsc2013 3-004b: GPIO not specified in DT (of_get_gpio returned -2)
[ 6.422546] tsc2013_probe-->tsc2013_hw_init
[ 6.426788] -->tsc2013_hw_init
[ 6.429870] tsc2013_probe-->tsc2013_sw_init
[ 6.434234] tsc2013_i2c_write_register : CFG[62] = 0xa58c
[ 6.439849] tsc2013_i2c_write_register : CFG[6a] = 0x0
[ 6.445190] tsc2013_i2c_write_register : CFG[72] = 0xb81c
[ 6.450866] input: tsc2013_ts as /devices/virtual/input/input0
[ 6.457641] omap_i2c 4807a000.i2c: bus 3 rev0.12 at 400 kHz
[ 6.466766] omap-iommu 40d01000.mmu: 40d01000.mmu registered
[ 6.475128] omap-iommu 40d02000.mmu: 40d02000.mmu registered
[ 6.481658] platform 40800000.dsp: Adding to iommu group 0
[ 6.488708] omap-iommu 58882000.mmu: 58882000.mmu registered
[ 6.494842] platform 58820000.ipu: Adding to iommu group 1
[ 6.502105] omap-iommu 55082000.mmu: 55082000.mmu registered
[ 6.508209] platform 55020000.ipu: Adding to iommu group 2
[ 6.515319] omap-iommu 41501000.mmu: 41501000.mmu registered
[ 6.522796] omap-iommu 41502000.mmu: 41502000.mmu registered
[ 6.529083] platform 41000000.dsp: Adding to iommu group 3
[ 6.535186] pwm-backlight backlight: supply power not found, using dummy regulator
[ 6.544036] DSS: OMAP DSS rev 6.1
[ 6.549530] omapdss_dss 58000000.dss: bound 58001000.dispc (ops 0xc0a43968)
[ 6.563812] [drm] Enabling DMM ywrap scrolling
[ 6.629333] Console: switching to colour frame buffer device 100x30
[ 6.652160] omapdrm omapdrm.0: [drm] fb0: omapdrmdrmfb frame buffer device
[ 6.660034] [drm] Initialized omapdrm 1.0.0 20110917 for omapdrm.0 on minor 0
[ 6.668731] omap_gpio 4805d000.gpio: Could not set line 27 debounce to 200000 microseconds (-22)
[ 6.678924] sdhci-omap 480d1000.mmc: supply vqmmc not found, using dummy regulator
[ 6.680664] sdhci-omap 4809c000.mmc: Got CD GPIO
[ 6.687164] sdhci-omap 480d1000.mmc: no pinctrl state for sdr104 mode
[ 6.697753] sdhci-omap 480d1000.mmc: no pinctrl state for ddr50 mode
[ 6.704223] sdhci-omap 480d1000.mmc: no pinctrl state for sdr50 mode
[ 6.710662] sdhci-omap 480d1000.mmc: no pinctrl state for sdr25 mode
[ 6.717071] sdhci-omap 480d1000.mmc: no pinctrl state for sdr12 mode
[ 6.717071] sdhci-omap 480d1000.mmc: no pinctrl state for hs mode
[ 6.729614] sdhci-omap 480d1000.mmc: no pinctrl state for hs mode
[ 6.729888] input: gpio-keys as /devices/platform/gpio-keys/input/input1
[ 6.735748] sdhci-omap 480d1000.mmc: no pinctrl state for hs200_1_8v mode
[ 6.749450] omap_gpio 4805d000.gpio: Could not set line 27 debounce to 200000 microseconds (-22)
[ 6.750885] ALSA device list:
[ 6.758300] sdhci-omap 4809c000.mmc: Got CD GPIO
[ 6.761291] #0: mysb
[ 6.771362] omap_gpio 4805d000.gpio: Could not set line 27 debounce to 200000 microseconds (-22)
[ 6.780242] sdhci-omap 4809c000.mmc: Got CD GPIO
[ 6.868225] mmc2: SDHCI controller on 480d1000.mmc [480d1000.mmc] using PIO
[ 6.875274] sdhci-omap 480d1000.mmc: probe ok
[ 6.881439] omap_gpio 4805d000.gpio: Could not set line 27 debounce to 200000 microseconds (-22)
[ 6.885009] sdhci-omap 480d1000.mmc: card claims to support voltages below defined range
[ 6.890319] sdhci-omap 4809c000.mmc: Got CD GPIO
[ 6.931243] mmc2: new SDIO card at address 0001
[ 7.017913] EXT4-fs (mmcblk1p4): mounted filesystem with ordered data mode. Opts: (null)
[ 7.026092] VFS: Mounted root (ext4 filesystem) on device 179:4.
[ 7.032897] devtmpfs: mounted
[ 7.036560] Freeing unused kernel memory: 1024K
[ 7.041290] Run /sbin/init as init process
[ 7.362091] systemd[1]: systemd 244.5+ 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)
[ 7.384338] systemd[1]: Detected architecture arm.

Welcome to Arago 2021.09!

[ 7.411560] systemd[1]: Set hostname to <xxxxxx>.
[ 7.882385] systemd[1]: local-fs.target: Found ordering cycle on mnt-overlays.mount/start
[ 7.890686] systemd[1]: local-fs.target: Found dependency on mgc-system-init.service/start

...

Any hint very appreciated

thanks

angelo

  • Hi Angelo,

    Are you running this on some TI board, or is it your own board? If your board, are you migrating from an old kernel, or trying to boot with 5.10 directly for the first time?

    You would need to fix your GPIO debounce error first,

    omap_gpio 4805d000.gpio: Could not set line 27 debounce to 200000 microseconds

    Is this GPIO correct for your board?

    regards

    Suman

  • Hi Anna,

    thanks for the support, it's a custom board, we are migrating from a 4.4 kernel where sd card was working.

    Previous kernel (4.4) was using hsmmc driver, while on 5.10 base dtsi is using sdhci-omap.c .

    Tried to change pinmux setting for that pin, even from 14 to MUX_MODE0, the warning is always the same,
    mainly coming from the "cd-gpios = <&gpio6 27 GPIO_ACTIVE_LOW>;" line.

    Btw, not sure that message is important, functionally. 

    Issue seems actually that 3 times:   

    sdhci-omap 4809c000.mmc: Got CD GPIO

    Still investigating.

  • My specific issue was related to missing pbias driver. This was causing sdcard probe to fail.