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

Debugging the brcmfmac driver #1051

Open
jamstec0 opened this issue Sep 18, 2024 · 3 comments
Open

Debugging the brcmfmac driver #1051

jamstec0 opened this issue Sep 18, 2024 · 3 comments

Comments

@jamstec0
Copy link

Hello.
In order to investigate the cause of the Wi-Fi error on Ubuntu 24.04, I used the kernel config from linux-rockchip and enabled debugging to rebuild the brcmfmac and brcmutil modules, but a memory access error occurred, and I was unable to perform debugging.
The error log has been deleted, so I will upload it later. Could the build settings be different from those of the drivers originally in the kernel?

@Joshua-Riek
Copy link
Owner

What board..?

@jamstec0
Copy link
Author

What board..?

Sorry for the late reply, I had trouble collecting the logs.
ubuntu.log
The board is the Orange Pi 5 Pro, and I am also performing this debugging on the 7ji side. I was able to debug successfully there, but I encountered errors and was unable to debug properly on ubuntu-rockchip.
Success-arch.log
Is the kernel for Ubuntu 24.04 based on linux-rockchip?
I would appreciate it if you could let me know.
Thank you.

@ewaldc
Copy link

ewaldc commented Sep 23, 2024

@jamstec0, the kernel is based on linux-rockchip, noble branch. Native compilation is out of the box, but I had to make several changes for cross compilation (gcc-14.2.0) and to avoid every module (re)build causes a whole recompile and to support custom kernels with a tag e.g. 6.1.0-1025+debug-rockchip.

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

3 participants