/var/log/messages

Nov 7, 2014 - 1 minute read - Comments - misc

flashall.sh が動かない

なんか以下なメセジが出る。

Now waiting for dfu device 8087:0a99
Please plug and reboot the board
Timed out while waiting for dfu device 8087:0a99

lsusb したら以下。

Bus 002 Device 024: ID 8087:0a9e Intel Corp. 

そして

flashall.sh 修正したのですが動かぬ。むむむ、と言いつつ sudo 付けて実行して

Please plug and reboot the board

で言われた通りにしてみたら以下な出力。

Flashing IFWI
Flashing U-Boot
Flashing U-Boot Environment
Flashing U-Boot Environment Backup
Flashing boot partition (kernel)
Flashing rootfs, (it can take up to 5 minutes... Please be patient)
Rebooting
U-boot & Kernel System Flash Success...

でも、書き変わってないみたいに見える。

root@edison:~# cat /etc/version 
edison-weekly_build_56_2014-08-20_15-54-05

これ、もしかして両方接続しとかないと駄目なのかな。-v 付けてみるに以下な出力を発見。

No DFU capable USB device found

dfu-util -l してみてもリストに出てこない。まさかな、と言いつつ USB なナニを再度戻して実行してみたら書き換わりましたよorz

Flashing IFWI
##################################################] finished!
##################################################] finished!
Flashing U-Boot
##################################################] finished!
Flashing U-Boot Environment
##################################################] finished!
Flashing U-Boot Environment Backup
##################################################] finished!
Flashing boot partition (kernel)
##################################################] finished!
Flashing rootfs, (it can take up to 5 minutes... Please be patient)
##################################################] finished!
Rebooting
U-boot & Kernel System Flash Success...

その後、serial 接続してバージョン確認。

root@edison:~# cat /etc/version 
edison-rel1-maint-weekly_build_16_2014-10-14_14-56-19

いやはや。

今回の敗因

  • Please plug and reboot the board で usb を plug することに気づかなかった
  • 動かないのは USB なデバイス ID が異なるのが原因と勘違い
  • plug に気づいた後で USB のデバイス ID 戻せば良いのにorz

頭が凄くカタくなってる気がするorz

eclipse が起動しなくなってorz な顛末 じてんしゃ

comments powered by Disqus