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.

WL1835MODCOM8B: wl1271_sdio mmc2:0001:2: sdio write failed (-110) in AM5728EVM

Part Number: WL1835MODCOM8B
Other Parts Discussed in Thread: WL1835MOD, AM5728

Dear Champs,

My customer tested it on AM5728 GP EVM(revision 1.0, earlier than A3a), and they also found issues when they run ifconfig and wpa_supplicant to work WL1835MOD through SDIO as below.

Their SDK version is SDKv6.3.0.

logs.txt
root@am57xx-evm:~# ifconfig wlan0 down
[  226.163598] wlcore: down
root@am57xx-evm:~# ifconfig wlan0 up
[  230.686189] ------------[ cut here ]------------
[  230.690849] WARNING: CPU: 1 PID: 1368 at drivers/net/wireless/ti/wlcore/sdio.c:145 wl12xx_sdio_raw_write+0x118/0x150 [wlcore_sdio]
[  230.703101] Modules linked in: xfrm_user xfrm4_tunnel ipcomp xfrm_ipcomp esp4 ah4 af_key xfrm_algo arc4 wl18xx wlcore mac80211 pru_rproc sha256_generic irq_pruss_intc xhci_plat_hcd xhci_hcd sha256_arm cfg80211 pruss rpmsg_proto dwc3 udc_core rpmsg_rpc ahci_platform libahci_platform snd_soc_simple_card snd_soc_simple_card_utils libahci ti_vpe libata omap_aes_driver pvrsrvkm(O) snd_soc_omap_hdmi pruss_soc_bus ti_sc wlcore_sdio phy_omap_usb2 omap_sham omap_wdt ti_csc ti_vpdma dwc3_omap rtc_omap omap_des snd_soc_tlv320aic3x des_generic at24 pixcir_i2c_ts omap_hdq crypto_engine extcon_palmas wire rtc_palmas rtc_ds1307 omap_crypto omap_remoteproc virtio_rpmsg_bus remoteproc sch_fq_codel uio_module_drv(O) uio ftdi_sio usbserial usbcore usb_common jailhouse(O) gdbserverproxy(O) cryptodev(O) cmemk(O)
[  230.773809] CPU: 1 PID: 1368 Comm: ifconfig Tainted: G           O      4.19.79-g77dfab56c6 #1
[  230.782462] Hardware name: Generic DRA74X (Flattened Device Tree)
[  230.788578] Backtrace:
[  230.791041] [<c020ca34>] (dump_backtrace) from [<c020cd6c>] (show_stack+0x18/0x1c)
[  230.798642]  r7:bf1e6b00 r6:60000013 r5:00000000 r4:c12506dc
[  230.804329] [<c020cd54>] (show_stack) from [<c0a12ee0>] (dump_stack+0x90/0xa4)
[  230.811582] [<c0a12e50>] (dump_stack) from [<c022e098>] (__warn+0xdc/0xf8)
[  230.818483]  r7:bf1e6b00 r6:00000009 r5:00000000 r4:00000000
[  230.824166] [<c022dfbc>] (__warn) from [<c022e0fc>] (warn_slowpath_null+0x48/0x50)
[  230.831767]  r9:00004000 r8:d4294000 r7:ed7c8810 r6:bf1e5340 r5:00000091 r4:bf1e6b00
[  230.839547] [<c022e0b4>] (warn_slowpath_null) from [<bf1e5340>] (wl12xx_sdio_raw_write+0x118/0x150 [wlcore_sdio])
[  230.849849]  r6:00004000 r5:c1204c48 r4:ede4fa00
[  230.854517] [<bf1e5228>] (wl12xx_sdio_raw_write [wlcore_sdio]) from [<bf59094c>] (wlcore_boot_upload_firmware+0x22c/0x488 [wlcore])
[  230.866390]  r10:00014000 r9:bf1e5228 r8:d4294000 r7:bf5a0d40 r6:00000001 r5:80904000
[  230.874250]  r4:ec318e00
[  230.876832] [<bf590720>] (wlcore_boot_upload_firmware [wlcore]) from [<bf5bbf40>] (wl18xx_boot+0x844/0xc88 [wl18xx])
[  230.887398]  r10:00000003 r9:00000014 r8:c0e69a2c r7:bf5a0d40 r6:c1204c48 r5:00000000
[  230.895256]  r4:ec318e00
[  230.897830] [<bf5bb6fc>] (wl18xx_boot [wl18xx]) from [<bf582fe4>] (wl1271_op_add_interface+0x54c/0x940 [wlcore])
[  230.908047]  r9:00000000 r8:ec318e3c r7:bf5a0d40 r6:c1204c48 r5:ec318e00 r4:ec73cb30
[  230.915893] [<bf582a98>] (wl1271_op_add_interface [wlcore]) from [<bf506230>] (drv_add_interface+0x34/0x7c [mac80211])
[  230.926633]  r10:00000000 r9:00000001 r8:ec73c670 r7:ec73c540 r6:ec318480 r5:ec73c000
[  230.934492]  r4:ec73c540
[  230.937115] [<bf5061fc>] (drv_add_interface [mac80211]) from [<bf519590>] (ieee80211_do_open+0x47c/0x91c [mac80211])
[  230.947679]  r5:ec73c000 r4:ec73c548
[  230.951352] [<bf519114>] (ieee80211_do_open [mac80211]) from [<bf519a7c>] (ieee80211_open+0x4c/0x58 [mac80211])
[  230.961480]  r10:00000000 r9:00000000 r8:ec73c02c r7:bf54c674 r6:00000000 r5:c1204c48
[  230.969338]  r4:ec73c540
[  230.971924] [<bf519a30>] (ieee80211_open [mac80211]) from [<c08d91fc>] (__dev_open+0xd4/0x158)
[  230.980568]  r5:c1204c48 r4:ec73c000
[  230.984158] [<c08d9128>] (__dev_open) from [<c08d95f4>] (__dev_change_flags+0x16c/0x1cc)
[  230.992281]  r8:00001002 r7:c1204c48 r6:00001043 r5:00000001 r4:ec73c000
[  230.999009] [<c08d9488>] (__dev_change_flags) from [<c08d9674>] (dev_change_flags+0x20/0x50)
[  231.007480]  r9:00000000 r8:00008914 r7:ec73c140 r6:00000000 r5:00001002 r4:ec73c000
[  231.015258] [<c08d9654>] (dev_change_flags) from [<c0961b9c>] (devinet_ioctl+0x6c8/0x6f8)
[  231.023467]  r9:00000000 r8:00008914 r7:c1204c48 r6:ed70a00c r5:d4167e08 r4:00000000
[  231.031243] [<c09614d4>] (devinet_ioctl) from [<c0963ff0>] (inet_ioctl+0x1f0/0x34c)
[  231.038929]  r10:dfbb2020 r9:d4166000 r8:bed1fa60 r7:c12492c0 r6:00008914 r5:bed1fa60
[  231.046787]  r4:c1204c48
[  231.049332] [<c0963e00>] (inet_ioctl) from [<c08b3a10>] (sock_ioctl+0x1b8/0x42c)
[  231.056756]  r8:bed1fa60 r7:c12492c0 r6:bed1fa60 r5:c1204c48 r4:00008914
[  231.063486] [<c08b3858>] (sock_ioctl) from [<c036afa8>] (do_vfs_ioctl+0xb8/0x7c0)
[  231.070998]  r9:d4166000 r8:bed1fa60 r7:00000003 r6:d47eda80 r5:bed1fa60 r4:c1204c48
[  231.078772] [<c036aef0>] (do_vfs_ioctl) from [<c036b6ec>] (ksys_ioctl+0x3c/0x68)
[  231.086198]  r10:00000036 r9:d4166000 r8:bed1fa60 r7:00008914 r6:00000003 r5:d47eda80
[  231.094056]  r4:d47eda80
[  231.096597] [<c036b6b0>] (ksys_ioctl) from [<c036b728>] (sys_ioctl+0x10/0x14)
[  231.103760]  r9:d4166000 r8:c0201204 r7:00000036 r6:bed1fd62 r5:bed1fd62 r4:0007b558
[  231.111536] [<c036b718>] (sys_ioctl) from [<c0201000>] (ret_fast_syscall+0x0/0x4c)
[  231.119134] Exception stack(0xd4167fa8 to 0xd4167ff0)
[  231.124205] 7fa0:                   0007b558 bed1fd62 00000003 00008914 bed1fa60 0007b558
[  231.132415] 7fc0: 0007b558 bed1fd62 bed1fd62 00000036 bed1fc2c bed1fc2c bed1fa60 00000003
[  231.140625] 7fe0: 0009d1ec bed1f9f4 00032145 b6ef815c
[  231.146740] ---[ end trace ae243cd66a7d2abc ]---
[  231.151380] wl1271_sdio mmc2:0001:2: sdio write failed (-110)
[  233.645442] ------------[ cut here ]------------
[  233.650100] WARNING: CPU: 0 PID: 1368 at drivers/net/wireless/ti/wlcore/sdio.c:145 wl12xx_sdio_raw_write+0x118/0x150 [wlcore_sdio]
[  233.662517] Modules linked in: xfrm_user xfrm4_tunnel ipcomp xfrm_ipcomp esp4 ah4 af_key xfrm_algo arc4 wl18xx wlcore mac80211 pru_rproc sha256_generic irq_pruss_intc xhci_plat_hcd xhci_hcd sha256_arm cfg80211 pruss rpmsg_proto dwc3 udc_core rpmsg_rpc ahci_platform libahci_platform snd_soc_simple_card snd_soc_simple_card_utils libahci ti_vpe libata omap_aes_driver pvrsrvkm(O) snd_soc_omap_hdmi pruss_soc_bus ti_sc wlcore_sdio phy_omap_usb2 omap_sham omap_wdt ti_csc ti_vpdma dwc3_omap rtc_omap omap_des snd_soc_tlv320aic3x des_generic at24 pixcir_i2c_ts omap_hdq crypto_engine extcon_palmas wire rtc_palmas rtc_ds1307 omap_crypto omap_remoteproc virtio_rpmsg_bus remoteproc sch_fq_codel uio_module_drv(O) uio ftdi_sio usbserial usbcore usb_common jailhouse(O) gdbserverproxy(O) cryptodev(O) cmemk(O)
[  233.734266] CPU: 0 PID: 1368 Comm: ifconfig Tainted: G        W  O      4.19.79-g77dfab56c6 #1
[  233.742915] Hardware name: Generic DRA74X (Flattened Device Tree)
[  233.749030] Backtrace:
[  233.751491] [<c020ca34>] (dump_backtrace) from [<c020cd6c>] (show_stack+0x18/0x1c)
[  233.759092]  r7:bf1e6b00 r6:600f0013 r5:00000000 r4:c12506dc
[  233.764777] [<c020cd54>] (show_stack) from [<c0a12ee0>] (dump_stack+0x90/0xa4)
[  233.772029] [<c0a12e50>] (dump_stack) from [<c022e098>] (__warn+0xdc/0xf8)
[  233.778932]  r7:bf1e6b00 r6:00000009 r5:00000000 r4:00000000
[  233.784613] [<c022dfbc>] (__warn) from [<c022e0fc>] (warn_slowpath_null+0x48/0x50)
[  233.792215]  r9:00004000 r8:d4294000 r7:ed7c8810 r6:bf1e5340 r5:00000091 r4:bf1e6b00
[  233.799993] [<c022e0b4>] (warn_slowpath_null) from [<bf1e5340>] (wl12xx_sdio_raw_write+0x118/0x150 [wlcore_sdio])
[  233.810295]  r6:00000000 r5:c1204c48 r4:ede4fa00
[  233.814971] [<bf1e5228>] (wl12xx_sdio_raw_write [wlcore_sdio]) from [<bf59094c>] (wlcore_boot_upload_firmware+0x22c/0x488 [wlcore])
[  233.826845]  r10:00014000 r9:bf1e5228 r8:d4294000 r7:bf5a0d40 r6:00000000 r5:80900000
[  233.834704]  r4:ec318e00
[  233.837286] [<bf590720>] (wlcore_boot_upload_firmware [wlcore]) from [<bf5bbf40>] (wl18xx_boot+0x844/0xc88 [wl18xx])
[  233.847853]  r10:00000002 r9:00000014 r8:c0e69a2c r7:bf5a0d40 r6:c1204c48 r5:00000000
[  233.855712]  r4:ec318e00
[  233.858285] [<bf5bb6fc>] (wl18xx_boot [wl18xx]) from [<bf582fe4>] (wl1271_op_add_interface+0x54c/0x940 [wlcore])
[  233.868501]  r9:00000000 r8:ec318e3c r7:bf5a0d40 r6:c1204c48 r5:ec318e00 r4:ec73cb30
[  233.876359] [<bf582a98>] (wl1271_op_add_interface [wlcore]) from [<bf506230>] (drv_add_interface+0x34/0x7c [mac80211])
[  233.887099]  r10:00000000 r9:00000001 r8:ec73c670 r7:ec73c540 r6:ec318480 r5:ec73c000
[  233.894958]  r4:ec73c540
[  233.897581] [<bf5061fc>] (drv_add_interface [mac80211]) from [<bf519590>] (ieee80211_do_open+0x47c/0x91c [mac80211])
[  233.908144]  r5:ec73c000 r4:ec73c548
[  233.911816] [<bf519114>] (ieee80211_do_open [mac80211]) from [<bf519a7c>] (ieee80211_open+0x4c/0x58 [mac80211])
[  233.921945]  r10:00000000 r9:00000000 r8:ec73c02c r7:bf54c674 r6:00000000 r5:c1204c48
[  233.929804]  r4:ec73c540
[  233.932389] [<bf519a30>] (ieee80211_open [mac80211]) from [<c08d91fc>] (__dev_open+0xd4/0x158)
[  233.941033]  r5:c1204c48 r4:ec73c000
[  233.944622] [<c08d9128>] (__dev_open) from [<c08d95f4>] (__dev_change_flags+0x16c/0x1cc)
[  233.952745]  r8:00001002 r7:c1204c48 r6:00001043 r5:00000001 r4:ec73c000
[  233.959473] [<c08d9488>] (__dev_change_flags) from [<c08d9674>] (dev_change_flags+0x20/0x50)
[  233.967944]  r9:00000000 r8:00008914 r7:ec73c140 r6:00000000 r5:00001002 r4:ec73c000
[  233.975721] [<c08d9654>] (dev_change_flags) from [<c0961b9c>] (devinet_ioctl+0x6c8/0x6f8)
[  233.983931]  r9:00000000 r8:00008914 r7:c1204c48 r6:ed70a00c r5:d4167e08 r4:00000000
[  233.991706] [<c09614d4>] (devinet_ioctl) from [<c0963ff0>] (inet_ioctl+0x1f0/0x34c)
[  233.999393]  r10:dfbb2020 r9:d4166000 r8:bed1fa60 r7:c12492c0 r6:00008914 r5:bed1fa60
[  234.007253]  r4:c1204c48
[  234.009800] [<c0963e00>] (inet_ioctl) from [<c08b3a10>] (sock_ioctl+0x1b8/0x42c)
[  234.017223]  r8:bed1fa60 r7:c12492c0 r6:bed1fa60 r5:c1204c48 r4:00008914
[  234.023954] [<c08b3858>] (sock_ioctl) from [<c036afa8>] (do_vfs_ioctl+0xb8/0x7c0)
[  234.031465]  r9:d4166000 r8:bed1fa60 r7:00000003 r6:d47eda80 r5:bed1fa60 r4:c1204c48
[  234.039239] [<c036aef0>] (do_vfs_ioctl) from [<c036b6ec>] (ksys_ioctl+0x3c/0x68)
[  234.046664]  r10:00000036 r9:d4166000 r8:bed1fa60 r7:00008914 r6:00000003 r5:d47eda80
[  234.054522]  r4:d47eda80
[  234.057063] [<c036b6b0>] (ksys_ioctl) from [<c036b728>] (sys_ioctl+0x10/0x14)
[  234.064226]  r9:d4166000 r8:c0201204 r7:00000036 r6:bed1fd62 r5:bed1fd62 r4:0007b558
[  234.072001] [<c036b718>] (sys_ioctl) from [<c0201000>] (ret_fast_syscall+0x0/0x4c)
[  234.079599] Exception stack(0xd4167fa8 to 0xd4167ff0)
[  234.084669] 7fa0:                   0007b558 bed1fd62 00000003 00008914 bed1fa60 0007b558
[  234.092880] 7fc0: 0007b558 bed1fd62 bed1fd62 00000036 bed1fc2c bed1fc2c bed1fa60 00000003
[  234.101088] 7fe0: 0009d1ec bed1f9f4 00032145 b6ef815c
[  234.106274] ---[ end trace ae243cd66a7d2abd ]---
[  234.110912] wl1271_sdio mmc2:0001:2: sdio write failed (-110)
[  236.605700] ------------[ cut here ]------------
[  236.610354] WARNING: CPU: 0 PID: 1368 at drivers/net/wireless/ti/wlcore/sdio.c:145 wl12xx_sdio_raw_write+0x118/0x150 [wlcore_sdio]
[  236.622240] Modules linked in: xfrm_user xfrm4_tunnel ipcomp xfrm_ipcomp esp4 ah4 af_key xfrm_algo arc4 wl18xx wlcore mac80211 pru_rproc sha256_generic irq_pruss_intc xhci_plat_hcd xhci_hcd sha256_arm cfg80211 pruss rpmsg_proto dwc3 udc_core rpmsg_rpc ahci_platform libahci_platform snd_soc_simple_card snd_soc_simple_card_utils libahci ti_vpe libata omap_aes_driver pvrsrvkm(O) snd_soc_omap_hdmi pruss_soc_bus ti_sc wlcore_sdio phy_omap_usb2 omap_sham omap_wdt ti_csc ti_vpdma dwc3_omap rtc_omap omap_des snd_soc_tlv320aic3x des_generic at24 pixcir_i2c_ts omap_hdq crypto_engine extcon_palmas wire rtc_palmas rtc_ds1307 omap_crypto omap_remoteproc virtio_rpmsg_bus remoteproc sch_fq_codel uio_module_drv(O) uio ftdi_sio usbserial usbcore usb_common jailhouse(O) gdbserverproxy(O) cryptodev(O) cmemk(O)
[  236.693042] CPU: 0 PID: 1368 Comm: ifconfig Tainted: G        W  O      4.19.79-g77dfab56c6 #1
[  236.701693] Hardware name: Generic DRA74X (Flattened Device Tree)
[  236.707811] Backtrace:
[  236.710278] [<c020ca34>] (dump_backtrace) from [<c020cd6c>] (show_stack+0x18/0x1c)
[  236.717884]  r7:bf1e6b00 r6:600d0013 r5:00000000 r4:c12506dc
[  236.723576] [<c020cd54>] (show_stack) from [<c0a12ee0>] (dump_stack+0x90/0xa4)
[  236.730834] [<c0a12e50>] (dump_stack) from [<c022e098>] (__warn+0xdc/0xf8)
[  236.737741]  r7:bf1e6b00 r6:00000009 r5:00000000 r4:00000000
[  236.743428] [<c022dfbc>] (__warn) from [<c022e0fc>] (warn_slowpath_null+0x48/0x50)
[  236.751034]  r9:00004000 r8:d4294000 r7:ed7c8810 r6:bf1e5340 r5:00000091 r4:bf1e6b00
[  236.758819] [<c022e0b4>] (warn_slowpath_null) from [<bf1e5340>] (wl12xx_sdio_raw_write+0x118/0x150 [wlcore_sdio])
[  236.769125]  r6:00000000 r5:c1204c48 r4:ede4fa00
[  236.773827] [<bf1e5228>] (wl12xx_sdio_raw_write [wlcore_sdio]) from [<bf59094c>] (wlcore_boot_upload_firmware+0x22c/0x488 [wlcore])
[  236.785707]  r10:00014000 r9:bf1e5228 r8:d4294000 r7:bf5a0d40 r6:00000000 r5:80900000
[  236.793570]  r4:ec318e00
[  236.796173] [<bf590720>] (wlcore_boot_upload_firmware [wlcore]) from [<bf5bbf40>] (wl18xx_boot+0x844/0xc88 [wl18xx])
[  236.806744]  r10:00000001 r9:00000014 r8:c0e69a2c r7:bf5a0d40 r6:c1204c48 r5:00000000
[  236.814605]  r4:ec318e00
[  236.817199] [<bf5bb6fc>] (wl18xx_boot [wl18xx]) from [<bf582fe4>] (wl1271_op_add_interface+0x54c/0x940 [wlcore])
[  236.827421]  r9:00000000 r8:ec318e3c r7:bf5a0d40 r6:c1204c48 r5:ec318e00 r4:ec73cb30
[  236.835323] [<bf582a98>] (wl1271_op_add_interface [wlcore]) from [<bf506230>] (drv_add_interface+0x34/0x7c [mac80211])
[  236.846067]  r10:00000000 r9:00000001 r8:ec73c670 r7:ec73c540 r6:ec318480 r5:ec73c000
[  236.853928]  r4:ec73c540
[  236.856596] [<bf5061fc>] (drv_add_interface [mac80211]) from [<bf519590>] (ieee80211_do_open+0x47c/0x91c [mac80211])
[  236.867164]  r5:ec73c000 r4:ec73c548
[  236.870881] [<bf519114>] (ieee80211_do_open [mac80211]) from [<bf519a7c>] (ieee80211_open+0x4c/0x58 [mac80211])
[  236.881014]  r10:00000000 r9:00000000 r8:ec73c02c r7:bf54c674 r6:00000000 r5:c1204c48
[  236.888877]  r4:ec73c540
[  236.891486] [<bf519a30>] (ieee80211_open [mac80211]) from [<c08d91fc>] (__dev_open+0xd4/0x158)
[  236.900135]  r5:c1204c48 r4:ec73c000
[  236.903728] [<c08d9128>] (__dev_open) from [<c08d95f4>] (__dev_change_flags+0x16c/0x1cc)
[  236.911856]  r8:00001002 r7:c1204c48 r6:00001043 r5:00000001 r4:ec73c000
[  236.918590] [<c08d9488>] (__dev_change_flags) from [<c08d9674>] (dev_change_flags+0x20/0x50)
[  236.927067]  r9:00000000 r8:00008914 r7:ec73c140 r6:00000000 r5:00001002 r4:ec73c000
[  236.934847] [<c08d9654>] (dev_change_flags) from [<c0961b9c>] (devinet_ioctl+0x6c8/0x6f8)
[  236.943062]  r9:00000000 r8:00008914 r7:c1204c48 r6:ed70a00c r5:d4167e08 r4:00000000
[  236.950843] [<c09614d4>] (devinet_ioctl) from [<c0963ff0>] (inet_ioctl+0x1f0/0x34c)
[  236.958534]  r10:dfbb2020 r9:d4166000 r8:bed1fa60 r7:c12492c0 r6:00008914 r5:bed1fa60
[  236.966396]  r4:c1204c48
[  236.968947] [<c0963e00>] (inet_ioctl) from [<c08b3a10>] (sock_ioctl+0x1b8/0x42c)
[  236.976376]  r8:bed1fa60 r7:c12492c0 r6:bed1fa60 r5:c1204c48 r4:00008914
[  236.983111] [<c08b3858>] (sock_ioctl) from [<c036afa8>] (do_vfs_ioctl+0xb8/0x7c0)
[  236.990628]  r9:d4166000 r8:bed1fa60 r7:00000003 r6:d47eda80 r5:bed1fa60 r4:c1204c48
[  236.998406] [<c036aef0>] (do_vfs_ioctl) from [<c036b6ec>] (ksys_ioctl+0x3c/0x68)
[  237.005835]  r10:00000036 r9:d4166000 r8:bed1fa60 r7:00008914 r6:00000003 r5:d47eda80
[  237.013698]  r4:d47eda80
[  237.016245] [<c036b6b0>] (ksys_ioctl) from [<c036b728>] (sys_ioctl+0x10/0x14)
[  237.023414]  r9:d4166000 r8:c0201204 r7:00000036 r6:bed1fd62 r5:bed1fd62 r4:0007b558
[  237.031196] [<c036b718>] (sys_ioctl) from [<c0201000>] (ret_fast_syscall+0x0/0x4c)
[  237.038797] Exception stack(0xd4167fa8 to 0xd4167ff0)
[  237.043873] 7fa0:                   0007b558 bed1fd62 00000003 00008914 bed1fa60 0007b558
[  237.052088] 7fc0: 0007b558 bed1fd62 bed1fd62 00000036 bed1fc2c bed1fc2c bed1fa60 00000003
[  237.060301] 7fe0: 0009d1ec bed1f9f4 00032145 b6ef815c
[  237.065448] ---[ end trace ae243cd66a7d2abe ]---
[  237.070121] wl1271_sdio mmc2:0001:2: sdio write failed (-110)

[  237.763798] wlcore: ERROR firmware boot failed despite 3 retries
ifconfig: SIOCSIFFLAGS: Connection timed out

They connected WL1835MODCOM8 to AM5728 GP EVM as below.

When they tried to boot using pre-built image of Linux SDK, they confirmed MMC, wlcore_sdio as below. 

root@am57xx-evm:~# dmesg | grep mmc2

[    3.377537] mmc2: SDHCI controller on 480ad000.mmc [480ad000.mmc] using PIO

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

~~~~

root@am57xx-evm:~# dmesg | grep wl

[    0.490144] of_get_named_gpiod_flags: parsed 'gpio' property of node '/fixedregulator-mmcwl[0]' - status (0)

[   14.569465] wl18xx_driver wl18xx.1.auto: Direct firmware load for ti-connectivity/wl1271-nvs.bin failed with error -2

[   14.965086] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)

[   15.050541] wlcore: loaded

[   15.600205] wlcore: PHY firmware version: Rev 8.2.0.0.240

[   15.720293] wlcore: firmware booted (Rev 8.9.0.0.76)

~~~~~~~

root@am57xx-evm:~# ifconfig -a

eth0      Link encap:Ethernet  HWaddr A0:F6:FD:AA:53:D8

          UP BROADCAST MULTICAST  MTU:1500  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

          Interrupt:90

 

eth1      Link encap:Ethernet  HWaddr A0:F6:FD:AA:53:D9

          UP BROADCAST MULTICAST  MTU:1500  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

 

lo        Link encap:Local Loopback

          inet addr:127.0.0.1  Mask:255.0.0.0

          inet6 addr: ::1/128 Scope:Host

          UP LOOPBACK RUNNING  MTU:65536  Metric:1

          RX packets:107 errors:0 dropped:0 overruns:0 frame:0

          TX packets:107 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:221047 (215.8 KiB)  TX bytes:221047 (215.8 KiB)

 

sit0      Link encap:IPv6-in-IPv4

          NOARP  MTU:1480  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

 

wlan0     Link encap:Ethernet  HWaddr 50:65:83:F8:1C:CC

          UP BROADCAST MULTICAST  MTU:1500  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

~~~~~~~

* MMC2 after boot

root@am57xx-evm:~# cat /sys/kernel/debug/mmc2/ios

clock:          48000000 Hz

vdd:            23 (3.5 ~ 3.6 V)

bus mode:       2 (push-pull)

chip select:    0 (don't care)

power mode:     2 (on)

bus width:      2 (4 bits)

timing spec:    2 (sd high-speed)

signal voltage: 1 (1.80 V)

driver type:    0 (driver type B)

Thanks and Best Regards,

SI.