求助:在镜象中加载Photon

中文QNX 讨论: 欢迎大家灌水,讨论有关QNX 问题。

求助:在镜象中加载Photon

帖子wbn » 周五 11月 25, 2005 8:09 pm

麻烦各位高手帮忙看下我的.bld文件出错在哪里
加载镜象的时候提示unable to access /dev/photon
gri-photon.so devg-svga.so也加载不了

[virtual=x86,bios] .bootstrap = {
startup-bios
PATH=/proc/boot:/bin LD_LIBRARY_PATH=/proc/boot:/lib:/dll procnto
}
[+script] .script = {
#Start up some consoles
PATH=/sbin:/usr/sbin:/bin:/proc/boot:/usr/bin:/usr/photon/bin:/usr/photon:/lib:/lib/dll LD_LIBRARY_PATH=/lib/dll:/proc/boot:/usr/lib:/lib
PHOTON_PATH=/usr/photon:/usr/photon/bin PHOTON=/dev/photon PHFONT=/dev/phfont

DL_DEBUG=1

SYSYNAME=nto
TERM=qansi

display_msg starting pci-bios
seedres
pci-bios &
waitfor /dev/pci 10

display_msg starting devc-con
devc-con &
reopen /dev/con1

display_msg QNX booting from HDD0
devb-eide blk automount=hd0t77:/:qnx4 eide &
display_msg waitfor /bin 10sec
waitfor /dev/hd0 10 #还有这个地方有的文件里面是waitfor /x86,这是什么意思

display_msg starting devc-pty
devc-pty &

devc-con -n1
waitfor /dev/con1
reopen /dev/con1

#session:
# [+session pri=10o] PATH=/proc/boot:/usr/bin:/usr/photon/bin:/usr/photon LD_LIBRARY_PATH=/proc/boot:/usr/lib:/lib:/lib/dll
#PHOTON_PATH=/usr/photon:/usr/photon/bin PHOTON=/dev/photon PHFONT=/dev/phfont

display_msg Welcome to Neutrino! Starting Photon...
# PHOTON_PATH=/usr/photon:/usr/photon/bin PHOTON=/dev/photon PHFONT=/dev/phfont
# invoke Photon server:
/usr/photon/bin/Photon &
waitfor /dev/photon 20

# invoke font server:
/usr/photon/bin/phfontFF -d /usr/photon/font_repository
waitfor /dev/phfont 20

# start input driver, setup mouse and keyboard:
/usr/photon/bin/inputtrap start

# start graphics driver devg-svga.so:
/usr/photon/bin/io-graphics -g640x480x8 -dldevg-svga.so

# start window manager:
/usr/photon/bin/pwm &

# start applications:
phcalc_sm &
}

# make /tmp point to the shared memory area
[type=link] /tmp=/dev/shmem

# Programs require the runtime linker (ldqnx.so) to be at
# a fixed location
[type=link] /usr/lib/ldqnx.so.2=/proc/boot/libc.so.2

# Add for HD support
[type=link] /usr/lib/libcam.so=/proc/boot/libcam.so

# add symbolic links for bin, dll, and lib
# (files in /x86 with devb-eide)
[type=link] /bin=x86/bin
[type=link] /dll=x86/lib/dll
[type=link] /lib=x86/lib

# We use the C shared lib (which also contains the runtime linker)
libc.so.2

# Just in case someone needs floating point and our CPU doesn't
# have a floating point unit
fpemu.so.2

# Include the hard disk shared objects so we can access the disk
libcam.so
io-blk.so

# For the QNX 4 filesystem
cam-disk.so
fs-qnx4.so

seedres
pci-bios
devc-pty
# Copy code and data for all executables after this line
[data=c]

# Include a console driver, shell, etc.
devc-con
devb-eide

# Photon files:
/usr/photon/bin/Photon=/usr/photon/bin/Photon
/usr/photon/bin/phfontFF=/usr/photon/bin/phfontFF
/lib/dll/devg-svga.so=/lib/dll/devg-svga.so
/lib/dll/gri-photon.so=/lib/dll/gri-photon.so
/usr/photon/bin/io-graphics=/usr/photon/bin/io-graphics
/usr/photon/bin/pwm=/usr/photon/bin/pwm
/usr/photon/bin/devi-hirun=/usr/photon/bin/devi-hirun
/usr/photon/keyboard/en_US_101.kbd=/usr/photon/keyboard/en_US_101.kbd

/usr/photon/bin/inputtrap=/usr/photon/bin/inputtrap

#the following files r needed by io-graphics
/usr/lib/libffb.so.2=/usr/lib/libffb.so.2
/usr/lib/libphrender.so.2=/usr/lib/libphrender.so.2
/usr/lib/libgri.so.2=/usr/lib/libgri.so.2
/usr/lib/libdisputil.so.2=/usr/lib/libdisputil.so.2
/usr/lib/libphexlib.so.2=/usr/lib/libphexlib.so.2
/usr/lib/libAp.so.2=/usr/lib/libAp.so.2
/usr/lib/libph.so.2=/usr/lib/libph.so.2
/usr/lib/libm.so.2=/lib/libm.so.2

# Font libraries and fonts:
/lib/dll/phfont.so=/lib/dll/phfont.so
/lib/libblkcache.so=/lib/libblkcache.so
/lib/libFF-T2K-cache.so=/lib/libFF-T2K-cache.so
/lib/libFF-T2K.so=/lib/libFF-T2K.so
/usr/photon/font_repository=./photon/font_repository
/etc/photon/pnpmouse=/etc/photon/pnpmouse

# Applications:
[+raw]/usr/photon/bin/phcalc_sm
wbn
Senior Member
 
帖子: 97
注册: 周四 10月 21, 2004 3:22 pm

回到 四海同心QNX论坛

在线用户

正在浏览此版面的用户:没有注册用户 和 2 位游客