Is it accessible from within the image? If in it’s the filesystem (as oppose to being in the image), then I believe display_msg is performed prior to the file system being mounted. Hence at that point /root/workspace does not exists.
Oh, it’s a case of I’m trying something but I haven’t read the documentation
You don’t really check if Hello is accessible because you are in control (you will be after you read the documentation). You can include the Hello executable in the image (see list of file at bottom of the build file) or you can but it in the file system. If it’s in the image, you can start Hello as soon as all the drivers/resources required by Hello are started. For example if Hello talks to the serial port you must start it AFTER the serial port driver is started.
If Hello is in the filesystem you must start it AFTER the filesystem is started, which in the default build file is the diskboot command.
As for how long it takes for the file system, that’s hard to say, because it depends on the build file and your hardware. Can take from almost instanteneous to 30 secondes.
Thank you for your reply. I am not sure if the I have included Hello in the filesystem or in the image. Is a filesystem found inside an image? What is the difference?
A copy of the my boot script is as below.
How you do put Hello in the image?
Does the build file automatically search for Hello and include it the image when mkifs is run?
Or do we need to copy Hello onto the CF card (target), eg, using a command like :
cp /root/workspace/Hello/x86/o/Hello /fs/cf ??
=====================
[+script] .script ={
Start up some consoles
devc-con -n4 &
reopen /dev/con1
display_msg Welcome to Neutrino on an PC compatible BIOS system
Start the pci server
seedres
pci-bios &
waitfor /dev/pci
Disk drivers (The default one and some fun others for your pleasure…)
What you’re making is an image OS filesystem. In the buildfile you write the applications/libraries your image needs. If you have a custom one like “Hello”,and you want to test it in your system, just add to the program list of your buildfile ‘/root/workspace/Hello’, and when yor system has started, run it.