Google Coral Installation with Compute Modules

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

Google Coral Installation with Compute Modules

Post by xanatos » Mon May 13, 2019 10:40 pm

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: 161
Joined: Tue Apr 16, 2019 9:23 am
Contact:

Re: Google Coral Installation with Compute Modules

Post by Realizator » Tue May 14, 2019 9:51 am

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