sysfs-class-remoteproc 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. What: /sys/class/remoteproc/.../firmware
  2. Date: October 2016
  3. Contact: Matt Redfearn <matt.redfearn@imgtec.com>
  4. Description: Remote processor firmware
  5. Reports the name of the firmware currently loaded to the
  6. remote processor.
  7. To change the running firmware, ensure the remote processor is
  8. stopped (using /sys/class/remoteproc/.../state) and write a new filename.
  9. What: /sys/class/remoteproc/.../state
  10. Date: October 2016
  11. Contact: Matt Redfearn <matt.redfearn@imgtec.com>
  12. Description: Remote processor state
  13. Reports the state of the remote processor, which will be one of:
  14. "offline"
  15. "suspended"
  16. "running"
  17. "crashed"
  18. "invalid"
  19. "offline" means the remote processor is powered off.
  20. "suspended" means that the remote processor is suspended and
  21. must be woken to receive messages.
  22. "running" is the normal state of an available remote processor
  23. "crashed" indicates that a problem/crash has been detected on
  24. the remote processor.
  25. "invalid" is returned if the remote processor is in an
  26. unknown state.
  27. Writing this file controls the state of the remote processor.
  28. The following states can be written:
  29. "start"
  30. "stop"
  31. Writing "start" will attempt to start the processor running the
  32. firmware indicated by, or written to,
  33. /sys/class/remoteproc/.../firmware. The remote processor should
  34. transition to "running" state.
  35. Writing "stop" will attempt to halt the remote processor and
  36. return it to the "offline" state.