I was wondering how “fast” should one expect a non-gui version
of Neutrino to boot. I realize the PC bios is going to take a few
seconds, but I’m seeing about a 10 second pause after starting
devb-eide before it can access any files in the file system. This
is on a compact flash chip with an ide interface. (Is that the
real problem?)
I’ve tried passing various parameters to devb-eide without any
perceived speed increase. Have I missed something obvious?
Here is the simple build file:
###########################################################################
Neutrino on an x86 BIOS PC
This is for building a bootable neutrino image with a minimal
filesystem. (i.e. only what is in the image)
###########################################################################
[virtual=x86,bios +compress] .bootstrap = {
startup-bios
PATH=/proc/boot:/bin LD_LIBRARY_PATH=/proc/boot:/lib:/dll procnto
}
[+script] startup-script = {
Start up some consoles
devc-con -n4 &
reopen /dev/con1
display_msg Welcome to Neutrino on x86.
Start the PCI BIOS support
pci-bios &
waitfor /dev/pci 15000
Start the filesystem
devb-eide cam quiet blk automount=hd0t77:/,cache=256k,ncache=0 &
waitfor /dev/hd0t77 15000
Start the main shell
reopen /dev/con1
[+session] sh
}
Cheat and make the /temp 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.1=/proc/boot/libc.so.1
[type=link] /proc/boot/libcam.so.1=/proc/boot/libcam.so
We use the “c” shared lib (which also contains the runtime linker)
libc.so
libm.so
The files above this line can be shared by mutiple processes
Executables must currently be below this line
[data=c]
sh=esh
Other executables
devc-con
pci-bios
devb-eide
cam-disk.so
fs-qnx4.so
fs-dos.so
io-blk.so
libcam.so
Thanks!
Kevin Radke
