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

From ESS-WIKI
Jump to: navigation, search
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{DISPLAYTITLE:Android Peripheral Features}}
 
{{DISPLAYTITLE:Android Peripheral Features}}
==Serial Port==
+
 
 +
== Serial Port ==
 +
 
 
#Click "Serial Port"
 
#Click "Serial Port"
#:[[File:imx6ABV1_APP_serialport.png|800px]]
+
#:[[File:Imx6ABV1 APP serialport.png|800px|Imx6ABV1 APP serialport.png]]
 
#Click "Setup"
 
#Click "Setup"
#:[[File:imx6ABV1_serialport_setup.png|800px]]
+
#:[[File:Imx6ABV1 serialport setup.png|800px|Imx6ABV1 serialport setup.png]]
 
#Click "Device" , and choose the used device(e.g. ttymxc1)
 
#Click "Device" , and choose the used device(e.g. ttymxc1)
#:[[File:imx6ABV1_serialport_setup_device_1.png]]
+
#:[[File:Imx6ABV1 serialport setup device 1.png|RTENOTITLE]]
 
#Click "Baud rate" , and choose the used baudrate(e.g. 115200)
 
#Click "Baud rate" , and choose the used baudrate(e.g. 115200)
#:[[File:imx6ABV1_serialport_setup_device_2.png]]
+
#:[[File:Imx6ABV1 serialport setup device 2.png|RTENOTITLE]]
==Wi-Fi==
+
 
 +
== Wi-Fi ==
 +
 
 
#Click "Settings"
 
#Click "Settings"
#:[[File:imx6ABV1_APP_settings.png|800px]]
+
#:[[File:Imx6ABV1 APP settings.png|800px|Imx6ABV1 APP settings.png]]
 
#Turn Wi-Fi on
 
#Turn Wi-Fi on
#:[[File:imx6ABV1_settings_wifi_on.png|800px]]
+
#:[[File:Imx6ABV1 settings wifi on.png|800px|Imx6ABV1 settings wifi on.png]]
#Choose ESSID (e.g. ESSD Testing )  
+
#Choose ESSID (e.g. ESSD Testing )
#:[[File:imx6ABV1_settings_wifi_choose_ESSID.png|800px]]
+
#:[[File:Imx6ABV1 settings wifi choose ESSID.png|800px|Imx6ABV1 settings wifi choose ESSID.png]]
 
#Input correct password
 
#Input correct password
#:[[File:imx6ABV1_settings_wifi_password.png]]
+
#:[[File:Imx6ABV1 settings wifi password.png|RTENOTITLE]]
 
#Wi-Fi Authenticating/Connecting/Obtaining IP address
 
#Wi-Fi Authenticating/Connecting/Obtaining IP address
#:[[File:imx6ABV1_settings_wifi_authenticating.png|800px]]
+
#:[[File:Imx6ABV1 settings wifi authenticating.png|800px|Imx6ABV1 settings wifi authenticating.png]]
#:[[File:imx6ABV1_settings_wifi_connecting.png|800px]]
+
#:[[File:Imx6ABV1 settings wifi connecting.png|800px|Imx6ABV1 settings wifi connecting.png]]
#:[[File:imx6ABV1_settings_wifi_obtaining_ip.png|800px]]
+
#:[[File:Imx6ABV1 settings wifi obtaining ip.png|800px|Imx6ABV1 settings wifi obtaining ip.png]]
 
#Wi-Fi connected
 
#Wi-Fi connected
#:[[File:imx6ABV1_settings_wifi_connected.png|800px]]
+
#:[[File:Imx6ABV1 settings wifi connected.png|800px|Imx6ABV1 settings wifi connected.png]]
  
==Ethernet==
+
== Ethernet ==
#Click "Settings" / "Ethernet configuration" , then Turn on Ethernet  
+
 
#:[[File:imx6ABV1_settings_ethernet_config.png|800px]]
+
#Click "Settings" / "Ethernet configuration" , then Turn on Ethernet
 +
#:[[File:Imx6ABV1 settings ethernet config.png|800px|Imx6ABV1 settings ethernet config.png]]
 
#Click "Ethernet configuration"
 
#Click "Ethernet configuration"
#:[[File:imx6ABV1_settings_ethernet_config_next_level.png|800px]]
+
#:[[File:Imx6ABV1 settings ethernet config next level.png|800px|Imx6ABV1 settings ethernet config next level.png]]
 
#Choose Connection Type (DHCP or Static IP)
 
#Choose Connection Type (DHCP or Static IP)
#:[[File:imx6ABV1_settings_ethernet_config_dhcp.png||400px]][[File:imx6ABV1_settings_ethernet_config_static.png|400px]]
+
#:[[File:Imx6ABV1 settings ethernet config dhcp.png|400px|Imx6ABV1 settings ethernet config dhcp.png]][[File:Imx6ABV1 settings ethernet config static.png|400px|Imx6ABV1 settings ethernet config static.png]]
 +
 
 +
== Update System ==
  
==To Update system==
 
 
#Refer to 1.4.6 to build OTA package.
 
#Refer to 1.4.6 to build OTA package.
#Plug SD card that contains OTA package(update.zip) into SD slot.  
+
#Plug SD card that contains OTA package(update.zip) into SD slot.
#Click "Settings" / "About tablet" / "Addition system updates" :
+
#Click "Settings" / "About tablet" / "Addition system updates" :
#:[[File:imx6ABV1_settings_addition_system_updates.png|800px]]
+
#:[[File:Imx6ABV1 settings addition system updates.png|800px|Imx6ABV1 settings addition system updates.png]]
 
#Wait for one moment, system will reboot for updating
 
#Wait for one moment, system will reboot for updating
#:[[File:imx6ABV1_poweroff.png|800px]]
+
#:[[File:Imx6ABV1 poweroff.png|800px|Imx6ABV1 poweroff.png]]
 
#It will take some time to update.
 
#It will take some time to update.
  
==Watchdog==
+
== Watchdog ==
 +
 
 
Example
 
Example
 +
 +
== Fastboot ==
 +
 +
#<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>
 +
 +
----
 +
 +
<span style="font-family:times new roman,times,serif;"><span style="font-size:small;">[Target side]</span></span>
 +
 +
#<span style="font-family:times new roman,times,serif;"><span style="font-size:small;">Power on the board with USB OTG connected</span></span>
 +
#<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>
 +
#<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>
 +
 +
<span style="font-family:times new roman,times,serif;"><span style="font-size:small;">[Uboot] Run the fastboot command:</span></span>
 +
 +
<small><big><span style="font-family:times new roman,times,serif;">    </span></big></small><small><big> </big></small><span style="font-family:courier new,courier,monospace;"><small>$ fastboot</small></span>
 +
 +
<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>
 +
 +
<small>  </small><span style="font-family:courier new,courier,monospace;"><small> $ reboot bootloader                ### the board reset to fastboot mode.</small></span>
 +
 +
----
 +
 +
<span style="font-family:times new roman,times,serif;"><span style="font-size:small;">[Host side]</span></span>
 +
 +
#<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>
 +
#<span style="font-size:small;"><span style="font-family:times new roman,times,serif;">Copy all downloaded images to the "images" folder</span></span>
 +
#<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>
 +
 +
<span style="font-family:times new roman,times,serif;"><small>    </small></span><span style="font-family:courier new,courier,monospace;"><small>$ fastboot flash boot images\boot.img</small></span>
 +
 +
<span style="font-family:times new roman,times,serif;"><small>  </small></span><span style="font-family:courier new,courier,monospace;"><small> $ fastboot flash system images\system.img</small></span>
 +
 +
<span style="font-family:times new roman,times,serif;"><small>      </small></span><span style="font-family:courier new,courier,monospace;"><small>$ fastboot flash recovery images\recovery.img</small></span>
 +
 +
<span style="font-family:times new roman,times,serif;"><small> </small></span><span style="font-family:courier new,courier,monospace;"><small>  $ fastboot reboot</small></span>

Latest revision as of 11:10, 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.

[Target side]

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

[Uboot] Run the fastboot command:

     $ 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