background image

ARTiGO A820 Linux BSP v3.2.1 Quick Start Guide 

3

 

2.

 

Image Development 

This section explains the setup requirements for booting from a Micro SD card or the SPI 
ROM.  

A precompiled image is provided in the “EVK” folder of the BSP. 

2.1.

 

Booting from a Micro SD Card 

The via-image-gui-imx6qvab820.sdcard image allows the system to run entirely from the 
Micro SD card.  

The  first  step  is  to  copy  this  image  onto  a  Micro  SD  card.  Insert  a  Micro  SD  card  into 
your Linux host machine and make sure it is not mounted. Copy the SD Card image onto 
the Micro SD card with the command below, replacing <device name> with the correct 
value for the card, for example “sdb”.  

Important: Make sure you are writing to the correct device or the host system 
environment could be damaged. 

$ sudo dd if=via-image-gui-imx6qvab820.sdcard of=/dev/<device name> bs=1M conv=fsync 

 

Next, set the switch SW2 to the Micro SD position as shown below. 
 

 

Micro SD / SPI boot select switch diagram 

Insert the prepared Micro SD card into the ARTiGO A820, connect an HDMI display, and 
power on the device to initiate the boot process. 

When the boot process is completed, you will see the OpenEmbedded desktop. 

 

485

USB

DIO

COM 1

232

WIRELESS

PWR

RESET

SPI

Micro SD

SPI

Micro SD

Summary of Contents for ARTiGO A820

Page 1: ...1 00 10262016 160700 QUICK START GUIDE ARTiGO A820 Linux BSP v3 2 1...

Page 2: ...se in regard to this document and to the products described in this document The information provided in this document is believed to be accurate and reliable as of the publication date of this docume...

Page 3: ...ARTiGO A820 Linux BSP v3 2 1 Quick Start Guide iii Revision History Version Date Remarks 1 00 10 26 2016 Initial release...

Page 4: ...4 3 Building an SD Card Image 9 5 Hardware Functions 10 5 1 Setting Up COM 1 10 5 1 1 Setting Up RS 232 Mode 10 5 1 2 Setting Up RS 485 Mode 11 5 2 Configuring Network Settings 12 5 3 Configuring the...

Page 5: ...nfiguring files ARTiGO A820 Linux BSP contents 1 1 1 BSP Folder Contents A820 yocto bsp v3 2 1 tar bz2 A complete and static Yocto BSP including the ARTiGO A820 meta files and all the pre downloaded r...

Page 6: ...rsion 3 14 28 Evaluation image OpenEmbedded core built with Yocto 1 7 Dizzy Development based on NXP fsl yocto 3 14 28_1 0 0 Yocto 1 7 Dizzy Supports SPI with eMMC or Micro SD boot default Supports HD...

Page 7: ...ge onto the Micro SD card with the command below replacing device name with the correct value for the card for example sdb Important Make sure you are writing to the correct device or the host system...

Page 8: ...ev mtdblock0 Please note that if you have previously saved U Boot parameters it is recommended to clear that area of the SPI ROM with the following command sudo dd if dev zero of dev mtdblock0 bs 512...

Page 9: ...configure serial port setting and connect to the debug console There you will be able to see the U Boot boot log and adjust settings in the U Boot console A Serial Device dev ttymxc0 B Lockfile Locat...

Page 10: ...o stop autoboot 0 Debug console view of boot process To list the current U Boot parameters use the following command printenv Make sure the printout message includes bootcmd run bootcmd_auto The defau...

Page 11: ...le There you will be able to see the U Boot boot log and adjust settings in the U Boot console Next power on the ARTiGO A820 to initiate the boot process When the boot process is completed you will be...

Page 12: ...e installed using the bash script below bin bash Install dependant packages sudo apt get install gawk wget git core diffstat unzip texinfo gcc multilib build essential chrpath socat sudo apt get insta...

Page 13: ...ild a820 in the command below cd a820 yocto bsp MACHINE imx6qvab820 source via setup release sh b build a820 4 3 Building an SD Card Image This BSP provides the via image gui Yocto image as default Us...

Page 14: ...RS 232 cable To start the Minicom serial communication program on the ARTiGO A820 use the following command minicom s Connect to the dev ttymxc0 serial device with the following settings A Serial Devi...

Page 15: ...am E Bps Par Bits 115200 8N1 F Hardware Flow Control No G Software Flow Control No Serial port setting of RS 485 mode Start a serial communication program on the host machine with the same communicati...

Page 16: ...mode and to use the WLAN select item 7 Enable and Disable Gateway and then select item 6 Reboot as illustrated by the screenshot below 1 Ethernet 5 Exit 2 WLAN Config 6 Reboot 3 Reset 7 Enable or Dis...

Page 17: ...271 USB Wi Fi dongle into the USB port Next remove the LAN cables Wi Fi miniPCIe or 3G miniPCIe module Finally power on the ARTiGO A820 Inserting the VNT9271 USB Wi Fi dongle When the boot process is...

Page 18: ...the EMIO 1541 module into the miniPCIe slot Next remove the LAN cables and USB Wi Fi dongle Finally power on the ARTiGO A820 Inserting the EMIO 1541 module When the boot process is completed click on...

Page 19: ...to insert the EMIO 2531 module into the miniPCIe slot Next remove the LAN cables and USB Wi Fi dongle Finally power on the ARTiGO A820 Inserting the EMIO 2531 module When the boot process is complete...

Page 20: ...ctl NEW Controller 5C F3 70 24 4B 2E EMIO 2531 Bluetooth MAC address bluetooth bluetooth show Controller 5C F3 70 24 4B 2E Name BlueZ 5 25 Alias BlueZ 5 25 bluetooth select 5C F3 70 24 4B 2E select co...

Page 21: ...nfig hci0 up hciconfig hci0 piscan usr lib bluez5 bluetooth bluetoothd C d Use the following commands to run the bluetoothctl to show the EMIO 2531 Bluetooth MAC address and set up pairing mode blueto...

Page 22: ...or hangup To open the minicom serial communication program use the following command minicom s Connect to the dev rfcomm0 serial device with the following settings A Serial Device dev rfcomm0 B Lockfi...

Page 23: ...lot Next remove the LAN cables and USB Wi Fi dongle Finally power on the ARTiGO A820 Inserting the EMIO 2550 module To check that the system has correctly detected the EMIO 2550 module use the followi...

Page 24: ...ompleted type the following GPS AT commands into Minicom AT UGPRF 1 AT UGRMC 1 AT UGGSV 1 AT UGZDA 1 and AT UGPS 1 0 Wait for the OK message before sending the next AT command AT UGPRF 1 OK AT UGRMC 1...

Page 25: ...nable wdt To change the timeout value and the system reboot value seconds use the following command unit_tests wdt_driver_test out set_timeout value To send keep alive requests to the Watchdog value s...

Page 26: ...O_16 203 8 GPIO_5 5 9 GND GPIO port pinout table Set the multifunction pin as a GPIO pin Here is the example for GPIO pin 1 echo 7 sys class gpio export 5 8 2 Setting Up GPI Mode To set a pin to input...

Page 27: ...ime with the Linux date command for example as date mmddHHMMYYYY Time Value mm 2 digit month dd 2 digit day HH 2 digit hours in 24h system MM 2 digit minutes YYYY 4 digit year Time value table For exa...

Page 28: ......

Reviews: