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


 

1、前言

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

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

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

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

 

2、燒寫固件到Edison

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

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-process

注:需要注意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.

 

3、串口連接與配置密碼及wifi

參照官方介紹,使用screen進行連接:

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

  • 主要是安裝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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM