Setup_Manual_QNX6.5.0_SP1_RaspberryPI.pdf

(468 KB) Pobierz
32
QNX 6.5.0 SP1
Setup Manual
For Raspberry PI Board
User’s Manual: Software
BCM 2835
www.swhwc.net
Rev.1.00 July 23,2014
Table of Contents
1.
1.1
1.2
1.3
1.4
1.5
Overview ...................................................................................................................................... 2
Features ..................................................................................................................................................................... 2
Scope......................................................................................................................................................................... 2
Target System ........................................................................................................................................................... 2
List of Abbreviations and Acronym .......................................................................................................................... 2
Environmental Requirement ..................................................................................................................................... 2
2.
2.1
2.2
Building QNX6.5.0 SP1 OS image .............................................................................................. 3
Prerequisites .............................................................................................................................................................. 3
Build QNX 6.5.0 SP1 BSP........................................................................................................................................ 3
3.
3.1
Boot up QNX 6.5.0 SP1 ............................................................................................................... 4
Prerequisites .............................................................................................................................................................. 4
3.1.1
SD Card .......................................................................................................................................................... 4
3.2
Boot up steps ............................................................................................................................................................. 4
3.2.1
Step 1: Copy the necessary files to SD card. .................................................................................................. 4
3.2.2
Step 2: Connect serial port of Raspberry PI to Window PC ........................................................................... 4
3.2.3
Step 3: Connect HDMI LCD to Raspberry PI board ...................................................................................... 4
3.2.4
Step 4: Insert SD to Raspberry PI board ........................................................................................................ 5
3.2.5
Step 5: Setup serial port for Window PC ....................................................................................................... 5
3.2.6
Step 6: Power up Raspberry PI board ............................................................................................................. 5
3.2.7
Step 7: Show U-boot messages ...................................................................................................................... 5
3.2.8
Step 8: Load QNX 6.5.0 image to the board. ................................................................................................. 6
3.2.9
Step 8: Boot up finish. .................................................................................................................................... 6
4.
Test driver .................................................................................................................................... 7
4.1.1
4.1.2
4.1.3
Serial driver: ................................................................................................................................................... 7
SD driver: ....................................................................................................................................................... 7
Graphics driver: .............................................................................................................................................. 7
LIST OF TABLES
Table 1.1 Environment Requirement ................................................................................................................................ 2
QNX6.5.0 SP1 BSP for Raspberry PI board
1.
1.1
Overview
Features
1)
2)
3)
4)
5)
6)
7)
IPL
Startup
Serial driver
ARM timer
SD driver
Display driver
Mailbox libraries
In the case of V.1.0.0 BSP, following drivers/libraries/utilities are supported:
1.2
Scope
This document scope applies to the evaluation of reproducing QNX6.5.0 SP1 image and testing
QNX BSP drivers for Raspberry PI platform.
1.3
Target System
1) Target platform: Raspberry PI platform.
2) Target software: QNX SDP 6.5.0 SP1
1.4
List of Abbreviations and Acronym
Full Form
Board Support Package
Mail Box
Initial Program Loader
Software Development Package
QNX Momentics Integrated Development Environment
Abbreviation
BSP
Mailbox
IPL
SDP
Momentics IDE
1.5
Environmental Requirement
Table 1.1 Environment Requirement
Equipment
Windows Host PC
Terminal software
Explanation
Windows 7 or XP are recommended as OS
TeraTerm (version 4.75 or newer)
Page 2 of 8
QNX 6.5.0 SP1 Setup Manual for Raspberry PI board
2.
2.1
Building QNX6.5.0 SP1 OS image
Prerequisites
1) Extract QNX6.5.0 SP1 BSP for Raspberry PI board (filename: bsp-ntotrunk-broadcom-
bcm2835-trunk.zip) to a folder on Windows Host PC (ex: C:\bsp-ntotrunk-broadcom-
bcm2835-trunk)
2) QNX6.5.0 SP1 SDP installed on Windows Host PC.
2.2
Build QNX 6.5.0 SP1 BSP
To generate the QNX image for Raspberry PI board, following commands from the
command prompt console:
$ cd <QNX_BSP_Root_Directory>
$ bash
$ make clean; make all
QNX 6.5.0 SP1 image is created at:
bsp-ntotrunk-broadcom-bcm2835-trunk/images/ifs-bcm2835.bin
Page 3 of 8
Zgłoś jeśli naruszono regulamin