mirror of
https://github.com/open-sdr/openwifi.git
synced 2025-01-18 10:46:22 +00:00
120316e70c704a006b8991b121336e145da34303
This commit is contained in:
parent
55a868b0af
commit
e60c3d1541
@ -33,10 +33,12 @@ rmmod xpu
|
||||
|
||||
sleep 1
|
||||
|
||||
echo 0 > /sys/class/fpga_manager/fpga0/flags
|
||||
mkdir -p /lib/firmware
|
||||
cp $fpga_img_filename /lib/firmware/
|
||||
echo $fpga_img_filename_core > /sys/class/fpga_manager/fpga0/firmware
|
||||
if [ -f "$fpga_img_filename" ]; then
|
||||
echo 0 > /sys/class/fpga_manager/fpga0/flags
|
||||
mkdir -p /lib/firmware
|
||||
cp $fpga_img_filename /lib/firmware/ -rf
|
||||
echo $fpga_img_filename_core > /sys/class/fpga_manager/fpga0/firmware
|
||||
fi
|
||||
|
||||
# insmod ad9361_drv.ko
|
||||
# sleep 1
|
||||
|
@ -63,7 +63,6 @@ insert_check_module () {
|
||||
}
|
||||
|
||||
print_usage
|
||||
sync
|
||||
|
||||
TARGET_DIR=./
|
||||
DOWNLOAD_FLAG=0
|
||||
@ -107,8 +106,6 @@ echo TARGET_DIR $TARGET_DIR
|
||||
echo DOWNLOAD_FLAG $DOWNLOAD_FLAG
|
||||
echo test_mode $test_mode
|
||||
|
||||
sync
|
||||
|
||||
#if ((($test_mode & 0x2) != 0)); then
|
||||
tx_offset_tuning_enable=0
|
||||
#else
|
||||
@ -141,6 +138,7 @@ if [ -f "$TARGET_DIR/system_top.bit.bin" ]; then
|
||||
./load_fpga_img.sh $TARGET_DIR/system_top.bit.bin
|
||||
else
|
||||
echo $TARGET_DIR/system_top.bit.bin not found. Skip reloading FPGA.
|
||||
./load_fpga_img.sh fjdo349ujtrueugjhj
|
||||
fi
|
||||
|
||||
./rf_init_11n.sh
|
||||
|
Loading…
Reference in New Issue
Block a user