Page MenuHomeFreeBSD

apex: add a driver for the Google Apex Edge TPU
Needs ReviewPublic

Authored by guest-seuros on Thu, Jul 30, 8:12 PM.
Referenced Files
F164689460: D58563.id183133.diff
Mon, Aug 3, 4:52 AM
F164682271: D58563.id183142.diff
Mon, Aug 3, 3:54 AM
F164622911: D58563.id.diff
Sun, Aug 2, 2:45 PM
F164604175: D58563.id183142.diff
Sun, Aug 2, 8:47 AM
Unknown Object (File)
Sun, Aug 2, 4:47 AM
Unknown Object (File)
Sun, Aug 2, 1:51 AM
Unknown Object (File)
Sat, Aug 1, 9:04 PM
Unknown Object (File)
Fri, Jul 31, 1:15 AM
Subscribers

Details

Reviewers
adrian
Group Reviewers
drivers
Summary

The Apex is the accelerator on Coral PCI Express and M.2 modules,
appearing as 1ac1:089a
Google's Linux driver left staging in 5.16 and the out of tree
repository was archived; no BSD has had one.

Tested on: amd64, Coral M.2 Accelerator, running MobileNet v1
with the TensorFlow Lite 2.16 and LiteRT runtimes

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 75310
Build 72193: arc lint + arc unit

Event Timeline

The USB variant is more common than the PCIE/M2 in the wild, but i did not want to port it without testing it on hardware.

I will check with some frigate or home-assistant friends if they have they can undust the coral .

PS: the linux driver has a bug that will never be fixed (the repo is archived) which pushed people in stopped the coral usage. this port address it.