I copied this issue on the official google coral and will link the answer here if they come on the other.
Doc you were trying to follow: Get Started -Flashing the board +Flash from U-Boot on an SD card
Your host OS: MacOs Catalina 10.15.7
Your Python3 version: 3.6.8
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
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:
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: