Part Number: AM4379
Hi,
I recently updated our yocto image to the most recent TI SDK Version 6.x. The prior version we are using was the Version 5.2.x. After the update the Wifi/Bluetooth device is not probed anymore. I do not have any mlan0 device anymore after running ifconfig -a.
Following some additional information and logs. I have also attached the full dmesg log.
Please let me know if you need any further information.
Configuration
Used Kernel: 4.19.38-rt19 armv7l GNU/Linux
UBoot: 2019.1
Board: Custom Board with AM4379
Device Tree
ls3: regulator-ls3 { compatible = "ti,tps65218-ls3"; regulator-name = "vcc_wlan"; regulator-min-microamp = <100>; regulator-max-microamp = <1000>; regulator-boot-on; regulator-always-on; regulator-input-current-limit-microamp = <1000>; }; vwlan_fixed1: fixed-regulator-vwlan1 { compatible = "regulator-fixed"; regulator-name = "vwlan_fixed1"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; vin-supply = <&ls3>; gpio = <&gpio5 12 GPIO_ACTIVE_HIGH>; enable-active-high; }; vwlan_fixed2: fixed-regulator-vwlan2 { compatible = "regulator-fixed"; regulator-name = "vwlan_fixed2"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; gpio = <&gpio5 13 GPIO_ACTIVE_HIGH>; vin-supply = <&vwlan_fixed1>; enable-active-high; }; // WLAN &mmc3 { status = "okay"; pinctrl-names = "default", "idle"; pinctrl-0 = <&mmc3_pins_default>; pinctrl-1 = <&mmc3_pins_idle>; vmmc-supply = <&vwlan_fixed2>; bus-width = <4>; ti,non-removable; dmas = <&edma_xbar 30 0 1 &edma_xbar 31 0 2>; dma-names = "tx", "rx"; interrupts-extended = <&wakeupgen GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH &gpio4 19 GPIO_ACTIVE_LOW>; };
After booting, no wifi or bluetooth modules are loaded:
root@t43-9888a1aa:~# lsmod Module Size Used by ti_prueth 77824 0 pru_rproc 20480 1 ti_prueth pruss 16384 2 pru_rproc,ti_prueth irq_pruss_intc 16384 7 pru_rproc pm33xx 16384 0 pruss_soc_bus 16384 0 omap_des 20480 0 des_generic 28672 1 omap_des omap_aes_driver 24576 0 crypto_engine 16384 2 omap_des,omap_aes_driver omap_crypto 16384 2 omap_des,omap_aes_driver omap_sham 28672 0 ti_emif_sram 16384 1 pm33xx c_can_platform 16384 0 c_can 20480 1 c_can_platform can_dev 28672 1 c_can spidev 20480 0 omap_mailbox 20480 1 wkup_m3_ipc 16384 1 pm33xx ti_am335x_adc 20480 0 wkup_m3_rproc 16384 1 remoteproc 45056 4 pru_rproc,wkup_m3_rproc,wkup_m3_ipc,ti_prueth omap_wdt 16384 0 sch_fq_codel 20480 4 cryptodev 49152 0
dmesg Boot: grep for wlan
root@t43-9888a1aa:~# dmesg | grep -E "wlan|47810000"
[ 0.219438] of_get_named_gpiod_flags: parsed 'gpio' property of node '/fixed-regulator-vwlan1[0]' - status (0)
[ 0.219757] of_get_named_gpiod_flags: parsed 'gpio' property of node '/fixed-regulator-vwlan2[0]' - status (0)
[ 1.635500] omap_hsmmc 47810000.mmc: GPIO lookup for consumer cd
[ 1.635510] omap_hsmmc 47810000.mmc: using device tree for GPIO lookup
[ 1.635531] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp@44000000/mmc@47810000[0]'
[ 1.635545] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp@44000000/mmc@47810000[0]'
[ 1.635555] omap_hsmmc 47810000.mmc: using lookup tables for GPIO lookup
[ 1.635562] omap_hsmmc 47810000.mmc: No GPIO consumer cd found
[ 1.635572] omap_hsmmc 47810000.mmc: GPIO lookup for consumer wp
[ 1.635577] omap_hsmmc 47810000.mmc: using device tree for GPIO lookup
[ 1.635591] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp@44000000/mmc@47810000[0]'
[ 1.635603] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp@44000000/mmc@47810000[0]'
[ 1.635610] omap_hsmmc 47810000.mmc: using lookup tables for GPIO lookup
[ 1.635616] omap_hsmmc 47810000.mmc: No GPIO consumer wp found
[ 1.799268] omap_hsmmc 47810000.mmc: GPIO lookup for consumer cd
[ 1.799277] omap_hsmmc 47810000.mmc: using device tree for GPIO lookup
[ 1.799301] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp@44000000/mmc@47810000[0]'
[ 1.799317] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp@44000000/mmc@47810000[0]'
[ 1.799327] omap_hsmmc 47810000.mmc: using lookup tables for GPIO lookup
[ 1.799335] omap_hsmmc 47810000.mmc: No GPIO consumer cd found
[ 1.799345] omap_hsmmc 47810000.mmc: GPIO lookup for consumer wp
[ 1.799350] omap_hsmmc 47810000.mmc: using device tree for GPIO lookup
[ 1.799364] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp@44000000/mmc@47810000[0]'
[ 1.799377] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp@44000000/mmc@47810000[0]'
[ 1.799384] omap_hsmmc 47810000.mmc: using lookup tables for GPIO lookup
[ 1.799390] omap_hsmmc 47810000.mmc: No GPIO consumer wp found
[ 1.799750] vwlan_fixed1: supplied by vcc_wlan
[ 1.804303] vwlan_fixed2: supplied by vwlan_fixed1
[ 1.809264] omap_hsmmc 47810000.mmc: Linked as a consumer to regulator.3
[ 1.816574] omap_hsmmc 47810000.mmc: could not set regulator OCR (-1) --> not present in sdk5.2
[ 1.868503] vwlan_fixed1: disabling
[ 1.872034] vwlan_fixed2: disabling
debug gpio, both vwlan_fixed1 and vwaln_fixed2 are lo, in the sdk 5.x image, these were hi
root@t43-9888a1aa:~# cat /sys/kernel/debug/gpio gpiochip0: GPIOs 0-31, parent: platform/44e07000.gpio, gpio-0-31: gpio-6 ( |cd ) in lo IRQ gpio-24 ( |cm-t43:green ) out lo gpiochip1: GPIOs 32-63, parent: platform/4804c000.gpio, gpio-32-63: gpiochip2: GPIOs 64-95, parent: platform/481ac000.gpio, gpio-64-95: gpio-76 ( |mosi ) out lo gpio-89 ( |sck ) out lo gpiochip3: GPIOs 96-127, parent: platform/481ae000.gpio, gpio-96-127: gpiochip4: GPIOs 128-159, parent: platform/48320000.gpio, gpio-128-159: gpio-131 ( |btn-5 ) in hi IRQ gpio-132 ( |btn-3 ) in hi IRQ gpio-134 ( |reset ) out hi gpio-143 ( |btn-4 ) in hi IRQ gpio-154 ( |btn-2 ) in hi IRQ gpio-157 ( |btn-1 ) in hi IRQ gpiochip5: GPIOs 160-191, parent: platform/48322000.gpio, gpio-160-191: gpio-172 ( |vwlan_fixed1 ) out lo gpio-173 ( |vwlan_fixed2 ) out lo gpiochip6: GPIOs 496-511, parent: spi/spi1.0, 74hc595, can sleep: