Commit a363332b authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

switched to x393sata_control.py for SSD detection

parent a7c6f723
......@@ -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")
......
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