无法为 Pico Pro Maker Kit 刷新 Android 物联网图像

Cannot flash Android IoT image for Pico Pro Maker Kit

我得到了 Pico Pro Maker 套件并使用了 Windows 10 PC。我遵循了闪烁的说明 here。 设备管理器以这种方式检测套件: Android ADB interface

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

Microsoft Windows [Version 10.0.15063]

(c) 2017 微软公司。明登慢跑芬塔特瓦。

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'

有人知道哪里出了问题吗?

我终于熬过来了。查看 int flash-all.bat 脚本,上面写着:

The fastboot executable must be in your path to run this script

我将 AndroidThingsConsole 生成的所有 Android 事物图像复制到 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>