Commit 4aa789e7 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

added a string for external ssd connection enabled on startup

parent b36eb126
...@@ -145,6 +145,9 @@ def init_sata(sata_en,pydir): ...@@ -145,6 +145,9 @@ def init_sata(sata_en,pydir):
else: else:
log_msg ("Done waiting for the FPGA", 4) log_msg ("Done waiting for the FPGA", 4)
shout(pydir+"/x393sata.py") # Should be after modprobe? Wait for the FPGA should be before it shout(pydir+"/x393sata.py") # Should be after modprobe? Wait for the FPGA should be before it
# the default connection is zynq <-> internal ssd
# uncomment the line below for zynq <-> external ssd connection at boot
# shout(pydir+"/x393sata_control.py set_zynq_esata")
shout("modprobe ahci_elphel &") shout("modprobe ahci_elphel &")
shout("sleep 2") shout("sleep 2")
shout("echo 1 > /sys/devices/soc0/amba@0/80000000.elphel-ahci/load_module") shout("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