I have install the 6.3.0 sp2,I use the Photon in embedded sample build file build the image but when I start the image. some error appeared
My target is a pc104
the error is below
phfont_init
phfontXX started OK
Fatal Error
No render engines loaded. io-font
Unable to launch Photon Font Server main
Unable to open font dll
I have put libFF-T2K.so and so on under /lib
phfont.so under /lib/dll and according to the system of QNX
I put all in the image and the image is about 3M
I need help
need somedoay tell me why the font server can’t start
the build file is
[virtual=x86,bios +compress] .bootstrap = {
startup-bios -v
PATH=:/proc/boot:/usr/bin:/bin:/usr/photon/bin
LD_LIBRARY_PATH=:/proc/boot:/usr/lib:/lib:/lib/dll PHOTON_PATH=/usr/photon procnto -v
}
[+script] .script = {
procmgr_symlink …/…/proc/boot/libc.so.2 /usr/lib/ldqnx.so.2
display_msg Welcome to Photon
slogger &
devc-con -e -n4 &
pipe &
display_msg starting PCI
pci-bios
waitfor /dev/pci 10
display_msg starting serial
devc-ser8250 -e &
reopen /dev/ser1
SYSNAME=nto
TERM=qansi
PHOTON=/dev/photon
PATH=:/proc/boot:/usr/bin:/bin:/usr/photon/bin
LD_LIBRARY_PATH=:/proc/boot:/usr/lib:/lib:/lib/dll
PHOTON_PATH=/usr/photon
PHOTON=/dev/photon
PHFONT=/dev/phfont
HOME=/
display_msg Starting Photon
Photon
waitfor /dev/photon 10
display_msg Starting Input
devi-hirun kbd kbddev ps2 mousedev &
display_msg Starting Graphics
io-graphics -dvesabios photon,xres=800,yres=600,bitpp=16,refresh=60 -pphoton
waitfor /dev/phfont 10
display_msg Starting Window Manager
pwm &
bkgdmgr &
devc-pty &
display_msg Starting Terminal
pterm /proc/boot/ksh &
# debug shell on /dev/ser1 at 57600
[+session] ksh
}
[type=link] /bin/sh = /proc/boot/ksh
[type=link] /dev/console = /dev/ser1
[type=link] /tmp = /dev/shmem
standard libs
libc.so
libm.so
photon libs
libph.so
libAp.so
libphexlib.so
libphimg.so
libjpeg.so
pi_io_jpeg.so
io-graphics libs
gri-photon.so
libphrender.so
libgri.so
libdisputil.so
libffb.so
graphics driver
devg-vesabios.so
/etc/system/config/crtc-settings = /etc/system/config/crtc-settings
/usr/photon/palette/default.pal = /usr/photon/palette/default.pal
font libs
/lib/dll/font/ttfFFcore.so = /lib/dll/font/ttfFFcore.so
/lib/dll/font/PHFcore.so = /lib/dll/font/PHFcore.so
libfontharnessutils.so
libfontutils.so
libblkcache.so
libFF-T2K.so
libFF-T2K-cache.so
libFF-T2K-fm.so
libfont.so
phfont.so
font config
/usr/photon/font_repository/tt2009m_.ttf = /usr/photon/font_repository/tt2009m_.ttf
/usr/photon/font_repository/phcursor.phf = /usr/photon/font_repository/phcursor.phf
/usr/photon/font_repository/mappings = /usr/photon/font_repository/mappings
/usr/photon/font_repository/fontopts = /usr/photon/font_repository/fontopts
/usr/photon/font_repository/fontkey = /usr/photon/font_repository/fontkey
/usr/photon/font_repository/fontdir = {
;
; fontdir config file
;
phcursor,.phf,Photon Cursor,0,E900-E921,Np,32x32,3K
primasansmonobts,0@tt2009m_.ttf,PrimaSansMono BT,0,0020-F002,f,79x170,109K
}
/usr/photon/font_repository/fontext = {
;
; fontext config file
;
+normal = primasansmonobts, phcursor
}
/usr/photon/font_repository/fontmap = {
;
; fontmap config file
;
? = primasansmonobts
}
input config
/usr/photon/keyboard/en_US_101.kbd = /usr/photon/keyboard/en_US_101.kbd
[data=c]
pci-bios
devc-con
devc-pty
devc-ser8250
ls
ksh
cat
pipe
pidin
uname
slogger
sloginfo
slay
Photon
io-graphics
devi-hirun
pwm
[+raw] /usr/photon/bin/pterm = pterm
[+raw] /usr/photon/bin/phcalc_sm = phcalc_sm
[+raw] /usr/photon/bin/phshutdown = phshutdown
[+raw] /usr/photon/bin/bkgdmgr = bkgdmgr
[+raw] /usr/photon/bin/pwmopts = pwmopts
[+raw] /usr/photon/bin/phmenu = phmenu
default image for bkgdmgr
[+raw] /usr/share/backdrops/1024x768/default.jpg = /usr/share/backdrops/1024x768/default.jpg
pwm and bkgdmgr config
/usr/photon/config/wm/wm.cfg = /usr/photon/config/wm/wm.cfg
The parts of each entry in the wm.menu file must be separated by tabs.
/usr/photon/config/wm/wm.menu = {
= Desktop Menu
Terminal T pterm
Calculator a phcalc_sm
-4
< Configure C C
Appearance W pwmopts
Desktop Menu D phmenu
Shutdown… u phshutdown
}
allow pterm to save its configuration to RAM, if the user changes it.
[type=link] /.ph/pterm = /dev/shmem
allow pwm and bkgdmgr to save their configuration to RAM, if the user changes it.
[type=link] /.ph/wm = /dev/shmem