########################################################################### # # QNX Neutrino on an PC BIOS compatible system # # This is for building a bootable neutrino image with a minimal # filesystem. (i.e. only what is in the image) # # Note that the default image links at 4M. If you have 4M or less, # uncomment the line below # [image=1m] # ########################################################################### [virtual=x86,bios +compress] boot = { startup-bios 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 # PATH=:/proc/boot:/bin:/usr/bin:/opt/bin:/sbin:/usr/sbin LD_LIBRARY_PATH=:/proc/boot:/lib:/usr/lib:/lib/dll:/opt/lib procnto -v } [+script] .script = { # Programs require the runtime linker (ldqnx.so) to be at a fixed location procmgr_symlink ../../proc/boot/libc.so.2 /usr/lib/ldqnx.so.2 display_msg Welcome to QNX Neutrino 6.3 on an x86 platform with Photon slogger & SYSNAME=nto TERM=qansi SHELL=/bin/sh 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 #setconf _CS_LIBPATH /proc/boot:/lib:/lib/dll /usr/photon/bin/Photon waitfor /dev/photon 10 display_msg Starting Font phfont -d /usr/photon/font_repository/ #waitfor /dev/phfont display_msg Starting Graphics #io-graphics -dsvga photon,xres=1024,yres=768,bitpp=16,refresh=60 -pphoton waitfor /dev/phfont 10 # Start up some consoles devc-con -n4 & reopen /dev/con1 display_msg Welcome to QNX Neutrino on an PC compatible BIOS system slogger & # devi-hirun ps2 mousedev kbd kbddev pwm & # Start the pci server seedres pci-bios & waitfor /dev/pci # Some common servers pipe & mqueue & devc-ser8250 -e & devc-pty & # Start a debug server for debugging programs waitfor /dev/ser1 [+session] pdebug /dev/ser1 & # These env variables inherited by all the programs which follow SYSNAME=nto TERM=qansi # Start some extra shells on other consoles reopen /dev/con2 [+session] sh & reopen /dev/con3 [+session] sh & # Start a high priority shell just in case.... reopen /dev/con4 [pri=25 +session] sh & # Start the main shell reopen /dev/con1 [+session] sh # [+session] login -p } # Cheat and make the /temp point to the shared memory area... [type=link] /tmp=/dev/shmem # Redirect console messages for syslog [type=link] /dev/console=/dev/ser1 [type=link] /proc/boot/font_repository=/proc/boot # We use the "c" shared lib (which also contains the runtime linker) libc.so # Just incase someone needs floating point... fpemu.so.2 # photon libs libph.so libAp.so libphexlib.so libm.so.2 libhiddi.so.1 # io-graphics libs gri-photon.so libphrender.so libgri.so libdisputil.so libffb.so # graphics driver devg-svga.so /etc/system/config/crtc-settings = /etc/system/config/crtc-settings /usr/photon/palette/default.pal = /usr/photon/palette/default.pal ## example pwm and bkgdmgr config /usr/photon/config/wm/wm.cfg = ${QNX_TARGET}/usr/photon/config/wm/wm.cfg ## NOTE: The values in wm.menu must be delimited by true TAB characters. /usr/photon/config/wm/wm.menu = { = Desktop Menu Terminal T pterm -fpcterm12 -g24x80 Calculator a phcalc_sm Rebound R rebound #- Shutdown... u shutdown } ## allow pwm and bkgdmgr to save their configuration to RAM, if the user changes it. [type=link] /.ph/wm = /dev/shmem # font libs /lib/dll/font/ttfFFcore.so = /lib/dll/font/ttfFFcore.so /lib/dll/font/PHFcore.so = /lib/dll/font/PHFcore.so /lib/dll/phfont.so=phfont.so /etc/system/config/crtc-settings = /etc/system/config/crtc-settings /usr/photon/palette/default.pal = /usr/photon/palette/default.pal /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/fontopts = /usr/photon/font_repository/fontopts /usr/photon/font_repository/fontext = /usr/photon/font_repository/fontext #/usr/photon/font_repository/fontdir = /phembedded/font_repository/fontdir /usr/photon/font_repository/fontmap = /phembedded/font_repository/fontmap [+raw] /usr/photon/bin/Photon =/usr/qnx632/target/qnx6/x86/usr/photon/bin/Photon [+raw] /usr/photon/bin/pwm = /usr/qnx632/target/qnx6/x86/usr/photon/bin/pwm [+raw] /usr/photon/bin/phfont = /usr/qnx632/target/qnx6/x86/usr/photon/bin/phfont ## font config #/usr/photon/font_repository/pcterm12.phf = ${QNX_TARGET}/usr/photon/font_repository/pcterm12.phf #/usr/photon/font_repository/pcterm14.phf = ${QNX_TARGET}/usr/photon/font_repository/pcterm14.phf #/usr/photon/font_repository/pcterm20.phf = ${QNX_TARGET}/usr/photon/font_repository/pcterm20.phf #/usr/photon/font_repository/phcursor.phf = ${QNX_TARGET}/usr/photon/font_repository/phcursor.phf #/usr/photon/font_repository/tt2001m_.ttf = ${QNX_TARGET}/usr/photon/font_repository/tt2001m_.ttf #/usr/photon/font_repository/tt2002m_.ttf = ${QNX_TARGET}/usr/photon/font_repository/tt2002m_.ttf #/usr/photon/font_repository/tt2003m_.ttf = ${QNX_TARGET}/usr/photon/font_repository/tt2003m_.ttf #/usr/photon/font_repository/tt2004m_.ttf = ${QNX_TARGET}/usr/photon/font_repository/tt2004m_.ttf #/usr/photon/font_repository/tt2009m_.ttf = ${QNX_TARGET}/usr/photon/font_repository/tt2009m_.ttf #/usr/photon/font_repository/tt2011m_.ttf = ${QNX_TARGET}/usr/photon/font_repository/tt2011m_.ttf #/usr/photon/font_repository/mappings = ${QNX_TARGET}/usr/photon/font_repository/mappings #/usr/photon/font_repository/fontkey = ${QNX_TARGET}/usr/photon/font_repository/fontkey /usr/photon/font_repository/fontdir = { ; ; fontdir config file ; phcursor,.phf,Photon Cursor,0,,E900-E921,Np,32x32,3K primasansbts,0@tt2001m_.ttf,PrimaSans BT,0,,0020-F002,MIp,133x129,75K primasansbtsi,0@tt2002m_.ttf,PrimaSans BT,0,I,0020-F002,MIp,134x129,77K primasansbtsb,0@tt2003m_.ttf,PrimaSans BT,0,B,0020-F002,MIp,143x130,70K primasansbtsbi,0@tt2004m_.ttf,PrimaSans BT,0,BI,0020-F002,MIp,145x129,81K primasansmonobts,0@tt2009m_.ttf,PrimaSansMono BT,0,,0020-F002,MIf,60x129,55K primasansmonobtsb,0@tt2011m_.ttf,PrimaSansMono BT,0,B,0020-F002,MIf,60x130,58K pcterm12,.phf,PC Terminal,12,,0000-00FF,Nf,6x12,13K pcterm14,.phf,PC Terminal,14,,0000-00FF,Nf,8x14,13K pcterm20,.phf,PC Terminal,20,,0000-00FF,Nf,10x19,18K } #/usr/photon/font_repository/fontext = { #; #; fontext config file #: #+normal = primasansbts, primasansmonobts, phcursor #} #/usr/photon/font_repository/fontmap = { #; #; fontmap config file #; #BalloonFont = primasansbts #FixedFont = primasansmonobts #HeadingFont = primasansbts #MenuFont = primasansbts #MessageFont = primasansbts #TextFont = primasansbts #TitleFont = primasansbts #Helvetica = primasansbts #Verdana = primasansbts #monospace = primasansmonobts #sans-serif = primasansbts #serif = primasansbts #web = primasansbts #arial = primasansbts #term = pcterm #geneva = primasansbts #monaco = primasansbts #ny = primasansbts #courier = primasansmonobts #dutch = primasansbts #swiss = primasansbts #times = primasansbts #wingbats = primasansbts #helv = primasansbts #ncen = primasansbts #time = primasansbts #? = primasansmonobts #} # input config /usr/photon/keyboard/en_US_101.kbd = /usr/photon/keyboard/en_US_101.kbd # The files above this line can be shared by mutiple processes [data=c] # Executables must currently be below this line # Include a console driver devc-con # Include pci server pci-bios seedres # Use the "public domain korn shell" as the default shell "sh" sh=ksh # or use the smaller non-posix "Fat Embedded Shell" as the default shell "sh" #sh=fesh # Other executables pdebug pipe mqueue devc-ser8250 devc-pty devi-hirun more shutdown ls cat pidin uname slogger sloginfo #phfont io-graphics [+raw] /usr/photon/bin/pterm = pterm [type=link] /.ph/pterm = /dev/shmem