Android Start Here: Difference between revisions
(2 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
--> {{#vardefine:RELEASE_PARAM|{{#urlget:release}}}} <!-- | --> {{#vardefine:RELEASE_PARAM|{{#urlget:release}}}} <!-- | ||
--> {{#lst:Android_Platform_Customization|{{#var:RELEASE_PARAM|RELEASE_N7.1.1_1.0.0_VAR-SOM-MX6}}}} <!-- | --> {{#lst:Android_Platform_Customization|{{#var:RELEASE_PARAM|RELEASE_N7.1.1_1.0.0_VAR-SOM-MX6}}}} <!-- | ||
--> {{PageHeader|{{#var:HARDWARE_NAME}} - Android {{#var:ANDROID_NAME}} {{#var: | --> {{PageHeader|{{#var:HARDWARE_NAME}} - {{#switch: {{#var:ANDROID_NAME}} | Android 10 = {{#var:ANDROID_NAME}} | Android 11 = {{#var:ANDROID_NAME}} | | Android 12 = {{#var:ANDROID_NAME}} | Android 13 = {{#var:ANDROID_NAME}} | Android {{#var:ANDROID_NAME}} }} First Time? Start Here.}} {{DocImage|category1={{#var:HARDWARE_NAME}}|category2=Android}} __toc__ | ||
= Step One: Read Documentations = | = Step One: Read Documentations = | ||
Please download and read the development kit documentation on Variscite website | Please download and read the development kit documentation on Variscite website | ||
Line 12: | Line 12: | ||
= Step Three: Evaluation Kit Power Up = | = Step Three: Evaluation Kit Power Up = | ||
You should have the serial cable connected to the debug port, as describe in the quick start guide.<br> | |||
Under Ubuntu (or other Linux based OS) minicom or picocom are recommended.<br> | |||
Under Windows PuTTY or Tera Term are recommended.<br> | |||
For example, to use picocom under Ubuntu:<br> | |||
Open a terminal a run: | |||
<pre> | |||
$ dmesg | |||
One of the last lines should be something like: "FTDI USB Serial Device converter now attached to ttyUSBX" (the X should be a number) | |||
$ sudo apt-get install picocom | |||
$ sudo picocom -b 115200 /dev/ttyUSBX (replace the X with the number from the dmesg output). | |||
(If you want to exit picocom press Ctrl+A+X) | |||
</pre> | |||
And to use PuTTY under Windows: | |||
<pre> | |||
Click the "Windows key"+"R" to open the "Run" window, type "devmgmt.msc" and hit "Enter" to open the Device Manager. | |||
In Device Manager, expend the "Ports (COM & LTP)" entry. | |||
You should have a "USB Serial Port (COMXX)" entry there after you connect the Debug cable (the XX should be a number). | |||
Run PuTTY as an administrator. | |||
In the Putty "Session" screen: | |||
Choose "Serial" under "Connection type". | |||
in the "Serial line" field, put in COMXX (replace the XX with the number seen in your Device Manager). | |||
Under "Speed" put in "115200". | |||
In the "Connection" -> "Serial" screen: | |||
Make sure the "Data bits" are set to "8", "Stop bits" to "1", "Parity" to "None" and "Flow control" to "None". | |||
Click on "Open". | |||
</pre> | |||
Note:<br> | |||
If you are using a virtual machine, make sure the USB device is used by the correct OS.<br> | |||
<br> | |||
Power up the board.<br> | |||
When board boots, make sure you see the U-Boot and kernel prints on your host PC terminal. You will need to type-in commands in the command prompt late in the development stages.<br> | |||
{{#ifeq:{{#var:PLATFORM_OS}}|Debian| | |||
The Linux login user and password is 'root'.| | |||
The Linux login is root (no password). | |||
}} | |||
{{note| IMPORTANT:<br>Don't continue without the serial console operating.|info}} | |||
= Step Four: A quick test with recovery SD card = | = Step Four: A quick test with recovery SD card = | ||
Please follow the below guide to boot Evaluation Kit with a bootable SD card, and burn a complete Yocto into SOMs internal storage (eMMC) | Please follow the below guide to boot the Evaluation Kit with a bootable SD card, and burn a complete Yocto into SOMs internal storage (eMMC) | ||
* {{Varlink|Android_Recovery_SD_card|{{#var:RELEASE_LINK}}|Using the recovery SD card}} | * {{Varlink|Android_Recovery_SD_card|{{#var:RELEASE_LINK}}|Using the recovery SD card}} | ||
Line 22: | Line 65: | ||
* Contact Support for any customization or help required for your porting etc. | * Contact Support for any customization or help required for your porting etc. | ||
** [http://www.variscite.com/support/variscite-customer-portal '''Variscite Customer Portal'''] <br> Register at Variscite Customer Portal to get high quality engineering support for Variscite products | ** [http://www.variscite.com/support/variscite-customer-portal '''Variscite Customer Portal'''] <br> Register at Variscite Customer Portal to get high-quality engineering support for Variscite products |
Latest revision as of 06:50, 13 September 2023
Step One: Read Documentations
Please download and read the development kit documentation on Variscite website
Make sure you read the Quick Start Guide.
Step Two: Setup Linux host PC Development Environment
Set up your development environment.
Step Three: Evaluation Kit Power Up
You should have the serial cable connected to the debug port, as describe in the quick start guide.
Under Ubuntu (or other Linux based OS) minicom or picocom are recommended.
Under Windows PuTTY or Tera Term are recommended.
For example, to use picocom under Ubuntu:
Open a terminal a run:
$ dmesg One of the last lines should be something like: "FTDI USB Serial Device converter now attached to ttyUSBX" (the X should be a number) $ sudo apt-get install picocom $ sudo picocom -b 115200 /dev/ttyUSBX (replace the X with the number from the dmesg output). (If you want to exit picocom press Ctrl+A+X)
And to use PuTTY under Windows:
Click the "Windows key"+"R" to open the "Run" window, type "devmgmt.msc" and hit "Enter" to open the Device Manager. In Device Manager, expend the "Ports (COM & LTP)" entry. You should have a "USB Serial Port (COMXX)" entry there after you connect the Debug cable (the XX should be a number). Run PuTTY as an administrator. In the Putty "Session" screen: Choose "Serial" under "Connection type". in the "Serial line" field, put in COMXX (replace the XX with the number seen in your Device Manager). Under "Speed" put in "115200". In the "Connection" -> "Serial" screen: Make sure the "Data bits" are set to "8", "Stop bits" to "1", "Parity" to "None" and "Flow control" to "None". Click on "Open".
Note:
If you are using a virtual machine, make sure the USB device is used by the correct OS.
Power up the board.
When board boots, make sure you see the U-Boot and kernel prints on your host PC terminal. You will need to type-in commands in the command prompt late in the development stages.
The Linux login is root (no password).
Don't continue without the serial console operating.
Step Four: A quick test with recovery SD card
Please follow the below guide to boot the Evaluation Kit with a bootable SD card, and burn a complete Yocto into SOMs internal storage (eMMC)
Step Five: What next?
Your next step can be one of :
- Build Android from source code.
This guide will help you build a complete Android build, resulting images you can flash to to eMMC.
- Contact Support for any customization or help required for your porting etc.
- Variscite Customer Portal
Register at Variscite Customer Portal to get high-quality engineering support for Variscite products
- Variscite Customer Portal