Page 1 of 1

Google Coral Installation with Compute Modules

Posted: Mon May 13, 2019 10:40 pm
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

Re: Google Coral Installation with Compute Modules

Posted: Tue May 14, 2019 9:51 am
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! :-)