Skip navigation.
Home
The QNX Community Portal

View topic - Query on boot loader

Query on boot loader

For discussion of realtime and/or embedded programming.

Query on boot loader

Postby garyritu » Wed Jul 15, 2009 9:04 am

Hi All,
I am working on an embedded device, which is running on QNX6.4 and i need to do some custom changes on to boot load. Please provide the answers for few questions related to boot loader.

1. How to determine total boot time in QNX os??
2. How to load few pre configured applications in QNX??
sysinit file from /etc/system path can solve my problem or not ??
3. How to put any logo image during initialization of boot up? After running first application logo goes away.
4. A progress bar of boot process need to be displayed on screen based on operations in boot up.
garyritu
Active Member
 
Posts: 58
Joined: Fri May 22, 2009 7:09 am

Re: Query on boot loader

Postby mario » Wed Jul 15, 2009 12:21 pm

garyritu wrote:Hi All,
I am working on an embedded device, which is running on QNX6.4 and i need to do some custom changes on to boot load. Please provide the answers for few questions related to boot loader.

1. How to determine total boot time in QNX os??


With a stopwatch.

garyritu wrote: 2. How to load few pre configured applications in QNX??
sysinit file from /etc/system path can solve my problem or not ??


Not sure what you mean by few pre configured. The best way to speed up is to write your own image ( .boot ) and own startup scripts. That way you get total control over what is going on. If you want even more control and speed you can write your own IPL that bypass the bios. Check out:
http://www.youtube.com/watch?v=yTUweJKAUfk

garyritu wrote: 3. How to put any logo image during initialization of boot up? After running first application logo goes away.


In the image ( .boot ), as early as possible, start a program that display the logo.

garyritu wrote: 4. A progress bar of boot process need to be displayed on screen based on operations in boot up.


The program that display the logo could be setup to also handle a message that would control a progress bar. During the startup a program would send a message to the progress bar program to info of the progress. I guess this could also be possible with some fancy control of the cursor and ESC sequence to write a progress bar all from the shell.
mario
QNX Master
 
Posts: 4132
Joined: Sun Sep 01, 2002 1:04 am

RE: Re: Query on boot loader

Postby garyritu » Wed Jul 15, 2009 12:38 pm

Hi Mario,
I can not use stop watch for boot time. I need a method in system, which tell boot up time ???
garyritu
Active Member
 
Posts: 58
Joined: Fri May 22, 2009 7:09 am

RE: Re: Query on boot loader

Postby mario » Wed Jul 15, 2009 1:12 pm

It was a joke.

Do you want to know when the machine booted? If so pidin info will tell you.

Or how much time it took to boot? you can use data -t to get the time in seconds and do the math.
mario
QNX Master
 
Posts: 4132
Joined: Sun Sep 01, 2002 1:04 am


Return to Realtime and Embedded

Who is online

Users browsing this forum: Bing [Bot] and 2 guests