| Author |
Message |
|
|
Post subject: Problems with Photon on the TOTAL5200
Posted: May 17, 2006 - 12:09 PM
|
|
Active Member
Joined: Apr 05, 2006
Posts: 18
|
|
Hello!
I’m working with a TOTAL5200 and the QNX OS (QNX6.3.0).
I want to install a BSP on the TOTAL5200, but I have some problems with “Photon”.
This is the Image which I download to the TOTAL5200.
---------------------------------------------------------------------
---------------------------------------------------------------------
procmgr_symlink ../../proc/boot/libc.so.2 /usr/lib/ldqnx.so.2
################################################
## SERIAL driver
################################################
## LITE5200 EVB
################################################
# display_msg Welcome to QNX Neutrino 6.3 on the Motorola Lite5200 EVB
# devc-serpsc -c 132000000 -u 1 -e -F -S -b 115200 0xf0002000,65
# waitfor /dev/ser1
# reopen /dev/ser1
################################################
## TOTAL 5200 SDP
################################################
display_msg Welcome to QNX Neutrino 6.3 on the Motorola TOTAL5200 SDP
devc-serpsc -c 132000000 -u 3 -e -F -S -b115200 0xf0002400,67
waitfor /dev/ser3
reopen /dev/ser3
slogger
pipe
################################################
## PCI server
################################################
pci-mgt5200
waitfor /dev/pci 4
################################################
## NETWORK driver
## - Bestcomm DMA utility and library are required by NETWORK driver
## - substitute your IP address for 1.2.3.4 and mac for 001122334444
################################################
display_msg Starting on-board ethernet with large stack and cache...
bestcomm5200
io-net -c1 -ptcpip cache=1 -dmpc5200 mac=00049F00135B
waitfor /dev/io-net/en0 4
ifconfig en0 100.0.0.3
qconn
################################################
## NOR FLASH driver
################################################
## TOTAL 5200 SDP REV2
#######################################################################
devf-mgt5200 -s0xfc000000,64M
################################################
## GRAPHICS driver (TOTAL5200 SDP only)
## - The resolution of the panel on the TOTAL5200 SDP is 640x480x16
## - Refer to the help documentation for information on embedding the
## Photon MicroGUI.
################################################
display_msg Starting GRAPHICS driver...
io-graphics -ds1d13806 xres=640,yres=480,bitpp=16,photon -pphoton
#############################################
## SPI driver
#############################################
display_msg Starting SPI driver
spi-mpc5200
##########################################
## TOUCHSCREEN driver (TOTAL5200 SDP only)
## - The TI ADS7843 as an SPI device, requiring the SPI driver
## spi-mpc5200 to be running.
############################################
# devi-mpc5200 spi
display_msg Starting TOUCHSCREEN driver...
spi-mpc5200
#############################################
#These env variables are inherited by all the programs which follow
#############################################
SYSNAME=nto
TERM=qansi
HOME=/
PATH=:/proc/boot:/bin:/usr/bin:/opt/bin
LD_LIBRARY_PATH=:/proc/boot:/lib:/usr/lib:/lib/dll:/opt/lib
[+session] ksh &
#############
# PHOTON env var
#############
PATH=/proc/boot:/bin:/sbin:/usr/bin/:/usr/sbin/:/usr/photon/bin
LD_LIBRARY_PATH=/proc/boot:/lib:/lib/dll
PHOTON=/dev/photon
PHOTON_PATH=/proc/boot
PHOTON2_PATH=/proc/boot
# start Photon binaries.
setconf _CS_LIBPATH /proc/boot:/lib:/lib/dll
display_msg Starting Photon
Photon &
waitfor /dev/photon
phfont -d /proc/boot -X &
waitfor /dev/phfont
----------------------------------------------------------------------
----------------------------------------------------------------------
These two lines makes problems:
phfont -d /proc/boot -X &
waitfor /dev/phfont
If I comment out these 2 lines, then I get no errors, but I cant start my project on the TOTAL5200!
What is my problem???
Please help me!
Thank you! |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Problems with Photon on the TOTAL5200
Posted: Jun 02, 2006 - 07:00 PM
|
|
New Member
Joined: Mar 15, 2006
Posts: 1
Location: Ottawa, Canada
|
|
| I do not see any font libs and font config files in your build file, and you need to involve them in to start photon. |
|
|
| |
|
|
|
 |
|
|
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group Credits |
|
|