OpenQNX :: The QNX Community Portal

Aug 21, 2008 - 06:25 AM
Google
  Web openqnx.com   
     Create an account Home · Submit News · QNX Forums · QNX Download · Search   
_
Main Menu
Who's Online
There are 43 unlogged users and 0 registered users online.

You can log-in or register for a user account here.

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
yyd_iris
Post subject: How to *not* start photon and other hardware drivers?  PostPosted: Jun 23, 2007 - 06:25 PM
Active Member


Joined: Jun 12, 2007
Posts: 46

Hi,

I am trying to reduce the uncessary processes runing the QNX 6.3 system. I have a few question.

1. How can I enter text mode only, without Photon? Currently the system starts Photon automatically after reboots.

2. How can I *not* loading certain hardware drivers after reboots? For example,
a. io-audio, : audio
b. devc-ser8250:
c. devc-par : Parallel port manager
d. devb-fdc : floppy
e. spooler : printer?

3. How can I change timer interrupt priority? In both command line and codes.
I assume the timer interrupt has priority of 0, the lowest one?

Thanks!

Iris
 
 View user's profile Send private message  
Reply with quote Back to top
Steve Reid
Post subject: Re: How to *not* start photon and other hardware drivers?  PostPosted: Jun 25, 2007 - 08:48 PM
Guest





yyd_iris <yyd_iris@yahoo-dot-com.no-spam.invalid> wrote:
Quote:
Hi,

I am trying to reduce the uncessary processes runing the QNX 6.3
system. I have a few question.

1. How can I enter text mode only, without Photon? Currently the
system starts Photon automatically after reboots.

Just create /etc/system/config/nophoton on your machine. It can be an
empty file:

touch /etc/system/config/nophoton

Quote:
2. How can I *not* loading certain hardware drivers after reboots? For
example,
a. io-audio, : audio
b. devc-ser8250:
c. devc-par : Parallel port manager
d. devb-fdc : floppy
e. spooler : printer?

If you're using diskboot, a lot of the device detection takes place
automatically. You can add an /etc/system/enum/overrides file to
change this. You can also use a buildfile to specify exactly how you
want your machine to start. See the Controlling How Neutrino Starts
chapter of the Neutrino User's Guide, as well as the Building Embedded
Systems guide.

Quote:
3. How can I change timer interrupt priority? In both command line and
codes.
I assume the timer interrupt has priority of 0, the lowest one?

Someone else will have to help you with this question.


------------------------------------------
Steve Reid stever@qnx.com
Technical Editor
QNX Software Systems
------------------------------------------
 
   
Reply with quote Back to top
maschoen
Post subject: RE: Re: How to *not* start photon and other hardware drivers  PostPosted: Jun 26, 2007 - 04:21 PM
QNX Master


Joined: Jun 25, 2003
Posts: 1058

My recollection of the interrupt controllers is that you choose one interrupt to have the highest priority, and the rest are in line.
The timer interrupt is interrupt 0, are you confused about this? I also suspect that it has the highest priority by default.
There is some potential for confusion related to the fact that there are two interrupt controllers. The one that handles interrupts
8-15 (the slave) is chained into interrupt 2 the master. Both of these can have their interrupt priorities set. You can see however that with
interrupt 0 being the highest on the master, interrupts 8-15 will be higher than 3-7.

QNX 4 used to have a proc parameter to set these. I don't how or if QNX 6 lets you do it.
 
 View user's profile Send private message Send e-mail Visit poster's website  
Reply with quote Back to top
David Gibbs
Post subject: Re: How to *not* start photon and other hardware drivers  PostPosted: Jul 05, 2007 - 04:59 PM
Guest





maschoen <maschoen@pobox-dot-com.no-spam.invalid> wrote:
Quote:
My recollection of the interrupt controllers is that you choose one
interrupt to have the highest priority, and the rest are in line.
The timer interrupt is interrupt 0, are you confused about this? I
also suspect that it has the highest priority by default.

This is correct. (While under QNX 4, interrupt 3 was highest by
default.)

Quote:
QNX 4 used to have a proc parameter to set these. I don't how or if
QNX 6 lets you do it.

startup-bios has the (not yet documented) -I option to set it.

-David Gibbs
--
David Gibbs
QNX Training Services
dagibbs@qnx.com
 
   
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
All logos and trademarks in this site are property of their respective owners. The comments are property of their posters.
Powered by OpenQNX: The QNX Community Portal Site
QNX and the QNX logo are registered trademarks of QNX Software Systems.