从控制台:

从控制台:

我已尝试使用“Ubuntu Core WEBDM”映像(即“ubuntu-core-WEBDM-alpha-02_armhf-bbb.img”)为 Beaglebone Black 刷写 SD 卡,如步骤中所述这里

但系统没有启动。我在串行控制台中捕获了以下错误。在此先感谢您的建议和帮助。

从控制台:

Net:   <ethaddr> not set. Validating first E-fuse MAC
cpsw, usb_ether
Hit any key to stop autoboot:  0 
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
reading boot.scr
** Unable to read file boot.scr **
reading uEnv.txt
237 bytes read in 12 ms (18.6 KiB/s)
Loaded environment from uEnv.txt
Importing environment from mmc ...
Running uenvcmd ...
** File not found snappy-system.txt **
## Error: "snappy_boot" not defined
** File not found /boot/zImage **
switch to partitions #0, OK
mmc1(part 0) is current device
SD/MMC found on device 1
reading boot.scr
** Unable to read file boot.scr **
reading uEnv.txt
** Unable to read file uEnv.txt **
Running uenvcmd ...
** File not found snappy-system.txt **
## Error: "snappy_boot" not defined
** File not found /boot/zImage **
## Error: "nandboot" not defined
U-Boot#

答案1

它似乎u环境变量.txt(在您的 SD 卡上)是错误的。更改${bootpart}${mmcdev}:${mmcpart},即

# where to load initrd
initrd_addr=0x88080000
# load Snappy environment and call into Snappy boot after processing this file
uenvcmd=load mmc ${mmcdev}:${mmcpart} ${loadaddr} snappy-system.txt; env import -t $loadaddr $filesize; run snappy_boot

这应该可以修复错误“未找到文件 snappy-system.txt”并允许 U-Boot 继续。

相关内容