Intel® Edison

Intel® Edison

The Intel® Edison compute module is a modular, small and powerful system on a chip (SoC) that includes a CPU, MCU, memory, storage and dual-band Wi-Fi and Bluetooth. The module can be mounted onto a system of expansion boards, enabling quick adoption and prototyping for the consumer and light industrial IoT applications.

Intel® Edison 计算模块是一款模块化,体积小而且强大的片上系统(SoC),它包括CPU,MCU,内存,存储器,双频Wi-Fi和蓝牙。该模块可以安装到扩展板的系统上,使消费者和轻工业物联网应用的快速采用和原型化成为可能。

Flashing the image


Before you begin flashing, you will need the following items in addition to your Edison board:


  • Micro-USB cable

  • Micro-USB 线

To flash Android Things onto your board, download the preview image in the Android Things Console (see the release notes) and follow these steps:

将 Android Things 烧录到开发板之前,请先访问 Android Things 控制台 下载预览版镜像,然后参考以下步骤:

Step 1: Install Fastboot

步骤 1: 安装 Fastboot

If this is your first time installing Android Things on the Edison, you need to upgrade the bootloader to be Fastboot capable. Follow the Intel Getting Started Guide to perform the required one-time setup steps on your board:

如果这是您第一次在Edison开发板上安装 Android Things,您需要升级您的 bootloader 以便能够支持 Fastboot,请参考 Intel 提供的入门指南来对开发板进行必要的一次性步骤设置:

Step 2: Connect the Hardware

步骤 2: 连接硬件

Connect the board to your host computer:


For Arduino Expansion Board:

针对 Arduino 扩展板的操作步骤:


  • Ensure switch SW1 is in the position towards the micro USB ports.

    确保 SW1 开关被置于 朝向 Micro-USB 口的方向。

  • Press the FW button and keep it pressed.

    长按 FW 键。

  • Connect a USB cable to J16.

    连接 USB 线到 J16

  • Release the FW button.

    松开 FW 键。

For Sparkfun Block:

针对 Sparkfun 扩展模块的操作步骤:


  • Connect a USB cable to the OTG connector.

    连接USB线到 OTG 接口。

Step 3: Flash Android Things

步骤 3:烧录 Android Things

Once you have loaded the proper bootloader on your device, use the following steps to flash the Android image:

当您已经在您的设备上加载了正确的引导程序(bootloader),参考以下步骤来烧录 Android 镜像:

  • Navigate to the Android SDK location on your computer; the path can be found in the system settings for Android Studio. Verify that the fastboot binary is installed in the platform-tools/ directory.

    切换到计算机上 Android SDK 的位置,该位置的路径可以从 Android Studio 的系统配置中可以找到。确认 fastboot 二进制文件已经安装到platform-tools/ 目录下。

  • After you have the fastboot tool, add it to your PATH environment variable. This command should be similar to the following:

    确认了 fastboot 工具之后,把它添加到您的环境变量 PATH 环境变量 中。添加的命令参考如下。

    export PATH=$PATH:"path/to/fastboot"

  • Open a command line terminal and navigate to the unzipped image directory.


  • Verify that the device has booted into Fastboot mode by executing the following command:

    通过执行以下命令来验证设备是否已启动到 Fastboot 模式

    $ fastboot devices1b2f21d4e1fe0129        fastboot

Note: Your device will not boot into Fastboot mode if it was previously flashed with Android Things. You need to first execute the following command using the adb tool to reboot the device into Fastboot mode.

    $ adb reboot bootloader

注意: 如果您的设备之前烧录过 Android Things,那么该设备无法启动到 Fastboot 模式。您需要通过 adb tool 执行以下命令来重启设备到 Fastboot 模式。

    $ adb reboot bootloader
  • Execute the script. This script installs the necessary bootloader, baseband firmware(s), and operating system. (On Windows systems, use flash-all.bat instead).

    执行 脚本。该脚本会安装必要的 bootloader,基带固件以及操作系统。(Windows 操作系统使用 flash-all.bat 替代)

Note: The device automatically reboots into Android Things when the process is complete.

注意: 该过程完成后,设备会自动重新引导到 Android Things

  • To verify that Android is running on the device, discover it using the adb tool:

    要验证 Android 已经在该设备上运行, 可以使用 adb tool:

    $ adb wait-for-device...$ adb devicesList of devices attached1b2f21d4e1fe0129        device

Connecting Wi-Fi

连接 Wi-Fi

After flashing your board, it is strongly recommended to connect it to the internet. This allows your device to deliver crash reports and receive updates.

烧录完开发板之后, 强烈建议将其连接到互联网。这可让您的设备提供崩溃报告以及接收更新。

Note: The device doesn't need to be on the same network as your computer.

注意: 设备和计算机不一定要处于同一个网络。

To connect your board to Wi-Fi, first access a shell prompt on the device. You can use either of the following methods:

开发板连接 Wi-Fi 之前需要先访问设备的 shell 终端。 您可用通过以下任意一种方式来访问:

  • Open a shell over adb with the adb shell command.

  • 使用 adb shell 来打开基于adb的终端。

  • Connect to the serial console.

  • 连接到串口调试终端 串口终端

Once you can access a shell prompt, follow these steps:

连接到终端命令行以后, 接着做以下步骤:

  • Send an intent to the Wi-Fi service that includes the SSID of your local network. Your board must support the network protocol and frequency band of the wireless network in order to establish a connection.

    发送一条包含本地无线网络 SSID 等参数的消息到Wi-Fi服务。 您的 开发板 必须支持该无线网络的协议以及频段才能够建立网络连接。

    $ am startservice \    -n \    -a WifiSetupService.Connect

The following arguments are supported with this command:


Argument Description
`-e ssid network_ssid` Connect to the wireless network SSID specified by network_ssid. _This argument is required_.
`-e passphrase network_pass` Optional argument to use the passcode specified by network_pass to connect to the network SSID. This argument is not necessary if your network doesn't require a passcode.
`-e passphrase64 encoded_pass` Optional argument used in place of `passphrase` for passcodes with special characters (`space, !, ", $, &, ', (, ), ;, <,>, `, or |`). Use [base64 encoding]( to specify the value for encoded_pass.
`--ez hidden true` Optional argument to indicate that the SSID specified in this command is hidden. If omitted, this value defaults to false.
参数 描述
`-e ssid network_ssid` 通过 network_ssid 来指定被连接无线网络的SSID,该参数是必要参数。
`-e passphrase network_pass` 通过 network_pass 来指定被连接无线网络(SSID)的密码。 该参数不是必要参数,因为无线网络可以不配置密码。
`-e passphrase64 encoded_pass` 通过 `passphrase` 来指定包含特殊字符 (`space, !, ", $, &, ', (, ), ;, <,>, `, 或者 |`) 的密码。 参数值 encoded_pass 采用 [base64编码](。
`--ez hidden true` 可选参数用来表示命令中指定的无线网络(SSID)是隐藏的。 如果省略, 这个参数的默认值为false。
  1. 通过 logcat 来验证网络连接是否成功建立:

    $ logcat -d | grep Wifi...V WifiWatcher: Network state changed to CONNECTEDV WifiWatcher: SSID changed: ...I WifiConfigurator: Successfully connected to ...
  2. 测试是否可以访问远程 IP 地址:

    $ ping ( 56(84) bytes of data.64 bytes from icmp_seq=1 ttl=57 time=6.67 ms64 bytes from icmp_seq=2 ttl=57 time=55.5 ms64 bytes from icmp_seq=3 ttl=57 time=23.0 ms64 bytes from icmp_seq=4 ttl=57 time=245 ms
  3. 检查设备的日期和时间是否已经设置正确:

    $ date

Note: An incorrect date or time may cause SSL errors. Restart the device to automatically set the correct date and time from a time server.

注意: 日期或者时间错误可能导致 SSL 错误。 通过重启可以让设备自动从远程时间服务器进行日期和时间的同步

If you want to clear all of the saved networks on the board:


$ am startservice \    -n \    -a WifiSetupService.Reset

Serial debug console


The serial console is a helpful tool for debugging your board and reviewing system log information. The console is the default output location for kernel log messages (i.e. dmesg), and it also provides access to a full shell prompt that you can use to access commands such as logcat. This is helpful if you are unable to access ADB on your board through other means and have not yet enabled a network connection.

串口终端是调试开发板和查看系统日志信息的有用工具。该终端是内核日志输出的默认终端 (比如 dmesg),并且还提供对完整 shell 命令行的访问,您可以使用该命令行访问诸如 logcat 这样的命令。 如果您无法通过其他方式访问开发板上的 ADB 且没有网络连接,这将为您提供帮助。

To access the serial console, connect a micro USB cable to the board as follows:

连接 micro USB 线到开发板并按照以下步骤来访问串口终端:

For Arduino Breakout: Connect to J3.

对于 Arduino 扩展板: 连接到 J3.


For Sparkfun Block: Connect to CONSOLE.

对于 Sparkfun 扩展模块: 连接到 CONSOLE.


Open a connection to the USB serial device on your development computer using a terminal program, such as PuTTY (Windows), Serial (Mac OS), or Minicom (Linux). The serial port parameters for the console are as follows:

选择一个终端程序来建立计算机和 USB 串口设备的连接,例如 PuTTY (Windows), Serial (Mac OS), or Minicom (Linux). 串口连接参数参考如下:

  • Baud Rate: 115200

  • 波特率:115200

  • Data Bits: 8

  • 数据位:8

  • Parity: None

  • 奇偶校验:无

  • Stop Bits: 1

  • 停止位:1

results matching ""

    No results matching ""