boot image requirements

Hi
I’m trying to get my application to run out
of the boot image. (In order to speed up
boot time)

The application uses serial ports.
I’ve included the following in the build file:
Proc32
slib32
slib16
Fsys
Dev32
Dev32.ser
my-app

However, the app has a problem opening /dev/ser1,
“no such file or directory”

What am I missing?

acellarius@yahoo.com wrote:

I’m trying to get my application to run out
of the boot image. (In order to speed up boot time)
However, the app has a problem opening /dev/ser1,
“no such file or directory”

All processes in the boot image are made runnable immediately,
so it is quite likely that Dev and Dev.ser have not completed
their initialisation/hardware probing by the time your application
gets to run (so /dev/ser pathnames not put up yet). Your app
will probably have to poll on such things (fileystem paths too);
for example “mount” spins on waiting for /dev/hdX to appear for
when it is put into the boot image to mount a disk-boot system.

John Garvey wrote:

All processes in the boot image are made runnable immediately,
so it is quite likely that Dev and Dev.ser have not completed
their initialisation/hardware probing by the time your application
gets to run (so /dev/ser pathnames not put up yet). Your app
will probably have to poll on such things (fileystem paths too);
for example “mount” spins on waiting for /dev/hdX to appear for
when it is put into the boot image to mount a disk-boot system.

Thanks-will give it a try!