Android Things Developer Preview 4:在MacOSX上flash-all.sh失败

时间:2017-05-26 23:40:51

标签: android-things intel-edison

我按照以下说明从Linux更新了BIOS:https://software.intel.com/en-us/articles/installing-android-things-on-intel-edison-kit-for-arduino

然后回到我的MacOSX 10.12.5并尝试运行 flash-all.sh

$ uname -a
Darwin ag.intel.com 16.6.0 Darwin Kernel Version 16.6.0: Fri Apr 14 16:21:16 PDT 2017; root:xnu-3789.60.24~6/RELEASE_X86_64 x86_64
$ ./flash-all.sh
target reported max download size of 117440512 bytes
sending 'gpt' (33 KB)...
OKAY [  0.008s]
writing 'gpt'...
OKAY [  0.149s]
sending 'u-boot' (375 KB)...
OKAY [  0.020s]
writing 'u-boot'...
OKAY [  0.104s]
erasing 'misc'...
OKAY [  0.132s]
rebooting into bootloader...
OKAY [  0.001s]
finished. total time: 0.415s
ERROR: could not clear input pipe; result e00002ed, ignoring...
ERROR: could not clear output pipe; result e00002d8, ignoring....
ERROR: usb_write failed with status e0004061
ERROR: usb_write failed with status e00002d9
ERROR: usb_write failed with status e00002d9
ERROR: usb_write failed with status e00002d9
ERROR: usb_write failed with status e00002c0
ERROR: usb_write failed with status e00002c0
target didn't report max-download-size
ERROR: usb_write failed with status e00002c0
ERROR: usb_write failed with status e00002c0
ERROR: usb_write failed with status e00002c0
ERROR: usb_write failed with status e00002c0
ERROR: usb_write failed with status e00002c0
ERROR: usb_write failed with status e00002c0
ERROR: usb_write failed with status e00002c0
ERROR: usb_write failed with status e00002c0
ERROR: usb_write failed with status e00002c0
FAILED (command write failed (Invalid argument))
ERROR: usb_write failed with status e00002c0
ERROR: usb_write failed with status e00002c0
ERROR: usb_write failed with status e00002c0
ERROR: usb_write failed with status e00002c0
error: Device does not support slots.

1 个答案:

答案 0 :(得分:2)

这是Edison的 flash-all 脚本中的回归错误,将在下一个预览版本中修复。您可以通过对<div id='container'> <div id='leftpart'></div> <div id='contentpart'> <div id='fixeddiv'> <div class='sidediv'></div> <div class='sidediv'></div> </div> </div> </div>进行以下修改来解决问题:

flash-all.sh

这将允许脚本在闪烁过程中初始重新启动后正常继续。