f0cal / google-coral

Community gathering point for Google Coral dev board and dongle knowledge.
109 stars 14 forks source link

Partition error when trying to flash the board with MacOs Catalina. #90

Open Guillaume-slize opened 3 years ago

Guillaume-slize commented 3 years ago

I copied this issue on the official google coral and will link the answer here if they come on the other.

I have tried flashing my coral board for a few hours from my mac now but without much success. I started with the regular tutorial to get started and then tried to U-boot from the SD card but both were unsuccessful and led to the same errors

First anomaly

What I ran

In your serial console's u-boot prompt, execute the following: fastboot 0

What the docs said should happen

The cursor should simply move to the next line.

What actually happened

I got this response : Configured USB Switch for UFP Then it moved to the next line.

Second Anomaly

What I ran

Open a new terminal on your host computer and execute the following command: fastboot devices

What the docs said should happen

You should see a line printed like this (your numbers will be different): 1b0741d6f0609912 fastboot

What actually happened

Before having the right output I had an error message:

ERROR: Couldn't create a device interface iterator: (e00002bd)
131d81d6ef944da7    fastboot

Actual Problem

What I ran

bash flash.sh

What the docs said should happen

This starts the flashing process and you'll see various output.

What actually happened

I only received this output message:

flash.sh: line 22: [[: Couldn't: syntax error: invalid arithmetic operator (error token is "'t")
flash.sh: line 24: [[: Couldn't: syntax error: invalid arithmetic operator (error token is "'t")
flash.sh: line 26: [[: Couldn't: syntax error: invalid arithmetic operator (error token is "'t")
Can't find partition image  to flash
Guillaume-slize commented 3 years ago

As @Namburger pointed out in the other thread, downloading the android platform tool via cask did the trick. I followed this response: https://android.stackexchange.com/a/224765