Hello,
I want to start photon in an embedded system. Has anybody got a nice example
ph script? I’m especially struggling with the graphics driver: I want to
start Pg.flat and tell it the start address of the graphics memory.
Thanks a lot,
Ingolf
Hello,
I want to start photon in an embedded system. Has anybody got a nice example
ph script? I’m especially struggling with the graphics driver: I want to
start Pg.flat and tell it the start address of the graphics memory.
Thanks a lot,
Ingolf
Previously, Ingolf Koch wrote in qdn.public.qnx4.photon:
Hello,
I want to start photon in an embedded system. Has anybody got a nice example
ph script? I’m especially struggling with the graphics driver: I want to
start Pg.flat and tell it the start address of the graphics memory.Thanks a lot,
Ingolf
When I start photon in embedded systems, I bypass the ph
script entirely and start everything up from the sysinit
file. Here is an example, with our app stuff removed
----------- snip ---------------------
reopen //0/dev/con1
nameloc &
chkfsys -Pqrs /
dinit -q /dev/ram
mount /dev/ram /ram
export PHOTON_PATH=/qnx4/photon PATH=${PATH}:.:/qnx4/photon/bin:/qnx4/graphics/drivers:
Photon &
vesabios.ms -i0x12 &
Pg.vga4 -HNqnx/crt -g320x240x4 -A0xA0000,0x10000 -WB80 -WV80000 &
/qnx4/photon/bin/Aplib_s11
phfontall -c200k -X &
Dev32.ser -t14 &
sleep 1
tinit -T /dev/con* -t /dev/con1 -T /dev/ser2 &
stty -ohpaged baud=38400 < /dev/ser2
dumper -d/dumps -s &