Difference between revisions of "Load custom bitstream"

From ElphelWiki
Jump to: navigation, search
Line 15: Line 15:
 
** in this line the extra init procedures are listed, to disable/skip certain procedure set 0, to enable - set 1
 
** in this line the extra init procedures are listed, to disable/skip certain procedure set 0, to enable - set 1
 
** everything is done in ''/etc/elphel393/init_elphel393.py'' which runs other scripts.
 
** everything is done in ''/etc/elphel393/init_elphel393.py'' which runs other scripts.
** the bitstream is loaded by '''autocampars''' and (if '''autocampars''' is skipped) '''sata'''
+
** the bitstream is loaded by '''autocampars''' or '''sata''' (if autocampars is skipped)
  
  
  
 
[[Category:393]]
 
[[Category:393]]

Revision as of 13:58, 20 April 2017

Description

The default bitstream is loaded from OS not from u-boot. Reasons:

  • Different banks have different (software - controlled and regulated) voltages and they need to be set up before loading.
    • voltages are set by the software through i2c

Bitstreams paths:

  • /usr/local/verilog/

Init:

  • /etc/init.d/init_elphel393
...
$CONFDIR/init_elphel393.py "{\"usb_hub\":1, \"ip\":1,\"imgsrv\":1, \"autoexp_daemon\":1, \"autocampars\":1, \"sata\":1, \"gps\":1, \"eyesis\":0 }"
...
    • in this line the extra init procedures are listed, to disable/skip certain procedure set 0, to enable - set 1
    • everything is done in /etc/elphel393/init_elphel393.py which runs other scripts.
    • the bitstream is loaded by autocampars or sata (if autocampars is skipped)