Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

M201D rtw8822bs驱动问题 #2692

Open
andylovephysics opened this issue Dec 6, 2024 · 1 comment
Open

M201D rtw8822bs驱动问题 #2692

andylovephysics opened this issue Dec 6, 2024 · 1 comment

Comments

@andylovephysics
Copy link

Device Information | 设备信息

  • SOC: [S905lb]
  • Model [黑龙江新魔百盒]

Armbian Version | 系统版本

  • Kernel Version: [e.g. 6.6.62]

memory
1g emmc+ 8g nand

Describe the bug | 问题描述

我所用的dtb文件为meson-gxl-s905l3b-m302a.dtb,其中更改过mmc频率,将max-frequency里面的内容修改成了0x5f5e100。
现在安装板载rtw8822bs的驱动,用的是https://github.com/lwfinger/rtw88中的驱动。
查看错误,报错为:

root@armbian:~# dmesg | grep rtw
[   15.309821] rtw_core: loading out-of-tree module taints kernel.
[   16.104252] rtw_8822bs mmc0:0001:1: Firmware version 30.20.0, H2C version 14
[   17.132782] rtw_8822bs mmc0:0001:1: sdio read32 failed (0x11080): -110
[   17.146397] rtw_8822bs mmc0:0001:1: sdio write32 failed (0x11080): -110
[   18.215778] rtw_8822bs mmc0:0001:1: sdio read32 failed (0x10080): -110
[   18.220273] rtw_8822bs mmc0:0001:1: sdio write32 failed (0x10080): -110
[   19.250036] rtw_8822bs mmc0:0001:1: sdio read32 failed (0x10040): -110
[   19.254614] rtw_8822bs mmc0:0001:1: sdio write32 failed (0x10040): -110
[   20.284069] rtw_8822bs mmc0:0001:1: sdio read32 failed (0x11700): -110
[   20.288507] rtw_8822bs mmc0:0001:1: sdio write32 failed (0x11700): -110
[   21.318065] rtw_8822bs mmc0:0001:1: sdio read32 failed (0x11708): -110
[   21.322624] rtw_8822bs mmc0:0001:1: sdio write32 failed (0x11330): -110
[   22.352044] rtw_8822bs mmc0:0001:1: sdio read32 failed (0x1022c): -110
[   22.356373] rtw_8822bs mmc0:0001:1: sdio write32 failed (0x1022c): -110
[   23.386065] rtw_8822bs mmc0:0001:1: sdio read32 failed (0x20): -110
[   24.413079] rtw_8822bs mmc0:0001:1: sdio read32 failed (0x11208): -110
[   24.417212] rtw_8822bs mmc0:0001:1: sdio write32 failed (0x11208): -110
[   25.447005] rtw_8822bs mmc0:0001:1: sdio read32 failed (0x20): -110
[   26.474019] rtw_8822bs mmc0:0001:1: sdio read32 failed (0x24): -110
[   27.501058] rtw_8822bs mmc0:0001:1: sdio read32 failed (0x28): -110
[   27.504719] rtw_8822bs mmc0:0001:1: Failed to write 4608 byte(s) to SDIO port 0x0000840c
[   27.512711] rtw_8822bs mmc0:0001:1: failed to write data to rsvd page
[   27.519198] rtw_8822bs mmc0:0001:1: failed to download rsvd page
[   27.525171] rtw_8822bs mmc0:0001:1: failed to download firmware
[   27.530980] rtw_8822bs mmc0:0001:1: failed to setup chip efuse info
[   27.537116] rtw_8822bs mmc0:0001:1: failed to setup chip information
[   27.543594] rtw_8822bs: probe of mmc0:0001:1 failed with error -110
root@armbian:~# dmesg | grep mmc
[    2.235700] meson-gx-mmc d0072000.mmc: Got CD GPIO
[    2.236670] meson-gx-mmc d0074000.mmc: allocated mmc-pwrseq
[    2.303718] mmc2: Failed to initialize a non-removable card
[    2.317113] mmc1: new high speed SDHC card at address 0001
[    2.328854] mmcblk1: mmc1:0001 SD32G 28.8 GiB
[    2.334354]  mmcblk1: p1 p2
[    2.335255] mmcblk1: p2 size 61857792 extends beyond EOD, truncated
[    7.004828] meson-gx-mmc d0070000.mmc: allocated mmc-pwrseq
[    7.046011] meson-gx-mmc d0070000.mmc: card claims to support voltages below defined range
[    7.545778] mmc0: Skipping voltage switch
[    7.561475] mmc0: new high speed SDIO card at address 0001
[    8.814470] EXT4-fs (mmcblk1p2): mounted filesystem f412d469-1ef3-478d-957a-634f3e48173b r/w with writeback data mode. Quota mode: none.
[   12.058913] EXT4-fs (mmcblk1p2): re-mounted f412d469-1ef3-478d-957a-634f3e48173b r/w. Quota mode: none.
[   16.104252] rtw_8822bs mmc0:0001:1: Firmware version 30.20.0, H2C version 14
[   17.132782] rtw_8822bs mmc0:0001:1: sdio read32 failed (0x11080): -110
[   17.146397] rtw_8822bs mmc0:0001:1: sdio write32 failed (0x11080): -110
[   18.215778] rtw_8822bs mmc0:0001:1: sdio read32 failed (0x10080): -110
[   18.220273] rtw_8822bs mmc0:0001:1: sdio write32 failed (0x10080): -110
[   19.250036] rtw_8822bs mmc0:0001:1: sdio read32 failed (0x10040): -110
[   19.254614] rtw_8822bs mmc0:0001:1: sdio write32 failed (0x10040): -110
[   20.284069] rtw_8822bs mmc0:0001:1: sdio read32 failed (0x11700): -110
[   20.288507] rtw_8822bs mmc0:0001:1: sdio write32 failed (0x11700): -110
[   21.318065] rtw_8822bs mmc0:0001:1: sdio read32 failed (0x11708): -110
[   21.322624] rtw_8822bs mmc0:0001:1: sdio write32 failed (0x11330): -110
[   22.352044] rtw_8822bs mmc0:0001:1: sdio read32 failed (0x1022c): -110
[   22.356373] rtw_8822bs mmc0:0001:1: sdio write32 failed (0x1022c): -110
[   23.386065] rtw_8822bs mmc0:0001:1: sdio read32 failed (0x20): -110
[   24.413079] rtw_8822bs mmc0:0001:1: sdio read32 failed (0x11208): -110
[   24.417212] rtw_8822bs mmc0:0001:1: sdio write32 failed (0x11208): -110
[   25.447005] rtw_8822bs mmc0:0001:1: sdio read32 failed (0x20): -110
[   26.474019] rtw_8822bs mmc0:0001:1: sdio read32 failed (0x24): -110
[   27.501058] rtw_8822bs mmc0:0001:1: sdio read32 failed (0x28): -110
[   27.504719] rtw_8822bs mmc0:0001:1: Failed to write 4608 byte(s) to SDIO port 0x0000840c
[   27.512711] rtw_8822bs mmc0:0001:1: failed to write data to rsvd page
[   27.519198] rtw_8822bs mmc0:0001:1: failed to download rsvd page
[   27.525171] rtw_8822bs mmc0:0001:1: failed to download firmware
[   27.530980] rtw_8822bs mmc0:0001:1: failed to setup chip efuse info
[   27.537116] rtw_8822bs mmc0:0001:1: failed to setup chip information
[   27.543594] rtw_8822bs: probe of mmc0:0001:1 failed with error -110

我现在应该如何处理这个问题呢,是改用其他的dtb吗?谢谢!

@zzpp515630
Copy link

改成0x61A80试试,我用这个频率模块加载成功

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants