Downloading an image with grmon – Aero-Flex GAISLER GR-LEON4-ITX User Manual

Page 21

Advertising
background image

21

GR-LEON4-ITX Development Board

Quick Start Guide

Figure 5-1: Selecting a SnapGear template configuration

Downloading an image with GRMON

After the new image has been compiled it can be downloaded to the board using GRMON.

In the transcript below we connect to the board using the EDCL, the flag -nb must be given
to GRMON in order to not break on page faults, the -u flag is also given in order to see the

serial console in GRMON:

jan@jan:~/Linux/snapgear-2.6-p41$ grmon -eth -ip 192.168.0.54 -nb -u

GRMON LEON debug monitor v1.1.39 professional version

Copyright (C) 2004-2008 Aeroflex Gaisler - all rights reserved.

For latest updates, go to http://www.gaisler.com/

Comments or bug-reports to [email protected]

ethernet startup. Found AHB 1 to AHB 0 bridge

Device ID: : 0x102
GRLIB build version: 3508

initialising ......................................
detected frequency: 100 MHz

Component Vendor
LEON4 SPARC V8 Processor Gaisler Research
LEON4 SPARC V8 Processor Gaisler Research

…if the Linux image will use video output we need to initialize the DVI transmitter:

grlib> i2c 3 dvi init_l4itx_dvi

Transmitter was not set to Chrontel CH7301C (AS=0), changing..

DVI transmitter set to Chrontel CH7301C (AS=0)

Initializing CH7301 for LEON/GRLIB design..
Initialization done..

© Aeroflex Gaisler AB

June 2010, Rev. 0.2

Advertising