-
Notifications
You must be signed in to change notification settings - Fork 461
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
Nexmon stops working after reboot #67
Comments
So it turns out this was a manifestation of this issue: When running make it failed complaining about zlib-flate, upon running it again it succeeded, but was using a 0 byte gen/ucode_compressed.bin file, which somehow worked the first time, but failed on reboot. Installing qpdf, and then starting over from sources got it working again. However, we still need to unload/reload the driver after each reboot, as well as include the header files in nexmon.c For reference here is my current install script, with notes:
|
Although I couldn't understand what you said very well, I just think this because the system auto load the original driver rather than the one you compiled after a reboot. |
I have the same problem. I don't understand what you mean @hy-l . Isn't this supposed to be all done in the make backup-firmware and make install-firmware commands? I found out that running those make commands threw permission errors so I tried to copy them myself using sudo. |
No, these commands only backup and install the firmware in '/lib/firmware/brcm/' directory, and |
Excuse me, I tried "insmod /home/pi/nexmon/patches/bcm43455c0/7_45_189/nexmon_csi/brcmfmac_4.19.y-nexmon/brcmfmac.ko", but I also get "insmod: ERROR: could not insert module brcmfmac_4.19.y-nexmon/brcmfmac.ko: Invalid module format", does anybody can help? |
could it be because you stripped the module? |
Thanks for your response.
Does 'stripped the module' meaning using the command 'sudo rmmod brcmfmac'?
And here is the result I use command 'lsmod':
There is not 'brcmfmac' in the result, it will not be executed in 'make install-firmware'. |
By the way, |
no, 'strip the module' means that you ran the 'strip' command on the .ko file to reduce its size. i guessed so because it was the mistake i made before, but it doesn't seem to be the case here since you are unaware of it. perhaps it could be helpful if you can give the output of 'dmesg' after running insmod. |
Thank you very much. |
I have a Raspberry Pi 3, running Raspbian Jessie, and have gotten nexmon working, however when we reboot the Pi it stops working. After rebooting running 'nexutil' gives this output:
ifconfig does not list the wlan0 interface, but iwconfig does:
ifconfig wlan0 up gives:
dmesg | grep brcmfmac shows this:
We first tried this with NOOBS, but then reflashed with fresh Jessie Lite, and then installed nexmon, confirmed it worked, and then rebooted and got the exact same issue.
We saw this issue about reloading the firmware, but following those steps has not fixed the issue.
#49 (comment)
Running
Gives:
And then wlan0 no longer shows up at all in iwconfig:
The text was updated successfully, but these errors were encountered: