ophub / amlogic-s9xxx-armbian

Support for Armbian in Amlogic, Rockchip and Allwinner boxes. Support a311d, s922x, s905x3, s905x2, s912, s905d, s905x, s905w, s905, s905l, rk3588, rk3568, rk3399, rk3328, h6, etc.
GNU General Public License v2.0
5.68k stars 1.82k forks source link

S905L2 MGV2000 求助问题:emmc不识别、 8822bs无线驱动 #2419

Closed gsjsjg closed 2 weeks ago

gsjsjg commented 1 month ago

Device Information | 设备信息

https://img.dearjoe.top/file/2525514e2e0461fa69248.jpg

Describe the bug | 问题描述 求助问题:emmc不识别、 8822bs无线驱动

dmesg error

Driver 'optee' was unable to register with bus_type 'arm_ffa' because the bus was not initialized. mmc2: tuning execution failed: -5 mmc2: error -5 whilst initialising MMC card lima d00c0000.gpu: error -ENODEV: _opp_set_regulators: no regulator (mali) found rtw_8822bs mmc0:0001:1: failed to write data to rsvd page rtw_8822bs mmc0:0001:1: failed to download rsvd page rtw_8822bs mmc0:0001:1: failed to download firmware rtw_8822bs mmc0:0001:1: failed to setup chip efuse info rtw_8822bs mmc0:0001:1: failed to setup chip information

https://img.dearjoe.top/file/2941108976187d9e7059a.jpg

ophub commented 1 month ago

https://github.com/unifreq/linux-6.6.y/tree/main/drivers/net/wireless/realtek

内核里没无线驱动。emmc降频测试

gsjsjg commented 1 month ago

https://github.com/unifreq/linux-6.6.y/tree/main/drivers/net/wireless/realtek

内核里没驱动

谢谢大神解答

gsjsjg commented 1 month ago

https://github.com/unifreq/linux-6.6.y/tree/main/drivers/net/wireless/realtek 内核里没驱动

谢谢大神解答

https://github.com/unifreq/linux-6.6.y/blob/main/drivers/net/wireless/realtek/rtw88/rtw8822bs.c 这个不是驱动?

gsjsjg commented 1 month ago

https://github.com/SLAzurin/armbian-aml-arm64-buster/blob/master/Armbian_20.10_Arm-64_buster_current_5.9.0.img.xz.z01

这个固件可以看到wifi 但是报错 不能使用

ophub commented 1 month ago

https://github.com/unifreq/linux-6.6.y/blob/1d6843318e58c28ca341092417c8758d0f01a567/drivers/net/wireless/realtek/rtw88/Kconfig#L48

真的有了,我记得8822cs和8822bs之前内核默认没有呢,之前F大从第三方加过但是有些x96max+设备不能用,也有人反应能用。

https://github.com/ophub/kernel/blob/0fff287135791565240d311f7df56ca0e874b2c8/kernel-config/release/general/config-6.6#L3280

我看了一下内核里选择了,你手动加载一下试试

sudo modprobe rtw88_8822bs

gsjsjg commented 1 month ago

https://github.com/unifreq/linux-6.6.y/blob/1d6843318e58c28ca341092417c8758d0f01a567/drivers/net/wireless/realtek/rtw88/Kconfig#L48

真的有了,我记得8822cs和8822bs之前内核默认没有呢,之前F大从第三方加过但是有些x96max+设备不能用,也有人反应能用。

https://github.com/ophub/kernel/blob/0fff287135791565240d311f7df56ca0e874b2c8/kernel-config/release/general/config-6.6#L3280

我看了一下内核里选择了,你手动加载一下试试

sudo modprobe rtw88_8822bs


root@armbian:~# lsmod Module Size Used by rfkill 36864 1 sunrpc 561152 1 binfmt_misc 24576 1 zram 32768 3 meson_vdec 81920 0 snd_soc_meson_gx_sound_card 16384 0 snd_soc_meson_card_utils 16384 1 snd_soc_meson_gx_sound_card videobuf2_dma_contig 24576 1 meson_vdec v4l2_mem2mem 45056 1 meson_vdec meson_ir 20480 0 snd_soc_meson_t9015 24576 1 snd_soc_meson_aiu 32768 3 meson_gxbb_wdt 16384 0 snd_soc_meson_codec_glue 16384 1 snd_soc_meson_aiu sg 36864 0 tcp_bbr 20480 8 sch_fq 20480 2 dm_mod 131072 0 nfnetlink 20480 1 ip_tables 28672 0 x_tables 45056 1 ip_tables lima 61440 0 gpu_sched 45056 1 lima drm_shmem_helper 24576 1 lima root@armbian:~# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS sda 8:0 1 14.9G 0 disk ├─sda1 8:1 1 511M 0 part /boot └─sda2 8:2 1 14.4G 0 part /var/log.hdd / mmcblk2 179:0 0 7.3G 0 disk mmcblk2boot0 179:32 0 4M 1 disk mmcblk2boot1 179:64 0 4M 1 disk zram0 253:0 0 394.3M 0 disk [SWAP] zram1 253:1 0 50M 0 disk /var/log zram2 253:2 0 0B 0 disk

以上emmc解决,dtb里修改emmc频率为 5后面7个0 即可


以下 运行 sudo modprobe rtw88_8822bs 之后 lsmod信息

root@armbian:~# modprobe rtw88_8822bs root@armbian:~# lsmod Module Size Used by rtw88_8822bs 16384 0 rtw88_sdio 24576 1 rtw88_8822bs rtw88_8822b 225280 1 rtw88_8822bs rtw88_core 172032 2 rtw88_sdio,rtw88_8822b mac80211 946176 2 rtw88_sdio,rtw88_core cfg80211 917504 2 rtw88_core,mac80211 libarc4 16384 1 mac80211 rfkill 36864 2 cfg80211 sunrpc 561152 1 binfmt_misc 24576 1 zram 32768 3 meson_vdec 81920 0 snd_soc_meson_gx_sound_card 16384 0 snd_soc_meson_card_utils 16384 1 snd_soc_meson_gx_sound_card videobuf2_dma_contig 24576 1 meson_vdec v4l2_mem2mem 45056 1 meson_vdec meson_ir 20480 0 snd_soc_meson_t9015 24576 1 snd_soc_meson_aiu 32768 3 meson_gxbb_wdt 16384 0 snd_soc_meson_codec_glue 16384 1 snd_soc_meson_aiu sg 36864 0 tcp_bbr 20480 8 sch_fq 20480 2 dm_mod 131072 0 nfnetlink 20480 1 ip_tables 28672 0 x_tables 45056 1 ip_tables lima 61440 0 gpu_sched 45056 1 lima drm_shmem_helper 24576 1 lima

wifi还是没解决。。。