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
95466801
Commit
95466801
authored
May 19, 2016
by
Mikhail Karpenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Write bayer to circbuf
parent
e708e6fa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
init_elphel393.sh
recipes-core/init-elphel393/files/init_elphel393.sh
+7
-1
init_tempmon.py
recipes-core/init-tempmon/files/init_tempmon.py
+1
-0
No files found.
recipes-core/init-elphel393/files/init_elphel393.sh
View file @
95466801
...
...
@@ -54,12 +54,18 @@ fi
# debug code follows, should be removed later
# inable interrupts
echo
1
>
/dev/circbuf0
# set frame size
# set frame size
and bayer shift
if
[
$SENSOR_TYPE
-eq
5
]
;
then
echo
"6 2592:1936"
>
/dev/circbuf0
echo
"7 3"
>
/dev/circbuf0
else
echo
"6 4384:3280"
>
/dev/circbuf0
echo
"7 2"
>
/dev/circbuf0
fi
# turn off debug output
echo
file circbuf.c
-pfl
>
/sys/kernel/debug/dynamic_debug/control
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
/usr/local/bin/test_mcntrl.py @includes
-c
compressor_control all 3 None None None None None
...
...
recipes-core/init-tempmon/files/init_tempmon.py
View file @
95466801
...
...
@@ -189,6 +189,7 @@ class temp_monitor():
# print "Core temperature: '%f', median: '%f'" % (core_temp, avg)
time
.
sleep
(
self
.
params
[
"temp_sampling_time"
])
self
.
read_temp_params
()
self
.
write_temp_params
()
except
(
KeyboardInterrupt
,
SystemExit
):
self
.
core_temp_out_f
.
close
()
self
.
core_temp_params_f
.
close
()
...
...
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