SAMA7D65-Curiosity – Booting Demo Linux® Image
Introduction
This training topic lists step-by-step instructions for booting a demonstration Linux® image written to a microSD memory card on the SAMA7D65-Curiosity Development Board.
There are several pre-compiled demonstration Linux images available from the Linux4sam website.
What you will need:
- SAMA7D65-Curiosity Development Board (P/N: EA89C15A)
- Personal computer (Windows®, macOS®, Linux) running a terminal emulation program
- USB-to-Serial 3.3 or 5.0 VDC TTL Level adapter with a 6-pin single-in-line 0.1” pitch connector
- To power the SAMA7D65-Curiosity you will either:
- Connect a USB Type-C cable to USB-A port (J3) (included), or
- Connect an external 5 VDC power supply to DC Jack (J1)
- microSD memory card (1 GB or larger)
Prerequisites
- Familiarity with the features of the SAMA7D65-Curiosity Development Board
- Knowledgeable of the SAMA7D6 Series Boot Process
Hardware
For this training, you will use the SAMA7D65-Curiosity Development Board (P/N: EV07R15A) .
SAMA7D65-Curiosity Demonstration Board
Setup the SAMA7D65-Curiosity as listed below:
Jumpers
- Set the jumpers to their default positions as shown in the “Jumper Summary” section of the “SAMA7D65-Curiosity – Features” page
- OPEN Jumper J39 to disable Serial Quad I/O™ (SQI™) Flash Boot
- OPEN Jumper J36 to disable NAND Flash Boot
Power
- Apply power to the development board by connecting either :
- USB Type-C connector to USB-A port (J3), or
- Applying 5.0 VDC to DC Jack (J1)
Download a Demonstration Image
The latest images for the SAMA7D65-Curiosity are available at linux4sam . There you will find two sets of images created from the following build systems:
You will find headless and graphics versions. The headless versions only require serial communications between a host computer running a terminal emulation program and the target console. The graphics version works with displays such as the 5" WVGA LCD Display w/ LVDS i/f and maXTouch® (Part Number: AC69T88A) and 5.5" MIPI 720p LCD Display Module with maXTouch (Part Number: AC40T08A).
For this training, we will use the Buildroot headless version. Download the image and follow the steps below.
Load image onto SD Memory Card
To boot Linux from a microSD memory card, perform the following steps.
You will write the image to the microSD memory card using the balenaEtcher utility program. balenaEtcher is a cross-platform utility program used for writing image files onto storage media.
Select Image
Locate the directory where the image has been stored. There is no need to un-compress the image file. The balenaEtcher utility program can handle compressed image files.
Select Target
Select the microSD memory card.
Flash
Finally, write the image to the microSD memory card. This will take some time. Be patient.
Insert the SD Memory Card
Insert the SD memory card into the slot (J10) located on the bottom side of the development board.
Terminal Emulation Program
Download, install, and configure a Terminal Emulation program onto your host computer. There are several choices for terminal programs for Windows, macOS, and Linux.
Jumpers
Ensure that the Serial Quad I/O (SQI) Flash Boot jumper (J39) and NAND Flash Boot jumper (J36) are OPEN.
Connect to UART Debug Port
Connect the USB-to-Serial 3.3 or 5.0 VDC TTL level adapter to the Serial Debug connector (J35) and the host computer. Take care to align Pin 1 (GND) of the Curiosity board to the adapter Pin 1 (look for an arrow on the connector and a black wire).
Serial Communication Established
Once you connect the USB-to-Serial adapter to the Host PC, locate the COM Port, open the terminal emulation program, and enter the settings:
- Com Port: as indicated
- Baud: 115200
- Data Bits: 8
- Parity: None
- Stop Bits: 1
Apply Power
Apply power to the development board by either:
- Connecting a USB Type-C cable to USB-A port (J3) (included), or
- Connecting an external 5 VDC power supply to DC Jack (J1)
Boot
Press the START push button (SW3).
Observe the boot log scrolling on the Console. At the end, the command line will prompt the user to log in. Log in as ‘root.’ No password is required.
Log in for the linux4sam-buildroot-sama7d65_curiosity-headless-sama7d65-ea-1.0.img:
Observe the RGB LED (D11) flashing blue (heartbeat).
Summary
In this training, you booted a demonstration Linux image written to a microSD memory card on the SAMA7D65-Curiosity Demonstration Board.