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.

Linux/AM5728: SD card problem

Part Number: AM5728
Other Parts Discussed in Thread: BEAGLEBOARD-X15, PMP, DRA752, TPD12S015

Tool/software: Linux

Hi,

I saw message “failed to set system capabilities” from serial port。

I have no power regulator for SD, how to skip power switch?

Thank you!

  • Hi,
    I use this linux,git.ti.com/.../master

    The hw is our customized board ,chip is AM5728

    I want to know how toskip power switch, I just want use 3.3v and High Speed configuration for microSD card。

    Thanks
  • Hi Chuntian,

    Could you post the whole booting log please?

    BR
    Tsvetolin Shulev
  • U-Boot SPL 2018.01-ged7323e9f6 (May 17 2018 - 06:16:25)
    ####################omap_rev_string#################################
    ####################omap_rev_string 2#################################
    DRA752-GP ES2.0
    Trying to boot from MMC1
    no pinctrl state for default mode
    no pinctrl state for default mode
    Card did not respond to voltage select!
    *** Warning - MMC init failed, using default environment

    reading u-boot.img
    reading u-boot.img
    reading u-boot.img
    reading u-boot.img


    U-Boot 2018.01-ged7323e9f6 (May 17 2018 - 06:16:25 -0700)

    CPU : ####################omap_rev_string#################################
    ####################omap_rev_string 2#################################
    DRA752-GP ES2.0
    Model: TI AM5728 BeagleBoard-X15
    Board: UNKNOWN(BeagleBoard X15?) REV UNKNOWN
    DRAM: 2 GiB
    MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
    Card did not respond to voltage select!
    *** Warning - MMC init failed, using default environment

    Warning: fastboot.board_rev: unknown board revision
    Card did not respond to voltage select!
    invalid mmc device
    SCSI: SATA link 0 timeout.
    AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
    flags: 64bit ncq stag pm led clo only pmp pio slum part ccc apst
    scanning bus for devices...
    Found 0 device(s).
    Net:
    Warning: ethernet@48484000 using MAC address from ROM
    eth0: ethernet@48484000
    Hit any key to stop autoboot: 0
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    ** Unable to read file boot.scr **
    ** Unable to read file uEnv.txt **
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    3981824 bytes read in 179 ms (21.2 MiB/s)
    146947 bytes read in 16 ms (8.8 MiB/s)
    ## Flattened Device Tree blob at 88000000
    Booting using the fdt blob at 0x88000000
    Loading Device Tree to 8ffd9000, end 8ffffe02 ... OK

    Starting kernel ...

    [ 0.000000] Booting Linux on physical CPU 0x0
    [ 0.000000] Linux version 4.14.32-gdc3e450ded (oe-user@oe-host) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #44 SMP PREEMPT Fri May 18 06:
    [ 0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d
    [ 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 EVM
    [ 0.000000] Memory policy: Data cache writealloc
    [ 0.000000] efi: Getting EFI parameters from FDT:
    [ 0.000000] efi: UEFI not found.
    [ 0.000000] Reserved memory: created CMA memory pool at 0x0000000095800000, size 56 MiB
    [ 0.000000] OF: reserved mem: initialized node ipu2-memory@95800000, compatible id shared-dma-pool
    [ 0.000000] Reserved memory: created CMA memory pool at 0x0000000099000000, size 64 MiB
    [ 0.000000] OF: reserved mem: initialized node dsp1-memory@99000000, compatible id shared-dma-pool
    [ 0.000000] Reserved memory: created CMA memory pool at 0x000000009d000000, size 32 MiB
    [ 0.000000] OF: reserved mem: initialized node ipu1-memory@9d000000, compatible id shared-dma-pool
    [ 0.000000] Reserved memory: created CMA memory pool at 0x000000009f000000, size 8 MiB
    [ 0.000000] OF: reserved mem: initialized node dsp2-memory@9f000000, compatible id shared-dma-pool
    [ 0.000000] cma: Reserved 24 MiB at 0x00000000fe400000
    [ 0.000000] OMAP4: Map 0x00000000ffd00000 to fe600000 for dram barrier
    [ 0.000000] DRA752 ES2.0
    [ 0.000000] random: fast init done
    [ 0.000000] percpu: Embedded 15 pages/cpu @eed29000 s31308 r8192 d21940 u61440
    [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 521792
    [ 0.000000] Kernel command line: console=ttyO2,115200n8 root=PARTUUID=621419fc-02 rw rootfstype=ext4 rootwait
    [ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
    [ 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: 1870440K/2094080K available (8192K kernel code, 346K rwdata, 2560K rodata, 2048K init, 299K bss, 35224K reserved, 188416K cma-re
    [ 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 : 0xc0008000 - 0xc0a00000 (10208 kB)
    [ 0.000000] .init : 0xc0e00000 - 0xc1000000 (2048 kB)
    [ 0.000000] .data : 0xc1000000 - 0xc1056828 ( 347 kB)
    [ 0.000000] .bss : 0xc1058000 - 0xc10a2c7c ( 300 kB)
    [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [ 0.000000] Preemptible hierarchical RCU implementation.
    [ 0.000000] Tasks RCU enabled.
    [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [ 0.000000] GIC: Using split EOI/Deactivate mode
    [ 0.000000] OMAP clockevent source: timer1 at 32786 Hz
    [ 0.000000] arch_timer: cp15 timer(s) running at 6.14MHz (phys).
    [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16af5adb9, max_idle_ns: 440795202250 ns
    [ 0.000005] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
    [ 0.000017] Switching to timer-based delay loop, resolution 162ns
    [ 0.000343] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [ 0.000351] OMAP clocksource: 32k_counter at 32768 Hz
    [ 0.000854] Console: colour dummy device 80x30
    [ 0.000871] WARNING: Your 'console=ttyO2' has been replaced by 'ttyS2'
    [ 0.000878] This ensures that you still see kernel messages. Please
    [ 0.000885] update your kernel commandline.
    [ 0.000906] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
    [ 0.000921] pid_max: default: 32768 minimum: 301
    [ 0.001044] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.001057] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.001577] CPU: Testing write buffer coherency: ok
    [ 0.001794] /cpus/cpu@0 missing clock-frequency property
    [ 0.001813] /cpus/cpu@1 missing clock-frequency property
    [ 0.001826] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [ 0.039850] Setting up static identity map for 0x80200000 - 0x80200060
    [ 0.059856] Hierarchical SRCU implementation.
    [ 0.080045] EFI services will not be available.
    [ 0.099916] smp: Bringing up secondary CPUs ...
    [ 0.170243] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [ 0.170335] smp: Brought up 1 node, 2 CPUs
    [ 0.170349] SMP: Total of 2 processors activated (24.59 BogoMIPS).
    [ 0.170357] CPU: All CPU(s) started in HYP mode.
    [ 0.170364] CPU: Virtualization extensions available.
    [ 0.170884] devtmpfs: initialized
    [ 0.191513] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [ 0.191708] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [ 0.191725] futex hash table entries: 512 (order: 3, 32768 bytes)
    [ 0.195400] pinctrl core: initialized pinctrl subsystem
    [ 0.195842] DMI not present or invalid.
    [ 0.196088] NET: Registered protocol family 16
    [ 0.197124] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [ 0.198069] omap_hwmod: l3_main_2 using broken dt data from ocp
    [ 0.306662] omap_hwmod: dcan1: _wait_target_disable failed
    [ 0.405264] cpuidle: using governor ladder
    [ 0.405296] cpuidle: using governor menu
    [ 0.413566] match add=c0a32068,omap_gpio_match addr=c0a32068
    [ 0.413577] match->data add=c0a32378,dev_get_platdata(dev) addr= (null)
    [ 0.413627] width=32,regs=c10233c4,
    [ 0.413641] res->start=a0000013,end=4ae10000,desc= (null),bank->base=4ae101ff
    [ 0.413649] config gpio clk
    [ 0.413656] dev_id=4ae10000.gpio,id=0
    [ 0.413663] parent name=(null),id=0
    [ 0.414014] OMAP GPIO hardware version 0.1
    [ 0.414426] match add=c0a32068,omap_gpio_match addr=c0a32068
    [ 0.414435] match->data add=c0a32378,dev_get_platdata(dev) addr= (null)
    [ 0.414485] width=32,regs=c10233c4,
    [ 0.414498] res->start=a0000013,end=48055000,desc= (null),bank->base=480551ff
    [ 0.414505] config gpio clk
    [ 0.414512] dev_id=48055000.gpio,id=0
    [ 0.414519] parent name=(null),id=0
    [ 0.415197] match add=c0a32068,omap_gpio_match addr=c0a32068
    [ 0.415207] match->data add=c0a32378,dev_get_platdata(dev) addr= (null)
    [ 0.415257] width=32,regs=c10233c4,
    [ 0.415270] res->start=a0000013,end=48057000,desc= (null),bank->base=480571ff
    [ 0.415278] config gpio clk
    [ 0.415285] dev_id=48057000.gpio,id=0
    [ 0.415292] parent name=(null),id=0
    [ 0.415980] match add=c0a32068,omap_gpio_match addr=c0a32068
    [ 0.415990] match->data add=c0a32378,dev_get_platdata(dev) addr= (null)
    [ 0.416040] width=32,regs=c10233c4,
    [ 0.416053] res->start=a0000013,end=48059000,desc= (null),bank->base=480591ff
    [ 0.416061] config gpio clk
    [ 0.416068] dev_id=48059000.gpio,id=0
    [ 0.416075] parent name=(null),id=0
    [ 0.416752] match add=c0a32068,omap_gpio_match addr=c0a32068
    [ 0.416762] match->data add=c0a32378,dev_get_platdata(dev) addr= (null)
    [ 0.416812] width=32,regs=c10233c4,
    [ 0.416825] res->start=a0000013,end=4805b000,desc= (null),bank->base=4805b1ff
    [ 0.416832] config gpio clk
    [ 0.416840] dev_id=4805b000.gpio,id=0
    [ 0.416846] parent name=(null),id=0
    [ 0.417534] match add=c0a32068,omap_gpio_match addr=c0a32068
    [ 0.417544] match->data add=c0a32378,dev_get_platdata(dev) addr= (null)
    [ 0.417594] width=32,regs=c10233c4,
    [ 0.417607] res->start=a0000013,end=4805d000,desc= (null),bank->base=4805d1ff
    [ 0.417614] config gpio clk
    [ 0.417622] dev_id=4805d000.gpio,id=0
    [ 0.417628] parent name=(null),id=0
    [ 0.418315] match add=c0a32068,omap_gpio_match addr=c0a32068
    [ 0.418324] match->data add=c0a32378,dev_get_platdata(dev) addr= (null)
    [ 0.418374] width=32,regs=c10233c4,
    [ 0.418388] res->start=a0000013,end=48051000,desc= (null),bank->base=480511ff
    [ 0.418395] config gpio clk
    [ 0.418402] dev_id=48051000.gpio,id=0
    [ 0.418409] parent name=(null),id=0
    [ 0.419090] match add=c0a32068,omap_gpio_match addr=c0a32068
    [ 0.419100] match->data add=c0a32378,dev_get_platdata(dev) addr= (null)
    [ 0.419149] width=32,regs=c10233c4,
    [ 0.419162] res->start=a0000013,end=48053000,desc= (null),bank->base=480531ff
    [ 0.419169] config gpio clk
    [ 0.419176] dev_id=48053000.gpio,id=0
    [ 0.419183] parent name=(null),id=0
    [ 0.441280] No ATAGs?
    [ 0.441353] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [ 0.441367] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [ 0.441764] omap4_sram_init:Unable to allocate sram needed to handle errata I688
    [ 0.441774] omap4_sram_init:Unable to get sram pool needed to handle errata I688
    [ 0.442283] OMAP DMA hardware revision 0.0
    [ 0.457174] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
    [ 0.458467] edma 43300000.edma: memcpy is disabled
    [ 0.461659] edma 43300000.edma: TI EDMA DMA engine driver
    [ 0.461983] omap_gpio_request,offset=8
    [ 0.462846] evm_5v0: supplied by main_12v0
    [ 0.463261] com_3v6: supplied by evm_5v0
    [ 0.463781] omap_gpio_request,offset=11
    [ 0.466134] omap-iommu 40d01000.mmu: 40d01000.mmu registered
    [ 0.466329] omap-iommu 40d02000.mmu: 40d02000.mmu registered
    [ 0.466563] omap-iommu 58882000.mmu: 58882000.mmu registered
    [ 0.466797] omap-iommu 55082000.mmu: 55082000.mmu registered
    [ 0.467142] omap-iommu 41501000.mmu: 41501000.mmu registered
    [ 0.467347] omap-iommu 41502000.mmu: 41502000.mmu registered
    [ 0.467591] iommu: Adding device 58820000.ipu to group 1
    [ 0.467669] iommu: Adding device 55020000.ipu to group 2
    [ 0.467813] iommu: Adding device 40800000.dsp to group 0
    [ 0.468049] iommu: Adding device 41000000.dsp to group 3
    [ 0.470112] omap_i2c 48060000.i2c: bus 2 rev0.12 at 400 kHz
    [ 0.470646] omap_i2c 4807c000.i2c: bus 4 rev0.12 at 400 kHz
    [ 0.470809] media: Linux media interface: v0.10
    [ 0.470844] Linux video capture interface: v2.00
    [ 0.470922] pps_core: LinuxPPS API ver. 1 registered
    [ 0.470930] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [ 0.470949] PTP clock support registered
    [ 0.470979] EDAC MC: Ver: 3.0.0
    [ 0.471221] dmi: Firmware registration failed.
    [ 0.471592] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
    [ 0.471864] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
    [ 0.472149] Advanced Linux Sound Architecture Driver Initialized.
    [ 0.472827] clocksource: Switched to clocksource arch_sys_counter
    [ 0.480371] NET: Registered protocol family 2
    [ 0.480927] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [ 0.480991] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    [ 0.481117] TCP: Hash tables configured (established 8192 bind 8192)
    [ 0.481186] UDP hash table entries: 512 (order: 2, 16384 bytes)
    [ 0.481219] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    [ 0.481340] NET: Registered protocol family 1
    [ 0.481671] RPC: Registered named UNIX socket transport module.
    [ 0.481681] RPC: Registered udp transport module.
    [ 0.481689] RPC: Registered tcp transport module.
    [ 0.481696] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.482581] hw perfevents: no interrupt-affinity property for /pmu, guessing.
    [ 0.482751] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [ 0.483779] workingset: timestamp_bits=14 max_order=19 bucket_order=5
    [ 0.487751] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [ 0.488231] NFS: Registering the id_resolver key type
    [ 0.488253] Key type id_resolver registered
    [ 0.488262] Key type id_legacy registered
    [ 0.488297] ntfs: driver 2.1.32 [Flags: R/O].
    [ 0.489532] bounce: pool size: 64 pages
    [ 0.489574] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [ 0.489584] io scheduler noop registered
    [ 0.489593] io scheduler deadline registered
    [ 0.489740] io scheduler cfq registered (default)
    [ 0.489750] io scheduler mq-deadline registered
    [ 0.489758] io scheduler kyber registered
    [ 0.494478] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
    [ 0.497561] dra7-pcie 51000000.pcie: Linked as a consumer to phy-4a094000.pciephy.1
    [ 0.497784] omap_gpio_request,offset=8
    [ 0.497931] OF: PCI: host bridge /ocp/axi@0/pcie@51000000 ranges:
    [ 0.497966] OF: PCI: IO 0x20003000..0x20012fff -> 0x00000000
    [ 0.497988] OF: PCI: MEM 0x20013000..0x2fffffff -> 0x20013000
    [ 1.498914] dra7-pcie 51000000.pcie: phy link never came up
    [ 1.499037] dra7-pcie 51000000.pcie: PCI host bridge to bus 0000:00
    [ 1.499051] pci_bus 0000:00: root bus resource [bus 00-ff]
    [ 1.499062] pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
    [ 1.499073] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff]
    [ 1.499383] PCI: bus0: Fast back to back transfers disabled
    [ 1.499474] PCI: bus1: Fast back to back transfers enabled
    [ 1.499511] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff 64bit]
    [ 1.499530] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
    [ 1.499801] pcieport 0000:00:00.0: Signaling PME with IRQ 165
    [ 1.499930] pcieport 0000:00:00.0: AER enabled with IRQ 165
    [ 1.500713] pwm-backlight backlight: backlight supply power not found, using dummy regulator
    [ 1.543961] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [ 1.546448] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 45, base_baud = 3000000) is a 8250
    [ 2.803655] console [ttyS2] enabled
    [ 2.807898] 48422000.serial: ttyS7 at MMIO 0x48422000 (irq = 46, base_baud = 3000000) is a 8250
    [ 2.818426] omap_rng 48090000.rng: Random Number Generator ver. 20
    [ 2.826048] omapdss_dss 58000000.dss: master bind failed: -517
    [ 2.832641] tpd12s015 encoder: failed to find video source
    [ 2.838848] connector-hdmi connector: failed to find video source
    [ 2.845132] omap_gpio_request,offset=5
    [ 2.848967] panel-dpi display: display supply vcc not found, using dummy regulator
    [ 2.856715] panel-dpi display: failed to find video source
    [ 2.869880] brd: module loaded
    [ 2.878247] loop: module loaded
    [ 2.884181] libphy: Fixed MDIO Bus: probed
    [ 2.942852] davinci_mdio 48485000.mdio: davinci mdio revision 1.6, bus freq 1000000
    [ 2.950548] libphy: 48485000.mdio: probed
    [ 2.958465] davinci_mdio: probe of 48485000.mdio failed with error -5
    [ 2.965461] cpsw 48484000.ethernet: Detected MACID = 7c:38:66:95:6e:fa
    [ 2.972070] cpsw 48484000.ethernet: initialized cpsw ale version 1.4
    [ 2.978475] cpsw 48484000.ethernet: ALE Table size 1024
    [ 2.983808] cpsw 48484000.ethernet: cpts: overflow check period 500 (jiffies)
    [ 2.991664] cpsw 48484000.ethernet: cpsw: Detected MACID = 7c:38:66:95:6e:fb
    [ 2.999877] i2c /dev entries driver
    [ 3.004150] IR NEC protocol handler initialized
    [ 3.008702] IR RC5(x/sz) protocol handler initialized
    [ 3.013799] IR RC6 protocol handler initialized
    [ 3.018348] IR JVC protocol handler initialized
    [ 3.022935] IR Sony protocol handler initialized
    [ 3.027573] IR SANYO protocol handler initialized
    [ 3.032297] IR Sharp protocol handler initialized
    [ 3.037039] IR MCE Keyboard/mouse protocol handler initialized
    [ 3.042929] IR XMP protocol handler initialized
    [ 3.051508] sdhci: Secure Digital Host Controller Interface driver
    [ 3.057740] sdhci: Copyright(c) Pierre Ossman
    [ 3.062616] sdhci-pltfm: SDHCI platform and OF driver helper,sdhci_pltfm_drv_init,259
    [ 3.071371] sdhci-omap 4809c000.mmc: [CCTV]sdhci_omap_probe
    [ 3.076997] sdhci-omap 4809c000.mmc: sdhci_pltfm_init[CCTV]
    [ 3.082649] [CCTV] mmc_alloc_host call dev_set_name ,mmc0
    [ 3.088098] mmc_gpio_alloc,ctx->cd_label 4809c000.mmc cd,parent dev name 4809c000.mmc
    [ 3.095978]
    [ 3.095978] mmc_gpio_alloc DONE!!!!!,399
    [ 3.101435] con_id=cd,idx=0,flags=100,call of_find_gpio
    [ 3.106706] prop_name=cd-gpios
    [ 3.109827] omap_gpio_request,offset=27
    [ 3.113680] bank->base=fa05d000,chip->of_node->name=(null)
    [ 3.119189] idx=0, vbase=fce10000,pbase=4ae10000
    [ 3.123823] idx=1, vbase=fa055000,pbase=48055000
    [ 3.128458] idx=2, vbase=fa057000,pbase=48057000
    [ 3.133095] idx=3, vbase=fa059000,pbase=48059000
    [ 3.137730] idx=4, vbase=fa05b000,pbase=4805b000
    [ 3.142363] idx=5, vbase=fa05d000,pbase=4805d000
    [ 3.146997] idx=6, vbase=fa051000,pbase=48051000
    [ 3.151631] idx=7, vbase=fa053000,pbase=48053000
    [ 3.156326] [CCTV] mmc_of_parse mmc_gpiod_request_cd ,mmc0,ret=0
    [ 3.162362] sdhci-omap 4809c000.mmc: Got CD GPIO
    [ 3.167067] [CCTV] mmc_of_parse mmc_gpiod_request_ro ,mmc0,ret=-2
    [ 3.173368] sdhci-omap 4809c000.mmc: failed to set system capabilities
    [ 3.180435] omap_gpio_request,offset=9
    [ 3.184363] omap_gpio_request,offset=8
    [ 3.188229] omap_gpio_request,offset=14
    [ 3.192179] omap_gpio_request,offset=15
    [ 3.196495] ledtrig-cpu: registered to indicate activity on CPUs
    [ 3.206355] NET: Registered protocol family 10
    [ 3.211693] Segment Routing with IPv6
    [ 3.215461] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [ 3.221828] NET: Registered protocol family 17
    [ 3.226503] Key type dns_resolver registered
    [ 3.230864] omap_voltage_late_init: Voltage driver support not added
    [ 3.237266] Power Management for TI OMAP4+ devices.
    [ 3.242380] Registering SWP/SWPB emulation handler
    [ 3.259294] dmm 4e000000.dmm: workaround for errata i878 in use
    [ 3.266916] dmm 4e000000.dmm: initialized all PAT entries
    [ 3.273715] omapdss_dss 58000000.dss: master bind failed: -517
    [ 3.279848] tpd12s015 encoder: failed to find video source
    [ 3.285698] connector-hdmi connector: failed to find video source
    [ 3.292128] omap_gpio_request,offset=5
    [ 3.295979] panel-dpi display: display supply vcc not found, using dummy regulator
    [ 3.303719] panel-dpi display: failed to find video source
    [ 3.310448] sdhci-omap 4809c000.mmc: [CCTV]sdhci_omap_probe
    [ 3.316075] sdhci-omap 4809c000.mmc: sdhci_pltfm_init[CCTV]
    [ 3.321729] [CCTV] mmc_alloc_host call dev_set_name ,mmc0
    [ 3.327175] mmc_gpio_alloc,ctx->cd_label 4809c000.mmc cd,parent dev name 4809c000.mmc
    [ 3.335062]
    [ 3.335062] mmc_gpio_alloc DONE!!!!!,399
    [ 3.340520] con_id=cd,idx=0,flags=100,call of_find_gpio
    [ 3.345794] prop_name=cd-gpios
    [ 3.348919] omap_gpio_request,offset=27
    [ 3.352772] bank->base=fa05d000,chip->of_node->name=(null)
    [ 3.358281] idx=0, vbase=fce10000,pbase=4ae10000
    [ 3.362916] idx=1, vbase=fa055000,pbase=48055000
    [ 3.367551] idx=2, vbase=fa057000,pbase=48057000
    [ 3.372186] idx=3, vbase=fa059000,pbase=48059000
    [ 3.376823] idx=4, vbase=fa05b000,pbase=4805b000
    [ 3.381457] idx=5, vbase=fa05d000,pbase=4805d000
    [ 3.386090] idx=6, vbase=fa051000,pbase=48051000
    [ 3.390726] idx=7, vbase=fa053000,pbase=48053000
    [ 3.395393] [CCTV] mmc_of_parse mmc_gpiod_request_cd ,mmc0,ret=0
    [ 3.401428] sdhci-omap 4809c000.mmc: Got CD GPIO
    [ 3.406131] [CCTV] mmc_of_parse mmc_gpiod_request_ro ,mmc0,ret=-2
    [ 3.412431] sdhci-omap 4809c000.mmc: failed to set system capabilities
    [ 3.419626] omap_gpio_request,offset=20
    [ 3.423631] omap_gpio_request,offset=24
    [ 3.427594] omap_gpio_request,offset=28
    [ 3.431549] omap_gpio_request,offset=25
    [ 3.435560] omap_gpio_request,offset=23
    [ 3.439612] input: gpio_keys as /devices/platform/gpio_keys/input/input0
    [ 3.447432] omapdss_dss 58000000.dss: master bind failed: -517
    [ 3.453616] hctosys: unable to open rtc device (rtc0)
    [ 3.453639] tpd12s015 encoder: failed to find video source
    [ 3.453956] connector-hdmi connector: failed to find video source
    [ 3.454294] omap_gpio_request,offset=5
    [ 3.454353] panel-dpi display: display supply vcc not found, using dummy regulator
    [ 3.454466] panel-dpi display: failed to find video source
    [ 3.455700] sdhci-omap 4809c000.mmc: [CCTV]sdhci_omap_probe
    [ 3.455707] sdhci-omap 4809c000.mmc: sdhci_pltfm_init[CCTV]
    [ 3.455768] [CCTV] mmc_alloc_host call dev_set_name ,mmc0
    [ 3.455778] mmc_gpio_alloc,ctx->cd_label 4809c000.mmc cd,parent dev name 4809c000.mmc
    [ 3.455781]
    [ 3.455781] mmc_gpio_alloc DONE!!!!!,399
    [ 3.455816] con_id=cd,idx=0,flags=100,call of_find_gpio
    [ 3.455826] prop_name=cd-gpios
    [ 3.455880] omap_gpio_request,offset=27
    [ 3.455884] bank->base=fa05d000,chip->of_node->name=(null)
    [ 3.455888] idx=0, vbase=fce10000,pbase=4ae10000
    [ 3.455893] idx=1, vbase=fa055000,pbase=48055000
    [ 3.455896] idx=2, vbase=fa057000,pbase=48057000
    [ 3.455900] idx=3, vbase=fa059000,pbase=48059000
    [ 3.455903] idx=4, vbase=fa05b000,pbase=4805b000
    [ 3.455906] idx=5, vbase=fa05d000,pbase=4805d000
    [ 3.455909] idx=6, vbase=fa051000,pbase=48051000
    [ 3.455913] idx=7, vbase=fa053000,pbase=48053000
    [ 3.455921] [CCTV] mmc_of_parse mmc_gpiod_request_cd ,mmc0,ret=0
    [ 3.455927] sdhci-omap 4809c000.mmc: Got CD GPIO
    [ 3.455971] [CCTV] mmc_of_parse mmc_gpiod_request_ro ,mmc0,ret=-2
    [ 3.456141] sdhci-omap 4809c000.mmc: failed to set system capabilities
    [ 3.596027] vmmcwl_fixed: disabling
    [ 3.599536] vdd_3v3: disabling
    [ 3.602604] aic_dvdd_fixed: disabling
    [ 3.606298] pbias_mmc_omap5: disabling
    [ 3.610070] ALSA device list:
    [ 3.613065] No soundcards found.
    [ 3.617210] Waiting for root device PARTUUID=621419fc-02...
  • How to skip voltage select in the Linux since there have no vqmmc support??sdhci-omap 4809c000.mmc: failed to set system capabilities
  • Could you try to comment the following source code segment:

    	ret = sdhci_omap_set_capabilities(omap_host);
    	if (ret) {
    		dev_err(dev, "failed to set system capabilities\n");
    		goto err_put_sync;
    	}
    

    in ..kernel/drivers/mmc/host/sdhci-omap.c file.

    BR

    Tsvetolin Shulev

  • Hi,
    If I commen out "sdhci_omap_set_capabilities" call the linux system will crash, because the vqmmc point is NULL.sdhci_omap_set_capabilities set vqmmc to some value.