Android Peripheral Features
From ESS-WIKI
Revision as of 09:57, 14 March 2017 by Clayder.huang (talk | contribs)
Contents
- 1 Serial Port
- 2 Wi-Fi
- 3 Ethernet
- 4 Update System
- 5 Watchdog
- 6 Fastboot
- 6.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.
- 6.2 Target side
- 6.3 [1] Power on the board with USB OTG connected
- 6.4 [2] Press any key to enter the U-Boot shell
- 6.5 [3] Select the correct device to do fastboot image download by command
- 6.6 [Uboot] Run the fastboot command:
- 6.7 [Kernel] you can input this command in the kernel:
- 6.8 Host side
- 6.9 [1] Enter the Android SDK tools directory and find the fastboot utility (fastboot.exe on the Windows OS, fastboot on the Linux OS)
- 6.10 [2] Copy all downloaded images to the "images" folder
- 6.11 [3] Run the following commands to flash the SD or eMMC
Serial Port
- Click "Serial Port"
- Click "Setup"
- Click "Device" , and choose the used device(e.g. ttymxc1)
- Click "Baud rate" , and choose the used baudrate(e.g. 115200)
Wi-Fi
- Click "Settings"
- Turn Wi-Fi on
- Choose ESSID (e.g. ESSD Testing )
- Input correct password
- Wi-Fi Authenticating/Connecting/Obtaining IP address
- Wi-Fi connected
Ethernet
- Click "Settings" / "Ethernet configuration" , then Turn on Ethernet
- Click "Ethernet configuration"
- Choose Connection Type (DHCP or Static IP)
Update System
- Refer to 1.4.6 to build OTA package.
- Plug SD card that contains OTA package(update.zip) into SD slot.
- Click "Settings" / "About tablet" / "Addition system updates" :
- Wait for one moment, system will reboot for updating
- It will take some time to update.
Watchdog
Example
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.
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:
$ 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