请教xtang先生,关于做photo的image(new)

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

请教xtang先生,关于做photo的image(new)

帖子sdzpq » 周一 6月 28, 2004 1:59 pm

xtang先生,我按照help里Photon embeded说明的作photo的image一步步做,但mkifs后的文件在有Diskonchip的主板机子启动时,没提示任何错误,但启动后不能显示我的应用程序,显示的是黑屏。另外我把需要配置的驱动等文件事先也拷贝到我的Diskonchip的主板机里了。不知问题出在哪里。我把.bld文件附上,请你看看:

[search=./:/boot/sys:/bin:/sbin:/usr/bin:/usr/sbin:/lib:/lib/dll:/usr/lib:/usr/dll]
[+compress]
[virtual=x86,bios] .bootstrap = {
startup-bios -Nmachine-name
PATH=/proc/boot:/bin:/sbin:/usr/bin:/usr/sbin:/usr/photon/bin LD_LIBRARY_PATH=/proc/boot:/dev/shmem:/lib:/lib/dll:/usr/lib:/usr/dll procnto
}
[+script] .script = {
# Start up some consoles
devc-con -n4 &
reopen /dev/con1
# Start the pci server
pci-bios &
waitfor /dev/pci

# DiskOnChip driver
devb-doc blk automount=hd0t79:/ &

# Wait for a bin for the rest of the commands (up to 60 secs)
waitfor /dev/hd0t79 60

# Some common servers
pipe &
mqueue &
devc-pty &


# These env variables inherited by all the programs which follow
SYSNAME=nto
TERM=vt100

HOME=/
PHOTON_PATH=/usr/photon


# 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 &

Photon &
on -w /dev/photon -W10

/usr/photon/bin/phfontFA -d /usr/photon/font_repository -j -s 300k &
on -w /dev/phfont -W10

io-graphics -g1024x768x16 -dldevg-svga.so &
sleep 2

/usr/photon/bin/devi-hirun kbd fd -d /dev/kbd msoft -R fd mousedev &
sleep 2

mytest &
# [+session] login -p
}

# Cheat and make the /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
[type=link] /usr/lib/libsocket.so.2=/proc/boot/libsocket.so

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

# Include the socket library
libsocket.so

# Include the disk files so we can access files on DiskOnChip
libcam.so
io-blk.so

# filesystem required shared libs
cam-disk.so
fs-qnx4.so
npm-qnet.so
npm-tcpip.so=/lib/dll/npm-tcpip-v4.so
devg-svga.so

[data=copy]

# Include a console driver
devc-con
waitfor
# Include DiskOnChip driver
devb-doc

ifconfig
io-net
ping

pipe
mqueue
devc-pty

# Include pci server
pci-bios
ls
pidin
shutdown
slay
mountcp
rm
sh=/bin/fesh
sync
sdzpq
New Member
 
帖子: 6
注册: 周一 6月 28, 2004 9:01 am

回到 四海同心QNX论坛

在线用户

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

cron