Below is my build file
Aaron
[virtual=x86,bios +compress] boot = {
startup-bios
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:./
LD_LIBRARY_PATH=/lib:/lib/dll:/usr/lib procnto
}
[+script] startup-script = {
devc-con -n4 &
reopen /dev/con1
display_msg Welcome to Neutrino on an PC compatible BIOS system
These env variables inherited by all the programs which follow
HOME=/
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:./
LD_LIBRARY_PATH=/lib:/lib/dll:/usr/lib
HOSTNAME=pc104
PROCESSOR=x86
SYSNAME=nto
LOGNAME=root
TERM=qansi
Start the pci server
pci-bios &
waitfor /dev/pci
Serial port (UART)
devc-ser8250 &
waitfor /dev/ser1
io-net -ptcpip -dspeedo
waitfor /dev/io-net/en0
ifconfig en0 192.168.0.150 up
devb-eide
waitfor /dev/hd0t79
mount /dev/hd0t79 /
Some common servers
pipe &
mqueue &
devc-pty &
These env variables inherited by all the programs which follow
SYSNAME=nto
TERM=qansi
Start the main shell
[+session] sh
[+session] login -p
}
[type=link] /dev/console=/dev/con1
[type=link] /usr/lib/ldqnx.so.2=/lib/libc.so
[type=link] /bin/sh=esh
[type=link] /tmp=/dev/shmem
[prefix=/lib]
libc.so
libm.so
libcam.so
libsocket.so
[prefix=/lib/dll]
fpemu.so.2
io-blk.so
cam-disk.so
fs-qnx4.so
fs-dos.so
[prefix=/lib/dll]
devn-speedo.so
npm-tcpip.so
npm-pppmgr.so
[data=c]
/etc/esh = {
export PATH=/bin:/usr/bin:/sbin:/usr/sbin:./
export LD_LIBRARY_PATH=/lib:/lib/dll
}
esh
pidin
ls
ln
cp
chmod
mkdir
rm
echo
mount
shutdown
netstat
nicinfo
stty
slay
login
logout
[code=u data=c prefix=/usr/bin]
io-net
ifconfig
inetd
telnet
ftp
ftpd
telnetd
sleep
fs-nfs2
mount
umount
route
ping
qtalk
io-net
[code=u data=c prefix=/usr/sbin]
devc-con
io-net
devc-pty
devc-ser8250
pci-bios
pppd
[code=u data=c prefix=/sbin]
devb-eide
dinit
fdisk
[code=u data=c prefix=/etc]
/etc/hosts = {
#
# Host Database
#
127.1 localhost.localdomain localhost
}
/etc/passwd = {
root:x:0:0:Superuser:/root:/bin/sh
user:x:101:100::/home/user:/bin/sh
}
/etc/shadow = {
root:7UgX8oG8/gbw2:976032752:0:0
user:2Wi7ZbbvCL8Ck:976032765:0:0
}
../inetd.conf = {
# @(#)inetd.conf 1.23 90/01/03 SMI
#
# Configuration file for inetd.
#
# To re-configure the running inetd process, edit this file, then
# send the inetd process a SIGHUP.
#
#
# Internet services syntax:
# <service_name> <socket_type> <proto> <flags> <user> <server_pathname>
<args>
#
# Time service is used for clock syncronization.
#
time stream tcp nowait root internal
time dgram udp wait root internal
#
# Ftp and telnet are standard Internet services.
#
ftp stream tcp nowait root /bin/ftpd in.ftpd -l
telnet stream tcp nowait root /bin/telnetd in.telnetd -Q
#
# Neutrino specific services
#
pidin stream tcp nowait root /bin/pidin pidin
pidinmem stream tcp nowait root /bin/pidin pidin mem
pidinarg stream tcp nowait root /bin/pidin pidin arg
pidinenv stream tcp nowait root /bin/pidin pidin env
pidinsig stream tcp nowait root /bin/pidin pidin sig
#
# Echo, discard, daytime, and chargen are used primarily for testing.
#
echo stream tcp nowait root internal
echo dgram udp wait root internal
discard stream tcp nowait root internal
discard dgram udp wait root internal
daytime stream tcp nowait root internal
daytime dgram udp wait root internal
chargen stream tcp nowait root internal
chargen dgram udp wait root internal
}
/etc/services = {
#
# Network services, Internet style
#
# @(#)services 5.8 (Berkeley) 5/9/91
#
echo 7/tcp
echo 7/udp
discard 9/tcp sink null
discard 9/udp sink null
systat 11/tcp users
daytime 13/tcp
daytime 13/udp
netstat 15/tcp
qotd 17/tcp quote
chargen 19/tcp ttytst source
chargen 19/udp ttytst source
ftp 21/tcp
telnet 23/tcp
smtp 25/tcp mail
time 37/tcp timserver
time 37/udp timserver
rlp 39/udp resource # resource location
nameserver 42/tcp name # IEN 116
whois 43/tcp nicname
domain 53/tcp nameserver # name-domain server
domain 53/udp nameserver
mtp 57/tcp # deprecated
# Bootp experimental (sellgren@vangogh)
bootp 67/udp bootps # bootp server
bootpc 68/udp # bootp client
#
tftp 69/udp
rje 77/tcp netrjs
finger 79/tcp
link 87/tcp ttylink
supdup 95/tcp
hostnames 101/tcp hostname # usually from sri-nic
tsap 102/tcp # part of ISODE.
#csnet-cs 105/?
pop 109/tcp postoffice
pop3 110/tcp
sunrpc 111/tcp
sunrpc 111/udp
auth 113/tcp authentication
sftp 115/tcp
uucp-path 117/tcp
nntp 119/tcp readnews # Network News Transfer Protocol
ntp 123/udp # Network Time Protocol
snmp 161/udp
snmp-trap 162/udp
#
# UNIX specific services
#
exec 512/tcp
biff 512/udp comsat
login 513/tcp
who 513/udp whod
shell 514/tcp cmd # no passwords used
syslog 514/udp
printer 515/tcp spooler # line printer spooler
talk 517/udp
ntalk 518/udp
route 520/udp router routed
timed 525/udp timeserver
tempo 526/tcp newdate
courier 530/tcp rpc
conference 531/tcp chat
netnews 532/tcp readnews
netwall 533/udp # -for emergency broadcasts
uucp 540/tcp uucpd # uucp daemon
remotefs 556/tcp rfs_server rfs # Brunhoff remote filesystem
ingreslock 1524/tcp
#
# Neutrino specific services
#
pidin 557/tcp nto_pid_info # Neutrino system information
pidinmem 558/tcp
pidinarg 559/tcp
pidinenv 560/tcp
pidinsig 561/tcp
#
# Kerberos (Project Athena/MIT) services
#
kerberos 750/udp kdc # Kerberos (server) udp
kerberos 750/tcp kdc # Kerberos (server) tcp
krbupdate 760/tcp kreg # Kerberos registration
kpasswd 761/tcp kpwd # Kerberos "passwd"
klogin 543/tcp # Kerberos rlogin
eklogin 2105/tcp # Kerberos encrypted rlogin
kshell 544/tcp krcmd # Kerberos remote shell
tcpmux 1/tcp # rfc-1078
message 18/tcp
message 18/udp
ftp-data 20/tcp
fsp 21/udp fspd
gopher 70/tcp
http 80/tcp www
hostnames 101/tcp hostname # usually to sri-nic
x400 103/tcp # ISO Mail
x400-snd 104/tcp
sunrpc 111/tcp portmap
sunrpc 111/udp portmap
ntp 123/tcp # Network Time Protocol
netbios-ns 137/udp # NETBIOS Name Server
netbios-dgm 138/udp # NETBIOS Datagram Service
netbios-ssn 139/udp # NETBIOS Session Service
netbios-ssn 139/tcp
NeWS 144/tcp news # Window System
snmp 161/udp # network management
dirsrv 1525/udp
nfsd 2049/tcp
nfsd 2049/udp
webster 2627/tcp
infleet 5999/tcp
xserver 6000/tcp
irc 6667/tcp
phrelay 4868/tcp
phrelaydbg 4869/tcp
phindemo 4870/tcp
socks 1080/tcp
timesrv 22375/tcp # time server process - RES
althttp 25080/tcp # alternate www port
dir_svc 33333/tcp
}
/usr/lib/terminfo/q=/usr/lib/terminfo/q
"Hardware Support Account" <hw@qnx.com> wrote in message
news:9ra8fu$bp3$1@nntp.qnx.com...
[quote]What does you build file look like?
Regards,
Joe
Aaron Burns <aburns@searobotics.com> wrote:
Hi all,
I have read (and reread) the excellent developer's article "Making
buildfiles for the QNX RTOS" and I cannot seem to boot 6.1 from a
floppy.
Here is what I have done:
1. created an my.ifs per the instructions
2. fdformat /dev/fd0
3. dinit /dev/fd0 /fd
4. mount /dev/fd0 /fd0
5. cp my.ifs /fd0/.boot
When I stick this floppy in a PC, I get the "Hit Esc for .altboot" and
then
nothing after that. No dots or spinning slashes.
Interestingly, under windows, I can create an install floppy from the
RTP
6.1 install cd. If I copy my .boot file from above to this disk, it
boots
up properly. It would seem I am missing some crucial step in the
creation
of a boot floppy.
Any ideas?
Aaron
[/quote]