Because of the holidays, TI E2E™ design support forum responses will be delayed from Dec. 25 through Jan. 2. Thank you for your patience.

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.

AM4372: SD card cd-gpio not triggering Linux interrupt

Part Number: AM4372

Hi,

On a custom board we have an SD card reader configured as mmc0. The cd-gpio pin is R25 (mmc0_sdvd / gpio0-6).

The card reader is working fine, so if there is a card plugged in when booting Linux, the card will be correctly detected. However, there is not reaction at all when either removing the card. When I start the system without card already plugged in, there will be no reaction when connecting a card during operation.

Measurements show that the cd pin is correctly triggered and that ACTIVE_LOW is correct. Our dts file looks as follows:

mmc0_pins: pinmux_mmc0_pins {
		pinctrl-single,pins = <
			AM4372_IOPAD(0x900, PIN_INPUT | MUX_MODE0) // (D1) mmc0_clk.mmc0_clk 
			AM4372_IOPAD(0x904, PIN_INPUT | MUX_MODE0) // (D2) mmc0_cmd.mmc0_cmd 
			AM4372_IOPAD(0x8fc, PIN_INPUT | MUX_MODE0) // (C1) mmc0_dat0.mmc0_dat0 
			AM4372_IOPAD(0x8f8, PIN_INPUT | MUX_MODE0) // (C2) mmc0_dat1.mmc0_dat1 
			AM4372_IOPAD(0x8f4, PIN_INPUT | MUX_MODE0) // (B2) mmc0_dat2.mmc0_dat2 
			AM4372_IOPAD(0x8f0, PIN_INPUT | MUX_MODE0) // (B1) mmc0_dat3.mmc0_dat3 
			AM4372_IOPAD(0x960, PIN_INPUT | MUX_MODE5) // (R25) spi0_cs1.mmc0_sdcd
		>;
	};
	
&mmc1 {
	status = "okay";
    vmmc-supply = <&dcdc4>;
	bus-width = <4>;
	pinctrl-names = "default";
	pinctrl-0 = <&mmc0_pins>;
	cd-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
};

Linux version is 4.19.59, attached also the kernel log. However, without anything in particular.

This is the interrupts output:

           CPU0
 16:      99038     WUGEN  68 Level     gp_timer
 18:      28956     GIC-0  29 Edge      twd
 20:          1     WUGEN   9 Level     l3-dbg-irq
 21:          1     WUGEN  10 Level     l3-app-irq
 23:          1     WUGEN  78 Level     wkup_m3_txev
 25:      52293     WUGEN  12 Level     49000000.edma_ccint
 27:         17     WUGEN  14 Level     49000000.edma_ccerrint
 35:       2689     WUGEN  45 Level     481a8000.serial
 36:          0     WUGEN  77 Level     wkup_m3
 37:          0     WUGEN  75 Level     rtc0
 38:          0     WUGEN  76 Level     rtc0
 40:          0     WUGEN  96 Level     44e07000.gpio
 41:          0     WUGEN  98 Level     4804c000.gpio
 42:          0     WUGEN  32 Level     481ac000.gpio
 43:          0     WUGEN  62 Level     481ae000.gpio
 44:      18963     WUGEN 106 Level     48320000.gpio
 45:          0     WUGEN 148 Level     48322000.gpio
 46:          0     WUGEN  71 Level     4802a000.i2c
 47:       6204     WUGEN  30 Level     4819c000.i2c
 48:        266     WUGEN  64 Level     mmc0
 49:      23984     WUGEN  28 Level     mmc1

Can you see anything we have done wrong which may explain why the card change is not being detected correctly?

Thank you and regards
Peter

2577.kernel.log
<debug_uart> spl_early_init
board_early_init_f
prcm_init
i2c2_pin_mux
set_mux_conf_regs
mmc0_pin_mux
mmc1_pin_mux
enable_board_pin_mux end
sdram_init
reg: 61a05332
get_ram_size
ram size: 1073741824

U-Boot SPL 2019.01-g11ba6979b2-dirty (Jul 21 2021 - 18:49:04 +0200)
Trying to boot from MMC2
SPL: Please implement spl_start_uboot() for your board
SPL: Direct Linux boot not active!


U-Boot 2019.01-g11ba6979b2-dirty (Jul 21 2021 - 18:49:04 +0200)

CPU  : AM437X-GP rev 1.2
Model: SMaBiT SMaWay
DRAM:  1 GiB
NAND:  0 MiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
Loading Environment from FAT... *** Warning - bad CRC, using default environment

Net:   No ethernet found.
Hit any key to stop autoboot:  2  1  0 
switch to partitions #0, OK
mmc1(part 0) is current device
switch to partitions #0, OK
mmc1(part 0) is current device
SD/MMC found on device 1
** Unable to read file boot.scr **
78 bytes read in 0 ms
Loaded env from uEnv.txt
Importing environment from mmc1 ...
switch to partitions #0, OK
mmc1(part 0) is current device
SD/MMC found on device 1
4391424 bytes read in 242 ms (17.3 MiB/s)
45900 bytes read in 3 ms (14.6 MiB/s)
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Device Tree to 8fff1000, end 8ffff34b ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.19.59-g5f8c1c6121 (phoyer@SmaLin) (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #33 PREEMPT Thu Jul 8 20:58:01 CEST 2021
[    0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: SMaBiT SMaWay
[    0.000000] Memory policy: Data cache writeback
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 48 MiB at 0xbd000000
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] AM437x ES1.2 (neon)
[    0.000000] random: get_random_bytes called from start_kernel+0xac/0x4b0 with crng_init=0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 260416
[    0.000000] Kernel command line: console=ttyO4,115200n8 video=vmalloc=512M net.ifnames=0 biosdevnames=0 root=PARTUUID=015884b5-02 rw rootfstype=ext4 rootwait
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 975004K/1048576K available (9216K kernel code, 601K rwdata, 2780K rodata, 1024K init, 270K bss, 24420K reserved, 49152K cma-reserved, 212992K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0x(ptrval) - 0x(ptrval)   (10208 kB)
[    0.000000]       .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)
[    0.000000]       .data : 0x(ptrval) - 0x(ptrval)   ( 602 kB)
[    0.000000]        .bss : 0x(ptrval) - 0x(ptrval)   ( 271 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] ftrace: allocating 31775 entries in 94 pages
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] 	Tasks RCU enabled.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] L2C: platform modifies aux control register: 0x0e030000 -> 0x3e430000
[    0.000000] L2C: DT/platform modifies aux control register: 0x0e030000 -> 0x3e430000
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] OMAP L2C310: ROM does not support power control setting
[    0.000000] L2C-310 dynamic clock gating disabled, standby mode disabled
[    0.000000] L2C-310 cache controller enabled, 16 ways, 256 kB
[    0.000000] L2C-310: CACHE_ID 0x410000c9, AUX_CTRL 0x4e430000
[    0.000000] OMAP clockevent source: timer2 at 24000000 Hz
[    0.000014] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000036] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000047] OMAP clocksource: timer1 at 24000000 Hz
[    0.000508] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
[    0.000521] OMAP clocksource: 32k_counter at 32768 Hz
[    0.000956] Console: colour dummy device 80x30
[    0.000989] WARNING: Your 'console=ttyO4' has been replaced by 'ttyS4'
[    0.000996] This ensures that you still see kernel messages. Please
[    0.001002] update your kernel commandline.
[    0.001053] Calibrating delay loop... 1594.16 BogoMIPS (lpj=7970816)
[    0.090226] pid_max: default: 32768 minimum: 301
[    0.090388] Security Framework initialized
[    0.090470] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.090494] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.091376] CPU: Testing write buffer coherency: ok
[    0.091441] CPU0: Spectre v2: using BPIALL workaround
[    0.092482] Setting up static identity map for 0x80100000 - 0x80100060
[    0.092660] rcu: Hierarchical SRCU implementation.
[    0.093094] EFI services will not be available.
[    0.094106] devtmpfs: initialized
[    0.104384] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.104858] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.104884] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.108904] pinctrl core: initialized pinctrl subsystem
[    0.109687] DMI not present or invalid.
[    0.110150] NET: Registered protocol family 16
[    0.112886] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.205578] cpuidle: using governor ladder
[    0.205621] cpuidle: using governor menu
[    0.207718] omap_l3_noc 44000000.ocp: L3 debug error: target 8 mod:0 (unclearable)
[    0.207803] omap_l3_noc 44000000.ocp: L3 application error: target 8 mod:0 (unclearable)
[    0.223553] No ATAGs?
[    0.223584] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.223601] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.238926] edma 49000000.edma: TI EDMA DMA engine driver
[    0.243015] media: Linux media interface: v0.10
[    0.243072] videodev: Linux video capture interface: v2.00
[    0.243182] pps_core: LinuxPPS API ver. 1 registered
[    0.243190] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.243215] PTP clock support registered
[    0.243255] EDAC MC: Ver: 3.0.0
[    0.244159] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[    0.244873] Advanced Linux Sound Architecture Driver Initialized.
[    0.245470] NetLabel: Initializing
[    0.245485] NetLabel:  domain hash size = 128
[    0.245493] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    0.245588] NetLabel:  unlabeled traffic allowed by default
[    0.246341] clocksource: Switched to clocksource timer1
[    0.306998] NET: Registered protocol family 2
[    0.307886] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
[    0.307932] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.308008] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[    0.308099] TCP: Hash tables configured (established 8192 bind 8192)
[    0.308288] UDP hash table entries: 512 (order: 1, 8192 bytes)
[    0.308318] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
[    0.308493] NET: Registered protocol family 1
[    0.309154] RPC: Registered named UNIX socket transport module.
[    0.309169] RPC: Registered udp transport module.
[    0.309176] RPC: Registered tcp transport module.
[    0.309183] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.311447] Initialise system trusted keyrings
[    0.311777] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[    0.317172] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.317961] NFS: Registering the id_resolver key type
[    0.318001] Key type id_resolver registered
[    0.318009] Key type id_legacy registered
[    0.318055] ntfs: driver 2.1.32 [Flags: R/O].
[    0.324696] Key type asymmetric registered
[    0.324716] Asymmetric key parser 'x509' registered
[    0.324786] bounce: pool size: 64 pages
[    0.324864] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    0.324878] io scheduler noop registered
[    0.324886] io scheduler deadline registered
[    0.325184] io scheduler cfq registered (default)
[    0.325198] io scheduler mq-deadline registered
[    0.325206] io scheduler kyber registered
[    0.328624] pinctrl-single 44e10800.pinmux: 199 pins, size 796
[    0.383571] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
[    0.387295] omap8250 44e09000.serial: No clock speed specified: using default: 48000000
[    0.388179] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 31, base_baud = 3000000) is a 8250
[    0.388859] omap8250 48022000.serial: No clock speed specified: using default: 48000000
[    0.389649] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 32, base_baud = 3000000) is a 8250
[    0.390257] omap8250 48024000.serial: No clock speed specified: using default: 48000000
[    0.391002] 48024000.serial: ttyS2 at MMIO 0x48024000 (irq = 33, base_baud = 3000000) is a 8250
[    0.391600] omap8250 481a6000.serial: No clock speed specified: using default: 48000000
[    0.392330] 481a6000.serial: ttyS3 at MMIO 0x481a6000 (irq = 34, base_baud = 3000000) is a 8250
[    0.392953] omap8250 481a8000.serial: No clock speed specified: using default: 48000000
[    0.393679] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 35, base_baud = 3000000) is a 8250
[    1.173896] console [ttyS4] enabled
[    1.179829] omap_rng 48310000.rng: Random Number Generator ver. 20
[    1.186551] random: fast init done
[    1.190222] random: crng init done
[    1.210489] brd: module loaded
[    1.223408] loop: module loaded
[    1.231599] libphy: Fixed MDIO Bus: probed
[    1.236784] CAN device driver interface
[    1.241825] c_can_platform 481cc000.can: c_can_platform device registered (regs=8a406ac4, irq=67)
[    1.316416] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
[    1.324120] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
[    1.331440] libphy: 4a101000.mdio: probed
[    1.335486] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8740
[    1.345046] cpsw 4a100000.ethernet: Detected MACID = 80:f5:b5:38:0b:65
[    1.351859] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
[    1.358347] cpsw 4a100000.ethernet: ALE Table size 1024
[    1.363638] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
[    1.372400] i2c /dev entries driver
[    1.378462] cpuidle: enable-method property 'ti,am4372' found operations
[    1.385730] sdhci: Secure Digital Host Controller Interface driver
[    1.392058] sdhci: Copyright(c) Pierre Ossman
[    1.399272] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.406114] ledtrig-cpu: registered to indicate activity on CPUs
[    1.414335] NET: Registered protocol family 10
[    1.420288] Segment Routing with IPv6
[    1.424069] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    1.430901] NET: Registered protocol family 17
[    1.435392] can: controller area network core (rev 20170425 abi 9)
[    1.441900] NET: Registered protocol family 29
[    1.446465] can: raw protocol (rev 20170425)
[    1.450755] can: broadcast manager protocol (rev 20170425 t)
[    1.456462] can: netlink gateway (rev 20170425) max_hops=1
[    1.462455] Key type dns_resolver registered
[    1.467067] omap_voltage_late_init: Voltage driver support not added
[    1.474454] Loading compiled-in X.509 certificates
[    1.492513] OMAP GPIO hardware version 0.1
[    1.502044] omap_i2c 4802a000.i2c: bus 1 rev0.12 at 100 kHz
[    1.551259] LDO1: Bringing 1800000uV into 2100000-2100000uV
[    1.560139] omap_i2c 4819c000.i2c: bus 2 rev0.12 at 100 kHz
[    1.566151] cpu cpu0: Linked as a consumer to regulator.3
[    1.571703] cpu cpu0: Dropping the link to regulator.3
[    1.577155] cpu cpu0: Linked as a consumer to regulator.3
[    1.584091] omap_gpio 44e07000.gpio: Could not set line 6 debounce to 200000 microseconds (-22)
[    1.592971] omap_hsmmc 48060000.mmc: Got CD GPIO
[    1.598210] omap_hsmmc 48060000.mmc: Linked as a consumer to regulator.5
[    1.632230] omap_hsmmc 481d8000.mmc: Linked as a consumer to regulator.5
[    1.664247] omap_hsmmc 47810000.mmc: Linked as a consumer to regulator.1
[    1.677795] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.687816] mmc0: new high speed SDHC card at address 1234
[    1.694965] mmcblk0: mmc0:1234 SA32G 28.9 GiB 
[    1.701501]  mmcblk0: p1
[    1.730005] mmc1: new high speed MMC card at address 0001
[    1.736974] mmcblk1: mmc1:0001 Q2J54A 3.64 GiB 
[    1.742357] mmcblk1boot0: mmc1:0001 Q2J54A partition 1 2.00 MiB
[    1.749297] mmcblk1boot1: mmc1:0001 Q2J54A partition 2 2.00 MiB
[    1.755572] mmcblk1rpmb: mmc1:0001 Q2J54A partition 3 512 KiB, chardev (244:0)
[    1.764651]  mmcblk1: p1 p2 p3 p4
[    1.788672] hctosys: unable to open rtc device (rtc0)
[    1.794698] ALSA device list:
[    1.798116]   No soundcards found.
[    1.807111] omap_hsmmc 47810000.mmc: card claims to support voltages below defined range
[    1.831796] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
[    1.840392] VFS: Mounted root (ext4 filesystem) on device 179:18.
[    1.848242] devtmpfs: mounted
[    1.858878] Freeing unused kernel memory: 1024K
[    1.863659] Run /sbin/init as init process
[    1.869311] mmc2: new high speed SDIO card at address 0001
[    2.290408] systemd[1]: System time before build time, advancing clock.
[    2.383253] systemd[1]: systemd 241 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)
[    2.405633] systemd[1]: Detected architecture arm.

Welcome to Debian GNU/Linux 10 (buster)!

[    2.457384] systemd[1]: Set hostname to <smaway>.
[    3.319533] systemd[1]: File /lib/systemd/system/systemd-journald.service:12 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
[    3.336914] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
[    3.707358] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[    3.747480] systemd[1]: Reached target Remote File Systems.
[  OK  ] Reached target Remote File Systems.
[    3.787243] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password …ts to Console Directory Watch.
[    3.827564] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password R…uests to Wall Directory Watch.
[    3.868398] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[  OK  ] Listening on udev Kernel Socket.
[  OK  ] Reached target Local Encrypted Volumes.
[  OK  ] Listening on fsck to fsckd communication Socket.
[  OK  ] Listening on Journal Socket.
         Starting Create list of re…odes for the current kernel...
         Mounting POSIX Message Queue File System...
         Starting Restore / save the current clock...
         Starting udev Coldplug all Devices...
         Starting Load Kernel Modules...
[  OK  ] Reached target Paths.
         Mounting Kernel Debug File System...
[  OK  ] Listening on initctl Compatibility Named Pipe.
[  OK  ] Listening on Syslog Socket.
[  OK  ] Reached target Swap.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[  OK  ] Created slice User and Session Slice.
[  OK  ] Reached target Slices.
         Starting Remount Root and Kernel File Systems...
         Starting Journal Service...
[  OK  ] Started Create list of req… nodes for the current kernel.
[    4.724269] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Started Restore / save the current clock.
[  OK  ] Started Load Kernel Modules.
[  OK  ] Mounted Kernel Debug File System.
[  OK  ] Started Remount Root and Kernel File Systems.
         Starting Load/Save Random Seed...
         Starting Create System Users...
         Mounting Kernel Configuration File System...
         Starting Apply Kernel Variables...
[  OK  ] Mounted Kernel Configuration File System.
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started Create System Users.
[  OK  ] Started Journal Service.
[  OK  ] Started Apply Kernel Variables.
         Starting Flush Journal to Persistent Storage...
         Starting Create Static Device Nodes in /dev...
[    5.845874] systemd-journald[102]: Received request to flush runtime journal from PID 1
[  OK  ] Started Flush Journal to Persistent Storage.
[  OK  ] Started Create Static Device Nodes in /dev.
         Starting udev Kernel Device Manager...
[  OK  ] Reached target Local File Systems (Pre).
         Mounting /media/ram...
         Mounting /var/volatile...
[  OK  ] Mounted /media/ram.
[  OK  ] Mounted /var/volatile.
[  OK  ] Reached target Local File Systems.
         Starting Create Volatile Files and Directories...
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Started Create Volatile Files and Directories.
         Starting Update UTMP about System Boot/Shutdown...
         Starting Network Time Synchronization...
[  OK  ] Started udev Coldplug all Devices.
         Starting Helper to synchronize boot up for ifupdown...
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Started Helper to synchronize boot up for ifupdown.
         Starting Raise network interfaces...
[    8.834449] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
[    8.931367] PM: Cannot get wkup_m3_ipc handle
[  OK  ] Started Network Time Synchronization.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
         Starting LSB: Start busybox udhcpd at boot time...
         Starting LSB: Load kernel …d to enable cpufreq scaling...
         Starting LSB: Start daemon at boot time...
         Starting System Logging Service...
[  OK  ] Started Regular background program processing daemon.
         Starting Login Service...
[    9.844899] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
[    9.885090] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[  OK  ] Started D-Bus System Message Bus.
[    9.906850] omap_rtc 44e3e000.rtc: registered as rtc0
[    9.914351] PM: Cannot get wkup_m3_ipc handle
[   10.013213] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
[   10.049570] remoteproc remoteproc0: wkup_m3 is available
[   10.158866] PM: Cannot get wkup_m3_ipc handle
[   10.272616] remoteproc remoteproc0: powering up wkup_m3
[   10.278649] PM: Cannot get wkup_m3_ipc handle
[   10.318733] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 242896
         Starting Connection service...
[   10.440157] remoteproc remoteproc0: remote processor wkup_m3 is now up
[   10.446851] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
         Starting Restore /etc/reso… the ppp link was shut down...
[   10.571744] PM: Cannot get wkup_m3_ipc handle
         Starting LSB: Writes syslog output to screen...
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Started Daily rotation of log files.
[  OK  ] Reached target Timers.
[  OK  ] Started System Logging Service.
[  OK  ] Started Raise network interfaces.
[  OK  ] Started Restore /etc/resol…re the ppp link was shut down.
[  OK  ] Started LSB: Writes syslog output to screen.
[   11.439349] PM: bootloader does not support rtc-only!
[  OK  ] Started LSB: Start busybox udhcpd at boot time.
[   14.112500] omap-sham 53100000.sham: hw accel on OMAP rev 0.0
[   14.190656] omap-aes 53501000.aes: OMAP AES hw accel rev: 0.1
[   14.313094] omap-des 53701000.des: OMAP DES hw accel rev: 0.33
[   14.327787] omap-aes 53501000.aes: will run requests pump with realtime priority
[   14.428095] omap-des 53701000.des: will run requests pump with realtime priority
[  OK  ] Started LSB: Start daemon at boot time.
[   15.439491] net eth0: initializing cpsw version 1.15 (0)
[   15.618063] SMSC LAN8740 4a101000.mdio:00: attached PHY driver [SMSC LAN8740] (mii_bus:phy_addr=4a101000.mdio:00, irq=POLL)
[   15.751031] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[  OK  ] Started LSB: Load kernel m…ded to enable cpufreq scaling.
[  OK  ] Found device /dev/ttyS4.
[   19.086162] dwc3 48390000.usb: Failed to get clk 'ref': -2
[   19.185370] dwc3 483d0000.usb: Failed to get clk 'ref': -2
[   19.306980] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[   19.399181] usbcore: registered new interface driver usbfs
[   19.426639] usbcore: registered new interface driver hub
[   19.471887] usbcore: registered new device driver usb
[   19.480209] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   19.506735] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[   19.563077] cfg80211: failed to load regulatory.db
[   19.617678] xhci-hcd xhci-hcd.5.auto: xHCI Host Controller
[   19.659567] xhci-hcd xhci-hcd.5.auto: new USB bus registered, assigned bus number 1
[   19.727048] xhci-hcd xhci-hcd.5.auto: hcc params 0x0238f06d hci version 0x100 quirks 0x0000000002010010
[   19.787027] xhci-hcd xhci-hcd.5.auto: irq 104, io mem 0x48390000
[   19.803241] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[   19.847636] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   19.916628] usb usb1: Product: xHCI Host Controller
[   19.921552] usb usb1: Manufacturer: Linux 4.19.59-g5f8c1c6121 xhci-hcd
[   19.976543] usb usb1: SerialNumber: xhci-hcd.5.auto
[   20.016609] hub 1-0:1.0: USB hub found
[   20.033709] hub 1-0:1.0: 1 port detected
[   20.068710] xhci-hcd xhci-hcd.5.auto: xHCI Host Controller
[   20.098737] xhci-hcd xhci-hcd.5.auto: new USB bus registered, assigned bus number 2
[   20.156758] xhci-hcd xhci-hcd.5.auto: Host supports USB 3.0 SuperSpeed
[   20.163421] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[   20.198100] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.19
[   20.246672] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   20.264962] usb usb2: Product: xHCI Host Controller
[   20.283967] usb usb2: Manufacturer: Linux 4.19.59-g5f8c1c6121 xhci-hcd
[   20.319126] wl18xx_driver wl18xx.4.auto: Direct firmware load for ti-connectivity/wl18xx-conf.bin failed with error -2
[   20.357023] usb usb2: SerialNumber: xhci-hcd.5.auto
[   20.363686] wlcore: ERROR could not get configuration binary ti-connectivity/wl18xx-conf.bin: -2
[   20.380572] hub 2-0:1.0: USB hub found
[   20.427429] hub 2-0:1.0: 1 port detected
[   20.443173] wlcore: WARNING falling back to default config
[   20.451168] xhci-hcd xhci-hcd.6.auto: xHCI Host Controller
[   20.484505] xhci-hcd xhci-hcd.6.auto: new USB bus registered, assigned bus number 3
[   20.547958] xhci-hcd xhci-hcd.6.auto: hcc params 0x0238f06d hci version 0x100 quirks 0x0000000002010010
[   20.586912] xhci-hcd xhci-hcd.6.auto: irq 105, io mem 0x483d0000
[   20.615493] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[   20.641815] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   20.676645] usb usb3: Product: xHCI Host Controller
[   20.681564] usb usb3: Manufacturer: Linux 4.19.59-g5f8c1c6121 xhci-hcd
[   20.721570] usb usb3: SerialNumber: xhci-hcd.6.auto
[   20.749678] hub 3-0:1.0: USB hub found
[   20.765172] hub 3-0:1.0: 1 port detected
[   20.794433] xhci-hcd xhci-hcd.6.auto: xHCI Host Controller
[   20.812991] xhci-hcd xhci-hcd.6.auto: new USB bus registered, assigned bus number 4
[   20.833869] xhci-hcd xhci-hcd.6.auto: Host supports USB 3.0 SuperSpeed
[   20.854797] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[   20.883674] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.19
[   20.906927] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   20.926637] usb usb4: Product: xHCI Host Controller
[   20.932387] usb usb4: Manufacturer: Linux 4.19.59-g5f8c1c6121 xhci-hcd
[   20.956784] usb usb4: SerialNumber: xhci-hcd.6.auto
[   20.964255] hub 4-0:1.0: USB hub found
[   20.976687] hub 4-0:1.0: 1 port detected
[   21.030567] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)
[   21.121575] wlcore: loaded
[*     ] (1 of 2) A start job is running for…onnection service (18s / 1min 36s)
[**    ] (1 of 2) A start job is running for…onnection service (18s / 1min 36s)
[***   ] (1 of 2) A start job is running for…onnection service (18s / 1min 36s)
[ ***  ] (2 of 2) A start job is running for Login Service (19s / 1min 35s)
[  *** ] (2 of 2) A start job is running for Login Service (19s / 1min 35s)
[   ***] (2 of 2) A start job is running for Login Service (20s / 1min 35s)
[    **] (1 of 2) A start job is running for…onnection service (20s / 1min 36s)
[     *] (1 of 2) A start job is running for…onnection service (20s / 1min 36s)
[    **] (1 of 2) A start job is running for…onnection service (21s / 1min 36s)
[   ***] (2 of 2) A start job is running for Login Service (21s / 1min 35s)
[  *** ] (2 of 2) A start job is running for Login Service (22s / 1min 35s)
[ ***  ] (2 of 2) A start job is running for Login Service (22s / 1min 35s)
[***   ] (1 of 2) A start job is running for…onnection service (22s / 1min 36s)
[**    ] (1 of 2) A start job is running for…onnection service (23s / 1min 36s)
[*     ] (1 of 2) A start job is running for…onnection service (23s / 1min 36s)
[**    ] (2 of 2) A start job is running for Login Service (24s / 1min 35s)
[***   ] (2 of 2) A start job is running for Login Service (24s / 1min 35s)
         Starting Hostname Service...
         Starting WPA supplicant...
[  OK  ] Listening on Load/Save RF …itch Status /dev/rfkill Watch.
[  OK  ] Started ifup for wlan0.
[  OK  ] Started ifup for eth0.
         Starting LSB: set CPUFreq kernel parameters...
[  OK  ] Started WPA supplicant.
         Starting Load/Save RF Kill Switch Status...
[  OK  ] Started Login Service.
[  OK  ] Started Connection service.
[  OK  ] Reached target Network.
         Starting Permit User Sessions...
         Starting OpenBSD Secure Shell server...
[  OK  ] Reached target Network is Online.
         Starting LSB: Base hardware initialization...
[  OK  ] Started Load/Save RF Kill Switch Status.
[  OK  ] Started Permit User Sessions.
[  OK  ] Started LSB: set CPUFreq kernel parameters.
[  OK  ] Started Serial Getty on ttyS4.
[  OK  ] Reached target Login Prompts.
[  OK  ] Started Hostname Service.
[  OK  ] Started LSB: Base hardware initialization.
         Starting LSB: Mount system partitions...
[   31.463851] FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[   31.584632] EXT4-fs (mmcblk1p3): mounted filesystem with ordered data mode. Opts: (null)
[   31.673660] FAT-fs (mmcblk1p4): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[   31.716603] wlcore: PHY firmware version: Rev 8.2.0.0.245
[  OK  ] Started LSB: Mount system partitions.
         Starting Wifi Service...
[   31.950254] wlcore: firmware booted (Rev 8.9.0.0.88)
[   32.090614] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  OK  ] Started OpenBSD Secure Shell server.

  • Resolved:

    AM4372_IOPAD(0x960, PIN_INPUT | MUX_MODE7) // (R25) spi0_cs1.mmc0_sdcd

    Will work instead of MUX_MODE5. However this is strange: why do I need to mux the pin as a separate GPIO instead of configuring it as "sdcd(mmc0_sdcd)" in the PinMux Tool?