background image

ARTiGO A820 Linux BSP v3.2.1 Quick Start Guide 

6

 

Next, power on the ARTiGO A820 to initiate the boot process. When prompted, press 
any key to stop the boot process, and enter the U-Boot console as illustrated by the 
screenshot below. 
 

U-Boot 2014.04 (Nov 19 2015 - 18:49:13)VAB820 ver:3.2.1 
 
CPU:   Freescale i.MX6DL rev1.2 at 996 MHz 
CPU:   Temperature 30 C, calibration data: 0x5894f169 
Reset cause: POR 
Board: MX6DL-VAB820 
I2C:   ready 
DRAM:  1 GiB 
MMC:   FSL_SDHC: 0, FSL_SDHC: 1 
SF: Detected W25Q32BV with page size 256 Bytes, erase size 4 KiB, 
total 4 MiB 
 
No panel detected: default to Hannstar-XGA 
Display: Hannstar-XGA (1024x768) 
In:    serial 
Out:   serial 
Err:   serial 
Net:   FEC [PRIME] 
Warning: failed to set MAC address 
 
Normal Boot 
Hit any key to 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 default “bootcmd” parameter is set to auto detect the system location by first 
attempting to load the kernel from the Micro SD card. If it is not detected it continues to 
boot from the eMMC. 

To load the kernel from the specified device, refer to the two examples below. 

To load the kernel from the Micro SD card, use the following command: 

=> setenv bootcmd 'run bootcmd_sd' 
=> saveenv 
=> boot

 

 
To load the kernel from the eMMC, use the following command: 

=> setenv bootcmd 'run bootcmd_mmc' 
=> saveenv 
=> boot

 

2.4.

 

Restoring Default U-Boot Parameters 

If the U-Boot parameters have been modified, the “destroyenv” command in the U-Boot 
console can restore the factory defaults settings.  

To restart the device, use the “reset” command: 

=> destroyenv 
=> reset

 

Содержание ARTiGO A820

Страница 1: ...1 00 10262016 160700 QUICK START GUIDE ARTiGO A820 Linux BSP v3 2 1...

Страница 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...

Страница 3: ...ARTiGO A820 Linux BSP v3 2 1 Quick Start Guide iii Revision History Version Date Remarks 1 00 10 26 2016 Initial release...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 28: ......

Отзывы: