哪位高人知道如何在doc上安装qnx?
哪位高人知道如何在doc上安装qnx?
哪位高人知道如何在doc上安装qnx?
能不能给讲一下大体的步骤啊?谢谢啦!
能不能给讲一下大体的步骤啊?谢谢啦!
如果你已经有安装好的DOC的话,就可以用DOC2000的Getmimg工具把做好的DOC的镜像文件保存起来,再使用Putmimg工具把此镜像烧到新的DOC中去
如果你是制作第一个具有QNX的DOC的话,按照下面的步骤进行;
1、制作一张QNX的启动软盘,在其*.build文件中需要包含下面一行,以便支持DOC。
devb-doc blk automount=hd0:/:qnx4 &
(对于什么是*.build文件,以及要它有什么用处,如果你不知道的话就需要参考QNX的《Building Embedded Systems》一书中的《Ch. 2: Making an OS Image》一节。)
2、用这张软盘启动带有DOC的机器后用dinit -h /dev/hd0 命令来初始化DOC盘。
3、制作DOC的.boot文件。也就是启动镜像文件。用mkifs工具。其中需要用到的build文件大致如下:
[virtual=x86,bios +compress] boot = {
startup-bios -s 64k
}
[+script] startup-script = {
# Start up some consoles
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/lib:/lib/dll:/boot/sys:/proc/boot:.
SYSNAME=nto
TERM=qansi
devc-con &
reopen /dev/con1
display_msg QNX boots on DOC
devb-doc blk automount=hd0:/:qnx4 &
devc-pty &
waitfor /dev/hd0 10
io-net -dne2000 -ptcpip
waitfor /dev/socket 10
[+session] sh -l
}
# 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/con1
# 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] /proc/boot/libcam.so.2=/proc/boot/libcam.so
# We use the "c" shared lib (which also contains the runtime linker)
libc.so
libcam.so
io-blk.so
cam-disk.so
fs-qnx4.so
libsocket.so
devn-ne2000.so
npm-tcpip.so
fpemu.so.2
# 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
pci-bios
seedres
sh=ksh
# Other executables
如果你是制作第一个具有QNX的DOC的话,按照下面的步骤进行;
1、制作一张QNX的启动软盘,在其*.build文件中需要包含下面一行,以便支持DOC。
devb-doc blk automount=hd0:/:qnx4 &
(对于什么是*.build文件,以及要它有什么用处,如果你不知道的话就需要参考QNX的《Building Embedded Systems》一书中的《Ch. 2: Making an OS Image》一节。)
2、用这张软盘启动带有DOC的机器后用dinit -h /dev/hd0 命令来初始化DOC盘。
3、制作DOC的.boot文件。也就是启动镜像文件。用mkifs工具。其中需要用到的build文件大致如下:
[virtual=x86,bios +compress] boot = {
startup-bios -s 64k
}
[+script] startup-script = {
# Start up some consoles
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/lib:/lib/dll:/boot/sys:/proc/boot:.
SYSNAME=nto
TERM=qansi
devc-con &
reopen /dev/con1
display_msg QNX boots on DOC
devb-doc blk automount=hd0:/:qnx4 &
devc-pty &
waitfor /dev/hd0 10
io-net -dne2000 -ptcpip
waitfor /dev/socket 10
[+session] sh -l
}
# 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/con1
# 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] /proc/boot/libcam.so.2=/proc/boot/libcam.so
# We use the "c" shared lib (which also contains the runtime linker)
libc.so
libcam.so
io-blk.so
cam-disk.so
fs-qnx4.so
libsocket.so
devn-ne2000.so
npm-tcpip.so
fpemu.so.2
# 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
pci-bios
seedres
sh=ksh
# Other executables
代码: 全选
devb-doc
devc-pty
io-net
-
- Senior Member
- 帖子: 852
- 注册时间: 周五 9月 12, 2003 4:24 am