从 SD 卡刷新 Google Coral 板失败并显示错误:“源”命令的图像格式错误

问题描述

根据 coral dev board 闪烁 getting started guide 会导致错误 Wrong image format for "source" command。当 SD 卡插入电路板并且电路板通电时,此错误是串行控制台中显示内容 - 下面的完整输出。我没有找到有关此问题的任何文档,因此我将其发布在这里以防其他人遇到此问题。

U-Boot SPL 2019.04.1 (Apr 29 2020 - 18:40:05 +0000)
power_bd71837_init
Board id: 2
DDRINFO: start DRAM init
DDRINFO:ddrphy calibration done
DDRINFO: ddrmix config done
normal Boot
Trying to boot from MMC2
hdr read sector 300,count=1


U-Boot 2019.04.1 (Apr 29 2020 - 18:40:05 +0000),Build: jenkins-enterprise.uboot-imx-1

cpu:   Freescale i.MX8MQ rev2.0 1500 MHz (running at 1000 MHz)
cpu:   Commercial temperature grade (0C to 95C) at 33C
Reset cause: POR
Model: Freescale i.MX8MQ Phanbell
DRAM:  1 GiB
MMC:   FSL_SDHC: 0,FSL_SDHC: 1
Loading Environment from MMC... *** Warning - bad CRC,using default environment

In:    serial
Out:   serial
Err:   serial

 BuildInfo:
  - ATF
  - U-Boot 2019.04.1

flash target is MMC:0
Net:
Error: ethernet@30be0000 address not set.

Error: ethernet@30be0000 address not set.
eth-1: ethernet@30be0000
Fastboot: normal
normal Boot
Hit any key to stop autoboot:  0
** No partition table - mmc 1 **
## Executing script at 40480000
Wrong image format for "source" command
## Starting auxiliary core at 0x00000000 ...
u-boot=> 

解决方法

此错误是由损坏的 SD 卡引起的,或者可能是因为 SD 卡已被用于(格式化)用于其他用途。通过在全新 SD 卡(我使用的是三星 128GB Pro Endurance 卡)上按照 getting started guide 刻录映像,我能够绕过此错误并成功安装操作系统。我在 Mac 上使用了 balenaEtcher,它在短短几分钟内刻录了图像。

相关问答

Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其...
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。...
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbc...