Wifi issue

Hello,

The wifi on my beaglebone blue doesn’t seem to work anymore. It was working intermittently when I received the board but since I have changed the image it does not work anymore.

The board is properly recognized as a beaglebone blue:

cat /proc/device-tree/model
TI AM335x BeagleBone Blue

Here is the output of version.sh

sudo /opt/scripts/tools/version.sh
[sudo] password for debian:
git:/opt/scripts/:[70edebd65fe6ea7de16ea8efe3c48b2a4062034a]
eeprom:[A335BNLTBLA21722EL002119]
model:[TI_AM335x_BeagleBone_Blue]
dogtag:[BeagleBoard.org Debian Image 2018-03-25]
bootloader:[microSD-(push-button)]:[/dev/mmcblk0]:[U-Boot 2018.03-00003-g1457d71f02]:[location: dd MBR]
bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot 2018.03-00002-g254339602c]:[location: dd MBR]
kernel:[4.9.88-ti-r107]
nodejs:[v6.13.1]
uboot_overlay_options:[enable_uboot_overlays=1]
uboot_overlay_options:[disable_uboot_overlay_adc=1]
uboot_overlay_options:[uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-9-TI-00A0.dtbo]
uboot_overlay_options:[enable_uboot_cape_universal=1]
pkg:[bb-cape-overlays]:[4.4.20180322.0-0rcnee0~stretch+20180322]
pkg:[bb-wl18xx-firmware]:[1.20170829-0rcnee2~stretch+20180104]
pkg:[firmware-ti-connectivity]:[20170823-1rcnee0~stretch+20170830]
groups:[debian : debian adm kmem dialout cdrom floppy audio dip video plugdev users systemd-journal i2c bluetooth netdev cloud9ide gpio pwm eqep admin spi tisdk weston-launch xenomai]
cmdline:[console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0 quiet]
dmesg | grep pinctrl-single
[ 1.413508] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
dmesg | grep gpio-of-helper

The wifi interface is not there:

debian@beaglebone:~$ ls /sys/class/net/
can0 lo usb0 usb1

And finally here is the output of dmesg

root@beaglebone:/opt/scripts/tools# dmesg
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.9.88-ti-r107 (root@b2-am57xx-beagle-x15-2gb) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1) ) #1 SMP PREEMPT Sat Mar 24 05:52:01 UTC 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 BeagleBone Blue
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] cma: Reserved 48 MiB at 0x9c800000
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] On node 0 totalpages: 130560
[ 0.000000] free_area_init_node: node 0, pgdat c14ea240, node_mem_map df961000
[ 0.000000] Normal zone: 1148 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 130560 pages, LIFO batch:31
[ 0.000000] CPU: All CPU(s) started in SVC mode.
[ 0.000000] AM335X ES2.1 (sgx neon)
[ 0.000000] percpu: Embedded 15 pages/cpu @df8fc000 s31884 r8192 d21364 u61440
[ 0.000000] pcpu-alloc: s31884 r8192 d21364 u61440 alloc=15*4096
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 129412
[ 0.000000] Kernel command line: console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 root=/dev/mmcblk1p1 ro rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0 quiet
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 439160K/522240K available (12288K kernel code, 1157K rwdata, 4376K rodata, 1024K init, 752K bss, 33928K reserved, 49152K cma-reserved, 0K highmem)
[ 0.000000] Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xe0000000 - 0xff800000 ( 504 MB)
lowmem : 0xc0000000 - 0xdfe00000 ( 510 MB)
pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
.text : 0xc0008000 - 0xc0d00000 (13280 kB)
.init : 0xc1300000 - 0xc1400000 (1024 kB)
.data : 0xc1400000 - 0xc15216f8 (1158 kB)
.bss : 0xc1523000 - 0xc15df030 ( 753 kB)
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] Build-time adjustment of leaf fanout to 32.
[ 0.000000] RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=1
[ 0.000000] NR_IRQS:16 nr_irqs:16 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.000026] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[ 0.000049] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000060] OMAP clocksource: timer1 at 24000000 Hz
[ 0.002001] clocksource_probe: no matching clocksources found
[ 0.002600] Console: colour dummy device 80x30
[ 0.002628] WARNING: Your ‘console=ttyO0’ has been replaced by ‘ttyS0’
[ 0.002634] This ensures that you still see kernel messages. Please
[ 0.002639] update your kernel commandline.
[ 0.002659] Calibrating delay loop… 995.32 BogoMIPS (lpj=1990656)
[ 0.020510] pid_max: default: 32768 minimum: 301
[ 0.020804] Security Framework initialized
[ 0.020816] Yama: becoming mindful.
[ 0.020875] AppArmor: AppArmor initialized
[ 0.021087] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.021098] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.022308] CPU: Testing write buffer coherency: ok
[ 0.022378] ftrace: allocating 39793 entries in 117 pages
[ 0.135301] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[ 0.135368] Setting up static identity map for 0x80100000 - 0x80100060
[ 0.167592] EFI services will not be available.
[ 0.180506] Brought up 1 CPUs
[ 0.180521] SMP: Total of 1 processors activated (995.32 BogoMIPS).
[ 0.180528] CPU: All CPU(s) started in SVC mode.
[ 0.182142] devtmpfs: initialized
[ 0.224844] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 0.225386] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.225412] futex hash table entries: 256 (order: 2, 16384 bytes)
[ 0.229157] xor: measuring software checksum speed
[ 0.268529] arm4regs : 1217.000 MB/sec
[ 0.308476] 8regs : 1091.000 MB/sec
[ 0.348475] 32regs : 1088.000 MB/sec
[ 0.388473] neon : 1658.000 MB/sec
[ 0.388480] xor: using function: neon (1658.000 MB/sec)
[ 0.388498] pinctrl core: initialized pinctrl subsystem
[ 0.390029] NET: Registered protocol family 16
[ 0.393895] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[ 0.472098] omap_hwmod: debugss: _wait_target_disable failed
[ 0.524525] cpuidle: using governor ladder
[ 0.536503] cpuidle: using governor menu
[ 0.545408] OMAP GPIO hardware version 0.1
[ 0.552428] GPIO line 106 (LS_BUF_EN) hogged as output/high
[ 0.571905] No ATAGs?
[ 0.571931] hw-breakpoint: debug architecture 0x4 unsupported.
[ 0.572848] omap4_sram_init:Unable to allocate sram needed to handle errata I688
[ 0.572864] omap4_sram_init:Unable to get sram pool needed to handle errata I688
[ 0.684543] raid6: neonx2 gen() 1902 MB/s
[ 0.752520] raid6: neonx2 xor() 1172 MB/s
[ 0.752528] raid6: using algorithm neonx2 gen() 1902 MB/s
[ 0.752534] raid6: … xor() 1172 MB/s, rmw enabled
[ 0.752540] raid6: using intx1 recovery algorithm
[ 0.762774] edma 49000000.edma: TI EDMA DMA engine driver
[ 0.769459] SCSI subsystem initialized
[ 0.772668] libata version 3.00 loaded.
[ 0.773037] usbcore: registered new interface driver usbfs
[ 0.773118] usbcore: registered new interface driver hub
[ 0.773246] usbcore: registered new device driver usb
[ 0.774000] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe
[ 0.774056] omap_i2c 4802a000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_P9_17_i2c_pin, deferring probe
[ 0.774097] omap_i2c 4819c000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c2_pins, deferring probe
[ 0.774248] media: Linux media interface: v0.10
[ 0.774306] Linux video capture interface: v2.00
[ 0.774390] pps_core: LinuxPPS API ver. 1 registered