there are support newsgroups (check out qnx.com for details) that are
maintained by qnx staff. comp.os.qnx is a user community forum mainly,
although everyone sniffs through.
in response to your question, there are several ways to go depending on
your environment.
some people put the neutrino runtime pieces in with the qnx4 runtime
pieces (all on 1 partition). this is okay, but i find it gets harder
when you need to customize inetd.conf files, password files etc.
what i prefer to do is to make another qnx4 partition with fdisk.
make it around 500M if you can. mine is set as type79 and my main qnx4
partition is type 77.
in order to use the partition for nto it needs to be mounted as /usr/nto
or a prefix must be made to the mount point that points it back to
/usr/nto.
e.g.
mount /dev/hd0t79 /usr/nto
or
if partition is already mounted as /x,
prefix -A /usr/nto=/x
you’ll need to do this everytime you boot qnx4 so you should
likely put this in your sysinit.
be sure to dinit the partition the first time you create it with fdisk
Now you can install the neutrino archives from the .F files. they will write
to /usr/nto on your separate partition.
once installed, if you cd to /usr/nto you should see all your platforms
(x86, ppcbe etc.) off the root of that mountpoint.
now you can make a build image in /usr/nto/x86/build that you can copy to
/usr/nto/.boot … then after you make the partition bootable with fdisk
you will be up and going in neutrino runtime.
here’s a build script i use … notice the links specific to the
platform
( e.g. [type=link] /bin=x86/bin )
###########################################################################
Neutrino on an PC BIOS compatible system
This is for building a bootable neutrino image that will run from its
own filesystem partition.
To do this make a t79 partition for neutrino, then “mount /dev/hd0t79 /usr/nto”
This build file will also mount t77 partitions as “/usr/qnx4”
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 -Nrhost1
PATH=/proc/boot:/x86/bin LD_LIBRARY_PATH=/proc/boot:/dev/shmem:/x86/lib:/x86/dll procnto
}
[+script] startup-script = {
Start up some consoles
devc-con -n4 &
reopen /dev/con1
display_msg Welcome to Neutrino on a PC compatible BIOS system … R1
Start the pci server
pci-bios &
waitfor /dev/pci
Disk drivers (The default one and some fun others for your pleasure…)
devb-eide blk automount=hd0t79:/,automount=hd0t77:/usr/qnx4 &
Wait for a bin for the rest of the commands (up to 60 secs)
waitfor /x86/bin 60
Some common servers
pipe &
mqueue &
devc-ser8250 &
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/con1
Programs require the runtime linker (ldqnx.so) to be at a fixed location
[type=link] /usr/lib/ldqnx.so.1=/proc/boot/libc.so.1
add symbolic links for bin and lib (files in /usr/nto. e.g. with devb-eide)
[type=link] /bin=x86/bin
[type=link] /lib=x86/lib
[type=link] /dll=x86/dll
[type=link] /sys=x86/sys
We use the “c” shared lib (which also contains the runtime linker)
libc.so
Just incase someone needs floating point…
fpemu.so
Include the socket library
libsocket.so
Include the hard disk files so we can access files on the disk
libcam.so
io-blk.so
filesystem required shared libs
cam-disk.so
fs-qnx4.so
cdrom required shared libs
cam-cdrom.so
fs-cd.so
The files above this line can be shared by multiple processes
[data=c]
Executables must currently be below this line
Include a console driver
devc-con
Include the disk drivers.
devb-eide
Include pci server
pci-bios
Beta <fprog@users.sourceforge.net> wrote:
I am one of the new Neutrino Beta Tester and I wanted to know
how to get a boot image from the uncompressed *.tar.F files available.
I read the documentation that comes with the Beta version,
I have the /usr/nto/nto installed properly, all the documentation in Photon,
but I can’t find yet where to get the information of how
to get a bootable Neutrino quickly up and running.
We have QNX 4.25 and the latest Beta Neutrino packages installed.
I heard that I need another partition is that true ?
Is it possible to boot to Neutrino using .altboot
instead or a new partition is really the only way to go ?
Could anyone tell me if there is a special NewsGroup
where to ask specific question related to Beta Neutrino
and where to get general help about Beta Neutrino ?
Thank you !
–
Randy Martin email: randy@qnx.com www.qnx.com
QNX Software Systems Ltd. QUICS: randy (613) 591-0934 (data)
(613) 591-0931 x287 (voice) mail: 175 Terence Matthews Cr
(613) 591-3579 (fax) Kanata, Ontario, Canada K2M 1W8