Commit graph

6 commits

Author SHA1 Message Date
Sasha Smundak
9cbef8afd5 Use soong_config_ macros to set Soong config variables.
Bug: 198503843
Test: treehugger
Merged-In: Ifd1aed04267d952a13cfd9b93933e500ba07dbad
Change-Id: I4fa1d4f3e1c5a965696f78244bcf58360e0ce1c7
2021-12-29 18:31:41 +00:00
Richard Hsu
b60bfdd875 [Bringup] Enable darwinn EdgeTPU implementation of NNAPI on PRO.
The NNAPI is now fully functional and passes all the tests. This CL enables the Darwinn NNAPI
service by default on the master branch.

Adding an OWNERS file to edgetpu part of gs*01 to make review process
easier in the future.

Bug: 186425023

Test: run_nnapi_test. tflite to nnapi test.

Change-Id: I4caeb01f23526f4094799df968c96646d52e2131
2021-08-16 00:24:35 -07:00
Richard Hsu
64c714a88e [Bringup] Enable Darwinn Logging Service on Android T
Enables the EdgeTPU firmware logger on Android T, for both WCH and PRO.
Also makes the tpu_usage paths up-to-date with the new path: edgetpu-soc

Bug: 196105736

Test: Manually triggered firmware logs to confirm.

Change-Id: I6d3c7fd31046296fb2e87613a97c85a151220217
2021-08-10 17:06:43 -07:00
Yu-Chi Cheng
6e14b83fe7 Added edgetpu_config_chip soong variable to gs201 edgetpu.mk.
This allows EdgeTPU component to build different components
per target chip.

Bug: 192096682
Test: tested on prebuilt.
Change-Id: Id9ee7de22648c591f8a540c5441ad375a9ee3439
2021-06-25 13:47:10 -07:00
Richard Hsu
45ff75ce19 [Bringup] Update device.mk for TPU (Janeiro) for PRO.
Give TPU device path (/dev/janeiro) the same access permission as /dev/abrolhos. This change is similar
to what we did for WCH, but for PRO.

Bug: 191185522

Test: run_tflite_test_odc passes.
https://paste.googleplex.com/5466657955774464

Change-Id: If735e699c0c9ec842f915ebc7b59d0896f4c776c
2021-06-17 17:23:04 -07:00
Nrithya Kanakasabapathy
87b88bb590 Updates to device make files to include the TPU firmware for whitechapel
pro

Bug: 190569662

Signed-off-by: Nrithya Kanakasabapathy <nrithya@google.com>
Change-Id: I960d7aaafebb377dbcf976381a9dc6edcc01d8c7
2021-06-14 19:36:50 +00:00