-
Notifications
You must be signed in to change notification settings - Fork 183
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
Failed to download firmware on RPI2 ArchLinux Arm #150
Comments
I have the same issue on Arch Linux x86_64 6.3.8-arch1-1: [ 488.797488] rtw_8822bu 1-3:1.0: Firmware version 27.2.0, H2C version 13 The adapter works fine with the rtl88x2bu driver. |
I did some bisecting and it looks like 4b34fac (wifi: rtw88: use struct instead of macros to set TX desc) is the first 'bad' commit. |
That is useful information. I will check that my implementation was correct, and then report it to Realtek. |
Realtek has issued a V2 of that patch, and I did not include the changes here. Please pull again and retry. Thanks for your help. |
Unfortunately, this did not fix the issue. 791a7db is still the last commit I managed to get working. On both my Pi with the 8811cu adapter and my x86_64 laptop with the 8812bu adapter. |
Reverting 4b34fac using the attached patch makes the adapters work with the latest commit. So there is an issue with 4b34fac on my machines. Does anyone else experience the same? |
@henkv1 @lwfinger : i'm experiencing exactly the same on a Pi 2 with a rtl8822bu. It was working before. Thanks ! |
I just pushed a version that works on my laptop with an RTW8822BU. I hope it works for you.. Sorry for any inconvenience. |
I can confirm that the issue is fixed. Thank you. |
Hi, I have a similar issue, but with different hardware (Realtek 8822ce). In particular dmesg reports:
@lwfinger do you think it could be the same or similar issue? |
I'm not sure. What does 'md5sum /lib/firmware/rtw88/*' report? Copy and paste that output here. |
This is the output:
```
11bdc4f99dc8485c7d4a5d8b745fef37 /lib/firmware/rtw88/rtl8822cu_fw.bin
ea7a621393871e579bcca1b9539e9639 /lib/firmware/rtw88/rtw8723d_fw.bin
2638a40042a27e98df2f7929c8eee760 /lib/firmware/rtw88/rtw8821c_fw.bin
62b7d5f06db348cc5b52029e7d60d92a /lib/firmware/rtw88/rtw8822b_fw.bin
4cca3e5d9f7061b81c4287d7999c0b57 /lib/firmware/rtw88/rtw8822c_fw.bin
130ecf9de2ff6917401370f80ce63fb6 /lib/firmware/rtw88/rtw8822c_wow_fw.bin
```
…On Tue, Jun 27, 2023 at 4:36 PM lwfinger ***@***.***> wrote:
I'm not sure. What does 'md5sum /lib/firmware/rtw88/*' report? Copy and
paste that output here.
—
Reply to this email directly, view it on GitHub
<#150 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACMDK32PAREJX5GLSSGDWDXNLVWJANCNFSM6AAAAAAZMCXKSE>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
You have the latest firmware. Let me dig out my rtw8822ce chip and see what happens here. |
The rtw8822ce driver from this repo works on my computer. I noticed your errors in the Debian Bugzilla: [ 22.086224] rtw_8822ce 0000:03:00.0: PCIe Bus Error: severity=Uncorrected (Non-Fatal), type=Transaction Layer, (Requester ID) I found one E-mail thread discussing the CmpltTO error. They were able to eliminate it by doing the following: Set iommu in bypass mode via bootargs iommu.passthrough=1 Please try that to see if it helps. |
I will check that option. At the moment I got rid of those errors by using pcie_aspm=off, but the high instability persists. |
I just updated the repo to match the latest wireless-next and pushed the results. I did not find anything that should have interfered with loading the firmware. I suspect that whatever is interfering with PCIe operations is also causing a problem with loading the firmware. |
I tried the iommu.passthrough=1 option, but it did not improve the situation, so it seems that only pcie_aspm=off allows me to get rid.of AER errors in dmesg. On the other hand with your last push I was able to load the module and the firmware seems to correctly load now.
sometimes followed by
However I think that now we can exclude that I am affected by this issue. |
Building and installing the latest Git version works fine on my Raspberry Pi 2 running Arch Linux Arm. But when I load the module I get the following errors in my Kernel log:
[ 696.449879] rtw_core: loading out-of-tree module taints kernel.
[ 696.471367] rtw_8821cu 1-1.4:1.0: Firmware version 24.11.0, H2C version 12
[ 696.653675] rtw_8821cu 1-1.4:1.0: error beacon valid
[ 696.659289] rtw_8821cu 1-1.4:1.0: failed to download rsvd page
[ 696.665864] rtw_8821cu 1-1.4:1.0: failed to download firmware
[ 696.677470] rtw_8821cu 1-1.4:1.0: failed to setup chip efuse info
[ 696.683622] rtw_8821cu 1-1.4:1.0: failed to setup chip information
[ 696.690414] rtw_8821cu: probe of 1-1.4:1.0 failed with error -16
My system runs kernel 6.1.34 armv7:
[root@alarmpi rtw88]# uname -a
Linux alarmpi 6.1.34-1-rpi-ARCH #1 SMP Fri Jun 16 12:46:24 MDT 2023 armv7l GNU/Linux
Can you please help?
The text was updated successfully, but these errors were encountered: