Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
meta-elphel393
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
meta-elphel393
Commits
1160b049
Commit
1160b049
authored
Jun 24, 2016
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
copy python scripts to /tmp/local/bin/, linking doesn't work - python creates pycs in origin
parent
cbdd2323
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
6 deletions
+11
-6
init_elphel393.sh
recipes-core/init-elphel393/files/init_elphel393.sh
+11
-6
No files found.
recipes-core/init-elphel393/files/init_elphel393.sh
View file @
1160b049
...
@@ -13,21 +13,26 @@ SATA_EN=1
...
@@ -13,21 +13,26 @@ SATA_EN=1
ifconfig eth0 192.168.0.9
ifconfig eth0 192.168.0.9
PYDIR
=
/tmp/local/bin
mkdir
/tmp/local
cp
-r
/usr/local/bin
$PYDIR
cd
/usr/local/verilog/
cd
/usr/local/verilog/
if
[
$SENSOR_TYPE
-eq
5
]
;
then
if
[
$SENSOR_TYPE
-eq
5
]
;
then
/usr/local/bin
/test_mcntrl.py @startup5
>>
/dev/null 2>&1 &
$PYDIR
/test_mcntrl.py @startup5
>>
/dev/null 2>&1 &
ln
-sf
/usr/local/verilog/x393_parallel.bit /tmp/x393.bit
ln
-sf
/usr/local/verilog/x393_parallel.bit /tmp/x393.bit
else
else
/usr/local/bin
/test_mcntrl.py @startup14
>>
/dev/null 2>&1 &
$PYDIR
/test_mcntrl.py @startup14
>>
/dev/null 2>&1 &
ln
-sf
/usr/local/verilog/x393_hispi.bit /tmp/x393.bit
ln
-sf
/usr/local/verilog/x393_hispi.bit /tmp/x393.bit
fi
fi
sleep
10
sleep
10
sync
sync
/usr/local/bin
/test_mcntrl.py @includes
-c
compressor_control all 1 None None None None None
$PYDIR
/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
$PYDIR
/test_mcntrl.py @includes
-c
compressor_control all 0 None None None None None
# create circular buffer files
# create circular buffer files
if
[
!
-e
/dev/circbuf0
]
;
then
if
[
!
-e
/dev/circbuf0
]
;
then
...
@@ -109,7 +114,7 @@ echo file sensor_common.c -pfl > /sys/kernel/debug/dynamic_debug/control
...
@@ -109,7 +114,7 @@ echo file sensor_common.c -pfl > /sys/kernel/debug/dynamic_debug/control
echo
file jpeghead.c
-pfl
>
/sys/kernel/debug/dynamic_debug/control
echo
file jpeghead.c
-pfl
>
/sys/kernel/debug/dynamic_debug/control
# end of debug code
# end of debug code
/usr/local/bin
/test_mcntrl.py @includes
-c
compressor_control all 3 None None None None None
$PYDIR
/test_mcntrl.py @includes
-c
compressor_control all 3 None None None None None
cd
~
cd
~
...
@@ -121,7 +126,7 @@ if [ -f /usr/bin/camogm ]; then
...
@@ -121,7 +126,7 @@ if [ -f /usr/bin/camogm ]; then
fi
fi
if
[
$SATA_EN
-eq
1
]
;
then
if
[
$SATA_EN
-eq
1
]
;
then
/usr/local/bin
/x393sata.py
$PYDIR
/x393sata.py
modprobe ahci_elphel &
modprobe ahci_elphel &
sleep
2
sleep
2
echo
1
>
/sys/devices/soc0/amba@0/80000000.elphel-ahci/load_module
echo
1
>
/sys/devices/soc0/amba@0/80000000.elphel-ahci/load_module
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment