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.

WL1837MOD: Can not load wifi driver

Part Number: WL1837MOD
Other Parts Discussed in Thread: AM3358, AM3352, TPS65910

Hello,

I am trying to start wifi interface on am3358 based custom board. I have updated device tree and configurations a per below link but not able to load wlcore and wl18xx driver.

processors.wiki.ti.com/.../WL18xx_Platform_Integration_Guide

I am using kernel 4.14.

Please suggest me a way out.

Regards,

Rohit

  • Hello,

    I would need more info in order to help:
    1. What exactly is failing?
    2. Full kernel boot log showing the detection of the module on the sdio bus, module loading etc.
    3. Are you using the in-tree drivers of the 4.14 kernel, or did you build our R8.7_SP3 drivers using the build scripts?

    Best Regards,
    Eyal
  • Hi Eyal,

    In case configurations with cfg802, mac802, wlcore and wl18xx as "y": There are no logs to load wlcore driver or any other above drivers and wl18xx firmware.

    In case onfigurations with cfg802, mac802, wlcore and wl18xx as "m": When I load drivers (.ko) of all of the above in sequence: cfg, mac, wlcore, wl18xx, no logs in dmesg.

    I observed that WLAN_EN line is staying always low. Also while loading the drivers (.ko), there is no communication on MMC lines.

    I have done same kernel configurations and device tree configurations suggested in link:
    processors.wiki.ti.com/.../WL18xx_Platform_Integration_Guide

    Am I missing something?

    Following are my kernel bootup logs:
    Starting kernel ...

    [ 0.000000] Booting Linux on physical CPU 0x0
    [ 0.000000] Linux version 4.14.67-gba873d628a (einfochips@AHMLPT0458) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #3 PREEMPT Tue Dec 4 22:01:34 IST 2018
    [ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
    [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [ 0.000000] OF: fdt: Machine model: TI AM335x EVM-SK
    [ 0.000000] Memory policy: Data cache writeback
    [ 0.000000] efi: Getting EFI parameters from FDT:
    [ 0.000000] efi: UEFI not found.
    [ 0.000000] cma: Reserved 48 MiB at 0xbd000000
    [ 0.000000] CPU: All CPU(s) started in SVC mode.
    [ 0.000000] AM335X ES2.1 (neon)
    [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 260416
    [ 0.000000] Kernel command line: console=ttyO0,115200n8 root=PARTUUID=17d725c5-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: 976300K/1048576K available (8192K kernel code, 324K rwdata, 2396K rodata, 1024K init, 281K bss, 23124K reserved, 49152K cma-reserved, 212992K highmem)
    [ 0.000000] Virtual kernel memory layout:
    [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
    [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
    [ 0.000000] vmalloc : 0xf0800000 - 0xff800000 ( 240 MB)
    [ 0.000000] lowmem : 0xc0000000 - 0xf0000000 ( 768 MB)
    [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
    [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
    [ 0.000000] .text : 0xc0008000 - 0xc0900000 (9184 kB)
    [ 0.000000] .init : 0xc0c00000 - 0xc0d00000 (1024 kB)
    [ 0.000000] .data : 0xc0d00000 - 0xc0d51080 ( 325 kB)
    [ 0.000000] .bss : 0xc0d51080 - 0xc0d97694 ( 282 kB)
    [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [ 0.000000] Preemptible hierarchical RCU implementation.
    [ 0.000000] Tasks RCU enabled.
    [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    [ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz
    [ 0.000029] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    [ 0.000077] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [ 0.000104] OMAP clocksource: timer1 at 24000000 Hz
    [ 0.000502] timer_probe: no matching timers found
    [ 0.000930] Console: colour dummy device 80x30
    [ 0.000984] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [ 0.001003] This ensures that you still see kernel messages. Please
    [ 0.001020] update your kernel commandline.
    [ 0.001097] Calibrating delay loop... 298.59 BogoMIPS (lpj=1492992)
    [ 0.067673] pid_max: default: 32768 minimum: 301
    [ 0.068047] Security Framework initialized
    [ 0.068199] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.068244] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.069922] CPU: Testing write buffer coherency: ok
    [ 0.071441] Setting up static identity map for 0x80100000 - 0x80100060
    [ 0.071794] Hierarchical SRCU implementation.
    [ 0.072648] EFI services will not be available.
    [ 0.076182] devtmpfs: initialized
    [ 0.096452] random: get_random_u32 called from bucket_table_alloc+0x8c/0x1ac with crng_init=0
    [ 0.097309] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [ 0.098097] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [ 0.098147] futex hash table entries: 256 (order: -1, 3072 bytes)
    [ 0.105182] pinctrl core: initialized pinctrl subsystem
    [ 0.106634] DMI not present or invalid.
    [ 0.107511] NET: Registered protocol family 16
    [ 0.112553] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [ 0.145545] omap_hwmod: debugss: _wait_target_disable failed
    [ 0.192743] cpuidle: using governor ladder
    [ 0.192830] cpuidle: using governor menu
    [ 0.203267] OMAP GPIO hardware version 0.1
    [ 0.226679] No ATAGs?
    [ 0.226709] hw-breakpoint: debug architecture 0x4 unsupported.
    [ 0.259821] edma 49000000.edma: TI EDMA DMA engine driver
    [ 0.268246] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe
    [ 0.268390] omap_i2c 4802a000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c1_pins, deferring probe
    [ 0.268495] omap_i2c 4819c000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c2_pins, deferring probe
    [ 0.268960] pps_core: LinuxPPS API ver. 1 registered
    [ 0.268984] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [ 0.269067] PTP clock support registered
    [ 0.269157] EDAC MC: Ver: 3.0.0
    [ 0.270089] dmi: Firmware registration failed.
    [ 0.270981] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [ 0.273879] clocksource: Switched to clocksource timer1
    [ 0.294685] NET: Registered protocol family 2
    [ 0.296288] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [ 0.296528] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
    [ 0.296745] TCP: Hash tables configured (established 8192 bind 8192)
    [ 0.297017] UDP hash table entries: 512 (order: 1, 8192 bytes)
    [ 0.297091] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
    [ 0.297454] NET: Registered protocol family 1
    [ 0.298340] RPC: Registered named UNIX socket transport module.
    [ 0.298373] RPC: Registered udp transport module.
    [ 0.298392] RPC: Registered tcp transport module.
    [ 0.298411] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.300152] hw perfevents: no interrupt-affinity property for /pmu, guessing.
    [ 0.300396] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    [ 0.303616] workingset: timestamp_bits=14 max_order=18 bucket_order=4
    [ 0.315309] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [ 0.316944] NFS: Registering the id_resolver key type
    [ 0.317038] Key type id_resolver registered
    [ 0.317060] Key type id_legacy registered
    [ 0.317162] ntfs: driver 2.1.32 [Flags: R/O].
    [ 0.330883] bounce: pool size: 64 pages
    [ 0.331078] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
    [ 0.331109] io scheduler noop registered
    [ 0.331130] io scheduler deadline registered
    [ 0.331634] io scheduler cfq registered (default)
    [ 0.331663] io scheduler mq-deadline registered
    [ 0.331685] io scheduler kyber registered
    [ 0.335251] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    [ 0.465814] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [ 0.472739] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a 8250
    [ 1.109714] console [ttyS0] enabled
    [ 1.114232] pinctrl-single 44e10800.pinmux: pin PIN81 already requested by 44e10800.pinmux; cannot claim for 48024000.serial
    [ 1.125600] pinctrl-single 44e10800.pinmux: pin-81 (48024000.serial) status -22
    [ 1.132973] pinctrl-single 44e10800.pinmux: could not request pin 81 (PIN81) from group pinmux_gpio_pins on device pinctrl-single
    [ 1.144825] omap8250 48024000.serial: Error applying setting, reverse things back
    [ 1.152403] omap8250: probe of 48024000.serial failed with error -22
    [ 1.160198] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 32, base_baud = 3000000) is a 8250
    [ 1.172703] omap_rng 48310000.rng: Random Number Generator ver. 20
    [ 1.208766] brd: module loaded
    [ 1.227832] loop: module loaded
    [ 1.238188] libphy: Fixed MDIO Bus: probed
    [ 1.245432] QCA7000 probe start
    [ 1.248640] qcaspi spi1.0: ver=0.2.7-i, clkspeed=8000000, burst_len=5000, pluggable=0
    [ 1.256607] ver=0.2.7-i, clkspeed=8000000, burst_len=5000, pluggable=0
    [ 1.263257] mode=3, clkspeed=8000000, irq=52, mac=00:01:87:08:21:54
    [ 1.269611] QCA7000 reading signature value
    [ 1.274065] qcaspi spi1.0: Invalid signature (0xFFFF)
    [ 1.279172] QCA7000 reading signature Fail
    [ 1.283341] qcaspi: probe of spi1.0 failed with error -14
    [ 1.291833] i2c /dev entries driver
    [ 1.296435] IR NEC protocol handler initialized
    [ 1.301012] IR RC5(x/sz) protocol handler initialized
    [ 1.306244] IR RC6 protocol handler initialized
    [ 1.310813] IR JVC protocol handler initialized
    [ 1.315420] IR Sony protocol handler initialized
    [ 1.320070] IR SANYO protocol handler initialized
    [ 1.324843] IR Sharp protocol handler initialized
    [ 1.329580] IR MCE Keyboard/mouse protocol handler initialized
    [ 1.335483] IR XMP protocol handler initialized
    [ 1.343482] cpufreq: cpufreq_online: CPU0: Running at unlisted freq: 600000 KHz
    [ 1.351025] cpu cpu0: dev_pm_opp_set_rate: failed to find current OPP for freq 600000000 (-34)
    [ 1.359907] cpufreq: cpufreq_online: CPU0: Unlisted initial frequency changed to: 300000 KHz
    [ 1.369199] cpuidle: enable-method property 'ti,am3352' found operations
    [ 1.377542] sdhci: Secure Digital Host Controller Interface driver
    [ 1.383802] sdhci: Copyright(c) Pierre Ossman
    [ 1.390810] omap_hsmmc 48060000.mmc: Got CD GPIO
    [ 1.402894] omap_hsmmc 47810000.mmc: RX DMA channel request failed
    [ 1.410569] sdhci-pltfm: SDHCI platform and OF driver helper
    [ 1.419412] ledtrig-cpu: registered to indicate activity on CPUs
    [ 1.433277] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
    [ 1.442402] ip_tables: (C) 2000-2006 Netfilter Core Team
    [ 1.450996] NET: Registered protocol family 10
    [ 1.460185] Segment Routing with IPv6
    [ 1.464518] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [ 1.473227] NET: Registered protocol family 17
    [ 1.478197] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
    [ 1.492305] Key type dns_resolver registered
    [ 1.497313] omap_voltage_late_init: Voltage driver support not added
    [ 1.554689] tps65910 0-002d: No interrupt support, no core IRQ
    [ 1.567259] vrtc: supplied by vbat
    [ 1.576663] vio: supplied by vbat
    [ 1.583128] vdd1: supplied by vbat
    [ 1.590893] vdd2: supplied by vbat
    [ 1.597683] random: fast init done
    [ 1.604819] vdig1: supplied by vbat
    [ 1.611710] vdig2: supplied by vbat
    [ 1.618472] vpll: supplied by vbat
    [ 1.625364] vdac: supplied by vbat
    [ 1.632091] vaux1: supplied by vbat
    [ 1.638862] vaux2: supplied by vbat
    [ 1.645857] vaux33: supplied by vbat
    [ 1.652752] vmmc: supplied by vbat
    [ 1.659413] vbb: supplied by vbat
    [ 1.666474] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [ 1.673150] pinctrl-single 44e10800.pinmux: pin PIN81 already requested by 44e10800.pinmux; cannot claim for 4802a000.i2c
    [ 1.684451] pinctrl-single 44e10800.pinmux: pin-81 (4802a000.i2c) status -22
    [ 1.691607] pinctrl-single 44e10800.pinmux: could not request pin 81 (PIN81) from group pinmux_gpio_pins on device pinctrl-single
    [ 1.703541] omap_i2c 4802a000.i2c: Error applying setting, reverse things back
    [ 1.711009] omap_i2c: probe of 4802a000.i2c failed with error -22
    [ 1.745185] bq32k 2-0068: Oscillator Failure. Check RTC battery.
    [ 1.753453] bq32k 2-0068: rtc core: registered bq32k as rtc0
    [ 1.759607] i2c i2c-2: of_i2c: modalias failure on /ocp/i2c@4819c000/crypto@60
    [ 1.767036] i2c i2c-2: Failed to create I2C device for /ocp/i2c@4819c000/crypto@60
    [ 1.775839] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz
    [ 1.784518] omap_hsmmc 48060000.mmc: Got CD GPIO
    [ 1.908762] bq32k 2-0068: hctosys: unable to read the hardware clock
    [ 1.919449] vwl1837: disabling
    [ 1.929209] Waiting for root device PARTUUID=17d725c5-02...
    [ 1.954855] mmc0: host does not support reading read-only switch, assuming write-enable
    [ 1.967995] mmc0: new high speed SDHC card at address aaaa
    [ 1.975632] mmcblk0: mmc0:aaaa SC16G 14.8 GiB
    [ 1.985817] mmc1: new high speed MMC card at address 0001
    [ 1.991759] mmcblk0: p1 p2
    [ 2.000041] mmcblk1: mmc1:0001 W62704 3.56 GiB
    [ 2.005731] mmcblk1boot0: mmc1:0001 W62704 partition 1 2.00 MiB
    [ 2.012427] mmcblk1boot1: mmc1:0001 W62704 partition 2 2.00 MiB
    [ 2.019395] mmcblk1rpmb: mmc1:0001 W62704 partition 3 512 KiB
    [ 2.030256] mmcblk1: p1 p2 p3 p4 < p5 p6 >
    [ 2.123018] EXT4-fs (mmcblk0p2): recovery complete
    [ 2.128311] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [ 2.136787] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [ 2.156904] devtmpfs: mounted
    [ 2.167660] Freeing unused kernel memory: 1024K
    [ 2.264063] NOHZ: local_softirq_pending 40
    [ 2.604599] systemd[1]: System time before build time, advancing clock.
    [ 2.769098] systemd[1]: systemd 234 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN)
    [ 2.792788] systemd[1]: Detected architecture arm.

    Welcome to Arago 2018.10!

    [ 2.838612] systemd[1]: Set hostname to <am335x-evm>.
    [ 3.764087] NOHZ: local_softirq_pending 40
    [ 4.104085] NOHZ: local_softirq_pending 40
    [ 4.756718] random: systemd: uninitialized urandom read (16 bytes read)
    [ 4.766395] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [ OK ] Started Forward Password Requests to Wall Directory Watch.
    [ 4.805070] random: systemd: uninitialized urandom read (16 bytes read)
    [ 4.812613] systemd[1]: Listening on udev Kernel Socket.
    [ OK ] Listening on udev Kernel Socket.
    [ 4.845248] random: systemd: uninitialized urandom read (16 bytes read)
    [ 4.853198] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
    [ OK ] Listening on /dev/initctl Compatibility Named Pipe.
    [ 4.895179] systemd[1]: Reached target Swap.
    [ OK ] Reached target Swap.
    [ 4.935011] systemd[1]: Reached target Remote File Systems.
    [ OK ] Reached target Remote File Systems.
    [ 5.026477] systemd[1]: Listening on Process Core Dump Socket.
    [ OK ] Listening on Process Core Dump Socket.
    [ 5.066509] systemd[1]: Listening on udev Control Socket.
    [ OK ] Listening on udev Control Socket.
    [ OK ] Listening on Journal Socket.
    [ OK ] Started Dispatch Password Requests to Console Directory Watch.
    [ OK ] Reached target Paths.
    [ OK ] Listening on Journal Socket (/dev/log).
    [ OK ] Created slice User and Session Slice.
    [ OK ] Listening on Network Service Netlink Socket.
    [ OK ] Created slice System Slice.
    [ OK ] Created slice system-syslog\x2dng.slice.
    [ OK ] Created slice system-getty.slice.
    [ OK ] Reached target Slices.
    Mounting Kernel Debug File System...
    Mounting POSIX Message Queue File System...
    Starting Journal Service...
    Starting Remount Root and Kernel File Systems...
    Starting Load Kernel Modules...
    [ OK ] Created slice system-serial\x2dgetty.slice.
    Mounting Temporary Directory (/tmp)...
    [ 6.341191] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [ 6.459881] cryptodev: loading out-of-tree module taints kernel.
    [ OK ] Mounted Kernel Debug File System.
    [ 6.505461] cryptodev: driver 1.9 loaded.
    [ OK ] Mounted POSIX Message Queue File System.
    [ OK ] Mounted Temporary Directory (/tmp).
    [ OK ] Started Remount Root and Kernel File Systems.
    [ OK ] Started Load Kernel Modules.
    Mounting Kernel Configuration File System...
    Starting Apply Kernel Variables...
    Starting udev Coldplug all Devices...
    Starting Create Static Device Nodes in /dev...
    [ OK ] Mounted Kernel Configuration File System.
    [ OK ] Started Apply Kernel Variables.
    [ 7.794742] systemd[1]: Started Create Static Device Nodes in /dev.
    [ OK ] Started Create Static Device Nodes in /dev.
    [ 7.827790] systemd[1]: Reached target Local File Systems (Pre).
    [ OK ] Reached target Local File Systems (Pre).
    [ 7.956650] systemd[1]: Mounting /var/volatile...
    Mounting /var/volatile...
    [ 8.098565] systemd[1]: Mounting /media/ram...
    Mounting /media/ram...
    [ 8.247601] systemd[1]: Starting udev Kernel Device Manager...
    Starting udev Kernel Device Manager...
    [ 8.478182] systemd[1]: Mounted /var/volatile.
    [ OK ] Mounted /var/volatile.
    [ 8.545569] systemd[1]: Mounted /media/ram.
    [ OK ] Mounted /media/ram.
    [ 8.708985] systemd[1]: Starting Load/Save Random Seed...
    Starting Load/Save Random Seed...
    [ 8.786300] systemd[1]: Reached target Local File Systems.
    [ OK ] Reached target Local File Systems.
    [ 8.819878] systemd[1]: Started Journal Service.
    [ OK ] Started Journal Service.
    Starting Flush Journal to Persistent Storage...
    [ OK ] Started Load/Save Random Seed.
    [ OK ] Started udev Kernel Device Manager.
    [ 9.572360] systemd-journald[80]: Received request to flush runtime journal from PID 1
    [ OK ] Started Flush Journal to Persistent Storage.
    Starting Create Volatile Files and Directories...
    [ OK ] Started Create Volatile Files and Directories.
    Starting Update UTMP about System Boot/Shutdown...
    Starting Network Time Synchronization...
    [ OK ] Started Update UTMP about System Boot/Shutdown.
    [ OK ] Started Network Time Synchronization.
    [ OK ] Reached target System Time Synchronized.
    [ OK ] Found device /dev/ttyS0.
    [ OK ] Started udev Coldplug all Devices.
    [ OK ] Reached target System Initialization.
    [ OK ] Started Daily Cleanup of Temporary Directories.
    [ OK ] Reached target Timers.
    [ OK ] Listening on D-Bus System Message Bus Socket.
    Starting Network Service...
    Starting sshd.socket.
    [ OK ] Listening on sshd.socket.
    [ OK ] Found device /dev/ttyS3.
    [ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
    [ OK ] Reached target Sockets.
    [ OK ] Reached target Basic System.
    Starting Login Service...
    [ OK ] Reached target Containers.
    [ OK ] Started A userspace daemon that run��…ns under the eCryptfs mount point.
    Starting syslog.service...
    Starting System Logger Daemon "default" instance...
    [ OK ] Started D-Bus System Message Bus.
    [ OK ] Started Network Service.
    [ OK ] Reached target Network.
    Starting DNS forwarder and DHCP server...
    Starting Lightning Fast Webserver With Light System Requirements...
    Starting Network Name Resolution...
    Starting Permit User Sessions...
    [ OK ] Started Lightning Fast Webserver With Light System Requirements.
    [ OK ] Started Permit User Sessions.
    [ OK ] Started Login Service.
    [FAILED] Failed to start DNS forwarder and DHCP server.
    See 'systemctl status dnsmasq.service' for details.
    [ OK ] Started System Logger Daemon "default" instance.
    [ OK ] Started syslog.service.
    [ OK ] Started Serial Getty on ttyS3.
    [ OK ] Started Serial Getty on ttyS0.
    [ OK ] Started Getty on tty1.
    [ OK ] Reached target Login Prompts.
    Starting Synchronize System and HW clocks...
    [ OK ] Started Network Name Resolution.
    [ OK ] Started Synchronize System and HW clocks.
    [ OK ] Reached target Host and Network Name Lookups.
    [ OK ] Reached target Multi-User System.
    Starting Update UTMP about System Runlevel Changes...
    [ OK ] Started Update UTMP about System Runlevel Changes.

    _____ _____ _ _
    | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_
    | | _| .'| . | . | | __| _| . | | | -_| _| _|
    |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
    |___| |___|

    Arago Project http://arago-project.org am335x-evm ttyS0

    Arago 2018.10 am335x-evm ttyS0

    am335x-evm login: root
    -sh: command: not found
    root@am335x-evm:~#
    root@am335x-evm:~#
    root@am335x-evm:~#
    root@am335x-evm:~# ls
    cfg80211.ko mac80211.ko wl18xx.ko wlcore.ko
    root@am335x-evm:~#
    root@am335x-evm:~#
    root@am335x-evm:~# insmod cfg80211.ko
    root@am335x-evm:~# insmod mac80211.ko
    root@am335x-evm:~#
    root@am335x-evm:~# insmod wl
    wl18xx.ko wlcore.ko
    root@am335x-evm:~# insmod wlcore.ko
    root@am335x-evm:~#
    root@am335x-evm:~# insmod wl18xx.ko
    root@am335x-evm:~#
    root@am335x-evm:~#
    root@am335x-evm:~# lsmod
    Module Size Used by
    wl18xx 98304 0
    wlcore 188416 1 wl18xx
    mac80211 385024 2 wl18xx,wlcore
    cfg80211 249856 3 wl18xx,wlcore,mac80211
    cryptodev 45056 0
    root@am335x-evm:~#
    root@am335x-evm:~# dmesg | grep "wl"
    [ 1.919449] vwl1837: disabling
    root@am335x-evm:~#
    root@am335x-evm:~# dmesg | grep "cfg"
    root@am335x-evm:~#
    root@am335x-evm:~#


    Regards,
    Rohit
  • Hi,

    The following message in your log:
    [ 1.402894] omap_hsmmc 47810000.mmc: RX DMA channel request failed

    Indicates that the mmc you have configured for the wl18xx module failed to probe.
    Seems like you have selected a wrong dma channel for it in your .dts file.

    Please resolve this and make sure yo get to the point that you see an SDIO device being probed on boot.

    Best Regards,
    Eyal
  • Hi Eyal,

    Thank you for the help. I added below configurations of DMA for MMC and it worked:
    dmas = <&edma_xbar 12 0 1
    &edma_xbar 13 0 2>;
    dma-names = "tx", "rx";

    Regards,
    Rohit