Skip to content
  1. Nov 04, 2022
  2. Oct 25, 2022
  3. Sep 08, 2022
  4. Aug 29, 2022
  5. Aug 25, 2022
  6. Jun 30, 2022
    • Kristofer Jonsson's avatar
      Improved logging · 53fd03d0
      Kristofer Jonsson authored
      Add logging class for driver library. Log severity can be configured
      using an environment variable.
      
      Add information to prints in kernel space.
      
      Change-Id: I19a1078869733746726515a6cafb79110314066d
      3 tags
      53fd03d0
    • Kristofer Jonsson's avatar
      Fix bug in inference release · 2d69b8b5
      Kristofer Jonsson authored
      Once the inference file descriptor has been created the inference
      release must be handled by the file descriptor release callback.
      
      Change-Id: Ic514983e85821ea3893e11c5c682610f67d1ae31
      2d69b8b5
  7. Jun 29, 2022
    • Kristofer Jonsson's avatar
      Bug fix for queue capacity calculation · e2a58155
      Kristofer Jonsson authored
      Reduce queue capacity by one byte, else it will not be possible to
      distinguish between an empty and full queue.
      
      Change-Id: Ia243a7175833826dc816d536cc79ac5a252f3e3a
      e2a58155
    • Kristofer Jonsson's avatar
      Return network info error code · e3e26434
      Kristofer Jonsson authored
      The error code from the core side was not correctly propagated to
      user space.
      
      Change-Id: I40e502f8dc3a77de064f441beeb62603d013e318
      e3e26434
    • Kristofer Jonsson's avatar
      Add missing padding to core interface · 3706043e
      Kristofer Jonsson authored
      The padding is important to separate the read- and write indices by
      at least one cache line, to prevent cache clean and invalidation to
      corrupt data for the remote CPU.
      
      Change-Id: I1d50ac6c63ef4cb3e11b0c293aefaac34ac8eb1f
      3706043e
  8. Jun 01, 2022
  9. May 24, 2022
  10. May 23, 2022
    • Davide Grohmann's avatar
      Use ids for identifying messages sent to EthosU firmware · 32660f9f
      Davide Grohmann authored
      Avoid to use pointers to kernel memory as identify messages, prior this
      change, if memory is reused that can lead to unexpected conflicts.
      
      Remove ref counting from capabilities and network_info since memory is
      freed in only one place.
      
      Finally, extract the capabilities code in its own files.
      
      Change-Id: I9ab7257f3ab85fa3347be65b3739e0daf9b5a441
      32660f9f
  11. May 19, 2022
  12. May 18, 2022
  13. May 09, 2022
    • Davide Grohmann's avatar
      Reset firmware when inference cancellation fails · 8b1fe55b
      Davide Grohmann authored
      If an inference fails to be cancelled and it is still in a pending
      state, reset the whole firmware.  Indeed the assumption is that
      something is at fault on the firmware side and it is not progressing.
      
      Change-Id: I2f568b2167d86cda3cb96a5e83551b018f5fc55d
      22.05-rc1
      8b1fe55b
  14. May 05, 2022
    • Davide Grohmann's avatar
      Add support for inference cancellation · 7e8f5087
      Davide Grohmann authored
      Send cancel inference messages to the ethosu subsystem to abort
      inference execution there.  Also mark inference as aborted in the
      linux driver stack itself, so pending inference messages are not
      resent when resetting the firmware.
      
      Change-Id: I244c2b119fd7995d14e3859815abf2a00c7f0583
      7e8f5087
  15. May 02, 2022
  16. Apr 27, 2022
  17. Apr 26, 2022
  18. Apr 12, 2022
    • Davide Grohmann's avatar
      Drop tflite and flatbuffer dependencies · 80f8ddf0
      Davide Grohmann authored
      There is not real need for the linux_driver_stack to know about tflite
      and flatbuffers.  A better approach is to just pass the buffer to the
      firmware to be processes, i.e., either parsed or executed.
      
      This solves issues when linux_driver_stack and firmware are not in
      sync with the same library versions.
      
      Change-Id: I9b2a12e69f37f61b1ac594433a15883fb1c67b9c
      80f8ddf0
  19. Apr 04, 2022
    • Kristofer Jonsson's avatar
      Reset firmware · 442fefb7
      Kristofer Jonsson authored
      Reset the firmware if it becomes unresponsive. Use ping to send
      keep alive requests.
      
      Only monitor ping and inference request messages. The other messages
      pass no resources to the firmware and can be cancelled without
      resetting the firmware.
      
      Change-Id: Ifbcc370f02d79a64f25598f11376a1dc84a7a066
      442fefb7
  20. Mar 23, 2022
    • Kristofer Jonsson's avatar
      Kernel watchdog timeout · f5b98c96
      Kristofer Jonsson authored
      Implement kernel watchdog that detects when firmware becomes
      unresponsive.
      
      Change-Id: I5c5b58a56a2ce629e1fd7cabae83b61823239ea6
      f5b98c96
  21. Mar 14, 2022
    • Kristofer Jonsson's avatar
      Network info · 3c6a260a
      Kristofer Jonsson authored
      Add UAPI and core message that allows user space space to fetch
      information about network models built into the firmware.
      
      Change-Id: Ic92529bce3edd0a5499e691a566bd065da2a72ad
      3c6a260a
  22. Mar 10, 2022
    • Kristofer Jonsson's avatar
      Firmware resident model · 35de9e63
      Kristofer Jonsson authored
      Support referencing a network model by index that has been built into
      the firmware binary.
      
      Change-Id: Idd5294376ea82503dfeafe1203dcc0694d296dfe
      35de9e63
  23. Jan 17, 2022
  24. Dec 17, 2021
  25. Dec 16, 2021
  26. Dec 14, 2021
  27. Nov 23, 2021
  28. Nov 15, 2021
  29. Nov 11, 2021
    • Kristofer Jonsson's avatar
      Documentation updates · b2252bb6
      Kristofer Jonsson authored
      Adding note about that a configured Linux kernel source tree is
      required to build the kernel drivers.
      
      Change-Id: I3a4c7fd20e24731864b768051f2ce1f5714b5535
      21.11-rc1
      b2252bb6
  30. Nov 02, 2021
  31. Nov 01, 2021
    • Per Astrand's avatar
      Increase message timeout · bb17527d
      Per Astrand authored and Kristofer Jonsson's avatar Kristofer Jonsson committed
      Bump the hardcoded timeout value to allow for userspaces process to
      be scheduled and receive the response from the capabilities request.
      
      Change-Id: Ia2c8a0554870cf8470a2bb40bf8ed450c10f8446
      bb17527d
  32. Oct 28, 2021
    • Kristofer Jonsson's avatar
      Add utility to print firmware log · 6d80c423
      Kristofer Jonsson authored
      By default the logd will try to fetch the address of the print buffer
      from the device tree entry, assuming there is a device tree entry
      named 'print_queue'.
      
      Change-Id: Ic4750fe793f450152ba537820adc794731aaacaf
      6d80c423
Loading