sysfs-class-fpga-manager 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. What: /sys/class/fpga_manager/<fpga>/name
  2. Date: August 2015
  3. KernelVersion: 4.3
  4. Contact: Alan Tull <atull@opensource.altera.com>
  5. Description: Name of low level fpga manager driver.
  6. What: /sys/class/fpga_manager/<fpga>/state
  7. Date: August 2015
  8. KernelVersion: 4.3
  9. Contact: Alan Tull <atull@opensource.altera.com>
  10. Description: Read fpga manager state as a string.
  11. The intent is to provide enough detail that if something goes
  12. wrong during FPGA programming (something that the driver can't
  13. fix) then userspace can know, i.e. if the firmware request
  14. fails, that could be due to not being able to find the firmware
  15. file.
  16. This is a superset of FPGA states and fpga manager driver
  17. states. The fpga manager driver is walking through these steps
  18. to get the FPGA into a known operating state. It's a sequence,
  19. though some steps may get skipped. Valid FPGA states will vary
  20. by manufacturer; this is a superset.
  21. * unknown = can't determine state
  22. * power off = FPGA power is off
  23. * power up = FPGA reports power is up
  24. * reset = FPGA held in reset state
  25. * firmware request = firmware class request in progress
  26. * firmware request error = firmware request failed
  27. * write init = preparing FPGA for programming
  28. * write init error = Error while preparing FPGA for
  29. programming
  30. * write = FPGA ready to receive image data
  31. * write error = Error while programming
  32. * write complete = Doing post programming steps
  33. * write complete error = Error while doing post programming
  34. * operating = FPGA is programmed and operating