Google Coral Installation with Compute Modules

Other hardware discussion
Post Reply
xanatos
Posts: 9
Joined: Thu Apr 25, 2019 7:02 pm

Google Coral Installation with Compute Modules

Post by xanatos »

If you're planning to install Google's Coral Accelerator with EdgeTPU support, you will need to edit the install.sh file that is ready after you download and untar the tarball. The install.sh script checks

Code: Select all

    cat /sys/firmware/devicetree/base/model
and compares that string to the stored strings. The Compute Module is not listed among them. I have included here the entire section with the Compute Module's Model Line included:

Code: Select all

    if [[ "${MODEL}" == "Raspberry Pi 3 Model B Rev"* ]]; then
        info "Recognized as Raspberry Pi 3 B."
        LIBEDGETPU_SUFFIX=arm32
        HOST_GNU_TYPE=arm-linux-gnueabihf
    elif [[ "${MODEL}" == "Raspberry Pi 3 Model B Plus Rev"* ]]; then
        info "Recognized as Raspberry Pi 3 B+."
        LIBEDGETPU_SUFFIX=arm32
        HOST_GNU_TYPE=arm-linux-gnueabihf
    elif [[ "${MODEL}" == "Raspberry Pi Compute Module 3 Plus Rev"* ]]; then
        info "Recognized as Raspberry Pi CM3+."
        LIBEDGETPU_SUFFIX=arm32
        HOST_GNU_TYPE=arm-linux-gnueabihf
    fi
Save that and run the script. Installation of EdgeTPU will be successfully completed.

Dave Xanatos

User avatar
Realizator
Site Admin
Posts: 900
Joined: Tue Apr 16, 2019 9:23 am
Contact:

Re: Google Coral Installation with Compute Modules

Post by Realizator »

Dave, thank you for your guide!
I've added it to our Wiki here.
It will be great if you will share your Google Coral experience with us! :-)
Eugene a.k.a. Realizator

Post Reply