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: MMC1 usage for WiFi

Part Number: AM5728
Other Parts Discussed in Thread: DRA752, PCA9555, TMP112, TLV320AIC3106, BEAGLEBOARD-X15, PMP

Tool/software: Linux

Hi TI team,

Can we use "MMC1" to connect to SDIO WiFi (like WL18xx )?
If yes, Is there any limitation in using MMC1 with SDIO WiFi?

From Will Hsu

  • Hi,

    SDIO is supported on all 4 MMC interfaces, but MMC3 and MMC4 have timings optimized for SDIO, while MMC1 has timings optimized for SD.
  • Hi Biser

    Our WiFi module uses the SDIO3.0 standard, and connect to MMC1.

    However, during the system startup, the following information is printed:

    mmc0: error -16 whilst initialising SDIO card

     

    The following is the device tree configuration of MMC1:

    &mmc1 {
    status = "okay";
    vmmc-supply = <&ldo1_reg>;
    bus-width = <4>;
    pinctrl-names = "default";
    keep-power-in-suspend;
    ti,non-removable;
    /delete-property/ ti,dual-volt;
    pinctrl-names = "default", "hs", "sdr12", "sdr25", "sdr50";

    /delete-property/ sd-uhs-sdr104;
    /delete-property/ sd-uhs-sdr50;
    /delete-property/ sd-uhs-ddr50;
    /delete-property/ sd-uhs-sdr25;
    /delete-property/ sd-uhs-sdr12;
    };

    could you please help check where is wrong? thanks!

  • I have notified the software team. They will respond here.
  • Hello,

    Try reducing the mmc  frequency by adding a property in DT node 'max-frequency' try with lower first 1Mhz. And once it initializes correctly try increasing the frequency until SDIO fails to initialize. For example your DT node should look as below:

    &mmc1 {

    status = "okay";

    vmmc-supply = <&ldo1_reg>;

    bus-width = <4>;

    pinctrl-names = "default";

    keep-power-in-suspend;

    ti,non-removable;

    /delete-property/ ti,dual-volt;

    pinctrl-names = "default", "hs", "sdr12", "sdr25", "sdr50";

    max-frequency=<1000000>;

    /delete-property/ sd-uhs-sdr104;

    /delete-property/ sd-uhs-sdr50;

    /delete-property/ sd-uhs-ddr50;

    /delete-property/ sd-uhs-sdr25;

    /delete-property/ sd-uhs-sdr12;

    };

    Cheers,

    --Prabhakar Lad

  • Hi Prabhakar:

    When I increased to 4MHz, it initializes fail. So I set 'max-frequency' 3MHz. But our Wifi still can't work normally. Whether this frequency is too low to make Wifi work normally?

  • Hello,

    You mean your SDIO initializes successfully when you set frequency to 3Mhz ? Wifi should work still normally @3Mhz the only thing will be the max speed would be limited to 3*4 = 12Mbps.
    I have even got it working normally at 1Mhz clock, but the speed was limited to 4Mbps only.

    Cheers,
    --Prabhakar Lad
  • Hi Prabhakar:

    When I insmod Wifi module, the following information is printed:

    wlan_sdio: probe of mmc0:0001:1 failed with error -16

    But the mmc0 device has been generated in /sys/class/mmc_host/mmc0/ .

    Do you have any suggestions for debugging?

  • Hello,

    Can you post your dmesg output and also the DT node. If you can attach your schematic that would be good as well.

    Cheers,
    --Prabhakar Lad
  • &mmc1 {
    status = "okay";
    vmmc-supply = <&ldo1_reg>;
    bus-width = <4>;
    pinctrl-names = "default";
    keep-power-in-suspend;
    ti,non-removable;
    /delete-property/ ti,dual-volt;
    cap-power-off-card;
    pinctrl-names = "default", "hs", "sdr12", "sdr25", "sdr50";
    max-frequency = <3000000>;

    /delete-property/ sd-uhs-sdr104;
    /delete-property/ sd-uhs-sdr50;
    /delete-property/ sd-uhs-ddr50;
    /delete-property/ sd-uhs-sdr25;
    /delete-property/ sd-uhs-sdr12;
    };

    root@am57xx-evm:~# depmod
    root@am57xx-evm:~# modprobe cfg80211
    root@am57xx-evm:~# cd 7510_for_M2/
    root@am57xx-evm:~/7510_for_M2# insmod mlan.ko
    root@am57xx-evm:~/7510_for_M2# insmod sd8xxx.ko drv_mode=1 fw_name=./FwImage/sd8897_uapsta.bin
    [ 77.239472] wlan: Loading MWLAN driver
    [ 77.753436] wlan_sdio: probe of mmc0:0001:1 failed with error -16
    [ 77.759624] wlan: Driver loaded successfully
    root@am57xx-evm:~/7510_for_M2# dmesg
    [ 0.000000] Booting Linux on physical CPU 0x0
    [ 0.000000] Initializing cgroup subsys cpuset
    [ 0.000000] Initializing cgroup subsys cpu
    [ 0.000000] Initializing cgroup subsys cpuacct
    [ 0.000000] Linux version 4.4.19-gdb0b54cdad (root@AplusTC_ECG) (gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #78 SMP PREEMPT Thu Jul 6 20:38:50 CST 2017
    [ 0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d
    [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [ 0.000000] Machine model: TI AM5728 ROM7510
    [ 0.000000] Reserved memory: created CMA memory pool at 0x0000000095800000, size 56 MiB
    [ 0.000000] Reserved memory: initialized node ipu2_cma@95800000, compatible id shared-dma-pool
    [ 0.000000] Reserved memory: created CMA memory pool at 0x0000000099000000, size 64 MiB
    [ 0.000000] Reserved memory: initialized node dsp1_cma@99000000, compatible id shared-dma-pool
    [ 0.000000] Reserved memory: created CMA memory pool at 0x000000009d000000, size 32 MiB
    [ 0.000000] Reserved memory: initialized node ipu1_cma@9d000000, compatible id shared-dma-pool
    [ 0.000000] Reserved memory: created CMA memory pool at 0x000000009f000000, size 8 MiB
    [ 0.000000] Reserved memory: initialized node dsp2_cma@9f000000, compatible id shared-dma-pool
    [ 0.000000] cma: Reserved 24 MiB at 0x00000000fd400000
    [ 0.000000] Forcing write-allocate cache policy for SMP
    [ 0.000000] Memory policy: Data cache writealloc
    [ 0.000000] OMAP4: Map 0x00000000fed00000 to fe600000 for dram barrier
    [ 0.000000] On node 0 totalpages: 339200
    [ 0.000000] free_area_init_node: node 0, pgdat c0930ec0, node_mem_map eedc6000
    [ 0.000000] DMA zone: 1728 pages used for memmap
    [ 0.000000] DMA zone: 0 pages reserved
    [ 0.000000] DMA zone: 147456 pages, LIFO batch:31
    [ 0.000000] HighMem zone: 191744 pages, LIFO batch:31
    [ 0.000000] DRA752 ES2.0
    [ 0.000000] PERCPU: Embedded 11 pages/cpu @eed55000 s14848 r8192 d22016 u45056
    [ 0.000000] pcpu-alloc: s14848 r8192 d22016 u45056 alloc=11*4096
    [ 0.000000] pcpu-alloc: [0] 0 [0] 1
    [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 337472
    [ 0.000000] Kernel command line: console=ttyS2,115200n8 root=PARTUUID=850dd389-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: 1145024K/1356800K available (6475K kernel code, 299K rwdata, 2280K rodata, 328K init, 289K bss, 23360K reserved, 188416K cma-reserved, 742400K highmem)
    [ 0.000000] Virtual kernel memory layout:
    vector : 0xffff0000 - 0xffff1000 ( 4 kB)
    fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
    vmalloc : 0xf0800000 - 0xff800000 ( 240 MB)
    lowmem : 0xc0000000 - 0xf0000000 ( 768 MB)
    pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
    modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
    .text : 0xc0008000 - 0xc089509c (8757 kB)
    .init : 0xc0896000 - 0xc08e8000 ( 328 kB)
    .data : 0xc08e8000 - 0xc0932e50 ( 300 kB)
    .bss : 0xc0934000 - 0xc097c500 ( 290 kB)
    [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [ 0.000000] Preemptible hierarchical RCU implementation.
    [ 0.000000] Build-time adjustment of leaf fanout to 32.
    [ 0.000000] NR_IRQS:16 nr_irqs:16 16
    [ 0.000000] OMAP clockevent source: timer1 at 32786 Hz
    [ 0.000000] Architected cp15 timer(s) running at 6.14MHz (virt).
    [ 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.000016] Switching to timer-based delay loop, resolution 162ns
    [ 0.000326] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [ 0.000334] OMAP clocksource: 32k_counter at 32768 Hz
    [ 0.000736] Console: colour dummy device 80x30
    [ 0.000758] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
    [ 0.000771] pid_max: default: 32768 minimum: 301
    [ 0.000864] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.000874] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.001413] Initializing cgroup subsys io
    [ 0.001431] Initializing cgroup subsys memory
    [ 0.001455] Initializing cgroup subsys devices
    [ 0.001467] Initializing cgroup subsys freezer
    [ 0.001478] Initializing cgroup subsys perf_event
    [ 0.001488] Initializing cgroup subsys pids
    [ 0.001512] CPU: Testing write buffer coherency: ok
    [ 0.001712] /cpus/cpu@0 missing clock-frequency property
    [ 0.001727] /cpus/cpu@1 missing clock-frequency property
    [ 0.001737] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [ 0.001768] Setting up static identity map for 0x800082c0 - 0x80008318
    [ 0.080095] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [ 0.080156] Brought up 2 CPUs
    [ 0.080169] SMP: Total of 2 processors activated (24.59 BogoMIPS).
    [ 0.080175] CPU: All CPU(s) started in SVC mode.
    [ 0.080547] devtmpfs: initialized
    [ 0.108085] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [ 0.109022] omap_hwmod: l3_main_2 using broken dt data from ocp
    [ 0.218066] omap_hwmod: dcan2: _wait_target_disable failed
    [ 0.312045] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [ 0.315977] pinctrl core: initialized pinctrl subsystem
    [ 0.316813] NET: Registered protocol family 16
    [ 0.317717] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [ 0.340240] cpuidle: using governor ladder
    [ 0.370265] cpuidle: using governor menu
    [ 0.378921] gpiochip_add: registered GPIOs 0 to 31 on device: gpio
    [ 0.379458] OMAP GPIO hardware version 0.1
    [ 0.380143] gpiochip_add: registered GPIOs 32 to 63 on device: gpio
    [ 0.381083] gpiochip_add: registered GPIOs 64 to 95 on device: gpio
    [ 0.381953] gpiochip_add: registered GPIOs 96 to 127 on device: gpio
    [ 0.382812] gpiochip_add: registered GPIOs 128 to 159 on device: gpio
    [ 0.383676] gpiochip_add: registered GPIOs 160 to 191 on device: gpio
    [ 0.384526] gpiochip_add: registered GPIOs 192 to 223 on device: gpio
    [ 0.385380] gpiochip_add: registered GPIOs 224 to 255 on device: gpio
    [ 0.385984] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 !
    [ 0.412692] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [ 0.412703] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [ 0.413146] omap4_sram_init:Unable to allocate sram needed to handle errata I688
    [ 0.413154] omap4_sram_init:Unable to get sram pool needed to handle errata I688
    [ 0.413734] OMAP DMA hardware revision 0.0
    [ 0.444574] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver
    [ 0.445726] edma 43300000.edma: memcpy is disabled
    [ 0.450595] edma 43300000.edma: TI EDMA DMA engine driver
    [ 0.451011] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator-vdd_3v3[0]'
    [ 0.451223] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator-aic_dvdd[0]'
    [ 0.451461] of_get_named_gpiod_flags: parsed 'gpio' property of node '/fixedregulator-vtt[0]' - status (0)
    [ 0.454368] omap-iommu 40d01000.mmu: 40d01000.mmu registered
    [ 0.454553] omap-iommu 40d02000.mmu: 40d02000.mmu registered
    [ 0.454707] omap-iommu 58882000.mmu: 58882000.mmu registered
    [ 0.454857] omap-iommu 55082000.mmu: 55082000.mmu registered
    [ 0.455140] omap-iommu 41501000.mmu: 41501000.mmu registered
    [ 0.455317] omap-iommu 41502000.mmu: 41502000.mmu registered
    [ 0.458170] palmas 0-0058: Irq flag is 0x00000008
    [ 0.472487] palmas 0-0058: Muxing GPIO ff, PWM 0, LED 0
    [ 0.551763] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
    [ 0.552389] omap_i2c 48060000.i2c: bus 2 rev0.12 at 100 kHz
    [ 0.552749] omap_i2c 4807a000.i2c: bus 3 rev0.12 at 100 kHz
    [ 0.553214] omap_i2c 4807c000.i2c: bus 4 rev0.12 at 100 kHz
    [ 0.553424] media: Linux media interface: v0.10
    [ 0.553476] Linux video capture interface: v2.00
    [ 0.553517] pps_core: LinuxPPS API ver. 1 registered
    [ 0.553524] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [ 0.553551] PTP clock support registered
    [ 0.553597] EDAC MC: Ver: 3.0.0
    [ 0.554352] omap-mailbox 4883c000.mailbox: omap mailbox rev 0x400
    [ 0.554645] omap-mailbox 4883e000.mailbox: omap mailbox rev 0x400
    [ 0.554933] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
    [ 0.555213] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
    [ 0.555535] Advanced Linux Sound Architecture Driver Initialized.
    [ 0.556335] clocksource: Switched to clocksource arch_sys_counter
    [ 0.566948] NET: Registered protocol family 2
    [ 0.567445] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [ 0.567509] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    [ 0.567633] TCP: Hash tables configured (established 8192 bind 8192)
    [ 0.567682] UDP hash table entries: 512 (order: 2, 16384 bytes)
    [ 0.567713] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    [ 0.567853] NET: Registered protocol family 1
    [ 0.568092] RPC: Registered named UNIX socket transport module.
    [ 0.568101] RPC: Registered udp transport module.
    [ 0.568107] RPC: Registered tcp transport module.
    [ 0.568114] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.568129] PCI: CLS 0 bytes, default 64
    [ 0.569141] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [ 0.571502] futex hash table entries: 512 (order: 3, 32768 bytes)
    [ 0.579311] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [ 0.579929] NFS: Registering the id_resolver key type
    [ 0.579955] Key type id_resolver registered
    [ 0.579962] Key type id_legacy registered
    [ 0.580016] ntfs: driver 2.1.32 [Flags: R/O].
    [ 0.581502] bounce: pool size: 64 pages
    [ 0.581645] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
    [ 0.581659] io scheduler noop registered
    [ 0.581671] io scheduler deadline registered
    [ 0.581702] io scheduler cfq registered (default)
    [ 0.587231] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
    [ 0.591115] dra7-pcie 51000000.pcie: GPIO lookup for consumer (null)
    [ 0.591126] dra7-pcie 51000000.pcie: using device tree for GPIO lookup
    [ 0.591138] of_get_named_gpiod_flags: can't parse 'gpios' property of node '/ocp/axi@0/pcie@51000000[0]'
    [ 0.591147] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/ocp/axi@0/pcie@51000000[0]'
    [ 0.591156] dra7-pcie 51000000.pcie: using lookup tables for GPIO lookup
    [ 0.591165] dra7-pcie 51000000.pcie: lookup for GPIO (null) failed
    [ 0.591265] PCI host bridge /ocp/axi@0/pcie@51000000 ranges:
    [ 0.591276] No bus range found for /ocp/axi@0/pcie@51000000, using [bus 00-ff]
    [ 0.591308] IO 0x20003000..0x20012fff -> 0x00000000
    [ 0.591328] MEM 0x20013000..0x2fffffff -> 0x20013000
    [ 0.621620] dra7-pcie 51000000.pcie: link is not up
    [ 0.621799] dra7-pcie 51000000.pcie: PCI host bridge to bus 0000:00
    [ 0.621813] pci_bus 0000:00: root bus resource [bus 00-ff]
    [ 0.621823] pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
    [ 0.621832] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff]
    [ 0.621865] pci 0000:00:00.0: [104c:8888] type 01 class 0x060400
    [ 0.621909] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
    [ 0.621931] pci 0000:00:00.0: reg 0x14: [mem 0x00000000-0x0000ffff]
    [ 0.621996] pci 0000:00:00.0: supports D1
    [ 0.622005] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
    [ 0.622234] PCI: bus0: Fast back to back transfers disabled
    [ 0.622353] PCI: bus1: Fast back to back transfers enabled
    [ 0.622403] irq: no irq domain found for /ocp/axi@0/pcie@51000000/interrupt-controller !
    [ 0.622438] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff]
    [ 0.622452] pci 0000:00:00.0: BAR 1: assigned [mem 0x20020000-0x2002ffff]
    [ 0.622464] pci 0000:00:00.0: PCI bridge to [bus 01]
    [ 0.622679] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
    [ 0.622692] pcie_pme 0000:00:00.0:pcie01: service driver pcie_pme loaded
    [ 0.622821] aer 0000:00:00.0:pcie02: service driver aer loaded
    [ 0.623098] dra7-pcie 51800000.pcie: GPIO lookup for consumer (null)
    [ 0.623109] dra7-pcie 51800000.pcie: using device tree for GPIO lookup
    [ 0.623119] of_get_named_gpiod_flags: can't parse 'gpios' property of node '/ocp/axi@1/pcie@51800000[0]'
    [ 0.623128] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/ocp/axi@1/pcie@51800000[0]'
    [ 0.623137] dra7-pcie 51800000.pcie: using lookup tables for GPIO lookup
    [ 0.623145] dra7-pcie 51800000.pcie: lookup for GPIO (null) failed
    [ 0.623235] PCI host bridge /ocp/axi@1/pcie@51800000 ranges:
    [ 0.623244] No bus range found for /ocp/axi@1/pcie@51800000, using [bus 00-ff]
    [ 0.623276] IO 0x30003000..0x30012fff -> 0x00000000
    [ 0.623296] MEM 0x30013000..0x3fffffff -> 0x30013000
    [ 0.655184] dra7-pcie 51800000.pcie: link is not up
    [ 0.655348] dra7-pcie 51800000.pcie: PCI host bridge to bus 0001:00
    [ 0.655360] pci_bus 0001:00: root bus resource [bus 00-ff]
    [ 0.655372] pci_bus 0001:00: root bus resource [io 0x10000-0x1ffff] (bus address [0x0000-0xffff])
    [ 0.655381] pci_bus 0001:00: root bus resource [mem 0x30013000-0x3fffffff]
    [ 0.655411] pci 0001:00:00.0: [104c:8888] type 01 class 0x060400
    [ 0.655451] pci 0001:00:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
    [ 0.655473] pci 0001:00:00.0: reg 0x14: [mem 0x00000000-0x0000ffff]
    [ 0.655534] pci 0001:00:00.0: supports D1
    [ 0.655544] pci 0001:00:00.0: PME# supported from D0 D1 D3hot
    [ 0.655770] PCI: bus0: Fast back to back transfers disabled
    [ 0.655888] PCI: bus1: Fast back to back transfers enabled
    [ 0.655934] irq: no irq domain found for /ocp/axi@0/pcie@51000000/interrupt-controller !
    [ 0.655968] irq: no irq domain found for /ocp/axi@1/pcie@51800000/interrupt-controller !
    [ 0.655993] pci 0001:00:00.0: BAR 0: assigned [mem 0x30100000-0x301fffff]
    [ 0.656007] pci 0001:00:00.0: BAR 1: assigned [mem 0x30020000-0x3002ffff]
    [ 0.656018] pci 0001:00:00.0: PCI bridge to [bus 01]
    [ 0.656227] pcieport 0001:00:00.0: Signaling PME through PCIe PME interrupt
    [ 0.656240] pcie_pme 0001:00:00.0:pcie01: service driver pcie_pme loaded
    [ 0.656386] aer 0001:00:00.0:pcie02: service driver aer loaded
    [ 0.657538] pwm-backlight backlight: GPIO lookup for consumer enable
    [ 0.657548] pwm-backlight backlight: using device tree for GPIO lookup
    [ 0.657558] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/backlight[0]'
    [ 0.657567] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/backlight[0]'
    [ 0.657575] pwm-backlight backlight: using lookup tables for GPIO lookup
    [ 0.657583] pwm-backlight backlight: lookup for GPIO enable failed
    [ 0.657613] backlight supply power not found, using dummy regulator
    [ 0.717956] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [ 0.721257] console [ttyS2] disabled
    [ 0.721309] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 303, base_baud = 3000000) is a 8250
    [ 1.780125] console [ttyS2] enabled
    [ 1.784533] 4806e000.serial: ttyS3 at MMIO 0x4806e000 (irq = 304, base_baud = 3000000) is a 8250
    [ 1.794260] 48066000.serial: ttyS4 at MMIO 0x48066000 (irq = 305, base_baud = 3000000) is a 8250
    [ 1.804375] [drm] Initialized drm 1.1.0 20060810
    [ 1.811104] OMAP DSS rev 6.1
    [ 1.814857] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops)
    [ 1.823337] omapdss_dss 58000000.dss: bound 58040000.encoder (ops hdmi5_component_ops)
    [ 1.832249] of_get_named_gpiod_flags: parsed 'hpd-gpios' property of node '/connector[0]' - status (0)
    [ 1.832543] panel-dpi display: GPIO lookup for consumer enable
    [ 1.832553] panel-dpi display: using device tree for GPIO lookup
    [ 1.832563] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/display[0]'
    [ 1.832572] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/display[0]'
    [ 1.832580] panel-dpi display: using lookup tables for GPIO lookup
    [ 1.832589] panel-dpi display: lookup for GPIO enable failed
    [ 1.832770] ch7055_init
    [ 1.841302] loop: module loaded
    [ 1.847085] spi spi1.1: not using DMA for McSPI (-19)
    [ 1.853499] m25p80 spi32766.0: found w25q32, expected w25q128
    [ 1.859300] m25p80 spi32766.0: w25q32 (4096 Kbytes)
    [ 1.866097] libphy: Fixed MDIO Bus: probed
    [ 1.870780] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.3.0-k
    [ 1.877789] igb: Copyright (c) 2007-2014 Intel Corporation.
    [ 1.926370] davinci_mdio 48485000.mdio: davinci mdio revision 1.6
    [ 1.932493] davinci_mdio 48485000.mdio: detected phy mask ffffffef
    [ 1.941028] Atheros 8035 ethernet 48485000.mdio:04: GPIO lookup for consumer reset
    [ 1.941039] Atheros 8035 ethernet 48485000.mdio:04: using lookup tables for GPIO lookup
    [ 1.941049] Atheros 8035 ethernet 48485000.mdio:04: lookup for GPIO reset failed
    [ 1.941063] libphy: 48485000.mdio: probed
    [ 1.945094] davinci_mdio 48485000.mdio: phy[4]: device 48485000.mdio:04, driver Atheros 8035 ethernet
    [ 1.955018] cpsw 48484000.ethernet: Detected MACID = 00:01:02:03:04:05
    [ 1.962428] PPP generic driver version 2.4.2
    [ 1.966931] PPP BSD Compression module registered
    [ 1.971661] PPP Deflate Compression module registered
    [ 1.976794] PPP MPPE Compression module registered
    [ 1.981616] NET: Registered protocol family 24
    [ 1.987024] mousedev: PS/2 mouse device common for all mice
    [ 2.007858] rtc-s35390a 2-0030: s35390a_get_datetime: tm is secs=25, mins=31, hours=12, mday=10, mon=4, year=117, wday=3
    [ 2.008669] rtc-s35390a 2-0030: s35390a_get_datetime: tm is secs=25, mins=31, hours=12, mday=10, mon=4, year=117, wday=3
    [ 2.009077] rtc rtc0: rtc-s35390a: dev (254:0)
    [ 2.009095] rtc-s35390a 2-0030: rtc core: registered rtc-s35390a as rtc0
    [ 2.015873] i2c /dev entries driver
    [ 2.020040] pca954x 4-0070: GPIO lookup for consumer reset
    [ 2.020050] pca954x 4-0070: using device tree for GPIO lookup
    [ 2.020060] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/i2c@4807c000/pca954x@70[0]'
    [ 2.020069] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/i2c@4807c000/pca954x@70[0]'
    [ 2.020076] pca954x 4-0070: using lookup tables for GPIO lookup
    [ 2.020084] pca954x 4-0070: lookup for GPIO reset failed
    [ 2.037441] i2c i2c-4: Added multiplexed i2c bus 5
    [ 2.042686] i2c i2c-4: Added multiplexed i2c bus 6
    [ 2.049700] gpiochip_find_base: found new base at 496
    [ 2.049805] gpiochip_add: registered GPIOs 496 to 511 on device: pca9555
    [ 2.049816] pca953x 7-0022: interrupt support not compiled in
    [ 2.055621] i2c i2c-4: Added multiplexed i2c bus 7
    [ 2.060738] i2c i2c-4: Added multiplexed i2c bus 8
    [ 2.065553] pca954x 4-0070: registered 4 multiplexed busses for I2C switch pca9545
    [ 2.074932] lm75 0-0048: hwmon0: sensor 'tmp112'
    [ 2.081645] of_get_named_gpiod_flags: parsed 'wdt-en' property of node '/ocp/i2c@48060000/adv-wdt-i2c@29[0]' - status (0)
    [ 2.081700] of_get_named_gpiod_flags: parsed 'wdt-ping' property of node '/ocp/i2c@48060000/adv-wdt-i2c@29[0]' - status (0)
    [ 2.206362] adv-wdt-i2c 2-0029: Advantech Watchdog Timer enabled. timeout=60s (nowayout=0), Ver.17
    [ 2.216356] omap_hsmmc 4809c000.mmc: GPIO lookup for consumer cd
    [ 2.216367] omap_hsmmc 4809c000.mmc: using device tree for GPIO lookup
    [ 2.216377] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/mmc@4809c000[0]'
    [ 2.216387] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp/mmc@4809c000[0]'
    [ 2.216394] omap_hsmmc 4809c000.mmc: using lookup tables for GPIO lookup
    [ 2.216403] omap_hsmmc 4809c000.mmc: lookup for GPIO cd failed
    [ 2.216413] omap_hsmmc 4809c000.mmc: GPIO lookup for consumer wp
    [ 2.216420] omap_hsmmc 4809c000.mmc: using device tree for GPIO lookup
    [ 2.216429] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@4809c000[0]'
    [ 2.216437] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@4809c000[0]'
    [ 2.216444] omap_hsmmc 4809c000.mmc: using lookup tables for GPIO lookup
    [ 2.216452] omap_hsmmc 4809c000.mmc: lookup for GPIO wp failed
    [ 2.266569] omap_hsmmc 480b4000.mmc: GPIO lookup for consumer cd
    [ 2.266579] omap_hsmmc 480b4000.mmc: using device tree for GPIO lookup
    [ 2.266590] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/mmc@480b4000[0]'
    [ 2.266599] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp/mmc@480b4000[0]'
    [ 2.266608] omap_hsmmc 480b4000.mmc: using lookup tables for GPIO lookup
    [ 2.266616] omap_hsmmc 480b4000.mmc: lookup for GPIO cd failed
    [ 2.266627] omap_hsmmc 480b4000.mmc: GPIO lookup for consumer wp
    [ 2.266634] omap_hsmmc 480b4000.mmc: using device tree for GPIO lookup
    [ 2.266642] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@480b4000[0]'
    [ 2.266650] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@480b4000[0]'
    [ 2.266657] omap_hsmmc 480b4000.mmc: using lookup tables for GPIO lookup
    [ 2.266665] omap_hsmmc 480b4000.mmc: lookup for GPIO wp failed
    [ 2.266842] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr25 mode
    [ 2.273227] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr12 mode
    [ 2.296477] vdd_3v3: supplied by regen1
    [ 2.336830] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@0[0]' - status (0)
    [ 2.336992] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@1[0]' - status (0)
    [ 2.337130] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@2[0]' - status (0)
    [ 2.337630] ledtrig-cpu: registered to indicate activity on CPUs
    [ 2.347239] of_get_named_gpiod_flags: can't parse 'gpio-reset' property of node '/ocp/i2c@4807c000/pca954x@70/i2c@1/tlv320aic3106@1b[0]'
    [ 2.347378] aic_dvdd_fixed: supplied by vdd_3v3
    [ 2.354427] NET: Registered protocol family 10
    [ 2.369655] sit: IPv6 over IPv4 tunneling driver
    [ 2.374835] NET: Registered protocol family 17
    [ 2.379575] Key type dns_resolver registered
    [ 2.383955] omap_voltage_late_init: Voltage driver support not added
    [ 2.390839] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm
    [ 2.397064] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm
    [ 2.403735] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm
    [ 2.409967] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm
    [ 2.418092] Power Management for TI OMAP4+ devices.
    [ 2.423189] Registering SWP/SWPB emulation handler
    [ 2.429839] dmm 4e000000.dmm: initialized all PAT entries
    [ 2.449125] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [ 2.455233] mmc_rescan_try_freq,mmc0 err:-110
    [ 2.458405] mmc_rescan_try_freq,mmc0 err:0
    [ 2.458766] mmc_rescan_try_freq,mmc0 err:-110
    [ 2.458768] mmc_rescan_try_freq,mmc0 attach_sdio
    [ 2.459073] mmc_attach_sdio line:1090,mmc0 err:0
    [ 2.459375] mmc_sdio_init_card line:586,mmc0 err:0
    [ 2.459678] mmc_sdio_init_card line:663,mmc0 err:0
    [ 2.459979] mmc_sdio_init_card line:693,mmc0 err:0
    [ 2.461220] mmc_sdio_init_card line:718,mmc0 err:0
    [ 2.478890] mmc_sdio_init_card line:726,mmc0 err:0
    [ 2.478893] mmc_sdio_init_card line:759,mmc0 err:0
    [ 2.479514] mmc_sdio_init_card line:775,mmc0 err:1
    [ 2.511540] [drm] No driver support for vblank timestamp query.
    [ 2.520072] [drm] Enabling DMM ywrap scrolling
    [ 2.524684] sdio_enable_4bit_bus line:302 sdio_enable_wide err:1
    [ 2.524691] mmc_sdio_init_card line:790,mmc0 err:0
    [ 2.524694] mmc_attach_sdio line:1113,mmc0 err:0
    [ 2.544771] sdio_init_func line:78,err:0
    [ 2.559977] Console: switching to colour frame buffer device 128x48
    [ 2.589469] omapdrm omapdrm.0: fb0: omapdrm frame buffer device
    [ 2.626569] [drm] Initialized omapdrm 1.0.0 20110917 on minor 0
    [ 2.643067] of_get_named_gpiod_flags: can't parse 'simple-audio-card,hp-det-gpio' property of node '/sound@0[0]'
    [ 2.643075] of_get_named_gpiod_flags: can't parse 'simple-audio-card,mic-det-gpio' property of node '/sound@0[0]'
    [ 2.643919] asoc-simple-card sound@0: tlv320aic3x-hifi <-> 48468000.mcasp mapping ok
    [ 2.653079] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_keys/powerbtn[0]' - status (0)
    [ 2.653297] input: gpio_keys as /devices/platform/gpio_keys/input/input0
    [ 2.660402] of_get_named_gpiod_flags: parsed 'gpios' property of node '/sleep_key/sleepbtn[0]' - status (0)
    [ 2.661328] rtc-s35390a 2-0030: s35390a_get_datetime: tm is secs=25, mins=31, hours=12, mday=10, mon=4, year=117, wday=3
    [ 2.661349] rtc-s35390a 2-0030: setting system clock to 2017-05-10 12:31:25 UTC (1494419485)
    [ 2.678058] aic_dvdd_fixed: disabling
    [ 2.681905] ldousb: disabling
    [ 2.685282] ALSA device list:
    [ 2.688270] #0: BeagleBoard-X15
    [ 2.692233] Waiting for root device PARTUUID=850dd389-02...
    [ 4.700706] sdio_init_func line:83,err:0
    [ 4.704642] mmc_attach_sdio line:1148,mmc0 err:0
    [ 4.728361] sdio_init_func line:78,err:0
    [ 7.554610] sdio_init_func line:83,err:0
    [ 7.558560] mmc_attach_sdio line:1148,mmc0 err:0
    [ 7.565251] sdio_init_func line:78,err:0
    [ 10.675483] sdio_init_func line:83,err:0
    [ 10.679430] mmc_attach_sdio line:1148,mmc0 err:0
    [ 10.684069] mmc0: new high speed SDIO card at address 0001
    [ 10.689691] mmc_attach_sdio line:1164,mmc0 err:0
    [ 10.695232] mmc_rescan_try_freq,mmc1 err:-110
    [ 10.702783] mmc_rescan_try_freq,mmc1 err:0
    [ 10.707265] mmc_rescan_try_freq,mmc1 err:-110
    [ 10.711636] mmc_rescan_try_freq,mmc1 attach_sdio
    [ 10.717686] mmc_attach_sdio line:1090,mmc1 err:-110
    [ 10.722584] mmc_rescan_try_freq,mmc1 attach_sd
    [ 10.728467] mmc_rescan_try_freq,mmc1 attach_mmc
    [ 10.769627] mmc1: MAN_BKOPS_EN bit is not set
    [ 10.776837] mmc1: new DDR MMC card at address 0001
    [ 10.781962] mmcblk0: mmc1:0001 Q2J55L 7.09 GiB
    [ 10.796720] mmcblk0boot0: mmc1:0001 Q2J55L partition 1 16.0 MiB
    [ 10.812833] mmcblk0boot1: mmc1:0001 Q2J55L partition 2 16.0 MiB
    [ 10.819673] mmcblk0: p1 p2
    [ 11.814623] EXT4-fs (mmcblk0p2): recovery complete
    [ 11.819737] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [ 11.827911] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [ 11.834728] devtmpfs: mounted
    [ 11.837923] Freeing unused kernel memory: 328K (c0896000 - c08e8000)
    [ 11.844302] This architecture does not have kernel memory protection.
    [ 11.950745] random: systemd: uninitialized urandom read (16 bytes read, 37 bits of entropy available)
    [ 11.962740] random: systemd: uninitialized urandom read (16 bytes read, 37 bits of entropy available)
    [ 11.974414] systemd[1]: systemd 229 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +AC L +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN)
    [ 11.992922] systemd[1]: Detected architecture arm.
    [ 12.017016] systemd[1]: Set hostname to <am57xx-evm>.
    [ 12.070583] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 38 bits of entropy available)
    [ 12.089188] random: systemd-gpt-aut: uninitialized urandom read (16 bytes read, 38 bits of entropy available)
    [ 12.096958] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 38 bits of entropy available)
    [ 12.105517] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 39 bits of entropy available)
    [ 12.119463] random: systemd-gpt-aut: uninitialized urandom read (16 bytes read, 39 bits of entropy available)
    [ 12.169835] random: systemd: uninitialized urandom read (16 bytes read, 42 bits of entropy available)
    [ 12.179366] random: systemd: uninitialized urandom read (16 bytes read, 42 bits of entropy available)
    [ 12.189341] random: systemd: uninitialized urandom read (16 bytes read, 43 bits of entropy available)
    [ 12.358330] systemd[1]: Configuration file /etc/systemd/system/multi-user.target.wants/watchdog.service is marked executable. Please remove executable per mission bits. Proceeding anyway.
    [ 12.448966] systemd[1]: basic.target: Found ordering cycle on basic.target/start
    [ 12.456423] systemd[1]: basic.target: Found dependency on sockets.target/start
    [ 12.463682] systemd[1]: basic.target: Found dependency on rpcbind.socket/start
    [ 12.470981] systemd[1]: basic.target: Found dependency on sysinit.target/start
    [ 12.478252] systemd[1]: basic.target: Found dependency on alignment.service/start
    [ 12.485769] systemd[1]: basic.target: Found dependency on basic.target/start
    [ 12.492891] systemd[1]: basic.target: Breaking ordering cycle by deleting job sockets.target/start
    [ 12.501907] systemd[1]: sockets.target: Job sockets.target/start deleted to break ordering cycle starting with basic.target/start
    [ 12.526711] systemd[1]: basic.target: Found ordering cycle on basic.target/start
    [ 12.534145] systemd[1]: basic.target: Found dependency on sysinit.target/start
    [ 12.541445] systemd[1]: basic.target: Found dependency on alignment.service/start
    [ 12.548980] systemd[1]: basic.target: Found dependency on basic.target/start
    [ 12.556062] systemd[1]: basic.target: Breaking ordering cycle by deleting job alignment.service/start
    [ 12.565344] systemd[1]: alignment.service: Job alignment.service/start deleted to break ordering cycle starting with basic.target/start
    [ 12.598849] systemd[1]: Listening on Journal Socket (/dev/log).
    [ 12.626553] systemd[1]: Reached target Swap.
    [ 12.646618] systemd[1]: Listening on udev Control Socket.
    [ 12.666551] systemd[1]: Listening on udev Kernel Socket.
    [ 12.697730] systemd[1]: Listening on Syslog Socket.
    [ 12.716548] systemd[1]: Reached target Remote File Systems.
    [ 12.736717] systemd[1]: Listening on Network Service Netlink Socket.
    [ 12.766629] systemd[1]: Listening on Journal Socket.
    [ 12.787881] systemd[1]: Created slice User and Session Slice.
    [ 12.816616] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
    [ 12.847069] systemd[1]: Created slice System Slice.
    [ 12.876541] systemd[1]: Reached target Slices.
    [ 12.936558] systemd[1]: Mounting POSIX Message Queue File System...
    [ 12.968806] systemd[1]: Starting Create list of required static device nodes for the current kernel...
    [ 12.998696] systemd[1]: Starting Journal Service...
    [ 13.027383] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [ 13.096736] systemd[1]: Starting Setup Virtual Console...
    [ 13.128871] systemd[1]: Mounting Debug File System...
    [ 13.160401] systemd[1]: Starting Load Kernel Modules...
    [ 13.174167] CMEMK module: reference Linux version 4.4.19
    [ 13.179893] systemd[1]: Starting Remount Root and Kernel File Systems...
    [ 13.181052] allocated heap buffer 0x40500000 of size 0x100000
    [ 13.181090] cmemk initialized
    [ 13.207725] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [ 13.215083] cryptodev: driver 1.8 loaded.
    [ 13.220361] systemd[1]: Created slice system-getty.slice.
    [ 13.246770] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [ 13.306558] systemd[1]: Mounting Temporary Directory...
    [ 13.326777] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [ 13.356561] systemd[1]: Reached target Paths.
    [ 13.420848] systemd[1]: Mounted Debug File System.
    [ 13.446646] systemd[1]: Mounted POSIX Message Queue File System.
    [ 13.466578] systemd[1]: Mounted Temporary Directory.
    [ 13.486774] systemd[1]: Started Journal Service.
    [ 14.122678] systemd-journald[120]: Received request to flush runtime journal from PID 1
    [ 14.469179] omap-rproc 58820000.ipu: assigned reserved memory node ipu1_cma@9d000000
    [ 14.489721] remoteproc0: 58820000.ipu is available
    [ 14.499142] remoteproc0: Note: remoteproc is still under development and considered experimental.
    [ 14.530065] remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [ 14.541529] omap-rproc 55020000.ipu: assigned reserved memory node ipu2_cma@95800000
    [ 14.553251] remoteproc1: 55020000.ipu is available
    [ 14.558920] remoteproc1: Note: remoteproc is still under development and considered experimental.
    [ 14.577800] remoteproc1: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [ 14.611461] omap-rproc 40800000.dsp: assigned reserved memory node dsp1_cma@99000000
    [ 14.631719] remoteproc2: 40800000.dsp is available
    [ 14.644430] remoteproc2: Note: remoteproc is still under development and considered experimental.
    [ 14.672163] remoteproc2: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [ 14.735150] remoteproc0: registered virtio0 (type 7)
    [ 14.744766] omap-rproc 41000000.dsp: assigned reserved memory node dsp2_cma@9f000000
    [ 14.755539] remoteproc1: registered virtio1 (type 7)
    [ 14.776001] remoteproc3: 41000000.dsp is available
    [ 14.796462] remoteproc3: Note: remoteproc is still under development and considered experimental.
    [ 14.826212] remoteproc3: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [ 14.919256] omap_rng 48090000.rng: OMAP Random Number Generator ver. 20
    [ 14.947196] omap-des 480a5000.des: OMAP DES hw accel rev: 2.2
    [ 14.953637] CAN device driver interface
    [ 15.028555] c_can_platform 48480000.can: c_can_platform device registered (regs=fa480000, irq=361)
    [ 15.158349] Bluetooth: Core ver 2.21
    [ 15.164467] NET: Registered protocol family 31
    [ 15.178412] Bluetooth: HCI device and connection manager initialized
    [ 15.189917] Bluetooth: HCI socket layer initialized
    [ 15.189941] vpe 489d0000.vpe: loading firmware vpdma-1b8.bin
    [ 15.208439] SCSI subsystem initialized
    [ 15.218099] Bluetooth: L2CAP socket layer initialized
    [ 15.226588] vpe 489d0000.vpe: Device registered as /dev/video0
    [ 15.227933] Bluetooth: SCO socket layer initialized
    [ 15.282881] omap-sham 4b101000.sham: hw accel on OMAP rev 4.3
    [ 15.328652] libata version 3.00 loaded.
    [ 15.364981] watchdog: OMAP Watchdog: cannot register miscdev on minor=130 (err=-16).
    [ 15.379605] watchdog: OMAP Watchdog: a legacy watchdog module is probably present.
    [ 15.396521] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [ 15.416828] ahci 4a140000.sata: SSS flag set, parallel bus scan disabled
    [ 15.436806] ahci 4a140000.sata: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode
    [ 15.459291] ahci 4a140000.sata: flags: 64bit ncq sntf stag pm led clo only pmp pio slum part ccc apst
    [ 15.487769] rtc-s35390a 2-0030: s35390a_set_datetime: tm is secs=38, mins=31, hours=12 mday=10, mon=4, year=117, wday=3
    [ 15.489599] rtc-s35390a 2-0030: s35390a_get_datetime: tm is secs=38, mins=31, hours=12, mday=10, mon=4, year=117, wday=3
    [ 15.506555] scsi host0: ahci
    [ 15.510171] ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a1410ff] port 0x100 irq 352
    [ 15.536995] ti-pruss 4b200000.pruss: creating PRU cores and other child platform devices
    [ 15.550576] irq: no irq domain found for /ocp/pruss@4b200000/intc@4b220000 !
    [ 15.567449] irq: no irq domain found for /ocp/pruss@4b200000/intc@4b220000 !
    [ 15.587586] omap-aes 4b500000.aes: OMAP AES hw accel rev: 3.3
    [ 15.621928] omap-aes 4b700000.aes: OMAP AES hw accel rev: 3.3
    [ 15.628484] ti-pruss 4b280000.pruss: creating PRU cores and other child platform devices
    [ 15.648902] irq: no irq domain found for /ocp/pruss@4b280000/intc@4b2a0000 !
    [ 15.678133] irq: no irq domain found for /ocp/pruss@4b280000/intc@4b2a0000 !
    [ 15.744902] [drm] Initialized pvr 1.14.3699939 20110701 on minor 1
    [ 15.761942] remoteproc2: registered virtio2 (type 7)
    [ 15.779136] remoteproc4: 4b234000.pru0 is available
    [ 15.789642] remoteproc3: registered virtio3 (type 7)
    [ 15.801487] omap-hdmi-audio omap-hdmi-audio.0.auto: snd-soc-dummy-dai <-> 58040000.encoder mapping ok
    [ 15.804421] vip 48970000.vip: loading firmware vpdma-1b8.bin
    [ 15.806054] vip 48990000.vip: loading firmware vpdma-1b8.bin
    [ 15.825915] remoteproc4: Note: remoteproc is still under development and considered experimental.
    [ 15.830150] vip 48990000.vip: VPDMA firmware loaded
    [ 15.830180] vip 48970000.vip: VPDMA firmware loaded
    [ 15.883886] remoteproc4: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [ 15.896370] ata1: SATA link down (SStatus 0 SControl 300)
    [ 15.915491] remoteproc4: registered virtio4 (type 7)
    [ 15.930043] pru-rproc 4b234000.pru0: PRU rproc node /ocp/pruss@4b200000/pru0@4b234000 probed successfully
    [ 15.961274] extcon-usb-gpio extcon_usb1: GPIO lookup for consumer id
    [ 15.961286] extcon-usb-gpio extcon_usb1: using device tree for GPIO lookup
    [ 15.961295] of_get_named_gpiod_flags: can't parse 'id-gpios' property of node '/extcon_usb1[0]'
    [ 15.961357] of_get_named_gpiod_flags: parsed 'id-gpio' property of node '/extcon_usb1[0]' - status (0)
    [ 15.968727] extcon-usb-gpio extcon_usb2: GPIO lookup for consumer id
    [ 15.968738] extcon-usb-gpio extcon_usb2: using device tree for GPIO lookup
    [ 15.968747] of_get_named_gpiod_flags: can't parse 'id-gpios' property of node '/extcon_usb2[0]'
    [ 15.968773] of_get_named_gpiod_flags: parsed 'id-gpio' property of node '/extcon_usb2[0]' - status (0)
    [ 15.969359] remoteproc5: 4b238000.pru1 is available
    [ 16.009665] remoteproc5: Note: remoteproc is still under development and considered experimental.
    [ 16.030551] NET: Registered protocol family 15
    [ 16.087306] remoteproc5: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [ 16.207419] remoteproc5: registered virtio5 (type 7)
    [ 16.212618] pru-rproc 4b238000.pru1: PRU rproc node /ocp/pruss@4b200000/pru1@4b238000 probed successfully
    [ 16.237998] remoteproc6: 4b2b4000.pru0 is available
    [ 16.263348] remoteproc6: Note: remoteproc is still under development and considered experimental.
    [ 16.302527] remoteproc6: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [ 16.350779] remoteproc6: registered virtio6 (type 7)
    [ 16.357339] pru-rproc 4b2b4000.pru0: PRU rproc node /ocp/pruss@4b280000/pru0@4b2b4000 probed successfully
    [ 16.369943] Initializing XFRM netlink socket
    [ 16.404137] remoteproc7: 4b2b8000.pru1 is available
    [ 16.410187] remoteproc7: Note: remoteproc is still under development and considered experimental.
    [ 16.483228] remoteproc7: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [ 16.517447] net eth0: initializing cpsw version 1.15 (0)
    [ 16.517932] mwifiex_sdio: probe of mmc0:0001:1 failed with error -16
    [ 16.573572] net eth0: initialized cpsw ale version 1.4
    [ 16.588152] remoteproc7: registered virtio7 (type 7)
    [ 16.593479] pru-rproc 4b2b8000.pru1: PRU rproc node /ocp/pruss@4b280000/pru1@4b2b8000 probed successfully
    [ 16.595739] net eth0: ALE Table size 1024
    [ 16.597953] libphy: PHY 48485000.mdio:01 not found
    [ 16.597958] net eth0: phy "48485000.mdio:01" not found on slave 0, err -19
    [ 16.622741] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [ 16.670031] net eth0: phy found : id is : 0x4dd072
    [ 16.739765] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [ 16.995435] random: nonblocking pool is initialized
    [ 17.696056] remoteproc0: powering up 58820000.ipu
    [ 17.743844] remoteproc0: Booting fw image dra7-ipu1-fw.xem4, size 4953116
    [ 17.804528] omap-iommu 58882000.mmu: 58882000.mmu: version 2.1
    [ 17.827318] cfg80211: World regulatory domain updated:
    [ 17.863097] cfg80211: DFS Master region: unset
    [ 17.883597] remoteproc0: remote processor 58820000.ipu is now up
    [ 17.893669] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
    [ 17.937304] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
    [ 17.948517] virtio_rpmsg_bus virtio0: rpmsg host is online
    [ 17.950159] virtio_rpmsg_bus virtio0: creating channel rpmsg-client-sample addr 0x32
    [ 17.950298] virtio_rpmsg_bus virtio0: creating channel rpmsg-client-sample addr 0x33
    [ 17.950488] virtio_rpmsg_bus virtio0: creating channel rpmsg-omx addr 0x3c
    [ 17.950598] virtio_rpmsg_bus virtio0: creating channel rpmsg-rpc addr 0x65
    [ 17.977838] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
    [ 17.977843] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
    [ 17.977847] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
    [ 17.977850] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
    [ 17.977854] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
    [ 17.977857] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
    [ 17.977860] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
    [ 18.317840] remoteproc1: powering up 55020000.ipu
    [ 18.331027] remoteproc1: Booting fw image dra7-ipu2-fw.xem4, size 3497308
    [ 18.357596] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
    [ 18.520368] remoteproc1: remote processor 55020000.ipu is now up
    [ 18.555090] virtio_rpmsg_bus virtio1: rpmsg host is online
    [ 18.560664] virtio_rpmsg_bus virtio1: creating channel rpmsg-rpc addr 0x65
    [ 18.571904] virtio_rpmsg_bus virtio1: creating channel rpmsg-rpc addr 0x66
    [ 18.600100] remoteproc2: powering up 40800000.dsp
    [ 18.631390] btmrvl_sdio: probe of mmc0:0001:2 failed with error -16
    [ 18.682453] remoteproc2: Booting fw image dra7-dsp1-fw.xe66, size 22037092
    [ 18.713970] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
    [ 18.719866] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
    [ 18.725822] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
    [ 18.781807] remoteproc2: remote processor 40800000.dsp is now up
    [ 18.809234] virtio_rpmsg_bus virtio2: rpmsg host is online
    [ 18.814770] virtio_rpmsg_bus virtio2: creating channel rpmsg-proto addr 0x3d
    [ 18.846030] remoteproc3: powering up 41000000.dsp
    [ 18.950608] remoteproc3: Booting fw image dra7-dsp2-fw.xe66, size 22037092
    [ 18.975002] omap_hwmod: mmu0_dsp2: _wait_target_disable failed
    [ 18.980902] omap-iommu 41501000.mmu: 41501000.mmu: version 3.0
    [ 18.986873] omap-iommu 41502000.mmu: 41502000.mmu: version 3.0
    [ 19.092652] remoteproc3: remote processor 41000000.dsp is now up
    [ 19.135249] virtio_rpmsg_bus virtio3: rpmsg host is online
    [ 19.141006] virtio_rpmsg_bus virtio3: creating channel rpmsg-proto addr 0x3d
    [ 19.165907] remoteproc4: powering up 4b234000.pru0
    [ 19.185228] remoteproc4: Booting fw image am57xx-pru1_0-fw, size 75804
    [ 19.210678] ti-pruss 4b200000.pruss: configured system_events = 0x0000000000030000 intr_channels = 0x00000005 host_intr = 0x00000005
    [ 19.257461] remoteproc4: remote processor 4b234000.pru0 is now up
    [ 19.273260] usbcore: registered new interface driver usbfs
    [ 19.287496] usbcore: registered new interface driver hub
    [ 19.297215] virtio_rpmsg_bus virtio4: creating channel rpmsg-pru addr 0x1e
    [ 19.319213] virtio_rpmsg_bus virtio4: rpmsg host is online
    [ 19.356486] usbcore: registered new device driver usb
    [ 19.370105] dwc3 48890000.usb: otg: primary host xhci-hcd.1.auto registered
    [ 19.377708] dwc3 48890000.usb: otg: shared host xhci-hcd.1.auto registered
    [ 19.384615] dwc3 48890000.usb: otg: can't start till gadget registers
    [ 19.399814] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
    [ 19.410077] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 1
    [ 19.417904] remoteproc5: powering up 4b238000.pru1
    [ 19.429414] xhci-hcd xhci-hcd.2.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x00010010
    [ 19.469497] remoteproc5: Booting fw image am57xx-pru1_1-fw, size 75804
    [ 19.476279] ti-pruss 4b200000.pruss: configured system_events = 0x00000000000c0000 intr_channels = 0x0000000a host_intr = 0x0000000a
    [ 19.489908] remoteproc5: remote processor 4b238000.pru1 is now up
    [ 19.496258] virtio_rpmsg_bus virtio5: rpmsg host is online
    [ 19.496281] virtio_rpmsg_bus virtio5: creating channel rpmsg-pru addr 0x1f
    [ 19.509304] xhci-hcd xhci-hcd.2.auto: irq 529, io mem 0x488d0000
    [ 19.515438] remoteproc6: powering up 4b2b4000.pru0
    [ 19.527242] remoteproc6: Booting fw image am57xx-pru2_0-fw, size 75804
    [ 19.540416] ti-pruss 4b280000.pruss: configured system_events = 0x0000000000030000 intr_channels = 0x00000005 host_intr = 0x00000005
    [ 19.542472] hub 1-0:1.0: USB hub found
    [ 19.542506] hub 1-0:1.0: 1 port detected
    [ 19.542802] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
    [ 19.542814] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 2
    [ 19.542908] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [ 19.568808] hub 2-0:1.0: USB hub found
    [ 19.568838] hub 2-0:1.0: 1 port detected
    [ 19.592664] remoteproc6: remote processor 4b2b4000.pru0 is now up
    [ 19.605520] virtio_rpmsg_bus virtio6: rpmsg host is online
    [ 19.611091] virtio_rpmsg_bus virtio6: creating channel rpmsg-pru addr 0x20
    [ 19.614025] remoteproc7: powering up 4b2b8000.pru1
    [ 19.614153] remoteproc7: Booting fw image am57xx-pru2_1-fw, size 75804
    [ 19.614307] ti-pruss 4b280000.pruss: configured system_events = 0x00000000000c0000 intr_channels = 0x0000000a host_intr = 0x0000000a
    [ 19.614441] remoteproc7: remote processor 4b2b8000.pru1 is now up
    [ 19.614526] virtio_rpmsg_bus virtio7: rpmsg host is online
    [ 19.614548] virtio_rpmsg_bus virtio7: creating channel rpmsg-pru addr 0x21
    [ 19.665399] rpmsg_rpc rpmsg3: probing service rpc_example_2 with src 1024 dst 101
    [ 19.696207] rpmsg_rpc rpmsg4: probing service dce-callback with src 1024 dst 101
    [ 19.704679] rpmsg_rpc rpmsg3: published functions = 8
    [ 19.704848] rpmsg_pru rpmsg8: new rpmsg_pru device: /dev/rpmsg_pru30
    [ 19.712322] rpmsg_pru rpmsg9: new rpmsg_pru device: /dev/rpmsg_pru31
    [ 19.712737] rpmsg_pru rpmsg10: new rpmsg_pru device: /dev/rpmsg_pru33
    [ 19.713102] rpmsg_pru rpmsg11: new rpmsg_pru device: /dev/rpmsg_pru32
    [ 19.738981] rpmsg_rpc rpmsg5: probing service rpmsg-dce with src 1025 dst 102
    [ 19.740763] NET: Registered protocol family 41
    [ 19.751203] rpmsg_rpc rpmsg4: published functions = 4
    [ 19.771241] rpmsg_rpc rpmsg5: published functions = 9
    [ 19.805167] PVR_K: UM DDK-(3699939) and KM DDK-(3699939) match. [ OK ]
    [ 19.876388] usb 1-1: new high-speed USB device number 2 using xhci-hcd
    [ 20.023043] hub 1-1:1.0: USB hub found
    [ 20.027691] hub 1-1:1.0: 4 ports detected
    [ 20.306415] usb 1-1.3: new high-speed USB device number 3 using xhci-hcd
    [ 20.409735] usb 1-1.3: ep 0x81 - rounding interval to 128 microframes, ep desc says 255 microframes
    [ 20.427886] usb 1-1.3: ep 0x2 - rounding interval to 128 microframes, ep desc says 255 microframes
    [ 20.465500] usb-storage 1-1.3:1.0: USB Mass Storage device detected
    [ 20.486663] scsi host1: usb-storage 1-1.3:1.0
    [ 20.492910] usbcore: registered new interface driver usb-storage
    [ 21.628253] scsi 1:0:0:0: Direct-Access SMI USB DISK 1100 PQ: 0 ANSI: 4
    [ 21.644837] sd 1:0:0:0: [sda] 31299696 512-byte logical blocks: (16.0 GB/14.9 GiB)
    [ 21.658853] sd 1:0:0:0: [sda] Write Protect is off
    [ 21.663670] sd 1:0:0:0: [sda] Mode Sense: 43 00 00 00
    [ 21.664725] sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
    [ 21.683757] sda:
    [ 21.689543] sd 1:0:0:0: [sda] Attached SCSI removable disk
    [ 21.849973] FAT-fs (sda): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [ 29.083712] omap_hwmod: mmu1_dsp1: _wait_target_disable failed
    [ 29.097903] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
    [ 29.133740] omap_hwmod: mmu1_dsp2: _wait_target_disable failed
    [ 29.147656] omap_hwmod: mmu0_dsp2: _wait_target_disable failed
    [ 77.239459] Enter: woal_init_module
    [ 77.239472] wlan: Loading MWLAN driver
    [ 77.243245] Enter: woal_init_from_dev_tree
    [ 77.243390] Leave: woal_init_from_dev_tree
    [ 77.253677] Enter: woal_bus_register
    [ 77.753436] wlan_sdio: probe of mmc0:0001:1 failed with error -16
    [ 77.759618] Leave: woal_bus_register
    [ 77.759624] wlan: Driver loaded successfully
    [ 77.763910] Leave: woal_init_module
    root@am57xx-evm:~/7510_for_M2#
  • Is you wlan en pin high ?

    Cheers,
    --Prabhakar Lad
  • Yes , en pin has set to high and all voltages are normal.
  • Yes, en pin has set to high and all voltages are normal.
  • Hi Prabhakar:

    Now we connect our Wifi module to MMC4, the following information is printed:

    mmc2: error -110 whilst initialising SDIO card

    The following is the device tree configuration of MMC4:

    &mmc4 {
    status = "okay";
    vmmc-supply = <&vdd_3v3>;
    bus-width = <4>;
    pinctrl-names = "default";
    cap-power-off-card;
    keep-power-in-suspend;
    ti,non-removable;
    pinctrl-names = "default", "hs", "sdr12", "sdr25";
    pinctrl-0 = <&mmc4_pins_default>;
    pinctrl-1 = <&mmc4_pins_hs>;
    pinctrl-2 = <&mmc4_pins_sdr12>;
    pinctrl-3 = <&mmc4_pins_sdr25>;

    #address-cells = <1>;
    #size-cells = <0>;
    };

    could you please help check where is wrong? thanks!

  • Hi Prabhakar:
    When we connect our Wifi module to MMC4, it worked normally.
    What's the difference between MMC1 and MMC4?
  • Hello,

    for MMC1, the timings are optimized for SD, whereas for MMC3/4 the timings are optimized for SD/SDIO. You can get it working with MMC1 as well but you will have to fine tune the timings (Refer page 4999 of am572x TRM.)

    Cheers,
    --Prabhakar Lad
  • Hi Prabhakar:
    Can you give us a reference configuration?
    We have debugged on MMC1 for a long time
  • Hi,

    To start with try the MMC_IO_DELAY values which are set for mmc3, set similar values for mmc1. And also have lesser clock frequency to start with.

    Cheers,
    --Prabhakar Lad
  • Hi Prabhakar:

    I have tried to configure mmc1 as follows:

    &dra7_pmx_core {

    mmc1_pins_default: mmc1_pins_default {
    pinctrl-single,pins = <
    0x36c (PIN_INPUT | MUX_MODE14) /* mmc1sdcd.gpio219 */
    0x354 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_clk.clk */
    0x358 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_cmd.cmd */
    0x35c (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat0.dat0 */
    0x360 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat1.dat1 */
    0x364 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat2.dat2 */
    0x368 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat3.dat3 */
    >;
    };

    mmc1_pins_hs: pinmux_mmc1_hs_pins {
    pinctrl-single,pins = <
    0x354 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_clk.clk */
    0x358 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_cmd.cmd */
    0x35c (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat0.dat0 */
    0x360 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat1.dat1 */
    0x364 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat2.dat2 */
    0x368 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat3.dat3 */
    >;
    };

    mmc1_pins_sdr12: pinmux_mmc1_sdr12_pins {
    pinctrl-single,pins = <
    0x354 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_clk.clk */
    0x358 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_cmd.cmd */
    0x35c (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat0.dat0 */
    0x360 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat1.dat1 */
    0x364 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat2.dat2 */
    0x368 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat3.dat3 */
    >;
    };

    mmc1_pins_sdr25: pinmux_mmc1_sdr25_pins {
    pinctrl-single,pins = <
    0x354 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_clk.clk */
    0x358 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_cmd.cmd */
    0x35c (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat0.dat0 */
    0x360 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat1.dat1 */
    0x364 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat2.dat2 */
    0x368 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat3.dat3 */
    >;
    };

    mmc1_pins_sdr50: pinmux_mmc1_sdr50_pins {
    pinctrl-single,pins = <
    0x354 (PIN_INPUT_PULLUP |MANUAL_MODE | MUX_MODE0) /* mmc1_clk.clk */
    0x358 (PIN_INPUT_PULLUP |MANUAL_MODE | MUX_MODE0) /* mmc1_cmd.cmd */
    0x35c (PIN_INPUT_PULLUP |MANUAL_MODE | MUX_MODE0) /* mmc1_dat0.dat0 */
    0x360 (PIN_INPUT_PULLUP |MANUAL_MODE | MUX_MODE0) /* mmc1_dat1.dat1 */
    0x364 (PIN_INPUT_PULLUP |MANUAL_MODE | MUX_MODE0) /* mmc1_dat2.dat2 */
    0x368 (PIN_INPUT_PULLUP |MANUAL_MODE | MUX_MODE0) /* mmc1_dat3.dat3 */
    >;
    };

    }

    &dra7_iodelay_core {
    mmc1_iodelay_manual1_conf: mmc1_iodelay_manual1_conf {
    pinctrl-single,pins = <
    0x618 (A_DELAY(621) | G_DELAY(14)) /* CFG_MMC1_CLK_IN */
    0x620 (A_DELAY(1342) | G_DELAY(288)) /* CFG_MMC1_CLK_OUT */
    0x624 (A_DELAY(0) | G_DELAY(0)) /* CFG_MMC1_CMD_IN */
    0x628 (A_DELAY(708) | G_DELAY(0)) /* CFG_MMC1_CMD_OEN */
    0x62c (A_DELAY(564) | G_DELAY(0)) /* CFG_MMC1_CMD_OUT */
    0x630 (A_DELAY(0) | G_DELAY(0)) /* CFG_MMC1_DAT0_IN */
    0x634 (A_DELAY(911) | G_DELAY(0)) /* CFG_MMC1_DAT0_OEN */
    0x638 (A_DELAY(0) | G_DELAY(0)) /* CFG_MMC1_DAT0_OUT */
    0x63c (A_DELAY(0) | G_DELAY(0)) /* CFG_MMC1_DAT1_IN */
    0x640 (A_DELAY(899) | G_DELAY(0)) /* CFG_MMC1_DAT1_OEN */
    0x644 (A_DELAY(210) | G_DELAY(0)) /* CFG_MMC1_DAT1_OUT */
    0x648 (A_DELAY(0) | G_DELAY(0)) /* CFG_MMC1_DAT2_IN */
    0x64c (A_DELAY(942) | G_DELAY(0)) /* CFG_MMC1_DAT2_OEN */
    0x650 (A_DELAY(0) | G_DELAY(147)) /* CFG_MMC1_DAT2_OUT */
    0x654 (A_DELAY(0) | G_DELAY(0)) /* CFG_MMC1_DAT3_IN */
    0x658 (A_DELAY(1080) | G_DELAY(0)) /* CFG_MMC1_DAT3_OEN */
    0x65c (A_DELAY(486) | G_DELAY(0)) /* CFG_MMC1_DAT3_OUT */
    >;
    };

    }

    &mmc1 {
    status = "okay";
    vmmc-supply = <&ldo1_reg>;
    bus-width = <4>;
    pinctrl-names = "default";
    keep-power-in-suspend;
    ti,non-removable;
    /delete-property/ ti,dual-volt;
    cap-power-off-card;
    max-frequency = <3000000>;
    pinctrl-names = "default", "hs", "sdr12", "sdr25", "sdr50";
    pinctrl-0 = <&mmc1_pins_default &mmc1_iodelay_manual1_conf>;
    pinctrl-1 = <&mmc1_pins_hs &mmc1_iodelay_manual1_conf>;
    pinctrl-2 = <&mmc1_pins_sdr12 &mmc1_iodelay_manual1_conf>;
    pinctrl-3 = <&mmc1_pins_sdr25 &mmc1_iodelay_manual1_conf>;
    pinctrl-4 = <&mmc1_pins_sdr50 &mmc1_iodelay_manual1_conf>;

    /delete-property/ sd-uhs-sdr104;
    /delete-property/ sd-uhs-sdr50;
    /delete-property/ sd-uhs-ddr50;
    /delete-property/ sd-uhs-sdr25;
    /delete-property/ sd-uhs-sdr12;
    };

    But our Wifi module still can't work normally.

    could you please help check where is wrong? thanks!

  • Hello,

    Can you check the MMC_IO_DELAY registers by dumping the values, they have been set to proper values (using devmem2) ?

    Cheers,

    --Prabhakar Lad

  • Hi Prabhakar:

    MMC_IO_DELAY registers values:

    0x4844A618           0x00000025

    0x4844A620           0x00000064

    0x4844A624           0x00000000

    0x4844A628           0x00000028

    0x4844A62C          0x00000023

    0x4844A630           0x00000000

    0x4844A634           0x00000040

    0x4844A638           0x00000000

    0x4844A63C          0x00000000

    0x4844A640           0x00000040

    0x4844A644           0x00000006

    0x4844A648           0x00000000

    0x4844A64C          0x00000041

    0x4844A650           0x00000002

    0x4844A654           0x00000000

    0x4844A658           0x00000045

    0x4844A65C          0x00000021

  • Hello,

    These values which you set don’t seem to match for example:

    (A_DELAY(621) | G_DELAY(14)) = 0xe026d

    seems like they aren’t set in Linux and instead set in u-boot.

    Cheers,
    --Prabhakar Lad
  • Hi Prabhakar:
    I've confirmed that it was configured only in Linux and I don't know why it doesn't match as set.
  • Hello,

    I meant the IO_DELAY values are set in u-boot and not in Linux, So you need to set the values in u-boot.

    Cheers,
    --Prabhakar Lad
  • Hi Prabhakar:

    1、I have tried to set in mux_data.h in u-boot, but the result is the same. 

    2、I have seen the following description in AM57xx Sitara™ IO Configuration Requirements(page 2):

    1 Introduction
    To ensure the IO timing values published in the Timing Requirements and Switching Characteristics tables
    of the AM57xx data manual over the lifetime of the device, the AM57xx software must implement the
    proper pad configuration requirements. The impact of not following these requirements may not be
    observed immediately. However, in the long term, failure to adhere to this procedure may cause system
    issues.

    So, I think even if IO delay is not configured, the function should be normal, but there will be problems with long-term use.

  • Hello,

    Referring [1] section 7.23.1 (page 318) MMC1 is only compatible with SD Standard v3.01, so you are better off just sung MMC3/4 which are compatible with SDIO3.0 standard v1.0, SD Part E1 and for generic SDIO devices.

    [1] www.ti.com/.../am5726.pdf

    Cheers,
    --Prabhakar Lad
  • Hi Prabhakar:

    The hardware changes were too large when connect to the mmc4, so we want to connect to mmc3.

    However, the following error occurred when loading the driver:

    max-frequency > 3000000:

    [ 58.433785] WLAN is not the winner (0x2). Skip FW download
    [ 73.476454] Fail to poll firmware status: firmwarestat=0x2
    [ 73.481963] FW failed to be active in time!
    [ 73.487369] WLAN: Fail download FW with nowwait: 0
    [ 73.492607] SDIO Func0 (0x0-0x9): 43 03 02 02 03 00 00 02 03 00
    [ 73.499972] SDIO Func1 (0x4-0xb): 00 00 00 00 00 00 00 00
    [ 73.505783] SDIO Func1: (0x4c) 00 (0x50) 0d (0x54) 01 (0x55) 00 (0x58) 10 (0x
    [ 73.517510] SDIO Func1 (0xc0-0xca): 02 00 00 00 00 00 00 00 00 00 20
    [ 73.624411] SDIO Func1 (0xc0-0xca): 02 00 00 00 00 00 00 00 00 00 20
    [ 73.631000] Firmware Init Failed
    [ 73.634645] woal_add_card failed
    [ 73.638085] wlan_sdio: probe of mmc2:0001:1 failed with error -1
    [ 73.645278] wlan: Driver loaded successfully

    max-frequency <= 3000000:

    [ 70.475416] WLAN FW already running! Skip FW download
    [ 70.482417] WLAN FW is active
    [ 70.496792] cmd53 read error=-84
    [ 70.500176] moal_read_data_sync: read registers failed
    [ 70.546784] cmd53 read error=-84
    [ 70.550169] moal_read_data_sync: read registers failed
    [ 90.556073] Timeout cmd id (1475552390.433077) = 0xa9, act = 0x0
    [ 90.562122] a9 00 08 00 01 00 00 00 00 00 00 00 00 00 00 00
    [ 90.567931] BSS type = 0 BSS role= 0

    Do you have any suggestions for debugging? (Mmc4 does not configure the max-frequency in device tree, and worked normally)

  • Hello,

    Can you post your mmc3 node ? I would say try reducing the max-frequency try from 1Mhz and see if it works I remember i had got it working on one of our custom board for mm3 with 10Mhz clock above which mmc sdio failed.

    Cheers,
    --Prabhakar Lad
  • Hi Prabhakar:
    &mmc3 {
    status = "okay";
    vmmc-supply = <&vdd_3v3>;
    bus-width = <4>;
    pinctrl-names = "default";
    cap-power-off-card;
    keep-power-in-suspend;
    ti,non-removable;
    max-frequency = <1000000>;
    pinctrl-names = "default", "hs", "sdr12", "sdr25", "sdr50";
    pinctrl-0 = <&mmc3_pins_default >;
    pinctrl-1 = <&mmc3_pins_hs >;
    pinctrl-2 = <&mmc3_pins_sdr12 >;
    pinctrl-3 = <&mmc3_pins_sdr25 >;
    pinctrl-4 = <&mmc3_pins_sdr50 &mmc3_iodelay_manual1_conf>;
    /delete-property/ sd-uhs-sdr12;
    /delete-property/ sd-uhs-sdr25;
    /delete-property/ sd-uhs-sdr50;

    #address-cells = <1>;
    #size-cells = <0>;
    };

    I have tried max-frequency = 250KHz、500KHz、1MHz、3MHz, the result as follows:
    [ 70.475416] WLAN FW already running! Skip FW download
    [ 70.482417] WLAN FW is active
    [ 70.496792] cmd53 read error=-84
    [ 70.500176] moal_read_data_sync: read registers failed
    [ 70.546784] cmd53 read error=-84
    [ 70.550169] moal_read_data_sync: read registers failed
    [ 90.556073] Timeout cmd id (1475552390.433077) = 0xa9, act = 0x0
    [ 90.562122] a9 00 08 00 01 00 00 00 00 00 00 00 00 00 00 00
    [ 90.567931] BSS type = 0 BSS role= 0

    max-frequency = 10MHz、30MHz, the result as follows:
    [ 70.475416] WLAN FW already running! Skip FW download
    [ 70.482417] WLAN FW is active
    [ 70.496792] cmd53 read error=-84
    [ 70.500176] moal_read_data_sync: read registers failed
    [ 70.546784] cmd53 read error=-84
    [ 70.550169] moal_read_data_sync: read registers failed
    [ 90.556073] Timeout cmd id (1475552390.433077) = 0xa9, act = 0x0
    [ 90.562122] a9 00 08 00 01 00 00 00 00 00 00 00 00 00 00 00
    [ 90.567931] BSS type = 0 BSS role= 0
  • Correction:
    max-frequency = 10MHz、30MHz, the result as follows:
    [ 58.433785] WLAN is not the winner (0x2). Skip FW download
    [ 73.476454] Fail to poll firmware status: firmwarestat=0x2
    [ 73.481963] FW failed to be active in time!
    [ 73.487369] WLAN: Fail download FW with nowwait: 0
    [ 73.492607] SDIO Func0 (0x0-0x9): 43 03 02 02 03 00 00 02 03 00
    [ 73.499972] SDIO Func1 (0x4-0xb): 00 00 00 00 00 00 00 00
    [ 73.505783] SDIO Func1: (0x4c) 00 (0x50) 0d (0x54) 01 (0x55) 00 (0x58) 10 (0x
    [ 73.517510] SDIO Func1 (0xc0-0xca): 02 00 00 00 00 00 00 00 00 00 20
    [ 73.624411] SDIO Func1 (0xc0-0xca): 02 00 00 00 00 00 00 00 00 00 20
    [ 73.631000] Firmware Init Failed
    [ 73.634645] woal_add_card failed
    [ 73.638085] wlan_sdio: probe of mmc2:0001:1 failed with error -1
    [ 73.645278] wlan: Driver loaded successfully
  • Hello,

    Is the SDIO interface getting initialized successfully ? dmesg should tell you something like this:

    [ 1.053810] mmc2: new high speed SDIO card at address 0001

    Cheers,
    --Prabhakar Lad
  • Yes,
    [ 2.500534] mmc2: new high speed SDIO card at address 0001
  • Hello,

    Can you post output of dmesg | grep wl

    Cheers,
    --Prabhakar Lad
  • root@am57xx-evm:~# dmesg |grep wl
    root@am57xx-evm:~#
  • We're not using WL18xx
  • 1362.dmesg.txt
    root@am57xx-evm:~# dmesg
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Initializing cgroup subsys cpuset
    [    0.000000] Initializing cgroup subsys cpu
    [    0.000000] Initializing cgroup subsys cpuacct
    [    0.000000] Linux version 4.4.19-gdb0b54cdad (root@AplusTC_ECG) (gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #184 SMP PREEMPT Fri Jul 21 10:13:07 CST 2017
    [    0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [    0.000000] Machine model: TI AM5728 GF33
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000095800000, size 56 MiB
    [    0.000000] Reserved memory: initialized node ipu2_cma@95800000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000099000000, size 64 MiB
    [    0.000000] Reserved memory: initialized node dsp1_cma@99000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x000000009d000000, size 32 MiB
    [    0.000000] Reserved memory: initialized node ipu1_cma@9d000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x000000009f000000, size 8 MiB
    [    0.000000] Reserved memory: initialized node dsp2_cma@9f000000, compatible id shared-dma-pool
    [    0.000000] cma: Reserved 24 MiB at 0x00000000fd400000
    [    0.000000] Forcing write-allocate cache policy for SMP
    [    0.000000] Memory policy: Data cache writealloc
    [    0.000000] OMAP4: Map 0x00000000fed00000 to fe600000 for dram barrier
    [    0.000000] On node 0 totalpages: 339200
    [    0.000000] free_area_init_node: node 0, pgdat c0930ec0, node_mem_map eedc6000
    [    0.000000]   DMA zone: 1728 pages used for memmap
    [    0.000000]   DMA zone: 0 pages reserved
    [    0.000000]   DMA zone: 147456 pages, LIFO batch:31
    [    0.000000]   HighMem zone: 191744 pages, LIFO batch:31
    [    0.000000] DRA752 ES2.0
    [    0.000000] PERCPU: Embedded 11 pages/cpu @eed57000 s14848 r8192 d22016 u45056
    [    0.000000] pcpu-alloc: s14848 r8192 d22016 u45056 alloc=11*4096
    [    0.000000] pcpu-alloc: [0] 0 [0] 1
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 337472
    [    0.000000] Kernel command line: console=ttyS2,115200n8 root=PARTUUID=7d9edd0c-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: 1145036K/1356800K available (6475K kernel code, 299K rwdata, 2280K rodata, 328K init, 289K bss, 23348K reserved, 188416K cma-reserved, 742400K highmem)
    [    0.000000] Virtual kernel memory layout:
                       vector  : 0xffff0000 - 0xffff1000   (   4 kB)
                       fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
                       vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
                       lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
                       pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
                       modules : 0xbf000000 - 0xbfe00000   (  14 MB)
                         .text : 0xc0008000 - 0xc089509c   (8757 kB)
                         .init : 0xc0896000 - 0xc08e8000   ( 328 kB)
                         .data : 0xc08e8000 - 0xc0932e50   ( 300 kB)
                          .bss : 0xc0934000 - 0xc097c500   ( 290 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000]  Build-time adjustment of leaf fanout to 32.
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] OMAP clockevent source: timer1 at 32786 Hz
    [    0.000000] Architected cp15 timer(s) running at 6.14MHz (virt).
    [    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.000015] Switching to timer-based delay loop, resolution 162ns
    [    0.000324] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [    0.000332] OMAP clocksource: 32k_counter at 32768 Hz
    [    0.000725] Console: colour dummy device 80x30
    [    0.000747] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
    [    0.000760] pid_max: default: 32768 minimum: 301
    [    0.000853] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000863] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.001406] Initializing cgroup subsys io
    [    0.001424] Initializing cgroup subsys memory
    [    0.001447] Initializing cgroup subsys devices
    [    0.001458] Initializing cgroup subsys freezer
    [    0.001469] Initializing cgroup subsys perf_event
    [    0.001479] Initializing cgroup subsys pids
    [    0.001504] CPU: Testing write buffer coherency: ok
    [    0.001709] /cpus/cpu@0 missing clock-frequency property
    [    0.001725] /cpus/cpu@1 missing clock-frequency property
    [    0.001735] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.001768] Setting up static identity map for 0x800082c0 - 0x80008318
    [    0.080104] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [    0.080165] Brought up 2 CPUs
    [    0.080179] SMP: Total of 2 processors activated (24.59 BogoMIPS).
    [    0.080186] CPU: All CPU(s) started in SVC mode.
    [    0.080564] devtmpfs: initialized
    [    0.107583] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [    0.108516] omap_hwmod: l3_main_2 using broken dt data from ocp
    [    0.216063] omap_hwmod: dcan2: _wait_target_disable failed
    [    0.310125] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.314082] pinctrl core: initialized pinctrl subsystem
    [    0.314923] NET: Registered protocol family 16
    [    0.315827] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.340249] cpuidle: using governor ladder
    [    0.370282] cpuidle: using governor menu
    [    0.378361] gpiochip_add: registered GPIOs 0 to 31 on device: gpio
    [    0.378896] OMAP GPIO hardware version 0.1
    [    0.379576] gpiochip_add: registered GPIOs 32 to 63 on device: gpio
    [    0.380504] gpiochip_add: registered GPIOs 64 to 95 on device: gpio
    [    0.381382] gpiochip_add: registered GPIOs 96 to 127 on device: gpio
    [    0.382240] gpiochip_add: registered GPIOs 128 to 159 on device: gpio
    [    0.383094] gpiochip_add: registered GPIOs 160 to 191 on device: gpio
    [    0.383951] gpiochip_add: registered GPIOs 192 to 223 on device: gpio
    [    0.384810] gpiochip_add: registered GPIOs 224 to 255 on device: gpio
    [    0.385983] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 !
    [    0.411851] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [    0.411862] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.412296] omap4_sram_init:Unable to allocate sram needed to handle errata I688
    [    0.412305] omap4_sram_init:Unable to get sram pool needed to handle errata I688
    [    0.412887] OMAP DMA hardware revision 0.0
    [    0.444766] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver
    [    0.445905] edma 43300000.edma: memcpy is disabled
    [    0.450693] edma 43300000.edma: TI EDMA DMA engine driver
    [    0.451111] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator-vdd_3v3[0]'
    [    0.451327] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator-aic_dvdd[0]'
    [    0.451564] of_get_named_gpiod_flags: parsed 'gpio' property of node '/fixedregulator-vtt[0]' - status (0)
    [    0.454438] omap-iommu 40d01000.mmu: 40d01000.mmu registered
    [    0.454618] omap-iommu 40d02000.mmu: 40d02000.mmu registered
    [    0.454772] omap-iommu 58882000.mmu: 58882000.mmu registered
    [    0.454927] omap-iommu 55082000.mmu: 55082000.mmu registered
    [    0.455208] omap-iommu 41501000.mmu: 41501000.mmu registered
    [    0.455385] omap-iommu 41502000.mmu: 41502000.mmu registered
    [    0.458046] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
    [    0.458606] palmas 1-0058: Irq flag is 0x00000008
    [    0.472067] palmas 1-0058: Muxing GPIO ff, PWM 0, LED 0
    [    0.552877] gpiochip_find_base: found new base at 504
    [    0.552983] gpiochip_add: registered GPIOs 504 to 511 on device: 48072000.i2c:tps659038@58:tps659038_gpio
    [    0.553019] omap_i2c 48072000.i2c: bus 1 rev0.12 at 400 kHz
    [    0.571288] gpiochip_find_base: found new base at 488
    [    0.571389] gpiochip_add: registered GPIOs 488 to 503 on device: pca9555
    [    0.571399] pca953x 4-0022: interrupt support not compiled in
    [    0.571424] omap_i2c 4807c000.i2c: bus 4 rev0.12 at 400 kHz
    [    0.571630] media: Linux media interface: v0.10
    [    0.571683] Linux video capture interface: v2.00
    [    0.571721] pps_core: LinuxPPS API ver. 1 registered
    [    0.571728] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.571755] PTP clock support registered
    [    0.571801] EDAC MC: Ver: 3.0.0
    [    0.572560] omap-mailbox 4883c000.mailbox: omap mailbox rev 0x400
    [    0.572856] omap-mailbox 4883e000.mailbox: omap mailbox rev 0x400
    [    0.573152] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
    [    0.573447] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
    [    0.573762] Advanced Linux Sound Architecture Driver Initialized.
    [    0.574588] clocksource: Switched to clocksource arch_sys_counter
    [    0.585125] NET: Registered protocol family 2
    [    0.585614] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.585678] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    [    0.585802] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.585852] UDP hash table entries: 512 (order: 2, 16384 bytes)
    [    0.585882] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    [    0.586020] NET: Registered protocol family 1
    [    0.586294] RPC: Registered named UNIX socket transport module.
    [    0.586304] RPC: Registered udp transport module.
    [    0.586310] RPC: Registered tcp transport module.
    [    0.586317] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.586333] PCI: CLS 0 bytes, default 64
    [    0.587358] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [    0.589714] futex hash table entries: 512 (order: 3, 32768 bytes)
    [    0.597515] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.598169] NFS: Registering the id_resolver key type
    [    0.598195] Key type id_resolver registered
    [    0.598202] Key type id_legacy registered
    [    0.598255] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.599724] bounce: pool size: 64 pages
    [    0.599873] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
    [    0.599888] io scheduler noop registered
    [    0.599900] io scheduler deadline registered
    [    0.599932] io scheduler cfq registered (default)
    [    0.604882] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
    [    0.608735] dra7-pcie 51000000.pcie: GPIO lookup for consumer (null)
    [    0.608746] dra7-pcie 51000000.pcie: using device tree for GPIO lookup
    [    0.608758] of_get_named_gpiod_flags: can't parse 'gpios' property of node '/ocp/axi@0/pcie@51000000[0]'
    [    0.608768] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/ocp/axi@0/pcie@51000000[0]'
    [    0.608776] dra7-pcie 51000000.pcie: using lookup tables for GPIO lookup
    [    0.608786] dra7-pcie 51000000.pcie: lookup for GPIO (null) failed
    [    0.608888] PCI host bridge /ocp/axi@0/pcie@51000000 ranges:
    [    0.608899]   No bus range found for /ocp/axi@0/pcie@51000000, using [bus 00-ff]
    [    0.608931]    IO 0x20003000..0x20012fff -> 0x00000000
    [    0.608956]   MEM 0x20013000..0x2fffffff -> 0x20013000
    [    0.639462] dra7-pcie 51000000.pcie: link is not up
    [    0.639634] dra7-pcie 51000000.pcie: PCI host bridge to bus 0000:00
    [    0.639648] pci_bus 0000:00: root bus resource [bus 00-ff]
    [    0.639658] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
    [    0.639668] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff]
    [    0.639701] pci 0000:00:00.0: [104c:8888] type 01 class 0x060400
    [    0.639744] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
    [    0.639764] pci 0000:00:00.0: reg 0x14: [mem 0x00000000-0x0000ffff]
    [    0.639830] pci 0000:00:00.0: supports D1
    [    0.639840] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
    [    0.640068] PCI: bus0: Fast back to back transfers disabled
    [    0.640186] PCI: bus1: Fast back to back transfers enabled
    [    0.640234] irq: no irq domain found for /ocp/axi@0/pcie@51000000/interrupt-controller !
    [    0.640267] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff]
    [    0.640280] pci 0000:00:00.0: BAR 1: assigned [mem 0x20020000-0x2002ffff]
    [    0.640292] pci 0000:00:00.0: PCI bridge to [bus 01]
    [    0.640506] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
    [    0.640518] pcie_pme 0000:00:00.0:pcie01: service driver pcie_pme loaded
    [    0.640640] aer 0000:00:00.0:pcie02: service driver aer loaded
    [    0.641752] pwm-backlight backlight: GPIO lookup for consumer enable
    [    0.641762] pwm-backlight backlight: using device tree for GPIO lookup
    [    0.641772] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/backlight[0]'
    [    0.641781] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/backlight[0]'
    [    0.641789] pwm-backlight backlight: using lookup tables for GPIO lookup
    [    0.641798] pwm-backlight backlight: lookup for GPIO enable failed
    [    0.641827] backlight supply power not found, using dummy regulator
    [    0.701765] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    0.705101] 4806a000.serial: ttyS0 at MMIO 0x4806a000 (irq = 301, base_baud = 3000000) is a 8250
    [    0.705973] 4806c000.serial: ttyS1 at MMIO 0x4806c000 (irq = 302, base_baud = 3000000) is a 8250
    [    0.706832] console [ttyS2] disabled
    [    0.706878] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 303, base_baud = 3000000) is a 8250
    [    1.674437] console [ttyS2] enabled
    [    1.678820] 4806e000.serial: ttyS3 at MMIO 0x4806e000 (irq = 304, base_baud = 3000000) is a 8250
    [    1.688511] 48066000.serial: ttyS4 at MMIO 0x48066000 (irq = 305, base_baud = 3000000) is a 8250
    [    1.698597] [drm] Initialized drm 1.1.0 20060810
    [    1.704682] OMAP DSS rev 6.1
    [    1.708431] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops)
    [    1.717793] panel-dpi display: GPIO lookup for consumer enable
    [    1.717803] panel-dpi display: using device tree for GPIO lookup
    [    1.717814] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/display[0]'
    [    1.717824] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/display[0]'
    [    1.717833] panel-dpi display: using lookup tables for GPIO lookup
    [    1.717841] panel-dpi display: lookup for GPIO enable failed
    [    1.718015] ch7055_init
    [    1.726494] loop: module loaded
    [    1.734739] m25p80 spi32766.0: w25q128 (16384 Kbytes)
    [    1.741697] libphy: Fixed MDIO Bus: probed
    [    1.746386] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.3.0-k
    [    1.753379] igb: Copyright (c) 2007-2014 Intel Corporation.
    [    1.804622] davinci_mdio 48485000.mdio: davinci mdio revision 1.6
    [    1.810746] davinci_mdio 48485000.mdio: detected phy mask fffffffb
    [    1.819010] libphy: 48485000.mdio: probed
    [    1.823042] davinci_mdio 48485000.mdio: phy[2]: device 48485000.mdio:02, driver Micrel KSZ9031 Gigabit PHY
    [    1.833393] cpsw 48484000.ethernet: Detected MACID = 00:01:02:03:04:05
    [    1.840797] PPP generic driver version 2.4.2
    [    1.845275] PPP BSD Compression module registered
    [    1.850003] PPP Deflate Compression module registered
    [    1.855110] PPP MPPE Compression module registered
    [    1.859930] NET: Registered protocol family 24
    [    1.865263] mousedev: PS/2 mouse device common for all mice
    [    1.871506] palmas_pwrbutton 48072000.i2c:tps659038@58:tps659038_pwr_button: h/w controlled shutdown duration=12 seconds
    [    1.884277] input: palmas_pwron as /devices/platform/44000000.ocp/48072000.i2c/i2c-1/1-0058/48072000.i2c:tps659038@58:tps659038_pwr_button/input/input0
    [    1.915101] rtc-s35390a 0-0030: s35390a_get_datetime: tm is secs=18, mins=5, hours=14, mday=4, mon=9, year=116, wday=2
    [    1.915351] rtc-s35390a 0-0030: s35390a_get_datetime: tm is secs=18, mins=5, hours=14, mday=4, mon=9, year=116, wday=2
    [    1.915594] rtc rtc0: rtc-s35390a: dev (254:0)
    [    1.915613] rtc-s35390a 0-0030: rtc core: registered rtc-s35390a as rtc0
    [    1.922393] i2c /dev entries driver
    [    1.930438] omap_hsmmc 4809c000.mmc: GPIO lookup for consumer cd
    [    1.930449] omap_hsmmc 4809c000.mmc: using device tree for GPIO lookup
    [    1.930480] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/ocp/mmc@4809c000[0]' - status (0)
    [    1.930517] omap_hsmmc 4809c000.mmc: Got CD GPIO
    [    1.935183] omap_hsmmc 4809c000.mmc: GPIO lookup for consumer wp
    [    1.935192] omap_hsmmc 4809c000.mmc: using device tree for GPIO lookup
    [    1.935202] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@4809c000[0]'
    [    1.935211] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@4809c000[0]'
    [    1.935219] omap_hsmmc 4809c000.mmc: using lookup tables for GPIO lookup
    [    1.935227] omap_hsmmc 4809c000.mmc: lookup for GPIO wp failed
    [    1.974970] omap_hsmmc 480b4000.mmc: GPIO lookup for consumer cd
    [    1.974981] omap_hsmmc 480b4000.mmc: using device tree for GPIO lookup
    [    1.974991] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/mmc@480b4000[0]'
    [    1.975000] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp/mmc@480b4000[0]'
    [    1.975008] omap_hsmmc 480b4000.mmc: using lookup tables for GPIO lookup
    [    1.975016] omap_hsmmc 480b4000.mmc: lookup for GPIO cd failed
    [    1.975027] omap_hsmmc 480b4000.mmc: GPIO lookup for consumer wp
    [    1.975034] omap_hsmmc 480b4000.mmc: using device tree for GPIO lookup
    [    1.975042] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@480b4000[0]'
    [    1.975051] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@480b4000[0]'
    [    1.975058] omap_hsmmc 480b4000.mmc: using lookup tables for GPIO lookup
    [    1.975065] omap_hsmmc 480b4000.mmc: lookup for GPIO wp failed
    [    1.975236] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr25 mode
    [    1.981621] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr12 mode
    [    1.988146] vdd_3v3: supplied by regen1
    [    2.024932] omap_hsmmc 480ad000.mmc: GPIO lookup for consumer cd
    [    2.024943] omap_hsmmc 480ad000.mmc: using device tree for GPIO lookup
    [    2.024953] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/mmc@480ad000[0]'
    [    2.024962] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp/mmc@480ad000[0]'
    [    2.024970] omap_hsmmc 480ad000.mmc: using lookup tables for GPIO lookup
    [    2.024977] omap_hsmmc 480ad000.mmc: lookup for GPIO cd failed
    [    2.024987] omap_hsmmc 480ad000.mmc: GPIO lookup for consumer wp
    [    2.024994] omap_hsmmc 480ad000.mmc: using device tree for GPIO lookup
    [    2.025002] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@480ad000[0]'
    [    2.025010] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@480ad000[0]'
    [    2.025017] omap_hsmmc 480ad000.mmc: using lookup tables for GPIO lookup
    [    2.025025] omap_hsmmc 480ad000.mmc: lookup for GPIO wp failed
    [    2.065397] ledtrig-cpu: registered to indicate activity on CPUs
    [    2.074309] NET: Registered protocol family 10
    [    2.089567] sit: IPv6 over IPv4 tunneling driver
    [    2.094820] NET: Registered protocol family 17
    [    2.099497] Key type dns_resolver registered
    [    2.103878] omap_voltage_late_init: Voltage driver support not added
    [    2.110806] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm
    [    2.117051] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm
    [    2.123739] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm
    [    2.130013] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm
    [    2.138226] Power Management for TI OMAP4+ devices.
    [    2.143330] Registering SWP/SWPB emulation handler
    [    2.150002] dmm 4e000000.dmm: initialized all PAT entries
    [    2.169574] mmc_rescan_try_freq,mmc0 err:-110
    [    2.177118] mmc_rescan_try_freq,mmc0 err:0
    [    2.177271] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [    2.177273] [drm] No driver support for vblank timestamp query.
    [    2.181286] [drm] Enabling DMM ywrap scrolling
    [    2.198712] mmc_rescan_try_freq,mmc0 err:-110
    [    2.198715] mmc_rescan_try_freq,mmc0 attach_sdio
    [    2.200135] mmc_attach_sdio line:1090,mmc0 err:-110
    [    2.200137] mmc_rescan_try_freq,mmc0 attach_sd
    [    2.201558] mmc_rescan_try_freq,mmc0 attach_mmc
    [    2.201919] mmc_rescan_try_freq attach fail
    [    2.203672] mmc_rescan_try_freq,mmc1 err:-110
    [    2.206837] mmc_rescan_try_freq,mmc1 err:0
    [    2.207194] mmc_rescan_try_freq,mmc1 err:-110
    [    2.207196] mmc_rescan_try_freq,mmc1 attach_sdio
    [    2.208604] mmc_attach_sdio line:1090,mmc1 err:-110
    [    2.208606] mmc_rescan_try_freq,mmc1 attach_sd
    [    2.210018] mmc_rescan_try_freq,mmc1 attach_mmc
    [    2.238295] Console: switching to colour frame buffer device 128x48
    [    2.238328] mmc1: MAN_BKOPS_EN bit is not set
    [    2.282384] mmc1: new DDR MMC card at address 0001
    [    2.292166] mmcblk0: mmc1:0001 4FPD3R 3.64 GiB
    [    2.296805] mmcblk0boot0: mmc1:0001 4FPD3R partition 1 4.00 MiB
    [    2.306993] mmcblk0boot1: mmc1:0001 4FPD3R partition 2 4.00 MiB
    [    2.316775]  mmcblk0: p1 p2
    [    2.327293] mmc_rescan_try_freq,mmc2 err:-110
    [    2.335240] mmc_rescan_try_freq,mmc2 err:0
    [    2.336084] mmc_rescan_try_freq,mmc2 err:-110
    [    2.336087] mmc_rescan_try_freq,mmc2 attach_sdio
    [    2.340451] mmc_attach_sdio line:1090,mmc2 err:0
    [    2.344561] mmc_sdio_init_card line:586,mmc2 err:0
    [    2.348938] mmc_sdio_init_card line:663,mmc2 err:0
    [    2.353575] mmc_sdio_init_card line:693,mmc2 err:0
    [    2.372660] omapdrm omapdrm.0: fb0: omapdrm frame buffer device
    [    2.372663] mmc_sdio_init_card line:718,mmc2 err:0
    [    2.400485] mmc_sdio_init_card line:726,mmc2 err:0
    [    2.405317] mmc_sdio_init_card line:759,mmc2 err:0
    [    2.410740] mmc_sdio_init_card line:775,mmc2 err:1
    [    2.415630] sdio_enable_4bit_bus line:302 sdio_enable_wide err:1
    [    2.421690] mmc_sdio_init_card line:790,mmc2 err:0
    [    2.426560] [drm] Initialized omapdrm 1.0.0 20110917 on minor 0
    [    2.427484] mmc_attach_sdio line:1113,mmc2 err:0
    [    2.432519] sdio_init_func line:78,err:0
    [    2.442635] sdio_init_func line:83,err:0
    [    2.446584] mmc_attach_sdio line:1148,mmc2 err:0
    [    2.451242] sdio_init_func line:78,err:0
    [    2.456052] rtc-s35390a 0-0030: s35390a_get_datetime: tm is secs=18, mins=5, hours=14, mday=4, mon=9, year=116, wday=2
    [    2.456086] rtc-s35390a 0-0030: setting system clock to 2016-10-04 14:05:18 UTC (1475589918)
    [    2.465409] sdio_init_func line:83,err:0
    [    2.469348] mmc_attach_sdio line:1148,mmc2 err:0
    [    2.474025] sdio_init_func line:78,err:0
    [    2.475285] aic_dvdd_fixed: disabling
    [    2.481785] ldousb: disabling
    [    2.485239] ALSA device list:
    [    2.488227]   No soundcards found.
    [    2.493297] sdio_init_func line:83,err:0
    [    2.497307] mmc_attach_sdio line:1148,mmc2 err:0
    [    2.501985] mmc2: new high speed SDIO card at address 0001
    [    2.508685] mmc_attach_sdio line:1164,mmc2 err:0
    [    2.515291] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [    2.523437] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    2.529900] devtmpfs: mounted
    [    2.533010] Freeing unused kernel memory: 328K (c0896000 - c08e8000)
    [    2.539403] This architecture does not have kernel memory protection.
    [    2.559341] mmc_sdio_init_card line:586,mmc2 err:0
    [    2.564644] mmc_sdio_init_card line:663,mmc2 err:0
    [    2.569943] mmc_sdio_init_card line:693,mmc2 err:0
    [    2.576186] mmc_sdio_init_card line:718,mmc2 err:0
    [    2.600337] mmc_sdio_init_card line:726,mmc2 err:0
    [    2.605304] mmc_sdio_init_card line:759,mmc2 err:0
    [    2.610846] mmc_sdio_init_card line:775,mmc2 err:1
    [    2.615960] sdio_enable_4bit_bus line:302 sdio_enable_wide err:1
    [    2.622170] mmc_sdio_init_card line:790,mmc2 err:0
    [    2.669626] mmc_sdio_init_card line:586,mmc2 err:0
    [    2.675055] mmc_sdio_init_card line:663,mmc2 err:0
    [    2.680301] mmc_sdio_init_card line:693,mmc2 err:0
    [    2.687003] mmc_sdio_init_card line:718,mmc2 err:0
    [    2.700483] random: systemd: uninitialized urandom read (16 bytes read, 20 bits of entropy available)
    [    2.712227] random: systemd: uninitialized urandom read (16 bytes read, 20 bits of entropy available)
    [    2.723693] systemd[1]: systemd 229 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN)
    [    2.742217] systemd[1]: Detected architecture arm.
    [    2.748342] mmc_sdio_init_card line:726,mmc2 err:0
    [    2.753166] mmc_sdio_init_card line:759,mmc2 err:0
    [    2.753792] mmc_sdio_init_card line:775,mmc2 err:1
    [    2.753865] sdio_enable_4bit_bus line:302 sdio_enable_wide err:1
    [    2.753872] mmc_sdio_init_card line:790,mmc2 err:0
    [    2.785238] systemd[1]: Set hostname to <am57xx-evm>.
    [    2.799395] mmc_sdio_init_card line:586,mmc2 err:0
    [    2.804516] mmc_sdio_init_card line:663,mmc2 err:0
    [    2.809680] mmc_sdio_init_card line:693,mmc2 err:0
    [    2.815731] mmc_sdio_init_card line:718,mmc2 err:0
    [    2.837442] random: systemd-gpt-aut: uninitialized urandom read (16 bytes read, 24 bits of entropy available)
    [    2.838483] mmc_sdio_init_card line:726,mmc2 err:0
    [    2.838491] mmc_sdio_init_card line:759,mmc2 err:0
    [    2.839136] mmc_sdio_init_card line:775,mmc2 err:1
    [    2.839211] sdio_enable_4bit_bus line:302 sdio_enable_wide err:1
    [    2.839218] mmc_sdio_init_card line:790,mmc2 err:0
    [    2.852205] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 24 bits of entropy available)
    [    2.855114] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 24 bits of entropy available)
    [    2.857060] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 24 bits of entropy available)
    [    2.902898] random: systemd-gpt-aut: uninitialized urandom read (16 bytes read, 26 bits of entropy available)
    [    2.935711] random: systemd: uninitialized urandom read (16 bytes read, 28 bits of entropy available)
    [    2.945213] random: systemd: uninitialized urandom read (16 bytes read, 28 bits of entropy available)
    [    2.955524] random: systemd: uninitialized urandom read (16 bytes read, 28 bits of entropy available)
    [    3.416464] systemd[1]: sysinit.target: Found ordering cycle on sysinit.target/start
    [    3.424255] systemd[1]: sysinit.target: Found dependency on alignment.service/start
    [    3.432892] systemd[1]: sysinit.target: Found dependency on sysinit.target/start
    [    3.440404] systemd[1]: sysinit.target: Breaking ordering cycle by deleting job alignment.service/start
    [    3.449870] systemd[1]: alignment.service: Job alignment.service/start deleted to break ordering cycle starting with sysinit.target/start
    [    3.488960] systemd[1]: Created slice User and Session Slice.
    [    3.514929] systemd[1]: Listening on Syslog Socket.
    [    3.535030] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [    3.565481] systemd[1]: Created slice System Slice.
    [    3.595562] systemd[1]: Created slice system-getty.slice.
    [    3.625486] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [    3.654810] systemd[1]: Reached target Slices.
    [    3.675411] systemd[1]: Listening on Network Service Netlink Socket.
    [    3.694771] systemd[1]: Reached target Remote File Systems.
    [    3.714748] systemd[1]: Reached target Swap.
    [    3.734841] systemd[1]: Listening on udev Control Socket.
    [    3.754830] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
    [    3.774838] systemd[1]: Listening on Journal Socket.
    [    3.835001] systemd[1]: Starting Setup Virtual Console...
    [    3.867040] systemd[1]: Starting Create list of required static device nodes for the current kernel...
    [    3.897135] systemd[1]: Mounting Temporary Directory...
    [    3.916911] systemd[1]: Mounting POSIX Message Queue File System...
    [    3.946936] systemd[1]: Mounting Debug File System...
    [    3.978674] systemd[1]: Starting Load Kernel Modules...
    [    3.990976] CMEMK module: reference Linux version 4.4.19
    [    3.996968] allocated heap buffer 0x40500000 of size 0x100000
    [    4.002766] cmemk initialized
    [    4.010957] systemd[1]: Listening on udev Kernel Socket.
    [    4.019531] cryptodev: driver 1.8 loaded.
    [    4.045057] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [    4.074796] systemd[1]: Reached target Paths.
    [    4.094852] systemd[1]: Listening on Journal Socket (/dev/log).
    [    4.154999] systemd[1]: Starting Journal Service...
    [    4.176921] systemd[1]: Starting Remount Root and Kernel File Systems...
    [    4.194158] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [    4.211185] systemd[1]: Mounted Debug File System.
    [    4.245018] systemd[1]: Mounted POSIX Message Queue File System.
    [    4.274896] systemd[1]: Mounted Temporary Directory.
    [    4.306428] systemd[1]: Started Journal Service.
    [    4.924181] systemd-journald[143]: Received request to flush runtime journal from PID 1
    [    5.279142] omap-rproc 58820000.ipu: assigned reserved memory node ipu1_cma@9d000000
    [    5.312991]  remoteproc0: 58820000.ipu is available
    [    5.327066]  remoteproc0: Note: remoteproc is still under development and considered experimental.
    [    5.356815]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [    5.392075] omap-rproc 55020000.ipu: assigned reserved memory node ipu2_cma@95800000
    [    5.425653]  remoteproc1: 55020000.ipu is available
    [    5.441166]  remoteproc1: Note: remoteproc is still under development and considered experimental.
    [    5.456335]  remoteproc1: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [    5.480936] omap-rproc 40800000.dsp: assigned reserved memory node dsp1_cma@99000000
    [    5.512029]  remoteproc2: 40800000.dsp is available
    [    5.533932]  remoteproc2: Note: remoteproc is still under development and considered experimental.
    [    5.550678]  remoteproc0: registered virtio0 (type 7)
    [    5.557009]  remoteproc2: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [    5.589611] omap-rproc 41000000.dsp: assigned reserved memory node dsp2_cma@9f000000
    [    5.603838]  remoteproc3: 41000000.dsp is available
    [    5.621217]  remoteproc3: Note: remoteproc is still under development and considered experimental.
    [    5.631762]  remoteproc1: registered virtio1 (type 7)
    [    5.673601]  remoteproc3: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [    5.709279] omap_rng 48090000.rng: OMAP Random Number Generator ver. 20
    [    5.720843] omap-des 480a5000.des: OMAP DES hw accel rev: 2.2
    [    5.806467] CAN device driver interface
    [    5.842005] c_can_platform 48480000.can: c_can_platform device registered (regs=fa480000, irq=361)
    [    5.896651] Bluetooth: Core ver 2.21
    [    5.926183] NET: Registered protocol family 31
    [    5.953907] Bluetooth: HCI device and connection manager initialized
    [    5.988995] Bluetooth: HCI socket layer initialized
    [    6.010351] Bluetooth: L2CAP socket layer initialized
    [    6.026998] Bluetooth: SCO socket layer initialized
    [    6.090642] omap-sham 4b101000.sham: hw accel on OMAP rev 4.3
    [    6.112887] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [    6.120643] mmc_sdio_init_card line:586,mmc2 err:0
    [    6.127975] mmc_sdio_init_card line:663,mmc2 err:0
    [    6.133795] vpe 489d0000.vpe: loading firmware vpdma-1b8.bin
    [    6.142829] mmc_sdio_init_card line:693,mmc2 err:0
    [    6.157541] mmc_sdio_init_card line:718,mmc2 err:0
    [    6.198502] mmc_sdio_init_card line:726,mmc2 err:0
    [    6.206571] ti-pruss 4b200000.pruss: creating PRU cores and other child platform devices
    [    6.206648] mmc_sdio_init_card line:759,mmc2 err:0
    [    6.207301] mmc_sdio_init_card line:775,mmc2 err:1
    [    6.207365] sdio_enable_4bit_bus line:302 sdio_enable_wide err:1
    [    6.207371] mmc_sdio_init_card line:790,mmc2 err:0
    [    6.207828] mwifiex: rx work enabled, cpus 2
    [    6.235513] SCSI subsystem initialized
    [    6.241188] vpe 489d0000.vpe: Device registered as /dev/video0
    [    6.251394] irq: no irq domain found for /ocp/pruss@4b200000/intc@4b220000 !
    [    6.253217] Bluetooth: vendor=0x2df, device=0x912e, class=255, fn=2
    [    6.271536] irq: no irq domain found for /ocp/pruss@4b200000/intc@4b220000 !
    [    6.279825] ti-pruss 4b280000.pruss: creating PRU cores and other child platform devices
    [    6.289770] irq: no irq domain found for /ocp/pruss@4b280000/intc@4b2a0000 !
    [    6.297093] libata version 3.00 loaded.
    [    6.297519] irq: no irq domain found for /ocp/pruss@4b280000/intc@4b2a0000 !
    [    6.306222] omap-aes 4b500000.aes: OMAP AES hw accel rev: 3.3
    [    6.316043] omap-aes 4b700000.aes: OMAP AES hw accel rev: 3.3
    [    6.324434] vip 48970000.vip: loading firmware vpdma-1b8.bin
    [    6.339081] vip 48990000.vip: loading firmware vpdma-1b8.bin
    [    6.344971] vip 48970000.vip: VPDMA firmware loaded
    [    6.363430]  remoteproc4: 4b234000.pru0 is available
    [    6.370309] vip 48990000.vip: VPDMA firmware loaded
    [    6.378129] ahci 4a140000.sata: SSS flag set, parallel bus scan disabled
    [    6.385031]  remoteproc4: Note: remoteproc is still under development and considered experimental.
    [    6.395247] ahci 4a140000.sata: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode
    [    6.411457]  remoteproc4: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [    6.423920] ahci 4a140000.sata: flags: 64bit ncq sntf stag pm led clo only pmp pio slum part ccc apst
    [    6.433596] rtc-s35390a 0-0030: s35390a_set_datetime: tm is secs=22, mins=5, hours=14 mday=4, mon=9, year=116, wday=2
    [    6.436843] rtc-s35390a 0-0030: s35390a_get_datetime: tm is secs=22, mins=5, hours=14, mday=4, mon=9, year=116, wday=2
    [    6.447217]  remoteproc2: registered virtio2 (type 7)
    [    6.457048]  remoteproc4: registered virtio3 (type 7)
    [    6.465030] scsi host0: ahci
    [    6.469624] ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a1410ff] port 0x100 irq 354
    [    6.479954] pru-rproc 4b234000.pru0: PRU rproc node /ocp/pruss@4b200000/pru0@4b234000 probed successfully
    [    6.501392] extcon-usb-gpio extcon_usb1: GPIO lookup for consumer id
    [    6.501406] extcon-usb-gpio extcon_usb1: using device tree for GPIO lookup
    [    6.501418] of_get_named_gpiod_flags: can't parse 'id-gpios' property of node '/extcon_usb1[0]'
    [    6.501489] of_get_named_gpiod_flags: parsed 'id-gpio' property of node '/extcon_usb1[0]' - status (0)
    [    6.506889]  remoteproc5: 4b238000.pru1 is available
    [    6.511074] extcon-usb-gpio extcon_usb2: GPIO lookup for consumer id
    [    6.511077] extcon-usb-gpio extcon_usb2: using device tree for GPIO lookup
    [    6.511082] of_get_named_gpiod_flags: can't parse 'id-gpios' property of node '/extcon_usb2[0]'
    [    6.511112] of_get_named_gpiod_flags: parsed 'id-gpio' property of node '/extcon_usb2[0]' - status (0)
    [    6.526185]  remoteproc5: Note: remoteproc is still under development and considered experimental.
    [    6.540620] [drm] Initialized pvr 1.14.3699939 20110701 on minor 1
    [    6.564471]  remoteproc5: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [    6.592428]  remoteproc5: registered virtio4 (type 7)
    [    6.602011]  remoteproc3: registered virtio5 (type 7)
    [    6.615169] pru-rproc 4b238000.pru1: PRU rproc node /ocp/pruss@4b200000/pru1@4b238000 probed successfully
    [    6.649471]  remoteproc6: 4b2b4000.pru0 is available
    [    6.654482]  remoteproc6: Note: remoteproc is still under development and considered experimental.
    [    6.693648]  remoteproc6: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [    6.735495]  remoteproc6: registered virtio6 (type 7)
    [    6.744354] pru-rproc 4b2b4000.pru0: PRU rproc node /ocp/pruss@4b280000/pru0@4b2b4000 probed successfully
    [    6.781804]  remoteproc7: 4b2b8000.pru1 is available
    [    6.815496]  remoteproc7: Note: remoteproc is still under development and considered experimental.
    [    6.863420]  remoteproc7: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [    6.874624] ata1: SATA link down (SStatus 0 SControl 300)
    [    6.910908]  remoteproc7: registered virtio7 (type 7)
    [    6.916407] pru-rproc 4b2b8000.pru1: PRU rproc node /ocp/pruss@4b280000/pru1@4b2b8000 probed successfully
    [    7.038893] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [    7.087098] NET: Registered protocol family 15
    [    7.321349] Initializing XFRM netlink socket
    [    7.526531] net eth0: initializing cpsw version 1.15 (0)
    [    7.551656] net eth0: initialized cpsw ale version 1.4
    [    7.578986] net eth0: ALE Table size 1024
    [    7.598862] libphy: PHY 48485000.mdio:06 not found
    [    7.646897] net eth0: phy "48485000.mdio:06" not found on slave 0, err -19
    [    7.736629] Bluetooth: FW download, writesb(0) failed @16
    [    7.743804] Bluetooth: FW CRC error indicated by the helper: len = 0x0201, txlen = 513
    [    7.767948]  remoteproc0: powering up 58820000.ipu
    [    7.838481]  remoteproc0: Booting fw image dra7-ipu1-fw.xem4, size 4953116
    [    7.848521] net eth0: phy found : id is : 0x221622
    [    7.890733] omap-iommu 58882000.mmu: 58882000.mmu: version 2.1
    [    7.905751] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [    7.954356]  remoteproc0: remote processor 58820000.ipu is now up
    [    7.992057] random: nonblocking pool is initialized
    [    7.999411] virtio_rpmsg_bus virtio0: rpmsg host is online
    [    8.001079] virtio_rpmsg_bus virtio0: creating channel rpmsg-client-sample addr 0x32
    [    8.001219] virtio_rpmsg_bus virtio0: creating channel rpmsg-client-sample addr 0x33
    [    8.001408] virtio_rpmsg_bus virtio0: creating channel rpmsg-omx addr 0x3c
    [    8.001514] virtio_rpmsg_bus virtio0: creating channel rpmsg-rpc addr 0x65
    [    8.058076]  remoteproc1: powering up 55020000.ipu
    [    8.077798] cfg80211: World regulatory domain updated:
    [    8.092733] cfg80211:  DFS Master region: unset
    [    8.119853]  remoteproc1: Booting fw image dra7-ipu2-fw.xem4, size 3497308
    [    8.136090] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
    [    8.155252] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
    [    8.186319] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
    [    8.227744] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
    [    8.269094] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
    [    8.313003] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
    [    8.368114] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
    [    8.410062] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
    [    8.449764]  remoteproc1: remote processor 55020000.ipu is now up
    [    8.456283] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
    [    8.485807] virtio_rpmsg_bus virtio1: rpmsg host is online
    [    8.488847] virtio_rpmsg_bus virtio1: creating channel rpmsg-rpc addr 0x65
    [    8.500460] virtio_rpmsg_bus virtio1: creating channel rpmsg-rpc addr 0x66
    [    8.504685] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
    [    8.568008]  remoteproc2: powering up 40800000.dsp
    [    8.682277]  remoteproc2: Booting fw image dra7-dsp1-fw.xe66, size 22037092
    [    8.718751] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
    [    8.724651] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
    [    8.730599] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
    [    8.830975]  remoteproc2: remote processor 40800000.dsp is now up
    [    8.890336] virtio_rpmsg_bus virtio2: rpmsg host is online
    [    8.890412] virtio_rpmsg_bus virtio2: creating channel rpmsg-proto addr 0x3d
    [    8.921514]  remoteproc4: powering up 4b234000.pru0
    [    8.941106]  remoteproc4: Booting fw image am57xx-pru1_0-fw, size 75804
    [    8.963750] ti-pruss 4b200000.pruss: configured system_events = 0x0000000000030000 intr_channels = 0x00000005 host_intr = 0x00000005
    [    8.992612]  remoteproc4: remote processor 4b234000.pru0 is now up
    [    9.005906] virtio_rpmsg_bus virtio3: rpmsg host is online
    [    9.005938] virtio_rpmsg_bus virtio3: creating channel rpmsg-pru addr 0x1e
    [    9.036373] usbcore: registered new interface driver usbfs
    [    9.046526]  remoteproc5: powering up 4b238000.pru1
    [    9.051570]  remoteproc5: Booting fw image am57xx-pru1_1-fw, size 75804
    [    9.064635] usbcore: registered new interface driver hub
    [    9.088493] usbcore: registered new device driver usb
    [    9.095677] ti-pruss 4b200000.pruss: configured system_events = 0x00000000000c0000 intr_channels = 0x0000000a host_intr = 0x0000000a
    [    9.118495] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [    9.124026] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
    [    9.151663] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x00010010
    [    9.166557]  remoteproc5: remote processor 4b238000.pru1 is now up
    [    9.172897] xhci-hcd xhci-hcd.0.auto: irq 494, io mem 0x48890000
    [    9.175348] virtio_rpmsg_bus virtio4: rpmsg host is online
    [    9.184545]  remoteproc3: powering up 41000000.dsp
    [    9.184551] virtio_rpmsg_bus virtio4: creating channel rpmsg-pru addr 0x1f
    [    9.186963] Bluetooth: FW download, writesb(1) failed @528
    [    9.187455] Bluetooth: FW CRC error indicated by the helper: len = 0x0201, txlen = 513
    [    9.226851] hub 1-0:1.0: USB hub found
    [    9.235865] hub 1-0:1.0: 1 port detected
    [    9.255164] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [    9.260709] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
    [    9.282394]  remoteproc3: Booting fw image dra7-dsp2-fw.xe66, size 22037092
    [    9.290395] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [    9.300398] omap_hwmod: mmu0_dsp2: _wait_target_disable failed
    [    9.300435] omap-iommu 41501000.mmu: 41501000.mmu: version 3.0
    [    9.300519] omap-iommu 41502000.mmu: 41502000.mmu: version 3.0
    [    9.356783]  remoteproc3: remote processor 41000000.dsp is now up
    [    9.365909] hub 2-0:1.0: USB hub found
    [    9.365936] hub 2-0:1.0: 1 port detected
    [    9.366351] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [    9.366369] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3
    [    9.374810] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x00010010
    [    9.374854] xhci-hcd xhci-hcd.1.auto: irq 497, io mem 0x488d0000
    [    9.375804] hub 3-0:1.0: USB hub found
    [    9.376045] hub 3-0:1.0: 1 port detected
    [    9.376340] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [    9.376351] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 4
    [    9.376445] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
    [    9.377322] hub 4-0:1.0: USB hub found
    [    9.377551] hub 4-0:1.0: 1 port detected
    [    9.645551] virtio_rpmsg_bus virtio5: rpmsg host is online
    [    9.645625] virtio_rpmsg_bus virtio5: creating channel rpmsg-proto addr 0x3d
    [    9.696010]  remoteproc6: powering up 4b2b4000.pru0
    [    9.701123]  remoteproc6: Booting fw image am57xx-pru2_0-fw, size 75804
    [    9.725119] ti-pruss 4b280000.pruss: configured system_events = 0x0000000000030000 intr_channels = 0x00000005 host_intr = 0x00000005
    [    9.754779]  remoteproc6: remote processor 4b2b4000.pru0 is now up
    [    9.763833] virtio_rpmsg_bus virtio6: rpmsg host is online
    [    9.769391] virtio_rpmsg_bus virtio6: creating channel rpmsg-pru addr 0x20
    [    9.787100]  remoteproc7: powering up 4b2b8000.pru1
    [    9.793272]  remoteproc7: Booting fw image am57xx-pru2_1-fw, size 75804
    [    9.815657] ti-pruss 4b280000.pruss: configured system_events = 0x00000000000c0000 intr_channels = 0x0000000a host_intr = 0x0000000a
    [    9.839481]  remoteproc7: remote processor 4b2b8000.pru1 is now up
    [    9.874492] virtio_rpmsg_bus virtio7: rpmsg host is online
    [    9.874517] virtio_rpmsg_bus virtio7: creating channel rpmsg-pru addr 0x21
    [    9.955382] rpmsg_rpc rpmsg3: probing service rpc_example_2 with src 1024 dst 101
    [    9.964452] rpmsg_pru rpmsg7: new rpmsg_pru device: /dev/rpmsg_pru30
    [    9.971092] PVR_K: UM DDK-(3699939) and KM DDK-(3699939) match. [ OK ]
    [    9.977251] rpmsg_pru rpmsg8: new rpmsg_pru device: /dev/rpmsg_pru31
    [    9.977611] rpmsg_pru rpmsg10: new rpmsg_pru device: /dev/rpmsg_pru32
    [    9.977961] rpmsg_pru rpmsg11: new rpmsg_pru device: /dev/rpmsg_pru33
    [    9.994483] rpmsg_rpc rpmsg4: probing service dce-callback with src 1024 dst 101
    [    9.995064] rpmsg_rpc rpmsg3: published functions = 8
    [    9.995147] rpmsg_rpc rpmsg5: probing service rpmsg-dce with src 1025 dst 102
    [    9.995547] rpmsg_rpc rpmsg4: published functions = 4
    [    9.996167] rpmsg_rpc rpmsg5: published functions = 9
    [   10.032973] NET: Registered protocol family 41
    [   10.585636] Bluetooth: FW download, writesb(2) failed @528
    [   10.593115] Bluetooth: FW download failure @528, over max retry count
    [   10.601878] Bluetooth: Failed to download firmware!
    [   10.609282] Bluetooth: Downloading firmware failed!
    [   10.714654] mwifiex_sdio mmc2:0001:1: FW already running! Skip FW dnld
    [   19.042026] omap_hwmod: mmu1_dsp1: _wait_target_disable failed
    [   19.054959] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
    [   20.042014] omap_hwmod: mmu1_dsp2: _wait_target_disable failed
    [   20.055920] omap_hwmod: mmu0_dsp2: _wait_target_disable failed
    [   21.724658] mwifiex_sdio mmc2:0001:1: FW failed to be active in time
    [   21.731051] mwifiex_sdio mmc2:0001:1: info: mwifiex_fw_dpc: unregister device
    root@am57xx-evm:~#
    

    Hi Prabhakar:
    Since working on mmc4 is normal, we think both wifi module and driver have no problems.
    Our wifi module is AW-CB178NF.

    Dmesg information are visible in attachments

    Could you give me some advice?

  • Hi, TI team
    Does MMC1 supports SDIO 3.0 WiFi?
    If yes, do I need to modify the IO Timing? How to do it?

    Will Hsu
  • Will Hsu,

    Sorry for the delay. We are checking on this.

    Lawrence
  • Are you at least seeing this message

    [  555.787321] mmc0: queuing unknown CIS tuple 0x01 (3 bytes)

    The message shows that the SDIO code can read from the card. I'm still looking into this.

    Steve K.

  • Hi, Steve
    I haven't seen this message.

    Please see my log below.
    e2e.ti.com/.../2243880

    Are you testing wifi on MMC1 ?

    From Will Hsu

  • Yes, I am using mmc1. But I get the -16 error just like you do and that is EBUSY. I'm still investigating.

    Steve K.

  • The Data Sheet says SDIO is only supported on MMC3 and MMC4. So no, you cannot use MMC1.

    Steve K.
  • You can use mmc1 for SDIO. I have a Qualcomm/Atheros SDIO WLAN card on mmc1. To get it to work I had to revert this patch https://fr.osdn.net/projects/android-x86/scm/git/kernel/commits/5d3f6ef04d65dda92a3573841a7215fb05c347de and change the max-frequency to 64MHz. We're still investigating why it's not working at 192MHz.

    Which WLAN are you using? And is the processor SR2.0 (you can read the ID_CODE register at 0x4AE0C204; it should be 0x2B99002F for SR2.0)?

    Steve K.

  • Also, I moved to the 4.4 kernel in our 03.02.00.05 SDK.

    Steve K.
  • Now we want to upgrade SDK, which version of SDK can be downloaded from the TI official website to solve this problem.

  • Please check TI SDK03.01.00.06 source code. It's the same as the patch you provided.
    Our SDIO initializes successfully only when the max-frequency was set under 4MHz.
    But our SDIO3.0 WiFi still can't work normally.
  • root@am57xx-evm:~# devmem2 0x4ae0c204
    /dev/mem opened.
    Memory mapped at address 0xb6f98000.
    Read at address 0x4AE0C204 (0xb6f98204): 0x2B99002F

    So the processor is SR2.0
  • Can you revert (remove) the patch and set max-frequency to 64MHz? I've tested this on the 4.4 kernel and the 4.9 kernel and making these changes works.

    Can you enable MMC debug in your kernel config? Then, after you see errors, type in 'dmesg >wlanfail.log'' and attach the file.

    What brand SDIO WLAN are you using? Is it on the board or inserted into a slot?

    Steve K.

  • Thank you very much. Our SDIO device (wifi module) can work normally.