-
Could you send email to xianjun.jiao@ugent.be to introduce your self?
Done
-
Our image is used directly or you build your own image?
Image 1.4.0 is used directly, except system_top.bit.bin that is regenerated with new constraints.
-
What is your own modification?
Update of constraint with neptunesdr_new branch
-
Versions: OS, Vivado, openwifi/openwifi-hw repo branch and commit revision
Xilinx 2021.1
Ubuntu 20.04
Release 1.4.0 + openwifi-hw/boards/neptunesdr/src/*.xdc (branch neptunesdr_new)
In particular:
set_property -dict {PACKAGE_PIN Y12 IOSTANDARD LVCMOS25 PULLTYPE PULLUP} [get_ports spi_csn] ; ## IO_L23P_T3_35 U1,M14,IO_L23_35_SPI_ENB
set_property -dict {PACKAGE_PIN U9 IOSTANDARD LVCMOS25} [get_ports spi_clk] ; ## IO_L23N_T3_35 U1,M15,IO_L23_35_SPI_CLK
set_property -dict {PACKAGE_PIN U8 IOSTANDARD LVCMOS25} [get_ports spi_mosi] ; ## IO_L24P_T3_AD15P_35 U1,K16,IO_L24_35_SPI_DI
set_property -dict {PACKAGE_PIN V11 IOSTANDARD LVCMOS25} [get_ports spi_miso] ; ## IO_L24N_T3_AD15N_35 U1,J16,IO_L24_35_SPI_DO
-
Board/hardware type
Neptune SDR K210
-
WiFi channel number
NA
-
Steps to reproduce the issue, and the related error message, screenshot, etc
burn 1.4.0 image to SD card
Copy files in BOOT/openwifi/neptunesdr to the base directory of BOOT partition.
(boot.bin , devicetree.dtb and system_top.bit.bin)
cd openwifi
./setup_once.sh
sudo dmesg -w &
./wgd.sh
==> system hangs
Same operation but with new FPGA (image from system_top.xsa provided is post #318 ) and later with (image from recompiled FPGA with new constraints)
==> system hangs but with the following trace:
[ 985.693047] ad9361 spi0.0: ad9361_probe : enter (ad9361)
[ 985.699409] ad9361 spi0.0: ad9361_spi_check : Unsupported PRODUCT_ID 0xFF
It seems that in both cases,the SPI bus is not connected.
Is it enough to update constraints or, devicetree.dtb and boot.bin must be also updated ?
Schematics and *.dts file are available from hamgeek ?
Or other ressources ?
-
Describe your debug efforts by Linux native tools, such as tcpdump and "cat /proc/interrupts"
-
Describe your debug efforts by: https://github.com/open-sdr/openwifi/blob/master/doc/README.md#Debug-methods
-
Any other thing we need to know for helping you better?
Could you send email to xianjun.jiao@ugent.be to introduce your self?
Done
Our image is used directly or you build your own image?
Image 1.4.0 is used directly, except system_top.bit.bin that is regenerated with new constraints.
What is your own modification?
Update of constraint with neptunesdr_new branch
Versions: OS, Vivado, openwifi/openwifi-hw repo branch and commit revision
Xilinx 2021.1
Ubuntu 20.04
Release 1.4.0 + openwifi-hw/boards/neptunesdr/src/*.xdc (branch neptunesdr_new)
In particular:
set_property -dict {PACKAGE_PIN Y12 IOSTANDARD LVCMOS25 PULLTYPE PULLUP} [get_ports spi_csn] ; ## IO_L23P_T3_35 U1,M14,IO_L23_35_SPI_ENB
set_property -dict {PACKAGE_PIN U9 IOSTANDARD LVCMOS25} [get_ports spi_clk] ; ## IO_L23N_T3_35 U1,M15,IO_L23_35_SPI_CLK
set_property -dict {PACKAGE_PIN U8 IOSTANDARD LVCMOS25} [get_ports spi_mosi] ; ## IO_L24P_T3_AD15P_35 U1,K16,IO_L24_35_SPI_DI
set_property -dict {PACKAGE_PIN V11 IOSTANDARD LVCMOS25} [get_ports spi_miso] ; ## IO_L24N_T3_AD15N_35 U1,J16,IO_L24_35_SPI_DO
Board/hardware type
Neptune SDR K210
WiFi channel number
NA
Steps to reproduce the issue, and the related error message, screenshot, etc
burn 1.4.0 image to SD card
Copy files in BOOT/openwifi/neptunesdr to the base directory of BOOT partition.
(boot.bin , devicetree.dtb and system_top.bit.bin)
cd openwifi
./setup_once.sh
sudo dmesg -w &
./wgd.sh
==> system hangs
Same operation but with new FPGA (image from system_top.xsa provided is post #318 ) and later with (image from recompiled FPGA with new constraints)
==> system hangs but with the following trace:
[ 985.693047] ad9361 spi0.0: ad9361_probe : enter (ad9361)
[ 985.699409] ad9361 spi0.0: ad9361_spi_check : Unsupported PRODUCT_ID 0xFF
It seems that in both cases,the SPI bus is not connected.
Is it enough to update constraints or, devicetree.dtb and boot.bin must be also updated ?
Schematics and *.dts file are available from hamgeek ?
Or other ressources ?
Describe your debug efforts by Linux native tools, such as tcpdump and "cat /proc/interrupts"
Describe your debug efforts by: https://github.com/open-sdr/openwifi/blob/master/doc/README.md#Debug-methods
Any other thing we need to know for helping you better?