Commit dedb0313 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

1.install imgsrv to /www/pages 2.default bitstream path=/tmp/

parent 0c04eb6a
......@@ -11,6 +11,11 @@ install -d -v $1/usr/local/verilog/
install -d -v $1/usr/local/bin/
install -v -m 0755 $SCRIPTPATH/py393/*.py $1/usr/local/bin/
install -d -v $1/www/pages/
install -v -m 0755 $SCRIPTPATH/py393/imgsrv.py $1/www/pages/
#unistall
rm $1/usr/local/bin/imgsrv.py
install -v -m 0644 $SCRIPTPATH/*.bit $1/usr/local/verilog/
install -v -m 0644 $SCRIPTPATH/system_defines.vh $1/usr/local/verilog/
......
......@@ -3,5 +3,4 @@
-f /usr/local/verilog/x393_parameters.vh /usr/local/verilog/x393_cur_params_target.vh /usr/local/verilog/x393_localparams.vh
-l /usr/local/verilog/x393_cur_params_target.vh
-p PICKLE="/usr/local/verilog/x393_mcntrl.pickle
-c copy /usr/local/bin/imgsrv.py /www/pages
-i
\ No newline at end of file
......@@ -3,7 +3,6 @@
-f /usr/local/verilog/x393_parameters.vh /usr/local/verilog/x393_cur_params_target.vh /usr/local/verilog/x393_localparams.vh
-l /usr/local/verilog/x393_cur_params_target.vh
-p PICKLE="/usr/local/verilog/x393_mcntrl.pickle
-c copy /usr/local/bin/imgsrv.py /www/pages
-c setupSensorsPower "HISPI"
-c measure_all "*DI"
-c setup_all_sensors True None 0xf
......
......@@ -3,7 +3,6 @@
-f /usr/local/verilog/x393_parameters.vh /usr/local/verilog/x393_cur_params_target.vh /usr/local/verilog/x393_localparams.vh
-l /usr/local/verilog/x393_cur_params_target.vh
-p PICKLE="/usr/local/verilog/x393_mcntrl.pickle
-c copy /usr/local/bin/imgsrv.py /www/pages
-c setupSensorsPower "PAR12"
-c measure_all "*DI"
-c setup_all_sensors True None 0xf
......
......@@ -39,7 +39,8 @@ from time import sleep
import vrlg # global parameters
import x393_axi_control_status
import shutil
DEFAULT_BITFILE="/usr/local/verilog/x393.bit"
#DEFAULT_BITFILE="/usr/local/verilog/x393.bit"
DEFAULT_BITFILE="/tmp/x393.bit"
FPGA_RST_CTRL = 0xf8000240
FPGA0_THR_CTRL = 0xf8000178
FPGA_LVL_SHFTR = 0xf8000900 # 0xf: all enabled, 0x0 - disable all
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment