首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >Android开发人员预览4: Flashall.sh在MacOSX上失败

Android开发人员预览4: Flashall.sh在MacOSX上失败
EN

Stack Overflow用户
提问于 2017-05-26 23:40:50
回答 1查看 826关注 0票数 1

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

然后回到我的MacOSX 10.12.5,尝试运行闪存-all.sh

代码语言:javascript
运行
复制
$ 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.
EN

回答 1

Stack Overflow用户

发布于 2017-05-27 04:14:12

这是爱迪生的闪存所有脚本中的一个回归错误,将在下一个预览版本中修复。您可以在过渡期间通过对flash-all.sh进行以下修改来解决问题

代码语言:javascript
运行
复制
# Due to possible changes in the u-boot version, we might have some
# issues flashing gpt or recognizing the _a/_b partitions.
# Just to be safe, flash and reboot to the updated version
fastboot \
  flash gpt        "${OS}"/partition-table.img \
  flash u-boot     "${VENDOR}"/u-boot-edison.bin \
  erase misc \
  reboot bootloader \
  "$@"
sleep 5  <----- Add this line

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

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/44211490

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档