VAR-SOM-MX6 Start Here: Difference between revisions
No edit summary |
|||
(22 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{PageHeader|VAR-SOM-MX6 - First Time? Start Here.}} {{DocImage|category1=VAR-SOM-MX6|category2=Yocto}} __toc__ | {{PageHeader|VAR-SOM-MX6 - First Time? Start Here.}} {{DocImage|category1=VAR-SOM-MX6|category2=Yocto}} __toc__ | ||
= Step One: Read Documentations = | = Step One: Read Documentations = | ||
Please download and read the development kit documentation | Please download and read the development kit documentation on Variscite website | ||
{{note| NOTE:<br>Make sure you read the Quick Start Guide.|info}} | {{note| NOTE:<br>Make sure you read the Quick Start Guide.|info}} | ||
= Step Two: Development Environment = | = Step Two: Setup Linux host PC Development Environment = | ||
Set up your development environment. | Set up your development environment. | ||
* [[VAR-SOM-MX6 Development Environment|Setting Development Environment]] | * [[VAR-SOM-MX6 Development Environment|Setting Development Environment]] | ||
= Step Three: 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> | |||
</br>When board boots, make sure you see the | 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). | |||
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> | |||
The Linux login is root (no password). | |||
{{note| IMPORTANT:<br>Don't continue without the serial console operating.|info}} | {{note| IMPORTANT:<br>Don't continue without the serial console operating.|info}} | ||
= Step Four: A quick test with | = Step Four: A quick test with a recovery SD card= | ||
Please follow the below guide to boot DVK with a bootable SD | Please follow the below guide to boot the DVK with a bootable SD card, and burn a complete Yocto/Android into the SOM's internal storage device/s. | ||
* [[VAR-SOM-MX6 | * [[VAR-SOM-MX6_Yocto_NAND_Recovery_V60plus|VAR-SOM-MX6 recovery SD card]] | ||
= Step Five: What next?= | = Step Five: What next?= | ||
Your next step can be one of : | Your next step can be one of : | ||
* [[VAR-SOM-MX6 Yocto | * [[VAR-SOM-MX6 Yocto Krogoth Build Yocto release|Build a complete Yocto (Krogoth)]]. This guide will help you build a complete Yocto build, resulting in all required binaries to create a full bootable Yocto SD card, and all required binaries to burn to the SOM's internal storage device/s. | ||
** [[VAR-SOM-MX6_Yocto Common Errors|Yocto common build errors</span>]] | ** [[VAR-SOM-MX6_Yocto Common Errors|Yocto common build errors</span>]] | ||
* | * Use your pre-built recovery SD card, as-is, to boot system, and start applications programming. | ||
** [[VAR-SOM-MX6 Hello World|Hello World 'C' application]] | ** [[VAR-SOM-MX6 Hello World|Hello World 'C' application]] | ||
** [[VAR-SOM-MX6 QT Hello World|Building A QT Hello World]] | ** [[VAR-SOM-MX6 QT Hello World|Building A QT Hello World]] | ||
** [[VAR-SOM-MX6 Yocto | ** [[VAR-SOM-MX6 Yocto Jethro Eclipse|Debugging with Eclipse]] | ||
** [[VAR-SOM-MX6 Yocto Utilizing|TFTP & NFS]] | ** [[VAR-SOM-MX6 Yocto Utilizing|TFTP & NFS]] | ||
Line 37: | Line 68: | ||
** [[VAR-SOM-MX6 GPIO|GPIO]] | ** [[VAR-SOM-MX6 GPIO|GPIO]] | ||
** [[VAR-SOM-MX6 Ethernet|Ethernet]] | ** [[VAR-SOM-MX6 Ethernet|Ethernet]] | ||
** [[VAR-SOM-MX6 Audio record play|Audio record/play]] | ** [[VAR-SOM-MX6 Audio record play|Audio record/play]] | ||
** [[ | ** [[IMX_CAN_bus|CAN bus]] | ||
** [[VAR-SOM-MX6 USB Host|USB Host]] | ** [[VAR-SOM-MX6 USB Host|USB Host]] | ||
** [[VAR-SOM-MX6 eMMC|eMMC]] | ** [[VAR-SOM-MX6 eMMC|eMMC]] | ||
** [[VAR-SOM-MX6 RTC|RTC]] | ** [[VAR-SOM-MX6 RTC|RTC]] | ||
Line 52: | Line 81: | ||
** [[VAR-SOM-MX6 USB OTG as device|USB OTG as device]] | ** [[VAR-SOM-MX6 USB OTG as device|USB OTG as device]] | ||
** [[VAR-SOM-MX6 SPI|SPI]] | ** [[VAR-SOM-MX6 SPI|SPI]] | ||
** [[VAR-SOM-MX6 UART|External UART]] | ** [[VAR-SOM-MX6 UART|External UART]] | ||
* Contact Support | * Contact Support | ||
** support@variscite.com | ** support@variscite.com |
Latest revision as of 16:46, 8 November 2022
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). 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 a recovery SD card
Please follow the below guide to boot the DVK with a bootable SD card, and burn a complete Yocto/Android into the SOM's internal storage device/s.
Step Five: What next?
Your next step can be one of :
- Build a complete Yocto (Krogoth). This guide will help you build a complete Yocto build, resulting in all required binaries to create a full bootable Yocto SD card, and all required binaries to burn to the SOM's internal storage device/s.
- Use your pre-built recovery SD card, as-is, to boot system, and start applications programming.
- Test various interfaces.
- Contact Support
- support@variscite.com