[Intel Edison開發板] 0六、Edison開發在linux中燒寫、配置、搭建開發環境

 

一、前言

linux上燒寫、配置、搭建Edison環境,千萬不要用默認的setup tool for ubuntu!!! (即便,你用的就是ubuntu)html

由於,其默認的工具會從一個壞連接下載配置文件:https://downloadmirror.intel.com/25871/eng/iot_data.xml,而該連接早已變爲404。node

建議到下面這一步從我圈的紅色部分繼續進行!linux

>> https://software.intel.com/en-us/get-started-edison-linux-step2redis

 

二、燒寫固件到Edison

 官方介紹setup tool是一種較好的方法來燒寫固件,而dfu-util是爲了某些手動想燒寫固件的需求準備的。而在linux中setup tool會有第一節中描述的問題,所以咱們選用dfu-util進行燒寫。
ubuntu

This process uses dfu-util, an open source program that implements the USB DFU (USB Device Firmware Upgrade) protocol.

利用dfu-util操做比較簡單,能夠徹底按照介紹進行:服務器

>> https://software.intel.com/en-us/getting-started-troubleshooting-edison-for-linux#manual-flash-processapp

注:須要注意USB數據線的鏈接方式及switch開關的撥動位置;燒寫大概用5min,不要斷電或拔下數據線!工具

╭─btfz@btfz-pc ~/Tool/Edison/Image  
╰─$ sudo ./flashall.sh                                                                                                                                                        254 ↵
Using U-Boot target: edison-blankcdc
Now waiting for dfu device 8087:0a99
Please plug and reboot the board
Flashing IFWI
Download    [=========================] 100%      4194304 bytes
Download    [=========================] 100%      4194304 bytes
Flashing U-Boot
Download    [=========================] 100%       237568 bytes
Flashing U-Boot Environment
Download    [=========================] 100%        65536 bytes
Flashing U-Boot Environment Backup
Download    [=========================] 100%        65536 bytes
Rebooting to apply partition changes
Now waiting for dfu device 8087:0a99
Flashing boot partition (kernel)
Download    [=========================] 100%      6144000 bytes
Flashing rootfs, (it can take up to 5 minutes... Please be patient)
Download    [=========================] 100%   1373159424 bytes
Rebooting
U-boot & Kernel System Flash Success...
Your board needs to reboot to complete the flashing procedure, please do not unplug it for 2 minutes.

 

三、串口鏈接與配置密碼及wifi

參照官方介紹,使用screen進行鏈接:性能

>> https://software.intel.com/en-us/get-started-edison-linux-step3spa

  • 主要是安裝screen:sudo apt-get install screen
  • 將板子經過USB線鏈接到電腦,查看USB設備:ls /dev/ttyUSB*
  • 經過USB鏈接到板子:sudo screen /dev/ttyUSB0 115200

等用screen登陸成功板子後,即可參考:https://software.intel.com/en-us/get-started-edison-linux-step4 對板子進行配置用戶名和密碼,以及配置wifi等操做~

 

系列連接:

 

 

:: 若是您以爲不錯,請推薦給更多人,幫助他們更快地解決實際問題中的坑~


@beautifulzzzz
智能硬件、物聯網,熱愛技術,關注產品
博客:http://blog.beautifulzzzz.com
園友交流羣:414948975
相關文章
相關標籤/搜索