lookup-order.rst 918 B

1234567891011121314151617181920
  1. =====================
  2. Firmware lookup order
  3. =====================
  4. Different functionality is available to enable firmware to be found.
  5. Below is chronological order of how firmware will be looked for once
  6. a driver issues a firmware API call.
  7. * The ''Built-in firmware'' is checked first, if the firmware is present we
  8. return it immediately
  9. * The ''Firmware cache'' is looked at next. If the firmware is found we
  10. return it immediately
  11. * The ''Direct filesystem lookup'' is performed next, if found we
  12. return it immediately
  13. * The ''Platform firmware fallback'' is performed next, but only when
  14. firmware_request_platform() is used, if found we return it immediately
  15. * If no firmware has been found and the fallback mechanism was enabled
  16. the sysfs interface is created. After this either a kobject uevent
  17. is issued or the custom firmware loading is relied upon for firmware
  18. loading up to the timeout value.