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
00c2b108
Commit
00c2b108
authored
Jun 02, 2016
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cd out when init done
parent
71a4f651
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
init_elphel393.sh
recipes-core/init-elphel393/files/init_elphel393.sh
+6
-2
No files found.
recipes-core/init-elphel393/files/init_elphel393.sh
View file @
00c2b108
...
...
@@ -9,10 +9,12 @@ IMGSRV_PORT=2323
# camogm command pipe name
CAMOGM_PIPE
=
/var/volatile/camogm_cmd
# enable SATA, set this to 1 if camera is equipped with SSD drive
SATA_EN
=
0
SATA_EN
=
1
ifconfig eth0 192.168.0.9
cd
/usr/local/verilog/
if
[
$SENSOR_TYPE
-eq
5
]
;
then
/usr/local/bin/test_mcntrl.py @startup5
>>
/dev/null 2>&1 &
ln
-sf
/usr/local/verilog/x393_parallel.bit /usr/local/verilog/x393.bit
...
...
@@ -72,6 +74,8 @@ echo file jpeghead.c -pfl > /sys/kernel/debug/dynamic_debug/control
/usr/local/bin/test_mcntrl.py @includes
-c
compressor_control all 3 None None None None None
cd
~
if
[
-f
/usr/bin/imgsrv
]
;
then
imgsrv
-p
$IMGSRV_PORT
&
fi
...
...
@@ -83,5 +87,5 @@ if [ $SATA_EN -eq 1 ]; then
/usr/local/bin/x393sata.py
modprobe ahci_elphel &
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
fi
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