open-sdr / openwifi

open-source IEEE 802.11 WiFi baseband FPGA (chip) design: driver, software
GNU Affero General Public License v3.0
3.68k stars 629 forks source link

Recompiled sdr.ko won't load #70

Closed frestuc closed 3 years ago

frestuc commented 3 years ago

I am using the default SD card image for openwifi 64 bit (board zcu102). I have recompiled the driver sdr.ko and loaded it into the board, but when I execute wgd.sh I get the following:

[  342.566942] sdr: version magic '4.14.0-gb6e379910a11-dirty SMP mod_unload aarch64' should be '4.14.0-gb6e379910a11 SMP mod_unload aarch64'

Any hint?

JiaoXianjun commented 3 years ago

The default image has matched old kernel and old driver. So only updating driver is not enough sometimes, because the new driver need to be compiled with the new kernel, but the kernel in the image is old. Like I said in previous issue, you need to follow (to update kernel and driver in your image):

https://github.com/open-sdr/openwifi#build-openwifi-linux-img-from-scratch