Description
-
Could you send email to [email protected] to introduce your self?
Yes, I mailed you sir. -
Our image is used directly or yould your own image?
It is our image used sir, there is no modification in image file. -
What is your own modification?
NA -
Versions: OS, Vivado, openwifi/openwifi-hw repo branch and commit revision
Ubuntu 24.04.1 LTS -
Board/hardware type?
zed_fmcs2
I'm beginner in working openwifi/sdr
Im facing an error stating as below while running ./wgh.sh. Could you guide in working out this project
Below is the issue:
root@analog:~/openwifi# ./wgd.sh
usage:
Script for load (or download+load) different driver and FPGA img without rebooting
no argument: Load .ko driver files and FPGA img (if system_top.bit.bin exist) in current dir with test_mode=0.
1st argument: If it is a NUMBER, it will be assigned to test_mode. Then load everything from current dir.
1st argument: If it is a string called "remote", it will download driver/FPGA and load everything.
- 2nd argument (if exist) is the target directory name for downloading and reloading
- 3rd argument (if exist) is the value for test_mode
1st argument: neither NUMBER nor "remote" nor a .tar.gz file, it is regarded as a directory and load everything from it. - 2nd argument (if exist) is the value for test_mode
1st argument: a .tar.gz file, it will be unpacked then load from that unpacked directory - 2nd argument (if exist) is the value for test_mode
Module Size Used by
mac80211 565248 0
libarc4 16384 1 mac80211
xilinx_dma 28672 0
ad9361_drv 163840 0
cfg80211 319488 1 mac80211
8021q 24576 0
ipv6 397312 28
TARGET_DIR ./
DOWNLOAD_FLAG 0
test_mode 0
tx_offset_tuning_enable 0
$TARGET_DIR is found!
hostapd: no process found
dhcpd: no process found
sdr0: ERROR while getting interface flags: No such device
rmmod: ERROR: Module sdr is not currently loaded
./load_fpga_img.sh: line 14: warning: command substitution: ignored null byte in input
xlnx,zynq-7000
.//system_top.bit.bin
system_top.bit.bin
- ifconfig sdr0 down
sdr0: ERROR while getting interface flags: No such device - rmmod sdr
rmmod: ERROR: Module sdr is not currently loaded - rmmod openofdm_rx
rmmod: ERROR: Module openofdm_rx is not currently loaded - rmmod openofdm_tx
rmmod: ERROR: Module openofdm_tx is not currently loaded - rmmod rx_intf
rmmod: ERROR: Module rx_intf is not currently loaded - rmmod tx_intf
rmmod: ERROR: Module tx_intf is not currently loaded - rmmod xpu
rmmod: ERROR: Module xpu is not currently loaded - sleep 1
- '[' -f .//system_top.bit.bin ']'
- echo 0
- mkdir -p /lib/firmware
- cp .//system_top.bit.bin /lib/firmware/ -rf
- echo system_top.bit.bin
- '[' xlnx,zynq-7000 '!=' xlnx,zynq-7000 ']'
- SPI_DEVNAME=spi0.0
- DDS_DEVNAME=79024000.cf-ad9361-dds-core-lpc
- ADC_DEVNAME=79020000.cf-ad9361-lpc
- '[' '!' -d /sys/bus/spi/drivers/ad9361/spi0.0 ']'
- echo 'Waiting for /sys/bus/spi/drivers/ad9361/spi0.0'
Waiting for /sys/bus/spi/drivers/ad9361/spi0.0 - sleep 0.2
- '[' '!' -d /sys/bus/spi/drivers/ad9361/spi0.0 ']'
- echo 'Waiting for /sys/bus/spi/drivers/ad9361/spi0.0'
Waiting for /sys/bus/spi/drivers/ad9361/spi0.0 - sleep 0.2
- '[' '!' -d /sys/bus/spi/drivers/ad9361/spi0.0 ']'
- echo 'Waiting for /sys/bus/spi/drivers/ad9361/spi0.0'
Waiting for /sys/bus/spi/drivers/ad9361/spi0.0 - sleep 0.2
- '[' '!' -d /sys/bus/spi/drivers/ad9361/spi0.0 ']'
- echo 'Waiting for /sys/bus/spi/drivers/ad9361/spi0.0'
Waiting for /sys/bus/spi/drivers/ad9361/spi0.0 - sleep 0.2
These lines goes on repeating endlessly.