-2

我有一个 Pico Pro Maker 套件并使用 Windows 10 PC。我按照这里的闪烁说明进行操作。设备管理器以这种方式检测套件: Android ADB 接口

设备处于 fatboot 模式,但是当我执行 flash-all 脚本时,返回错误消息(无法加载 'u-boot.imx'):

Microsoft Windows [Version 10.0.15063]

(c) 2017 年微软公司。明登慢跑 fenntartva。

C:\Android\sdk\platform-tools>adb 设备

附加设备列表

C:\Android\sdk\platform-tools>fastboot 设备

000000e5f4439b02 快速启动

C:\Android\sdk\platform-tools>C:\F_Android_Things_NXPPico\flash-all.bat

错误:无法加载“u-boot.imx”

有谁知道出了什么问题?

4

1 回答 1

3

最后我挺过来了。看着 intflash-all.bat脚本说:

fastboot 可执行文件必须在您的路径中才能运行此脚本

我将由AndroidThingsConsole生成的所有 Android Thing 映像复制到C:\Android\sdk\platform-tools\子目录中,然后flash-all.bat再次运行脚本。

结果在这里:

C:\Android\sdk\platform-tools>flash-all.bat

target reported max download size of 209715200 bytes

sending 'bootloader' (479 KB)...

OKAY [  0.017s]
writing 'bootloader'...
OKAY [  0.397s]
rebooting into bootloader...
OKAY [  0.009s]

finished. total time: 0.457s

< waiting for any device >

target reported max download size of 209715200 bytes

sending 'gpt' (33 KB)...
OKAY [  0.006s]
writing 'gpt'...
OKAY [ 28.856s]

rebooting into bootloader...

OKAY [  0.006s]

finished. total time: 28.876s

target reported max download size of 209715200 bytes

Creating filesystem with parameters:

    Size: 2009071616
    Block size: 4096
    Blocks per group: 32768
    Inodes per group: 8176
    Inode size: 256
    Journal blocks: 7664
    Label:
    Blocks: 490496
    Block groups: 15
    Reserved block group size: 119
Created filesystem with 11/122640 inodes and 16088/490496 blocks

sending 'boot_a' (32768 KB)...

OKAY [  0.886s]
writing 'boot_a'...
OKAY [  1.222s]
sending 'boot_b' (32768 KB)...
OKAY [  0.883s]
writing 'boot_b'...
OKAY [  1.235s]
erasing 'system_a'...
OKAY [  7.114s]
sending sparse 'system_a' 1/2 (203704 KB)...
OKAY [  5.909s]
writing 'system_a' 1/2...
OKAY [  8.516s]
sending sparse 'system_a' 2/2 (204764 KB)...
OKAY [  6.189s]
writing 'system_a' 2/2...
OKAY [ 11.602s]
erasing 'system_b'...
OKAY [  6.999s]
sending sparse 'system_b' 1/2 (203704 KB)...
OKAY [  5.993s]
writing 'system_b' 1/2...
OKAY [  8.500s]
sending sparse 'system_b' 2/2 (204764 KB)...
OKAY [  5.818s]
writing 'system_b' 2/2...
OKAY [ 11.603s]
erasing 'userdata'...
OKAY [ 26.163s]
sending 'userdata' (33356 KB)...
OKAY [  0.903s]
writing 'userdata'...
OKAY [  1.252s]
Setting current slot to 'a'...
OKAY [  0.030s]
finished. total time: 110.864s
target reported max download size of 209715200 bytes
sending 'gapps_a' (72040 KB)...
OKAY [  1.929s]
writing 'gapps_a'...
OKAY [  2.570s]
sending 'gapps_b' (72040 KB)...
OKAY [  1.938s]
writing 'gapps_b'...
OKAY [  2.467s]
finished. total time: 8.917s
target reported max download size of 209715200 bytes
sending 'oem_a' (1096 KB)...
OKAY [  0.036s]
writing 'oem_a'...
OKAY [  0.139s]
sending 'oem_b' (1096 KB)...
OKAY [  0.036s]
writing 'oem_b'...
OKAY [  0.123s]
finished. total time: 0.344s

Successfully flashed your imx7d.
rebooting...

finished. total time: 0.001s

C:\Android\sdk\platform-tools>
于 2017-10-08T11:11:51.970 回答