[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
相关文章
相关标签/搜索