background image

23

GR-LEON4-ITX Development Board

Quick Start Guide

Memory:   252864k/262144k   available   (2120k   kernel   code,   9116k   reserved,   292k   data, 
160k init, 65536k highmem) 
Mount-cache hash table entries: 512 
Entering SMP Mode... 
0:(2:2) cpus mpirq at 0xc0800110 
Starting CPU 1 : (irqmp: 0xc0800110) 
DEBUG: psr.impl = 0xf  fsr.vers = 0x7 
Started CPU 1 
Brought up 2 CPUs 
Total of 2 processors activated (399.76 BogoMIPS). 
migration_cost=10000 
NET: Registered protocol family 16 
Found GRPCI controller - ahb mem,io: 0x80000000, 0xfff20000 - apb 0xc0100800 - irq: 
25 
Assigning PCI BARs. 
SCSI subsystem initialized 
usbcore: registered new interface driver usbfs 
usbcore: registered new interface driver hub 
usbcore: registered new device driver usb 
NET: Registered protocol family 2 
IP route cache hash table entries: 2048 (order: 1, 8192 bytes) 
TCP established hash table entries: 8192 (order: 4, 98304 bytes) 
TCP bind hash table entries: 8192 (order: 4, 65536 bytes) 
TCP: Hash tables configured (established 8192 bind 8192) 
TCP reno registered 
leon: power management initialized 
highmem bounce pool size: 64 pages 
Installing knfsd (copyright (C) 1996 [email protected]). 
io scheduler noop registered 
io scheduler cfq registered (default) 
grlib apbuart: 2 serial driver(s) at [0xc0000100(irq 2),0xc0000200(irq 3)] 
grlib apbuart: system frequency: 100000 khz, baud rates: 38400 38400 
ttyS0 at MMIO 0xc0000100 (irq = 2) is a Leon 
Testing fifo size for UART port 0: got 8 bytes. 
ttyS1 at MMIO 0xc0000200 (irq = 3) is a Leon 
Testing fifo size for UART port 1: got 8 bytes. 
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize 
loop: loaded (max 8 devices) 
Probing GRETH Ethernet Core at 0xc0100100 
                                         Detected National Semiconductor DP83848  
Revision 0 
10/100 GRETH Ethermac at [0xc0100100] irq 12. Running 100 Mbps full duplex 
Probing GRETH Ethernet Core at 0xc0100200 
Detected National Semiconductor DP83848 Revision 0 
10/100 GRETH Ethermac at [0xc0100200] irq 13. Running 100 Mbps full duplex 
usbmon: debugfs is not available 
grusbhc-ehci grusbhc-ehci.0: Gaisler Research EHCI Host Controller 
grusbhc-ehci grusbhc-ehci.0: new USB bus registered, assigned bus number 1 
grusbhc-ehci grusbhc-ehci.0: irq 6, io base 0xc0100300 
grusbhc-ehci grusbhc-ehci.0: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004 
usb usb1: configuration #1 chosen from 1 choice 
hub 1-0:1.0: USB hub found 
hub 1-0:1.0: 2 ports detected 
USB Universal Host Controller Interface driver v3.0 
grusbhc-uhci grusbhc-uhci.0: Gaisler Research UHCI Host Controller 
grusbhc-uhci grusbhc-uhci.0: new USB bus registered, assigned bus number 2 
grusbhc-uhci grusbhc-uhci.0: irq 7, io base 0xfff00200 
usb usb2: configuration #1 chosen from 1 choice 
hub 2-0:1.0: USB hub found 
hub 2-0:1.0: 2 ports detected 
Initializing USB Mass Storage driver... 
usb 1-2: new high speed USB device using grusbhc-ehci and address 2 
usb 1-2: configuration #1 chosen from 1 choice 
scsi0 : SCSI emulation for USB Mass Storage devices 
usbcore: registered new interface driver usb-storage 

© Aeroflex Gaisler AB

June 2010, Rev. 0.2

Содержание GR-LEON4-ITX

Страница 1: ...GR LEON4 ITX Development Board Quick Start Guide AEROFLEX GAISLER AB Rev 0 2 2010 06 16...

Страница 2: ...s which may result from its use No license is granted by implication or otherwise under any patent or patent rights of Aeroflex Gaisler AB Aeroflex Gaisler AB tel 46 31 7758650 Kungsgatan 12 fax 46 31...

Страница 3: ...M USER GUIDE 11 3 1 Overview 11 3 2 Debian Operating System 11 3 3 Logging in to the system 11 3 4 Shutting down the System 12 3 5 Graphical Interface X Window System 12 3 6 Network Interface 12 3 7 S...

Страница 4: ...cy of 100 MHz should it not be 200 MHz 31 6 2 Interfaces 31 Software freezes when initializing the Ethernet Interface 31 I have problem X when using the USB Debug Communication Link 31 The system free...

Страница 5: ...Board 7 Figure 2 2 User JTAG headers 8 Figure 2 3 Setting the EDCL IP address 9 Figure 2 4 GRMON after connect 10 Figure 5 1 Selecting a SnapGear template configuration 21 REVISION HISTORY Revision D...

Страница 6: ...ON4 ITX data package and this document including possibly newer revisions are available from the GR LEON4 ITX product page at http www gaisler com 1 2 References RD 1 LEON4 ASIC DEMO Data sheet and Us...

Страница 7: ...stem Overview The GR LEON4 ITX board s SPI boot PROM has been programmed with boot loader that loads an image of the Linux kernel into main memory and then boots the kernel The Linux kernel then mount...

Страница 8: ...to the first Ethernet port the lower port Booting Linux The bootloader will start Linux when the power adapter is attached to the board Please skip to section 3 for usage instructions Section 5 1 cont...

Страница 9: ...rface Please see the GRMON User s Manual for how to set up the required USB driver software Then connect to the board using the command grmon usb Connecting via serial UART Please refer to the GR LEON...

Страница 10: ...rt Guide Using GRMON The GRMON User s Manual describes the capabilities of GRMON Section 4 of this document describes some usage scenarios for GRMON on the GR LEON4 ITX board Aeroflex Gaisler AB June...

Страница 11: ...ss Pager program similar to more To install this application we now issue to install applications you must be logged in as the super user apt get install less This will fetch the application from a pu...

Страница 12: ...ow manager right click on the mouse will bring up the menu Other window managers can be started by editing the xsession file in the home directory for the user account home user xsession If the file i...

Страница 13: ...efault ntpdate If the board cannot be connected to a network with an NTP server the time can be set manually with the commands date set 2008 10 10 date set 14 00 00 The commands must be run as the sup...

Страница 14: ...isler Research USB UHCI controller Gaisler Research GR USB 2 0 Device Controller Gaisler Research USB Debug Comm Link Gaisler Research Gaisler CAN with DMA Gaisler Research Fast 32 bit PCI Bridge Gais...

Страница 15: ...onfigured the DDR2 controller to use 256 MiB of DDR2 SDRAM memory 4 2 Running an application In this example we will compile and run an application of our own The procedure for downloading other appli...

Страница 16: ...tter with values suitable for the GR LEON4 ITX board Command Description i2c 3 dvi init l4itx_dvi Initialize the DVI transmitter for IDF 2 input data 16 bit color depth and monitor connected via digit...

Страница 17: ...ustom format undefined grlib svga draw test_screen 2 16 Drawing picture test_screen Depth 16 bits Format 640x480 60 Hz Framebuffer memory pos 0x40200000 grlib svga draw test_screen 8 16 Drawing pictur...

Страница 18: ...0C0C4A S315000000101010101014141414181818181C1C1C1C3A S315000000202020202024242424282828282C2C2C2C2A S315000000303030303034343434383838383C3C3C3C1A S315000000404040404044444444484848484C4C4C4C0A S3150...

Страница 19: ...rlib wmem 0xc0000614 0x99 The meaning of these write operations can be found by reading the I2C slave manual The connections made above connected I2CM1 to the slave GRMON enumerates I2CM1 as I2C core...

Страница 20: ...e is serial terminal Root filesystem is a memory image containing a Busybox system does not mount USB Flash stick Table 5 1 SnapGear template configurations To be able to easily create a Linux configu...

Страница 21: ...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 support gaisler com ethernet startup Found A...

Страница 22: ...0x40000000 grlib run Booting Linux Booting Linux PROMLIB Sun Boot Prom Version 0 Revision 0 Linux version 2 6 21 1 jan jan gcc version 3 4 4 17 SMP Tue Mar 16 15 28 21 CET 2010 ARCH LEON TYPE Leon2 3...

Страница 23: ...t 0 got 8 bytes ttyS1 at MMIO 0xc0000200 irq 3 is a Leon Testing fifo size for UART port 1 got 8 bytes RAMDISK driver initialized 16 RAM disks of 4096K size 1024 blocksize loop loaded max 8 devices Pr...

Страница 24: ...access the Hardware Clock via any known method Use the debug option to see the details of our search for an access method Cleaning up ifupdown Loading device mapper support Checking file systems fsck...

Страница 25: ...node 4 ambapp0 type ambapp props node device_type name node 5 cpu01 type cpu props node device_type mid clock frequency PROM Built device tree from rootnode 1 with 1813 bytes of memory DEBUG psr impl...

Страница 26: ...usbhc ehci 0 Gaisler Research EHCI Host Controller grusbhc ehci grusbhc ehci 0 new USB bus registered assigned bus number 1 grusbhc ehci grusbhc ehci 0 irq 6 io base 0xc0100300 grusbhc ehci grusbhc eh...

Страница 27: ...ion parameters is left as an exercise for the reader The command line options for MKPROM2 to be used with the GR LEON4 ITX are mkprom2 v freq 100 stack 0x4ffffff0 pnp 0xffeff800 ddr2spa_cfg1 0x96a0861...

Страница 28: ...sh detect Got manufacturer ID 0x20 and Device ID 0x2017 No device match for READ ID instruction trying RES instruction Found matching device ST Numonyx M25P64 grlib spim flash load prom out section te...

Страница 29: ...x kernel image that U boot can handle U Boot needs a header to know how to interpret the binary images The images support compression and CRC verifying To create an image the mkimage tool must be in t...

Страница 30: ...o It is also possible to update the u boot image using GRMON First interact with U boot and issue the commands sf probe 0 sf erase 400000 200000 Then the Linux image can be built with make ARCH sparc...

Страница 31: ...r unit there therefore GRMON reports the system frequency as 100 MHz the processor cores still run at 200 MHz 6 2 Interfaces Software freezes when initializing the Ethernet Interface Software that rel...

Страница 32: ...s setting the Ethernet Debug Communication Link s EDCL IP address The address used by U boot can be changed by attaching a USB keyboard and pressing any key during the first seconds of system boot U b...

Отзывы: