I try to build an image containing a photon application for an embedded system. All servers seem to start correctly but the system stays in text mode and the test application is not shown. Non-graphical application run without any problems. The head of the build file used is listed below.
I use a PC with QNX to build the image which I copy on the compact flash used in my embedded system. The architecture of the embedded system is similar to a PC.
Questions
Do I have to switch to the graphics mode manually or when should this happen?
Is there something strange in my build file?
How can I check if the servers have been started properly?
The head of my build file
[virtual=x86,bios] .bootstrap = {
startup-bios
PATH=:/proc/boot:/usr/bin:/bin:/usr/photon/bin
LD_LIBRARY_PATH=:/proc/boot:/usr/lib:/lib:/lib/dll
PHOTON_PATH=/proc/boot procnto -vv
}
[+script] .script = {
procmgr_symlink …/…/proc/boot/libc.so.2 /usr/lib/ldqnx.so.2
display_msg QNX Neutrino 6.3 on an x86 platform with Photon
slogger &
display_msg Set Env Var
PATH=/proc/boot:/bin:/sbin:/usr/bin/:/usr/sbin/:/usr/photon/bin
LD_LIBRARY_PATH=:/proc/boot:/usr/lib:/lib:/lib/dll
PHOTON=/dev/photon
PHOTON_PATH=/proc/boot
PHOTON2_PATH=/proc/boot
SYSNAME=nto
TERM=qnx
HOME=/root
display_msg Starting Photon
setconf _CS_LIBPATH /proc/boot:/lib:/lib/dll
Photon
waitfor /dev/photon 10
display_msg Starting Input
devi-hirun kbd kbddev &
display_msg Starting Font
phfont -d /proc/boot -X &
waitfor /dev/phfont
display_msg Starting Graphics
io-graphics -di830 vid=0x8086, did=0x3582, index=0, photon, xres=640, yres=480, bitpp=16, refresh=60 -pphoton
waitfor /dev/phfont 10
display_msg Starting Window Manager
pwm &
devc-pty &
display_msg Starting Application
phcalc_sm &
}
…