Home
Support

Knowledge Base

BSPs and drivers
Community resources
Product documentation
Questions?
Contact us

Make the boot sequence 'quiet'
 
________________________________________________________________________

Applicable Environment
________________________________________________________________________
  • Topic: Make the boot sequence 'quiet'
  • SDP: 6.5.0
  • Target: Any supported target
________________________________________________________________________

Solution
________________________________________________________________________

To quiet or silence the booting process quiet, you will need to customize the boot image and get rid of diskboot, which you should get rid of anyway as its made for generic booting and your boot sequence will likely be made much faster removing it.

Step 1. Remove the 'Press Esc' message.
================================

You can start with getting rid of the booting message: "Press Esc for alternate OS..........."

This can be done by using the dinit utility to replace the loader message. If you look at the dinit utility:

http://www.qnx.com/developers/docs/6.5.0/index.jsp?topic=/com.qnx.doc.neutrino_utilities/d/dinit.html

There is the '-m' option, where you can put your own message, for nothing just put a space.



Step 2. Silencing the rest of the boot sequence.
=====================================

The rest will a bit more involved. You will need to determine what drivers you are running on your target once it is booted up properly. Running 'pidin mem' will show you what is running and what shared libs they loaded. Running 'pidin args' will show you how those drivers and processes were started, the exception being anything that may have been mounted into a running process (i.e. io-pkt). With that information you will need to start to create your own boot image.

http://www.qnx.com/developers/docs/6.5.0/index.jsp?topic=/com.qnx.doc.neutrino_building/building_nto.html

For each driver that you launch, you can re-direct the output to /dev/null if you'd like.

E.g. my_app 2>/dev/null

The above redirects the output from stderr to /dev/null, however most of what you see on the screen is from diskboot anyway so it is not likely you will need to re-direct anything.

This is a time consuming process and it will easily take a day or more to fine tune.

________________________________________________________________________
NOTE: This entry has been validated against the SDP version listed above. Use caution when considering this advice for any other SDP version. For supported releases, please reach out to QNX Technical Support if you have any questions/concerns.
________________________________________________________________________


Related Attachments
 None Found





Please contact us with your questions or concerns.