ARTiGO A820 Linux BSP v3.2.1 Quick Start Guide
4
2.2.
Booting from the SPI ROM and eMMC
The ARTiGO A820 supports booting from the SPI ROM while loading the kernel and
root filesystem from eMMC.
The first step is to prepare a Micro SD card with the default image according to section
2.1. Next, copy the u-boot.imx and via-image-gui-imx6qvab820.sdcard files from the BSP
onto a mass storage device such as a USB thumb drive. Make sure the SW2 switch is set
to Micro SD boot then insert the Micro SD card and the USB thumb drive into the
ARTiGO A820.
To check that the system has correctly setup the SPI ROM as an MTD block device, use
the following command:
$ ls /dev/mtdblock*
/dev/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 seek=1536 count=16
Flash the U-Boot binary from the mass storage device onto the SPI ROM:
$ sudo dd if=u-boot.imx of=/dev/mtdblock0 bs=512 seek=2
Copy the root filesystem image from the mass storage device onto the eMMC storage.
$ sudo dd if=via-image-gui-imx6qvab820.sdcard of=/dev/mmcblk0 bs=1M
In order to boot from the SPI ROM make sure the SW2 switch is set to SPI ROM boot.
Micro SD / SPI boot select switch diagram
Next, 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