Difference between revisions of "IoTGateway/Features/Android/Peripheral"
From ESS-WIKI
(5 intermediate revisions by the same user not shown) | |||
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> |
---- | ---- | ||
− | + | <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> |
− | #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 | + | <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 10:10, 14 March 2017
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]
- Power on the board with USB OTG connected
- Press any key to enter the U-Boot shell
- 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]
- Enter the Android SDK tools directory and find the fastboot utility (fastboot.exe on the Windows OS, fastboot on the Linux OS)
- Copy all downloaded images to the "images" folder
- 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