Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Coral Dev Board #666

Closed
alexsahka opened this issue Jan 30, 2021 · 17 comments
Closed

Coral Dev Board #666

alexsahka opened this issue Jan 30, 2021 · 17 comments

Comments

@alexsahka
Copy link

Is it possible to run Frigate on the Coral Dev Board? Not the Pi + USB stick?

https://coral.ai/products/dev-board/

@cybertza
Copy link

Don't be lazy search old topics. :/
#428
#428

@alexsahka
Copy link
Author

alexsahka commented Jan 30, 2021

There is not a single word about Coral Dev Board and all of these topics about Pi 3, Pi 4, or a computer + Coral USB stick, not the Coral Dev Board.

I still have a question is it possible to run Frigate on the Coral Dev Board?
image

@jakowenko
Copy link

I have a dev board mini and a coral usb accelerator. I had to run frigate as a docker container on my mini directly. Just got an accelerator today, going to see what the difference makes. Guessing my NUC + accelerator will perform better with the ffmpeg requirements.

@alexsahka
Copy link
Author

Thank you,
So I have to install docker on the Coral Dev board and run it directly.
How about this docker env:

detectors:
coral:
type: edgetpu
device: 'usb:0'

What is needs to be changed here instead of: device: 'usb:0' ?

@jakowenko
Copy link

jakowenko commented Jan 30, 2021

At least that was the only way I could figure out how to do it. I see the docs include a way for pci, but I wasn't able to figure out how to run the dev board with the usb device type. The ffmpeg wasn't great though on it. I believe I just had this for the config and didn't specify USB, when I checked the logs when it started, it said it found the TPU. Let me know if you run into issues and I can ssh into my dev board and confirm what I used.

detectors:
    coral:
        type: edgetpu

@alexsahka
Copy link
Author

David,
Do you have problems with installing and running Docker on the Coral dev board mini?
I installed multiple dockers in the last 2-3 years on different hosts without any problems but seems like Coral board has problems with Mendel Linux.
Any tips on how to install docker on the Coral board?

This not working for some reasons:
f0cal/google-coral#32
image

@jakowenko
Copy link

@alexsahka Docker on the dev mini won't work out of the box. I followed these steps by rebuilding the kernel.

I then had to add the file /etc/docker/daemon.json with the content below. After this a reboot and I was up and running with Docker.

{
  "storage-driver": "overlay2"
}

@alexsahka
Copy link
Author

Thank you!
Have you used an internal 8 GB eMMC or SD card?
For some reason, I'm getting not enough space while rebuilding the kernel.

@jakowenko
Copy link

I was just using the internal storage. Were you able to build the linux-image-4.19.125-mtk_4-2_arm64.deb image? I was able to flash it by just using the mdt install command with the path to the .deb image I built.

@alexsahka
Copy link
Author

I'm getting not enough space, I think I need to start fresh today after work.
Do you have link to linux-image-4.19.125-mtk_4-2_arm64.deb?
I was using different .deb file I wasn't able to find the exact image file.
Are any good images here? https://kernel.ubuntu.com/~kernel-ppa/mainline/v4.19/

@alexsahka
Copy link
Author

So how is the coral USB accelerator different from the Dev board? Any better performance with the USB accelerator?

@jakowenko
Copy link

I had to follow these steps to build the new image - https://coral.googlesource.com/docs/+/refs/heads/master/GettingStarted.md. I don't believe you can just download an existing one. You need to build it with the new kernel options to support docker.

@alexsahka
Copy link
Author

Thank you, I need to start fresh later today.

@antonbek89
Copy link

@alexsahka Hi
So what your experience so far?
I'm considering to buy the dev board but not sure if I should.
What the difference between USB and the Dev Board?

@alexsahka
Copy link
Author

Sold the Dev Board, and bought used Lenovo ThinkCentre M73 Tiny Mini Desktop Computer i3-4130T 4G Ram SSD + Coral Mini PCIe + docker, paid $105 for everything. Happy now, works great!
image

@techbits00
Copy link

Sold the Dev Board, and bought used Lenovo ThinkCentre M73 Tiny Mini Desktop Computer i3-4130T 4G Ram SSD + Coral Mini PCIe + docker, paid $105 for everything. Happy now, works great! image

Any tips on where to buy Coral PCIe? It seems be to out of stock pretty much everywhere with the closest delivery times in Nov 22

@alexsahka
Copy link
Author

alexsahka commented Feb 26, 2022

Sold the Dev Board, and bought used Lenovo ThinkCentre M73 Tiny Mini Desktop Computer i3-4130T 4G Ram SSD + Coral Mini PCIe + docker, paid $105 for everything. Happy now, works great! image

Any tips on where to buy Coral PCIe? It seems be to out of stock pretty much everywhere with the closest delivery times in Nov 22

Sorry I don't know, bought my Coral PCIe back in Feb 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants