Neil says “Oh I see why, we should disable sg_support since we support only a single sg…” but he’s on vaction for 14-days over Christmas and New Year so unless that means something to you (or anyone who writes code) further investigation might take a while.
all errors possible to fix (but with lost some speed performance ) im not very competent at this linux drivers parts - maybe smbdy can make it more properly and elegant
yes we need remove this one from dts sd-uhs-sdr50 , but its not enough ( AP mode - not stable ) cap-sd-highspeed - dont remove this node!!! ( this param make speed limit to 50Mhz - !!! 100Mhz not stable!!! )
G12A and G12B devices have a chipset bug that impacts SDIO - I see the same issue on a GT-King Pro and X96-Max box (both using BCM4356). GXL/GXM and SM1 don’t have the chip bug. I’ll pick the patch into my branch as a tempoarary workaround (tagged as HACK) but it needs to look for the g12a/g12b SoC compatible rather than board as the issue is not limited to VIM3. The real fix needs to be done in the mmc driver not brcmfmac, but that will take time due to Christmas and New Year.
The previous patch is flawed due to my general ignorance of c++ … it always evaluates to true so the hack is applied to all hardware. Below is an alternative approach that forces values in the mmc driver when amlogic,dram-access-quirk is in the device-tree, which only applies to g12a and g12b:
Hello
Should this problem be solved in kernel Linux Khadas 5.9.0-rc2? Or ist the Wifi of VIM3 V12 still buggy?
I would like to use it as a AP. With a mobile I can see the ssid, somtimes I can connect, but the connection is very unstable.
I get error messages like this:
[ 3.729255] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4359-sdio for chip BCM4359/9
[ 3.737525] brcmfmac mmc0:0001:1: Direct firmware load for brcm/brcmfmac4359-sdio.khadas,vim3.txt failed with error -2
[ 6.215359] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4359-sdio for chip BCM4359/9
[ 6.218270] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available
[ 6.239368] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4359/9 wl0: Sep 20 2019 20:22:36 version 9.87.51.11.34 (edb7293@shgit) (r711217) FWID 01-c7feb1ee
[ 6.711304] ieee80211 phy0: brcmf_dongle_roam: WLC_SET_ROAM_TRIGGER error (-52)
[ 8.631375] ieee80211 phy0: brcmf_fweh_call_event_handler: no interface object
[ 554.785992] ieee80211 phy0: brcmf_p2p_send_action_frame: Unknown Frame: category 0x8a, action 0x6
[ 613.533757] ieee80211 phy0: brcmf_netdev_wait_pend8021x: Timed out waiting for no pending 802.1x packets
[ 614.557747] ieee80211 phy0: brcmf_netdev_wait_pend8021x: Timed out waiting for no pending 802.1x packets