Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
elphel-init
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
elphel-init
Commits
a363332b
Commit
a363332b
authored
Apr 29, 2020
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
switched to x393sata_control.py for SSD detection
parent
a7c6f723
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
init_elphel393.py
src/init_elphel393.py
+4
-3
No files found.
src/init_elphel393.py
View file @
a363332b
...
...
@@ -204,9 +204,10 @@ def init_sata(sata_en):
shout
(
PYDIR
+
"/x393sata_control.py set_zynq_esata"
)
else
:
# load the AHCI driver module
shout
(
"modprobe ahci_elphel &"
)
shout
(
"sleep 2"
)
shout
(
"echo 1 > /sys/devices/soc0/amba@0/80000000.elphel-ahci/load_module"
)
#shout("modprobe ahci_elphel &")
#shout("sleep 2")
#shout("echo 1 > /sys/devices/soc0/amba@0/80000000.elphel-ahci/load_module")
shout
(
PYDIR
+
"/x393sata_control.py set_zynq_ssd"
)
else
:
log_msg
(
"10389 was not detected: skipping SATA init"
)
...
...
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