User guide

3 GR-LEON4-ITX Development Board
Quick Start Guide
TABLE OF CONTENTS
1 INTRODUCTION........................................................................................................ 6
1.1 Overview..........................................................................................................................6
1.2 References.......................................................................................................................6
1.3 Abbreviations...................................................................................................................6
2 UNPACKING AND SETTING UP THE BOARD.........................................................7
2.1 Unpacking and initial setup.............................................................................................7
2.2 Running the bundled Linux system.................................................................................7
Overview..........................................................................................................................7
Pre-requisites...................................................................................................................7
Booting Linux...................................................................................................................8
2.3 Connecting with the GRMON debug monitor.................................................................8
Overview..........................................................................................................................8
Pre-requisites...................................................................................................................8
Connecting with the included JTAG adapter..................................................................9
Connecting with a Xilinx USB JTAG adapter..................................................................9
Connecting via the USB interface...................................................................................9
Connecting via serial UART............................................................................................9
Connecting via Ethernet..................................................................................................9
Using GRMON...............................................................................................................11
3 LINUX SYSTEM USER GUIDE...............................................................................12
3.1 Overview........................................................................................................................12
3.2 Debian Operating System.............................................................................................12
3.3 Logging in to the system...............................................................................................12
3.4 Shutting down the System.............................................................................................13
3.5 Graphical Interface (X Window System).......................................................................13
3.6 Network Interface..........................................................................................................13
3.7 System Time Keeping...................................................................................................14
3.8 Changing the Keyboard Layout....................................................................................14
4 GRMON AND THE GR-LEON4-ITX BOARD...........................................................15
4.1 First steps......................................................................................................................15
4.2 Running an application..................................................................................................16
4.3 Initializing the DVI transmitter.......................................................................................17
4.4 Drawing images.............................................................................................................18
4.5 Interacting with the SPI boot PROM.............................................................................18
4.6 Interacting with I2C devices..........................................................................................20
4.7 Other interfaces and operations....................................................................................20
5 ADVANCED TOPICS............................................................................................... 21
5.1 Building the Linux kernel...............................................................................................21
Overview........................................................................................................................21
Downloading an image with GRMON...........................................................................22
5.2 Creating a boot PROM..................................................................................................28
Overview........................................................................................................................28
MKPROM2....................................................................................................................28
U-boot............................................................................................................................30
6 TROUBLESHOOTING AND FREQUENCY ASKED QUESTIONS.........................32
© Aeroflex Gaisler AB March 2013, Rev. 0.3