Difference between revisions of "IoTGateway/Features/Android/Peripheral"

From ESS-WIKI
Jump to: navigation, search
Line 54: Line 54:
 
== Fastboot ==
 
== Fastboot ==
  
#Fastboot is a feature which can be used to download images from a computer running either Windows OS or Linux OS to the target storage device.
+
#<span style="font-family:times new roman,times,serif;"><span style="font-size:small;">Fastboot is a feature which can be used to download images from a computer running either Windows OS or Linux OS to the target storage device.</span></span>
  
 
----
 
----
  
#Target side
+
#<span style="font-family:times new roman,times,serif;"><span style="font-size:small;">Target side</span></span>
#Power on the board with USB OTG connected
+
#<span style="font-family:times new roman,times,serif;"><span style="font-size:small;">Power on the board with USB OTG connected</span></span>
#Press any key to enter the U-Boot shell
+
#<span style="font-family:times new roman,times,serif;"><span style="font-size:small;">Press any key to enter the U-Boot shell</span></span>
#Select the correct device to do fastboot image download by command
+
#<span style="font-family:times new roman,times,serif;"><span style="font-size:small;">Select the correct device to do fastboot image download by command</span></span>
  
#[Uboot] Run the fastboot command:
+
<span style="font-family:times new roman,times,serif;"><span style="font-size:small;">[Uboot] Run the fastboot command:</span></span>
  
 
     $ U-BOOT > fastboot
 
     $ U-BOOT > fastboot
  
#[Kernel] you can input this command in the kernel:
+
<span style="font-family:times new roman,times,serif;"><span style="font-size:small;">[Kernel] you can input this command in the kernel:</span></span>
  
 
     $ reboot bootloader                ### the board reset to fastboot mode.
 
     $ reboot bootloader                ### the board reset to fastboot mode.
Line 75: Line 75:
 
=== Host side ===
 
=== Host side ===
  
#Enter the Android SDK tools directory and find the fastboot utility (fastboot.exe on the Windows OS, fastboot on the Linux OS)
+
#<span style="font-size:small;"><span style="font-family:times new roman,times,serif;">Enter the Android SDK tools directory and find the fastboot utility (fastboot.exe on the Windows OS, fastboot on the Linux OS)</span></span>
#Copy all downloaded images to the "images" folder
+
#<span style="font-size:small;"><span style="font-family:times new roman,times,serif;">Copy all downloaded images to the "images" folder</span></span>
#Run the following commands to flash the SD or eMMC
+
#<span style="font-size:small;"><span style="font-family:times new roman,times,serif;">Run the following commands to flash the SD or eMMC</span></span>
  
    $ fastboot flash boot images\boot.img
+
<small>  $ fastboot flash boot images\boot.img</small>
  
    $ fastboot flash system images\system.img
+
<small>  $ fastboot flash system images\system.img</small>
  
    $ fastboot flash recovery images\recovery.img
+
<small>  $ fastboot flash recovery images\recovery.img</small>
  
    $ fastboot reboot
+
<small>  $ fastboot reboot</small>

Revision as of 10:04, 14 March 2017


Serial Port

  1. Click "Serial Port"
    Imx6ABV1 APP serialport.png
  2. Click "Setup"
    Imx6ABV1 serialport setup.png
  3. Click "Device" , and choose the used device(e.g. ttymxc1)
    RTENOTITLE
  4. Click "Baud rate" , and choose the used baudrate(e.g. 115200)
    RTENOTITLE

Wi-Fi

  1. Click "Settings"
    Imx6ABV1 APP settings.png
  2. Turn Wi-Fi on
    Imx6ABV1 settings wifi on.png
  3. Choose ESSID (e.g. ESSD Testing )
    Imx6ABV1 settings wifi choose ESSID.png
  4. Input correct password
    RTENOTITLE
  5. Wi-Fi Authenticating/Connecting/Obtaining IP address
    Imx6ABV1 settings wifi authenticating.png
    Imx6ABV1 settings wifi connecting.png
    Imx6ABV1 settings wifi obtaining ip.png
  6. Wi-Fi connected
    Imx6ABV1 settings wifi connected.png

Ethernet

  1. Click "Settings" / "Ethernet configuration" , then Turn on Ethernet
    Imx6ABV1 settings ethernet config.png
  2. Click "Ethernet configuration"
    Imx6ABV1 settings ethernet config next level.png
  3. Choose Connection Type (DHCP or Static IP)
    Imx6ABV1 settings ethernet config dhcp.pngImx6ABV1 settings ethernet config static.png

Update System

  1. Refer to 1.4.6 to build OTA package.
  2. Plug SD card that contains OTA package(update.zip) into SD slot.
  3. Click "Settings" / "About tablet" / "Addition system updates" :
    Imx6ABV1 settings addition system updates.png
  4. Wait for one moment, system will reboot for updating
    Imx6ABV1 poweroff.png
  5. It will take some time to update.

Watchdog

Example

Fastboot

  1. Fastboot is a feature which can be used to download images from a computer running either Windows OS or Linux OS to the target storage device.

  1. Target side
  2. Power on the board with USB OTG connected
  3. Press any key to enter the U-Boot shell
  4. Select the correct device to do fastboot image download by command

[Uboot] Run the fastboot command:

   $ U-BOOT > fastboot

[Kernel] you can input this command in the kernel:

   $ reboot bootloader                ### the board reset to fastboot mode.

Host side

  1. Enter the Android SDK tools directory and find the fastboot utility (fastboot.exe on the Windows OS, fastboot on the Linux OS)
  2. Copy all downloaded images to the "images" folder
  3. Run the following commands to flash the SD or eMMC
   $ fastboot flash boot images\boot.img
   $ fastboot flash system images\system.img
   $ fastboot flash recovery images\recovery.img
   $ fastboot reboot