mirror of
https://github.com/open-sdr/openwifi.git
synced 2024-12-21 06:33:47 +00:00
Avoid cf_axi_dds reconnection in load_fpga_img.sh (otherwise crash)
This commit is contained in:
parent
a066622e35
commit
e3155ac1e8
@ -62,14 +62,14 @@ cd /sys/bus/spi/drivers/ad9361/
|
||||
echo $SPI_DEVNAME > unbind
|
||||
echo $SPI_DEVNAME > bind
|
||||
|
||||
while [ ! -d "/sys/bus/platform/drivers/cf_axi_dds/$DDS_DEVNAME" ]
|
||||
do
|
||||
echo "Waiting for /sys/bus/platform/drivers/cf_axi_dds/$DDS_DEVNAME"
|
||||
sleep 0.2
|
||||
done
|
||||
cd /sys/bus/platform/drivers/cf_axi_dds/
|
||||
echo $DDS_DEVNAME > unbind
|
||||
echo $DDS_DEVNAME > bind
|
||||
#while [ ! -d "/sys/bus/platform/drivers/cf_axi_dds/$DDS_DEVNAME" ]
|
||||
#do
|
||||
# echo "Waiting for /sys/bus/platform/drivers/cf_axi_dds/$DDS_DEVNAME"
|
||||
# sleep 0.2
|
||||
#done
|
||||
#cd /sys/bus/platform/drivers/cf_axi_dds/
|
||||
#echo $DDS_DEVNAME > unbind
|
||||
#echo $DDS_DEVNAME > bind
|
||||
|
||||
while [ ! -d "/sys/bus/platform/drivers/cf_axi_adc/$ADC_DEVNAME" ]
|
||||
do
|
||||
|
Loading…
Reference in New Issue
Block a user