Hi,
I use the following build file but it doesn’t work as I expect!
[virtual=x86,bios +compress ] boot = {
startup-bios
PATH=.:/proc/boot:/bin:/usr/sbin:/usr/bin:/x86/bin:/x86/sbin:/x86/usr/photon/bin/sbin
LD_LIBRARY_PATH=/proc/boot:/lib:/usr/lib:/lib/dll:/x86/usr/lib procnto
}
[+script] startup-script = {
display_msg Booting Neutrino on Pentium
These env variables inherited by all the programs which follow
SYSNAME=nto
TERM=qansi-m
PATH=.:/proc/boot:/bin:/usr/bin:/x86/bin:/x86/sbin:/x86/usr/photon/bin:/usr/local/bin:/sbin
LD_LIBRARY_PATH=.:/opt/lib:/proc/boot:/lib:/usr/lib:/lib/dll:/x86/usr/lib:/usr/photon/lib:/usr/local/lib:/usr/photon/dll
PROCESSOR=x86
HOSTNAME=estape_qrtp_2
PHOTON_PATH=/usr/photon
PHOTON2_PATH=/usr/photon
display_msg “”
Remap IRQs to use Estape Board
display_msg Remap Network and IEEE1394 IRQs to use Estape Board
iniEst -IRQ:11 -CKPENTIUM -v
Montage du disque IDE
devb-eide blk automount=hd0t77:/ qnx4&
waitfor /dev/hd0t77
display_msg Montage partition QNX
waitfor /boot/fs 10
mount /boot/fs/qnxbase.qfs /pkgs/base
waitfor /pkgs/base 10
waitfor /etc/system/package/packages 10
Start file system packager
display_msg Start file system packager
fs-pkg
Start pipe
waitfor /sbin/pipe
pipe &
Lancement du serveur PCI
display_msg Start PCI server
seedres
pci-bios
waitfor /dev/pci 10
Start ethernet driver
display_msg Start ethernet driver
io-net -dpcnet -p tcpip
waitfor /dev/socket
netmanager
Fix error 13 on phrelay connection
display_msg Start font server
/usr/photon/bin/phfont &
Telnet server initialisation…
display_msg Start Internet Server
inetd &
Serial link driver
display_msg Start serial link driver 9600b
devc-ser8250 -b 9600 &
Start rc.local
display_msg Start /etc/rc.local
waitfor /bin/sh 5
/bin/sh /etc/rc.d/rc.local
Start shell devc-con
devc-con -e &
waitfor /dev/con1 5
reopen /dev/con1
#[+session] /bin/sh &
[+session] login -p
tinit
}
Cheat and make the /temp point to the shared memory area…
#[type=link] /tmp=/dev/shmem
Information file
readme = {
This image is for use with hard disk.
(c) Centralp Automatismes 2002.
}
Programs require the runtime linker (ldqnx.so) to be at a fixed location
[type=link] /usr/lib/libc.so=/proc/boot/libc.so.2
[type=link] /usr/lib/ldqnx.so.2=/proc/boot/libc.so.2
#[type=link] /usr/lib/libcam.so.1=/proc/boot/libcam.so.1
We use the “c” shared lib (which also contains the runtime linker)
libc.so.2
libcam.so
cam-disk.so
io-blk.so
fs-qnx4.so
The files above this line can be shared by mutiple processes
[data=copy]
Executables must currently be below this line
#diskboot
devb-eide
mount
devc-con
ls
fs-pkg
slogger
seedres
pci-bios
esh
/usr/DemoCentralp/tools/iniEst
1- I don’t want to set HOSTNAME like that; I’d like to set it from
/etc/net.cfg!
2- I start phfont to prevent “connection error 13” in phditto but I
still get it!
3- If I try to telnet this node, I get “telnetd: all network ports in use”!
cheers
Alain.