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

Recompile sdr.ko run wgd.sh has problems #191

Closed 8663 closed 1 year ago

8663 commented 1 year ago

Getting this error when run wgd.sh: Run wgd.sh appears when loads the recompiled driver ssdr.ko has a problem

root@analog:~/openwifi# ./wgd.sh

image

JiaoXianjun commented 1 year ago

You need to describe step by step exact operations you have done from the beginning (also the output of the command you run). From downloading of software, our repository, SD card image, etc., to how do you compile the sdr.ko/kernel, how to put it onboard, etc. You also need to describe the exact version of your OS, Vivado, etc.

8663 commented 1 year ago

The operating system we used was ubuntu16.04,Vivado is 2017.4 The whole process: git init git pull https://github.com/open-sdr/openwifi.git programming environment setup: export XILINX_DIR=/opt/Xilinx source /opt/pkg/petalinux/settings.sh source /opt/Xilinx/Vivado/2017.4/settings64.sh

Change the version of vivado2018.3 in the code to 2017.4 through the vscode software installed in Ubuntu 16.04

image

image

JiaoXianjun commented 1 year ago

Sorry that we do not have that Vivado version, and hard to reproduce the issue in the Vivado 2018.3 we suggested.

I suggest you use Ubuntu18 or 20 LTS together with Vivado 2018.3.

chenmo234 commented 1 month ago

I also need to modify sdr.c and perform the same operations as you. Can I discuss this with you? Here is my contact information: c2385405729.