Commit cbdd2323 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

1. back to pyc generation

parent f5cb2ec0
......@@ -16,18 +16,18 @@ ifconfig eth0 192.168.0.9
cd /usr/local/verilog/
if [ $SENSOR_TYPE -eq 5 ]; then
python -B /usr/local/bin/test_mcntrl.py @startup5 >> /dev/null 2>&1 &
/usr/local/bin/test_mcntrl.py @startup5 >> /dev/null 2>&1 &
ln -sf /usr/local/verilog/x393_parallel.bit /tmp/x393.bit
else
python -B /usr/local/bin/test_mcntrl.py @startup14 >> /dev/null 2>&1 &
/usr/local/bin/test_mcntrl.py @startup14 >> /dev/null 2>&1 &
ln -sf /usr/local/verilog/x393_hispi.bit /tmp/x393.bit
fi
sleep 10
sync
python -B /usr/local/bin/test_mcntrl.py @includes -c compressor_control all 1 None None None None None
python -B /usr/local/bin/test_mcntrl.py @includes -c compressor_control all 0 None None None None None
/usr/local/bin/test_mcntrl.py @includes -c compressor_control all 1 None None None None None
/usr/local/bin/test_mcntrl.py @includes -c compressor_control all 0 None None None None None
# create circular buffer files
if [ ! -e /dev/circbuf0 ]; then
......@@ -109,7 +109,7 @@ echo file sensor_common.c -pfl > /sys/kernel/debug/dynamic_debug/control
echo file jpeghead.c -pfl > /sys/kernel/debug/dynamic_debug/control
# end of debug code
python -B /usr/local/bin/test_mcntrl.py @includes -c compressor_control all 3 None None None None None
/usr/local/bin/test_mcntrl.py @includes -c compressor_control all 3 None None None None None
cd ~
......@@ -121,7 +121,7 @@ if [ -f /usr/bin/camogm ]; then
fi
if [ $SATA_EN -eq 1 ]; then
python -B /usr/local/bin/x393sata.py
/usr/local/bin/x393sata.py
modprobe ahci_elphel &
sleep 2
echo 1 > /sys/devices/soc0/amba@0/80000000.elphel-ahci/load_module
......
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