I’m trying to install drivers for the google coral M2 on banana pi m4. I’m using the BPI-M4/BPI-W2 Ubuntu Server 16.04 image from the bpi website. Following the get started guide from google (https://coral.ai/docs/m2/get-started), it looks like the installation script from google is looking for kernel headers
Hi Frank, thanks for your help.
The kernel is 4.9.119-BPI-M4-Kernel and I think I can download it from here https://github.com/BPI-SINOVOIP/BPI-M4-bsp. Browsing through the files I cannot find the headers, to get them should I compile it? Never did that but I hope I can find some guide
yup I tried to git clone and made the symbolic link to /usr/src
I don’t know how to locate the installing script, maybe inside the .deb package? I tried to decompress it but I could not find any cue, nothing in pre/post scriptsgasket-dkms_1.0-9_all.deb (43,6 KB)
Hi Frank, github content files are very similar with snapdragon stuff. About modules I’ve already source/build inside the correct kernel folder.
I’m writing with google coral support, If I can find a solution I’ll let you know. For the moment thank you very much for your help
Do you think would be a possibility recompile the kernel with coral module?
I have the M.2 Dual Edge TPU. inserted in the M.2 slot.
The “2020-05-18-ubuntu-18.04-mate-desktop-bpi-M4-aarch64-sd-emmc.img” (posted on this forum ) img running on an inserted SD gets me to a point where the TPU is detected via
“lspci -x | grep 089a”
There are no errors during install but I don’t see “ls /dev/apex_0” when following the listed coral.ai steps
UPDATE
No luck whatsoever!
@sinovoip could you please look into Coral M.2 TPU’s compatibility on your BPI-M4. You’ re product is one of the few SBCs that have an M.2 E key.
If you’ re team can get the Coral M.2 TPU running we’ll use and promote your boards in our project.