2006-08-15 01:11:12

by James C Georgas

[permalink] [raw]
Subject: vga text console

I can't seem to remove the VGA text console from my kernel
configuration. Can someone please enlighten me?


2006-08-15 01:22:15

by Antonino A. Daplas

[permalink] [raw]
Subject: Re: vga text console

On Mon, 2006-08-14 at 21:11 -0400, James C Georgas wrote:
> I can't seem to remove the VGA text console from my kernel
> configuration. Can someone please enlighten me?

You can't. It is always part of the kernel (for X86 at least). What's
your intention?

Tony


2006-08-15 01:26:43

by Antonino A. Daplas

[permalink] [raw]
Subject: Re: vga text console

On Tue, 2006-08-15 at 09:22 +0800, Antonino A. Daplas wrote:
> On Mon, 2006-08-14 at 21:11 -0400, James C Georgas wrote:
> > I can't seem to remove the VGA text console from my kernel
> > configuration. Can someone please enlighten me?
>
> You can't. It is always part of the kernel (for X86 at least). What's
> your intention?

And correcting myself, you can configure out vgacon, but you have to
define CONFIG_EMBEDDED, and undefine CONFIG_VT.

Tony


2006-08-15 01:41:10

by James C Georgas

[permalink] [raw]
Subject: Re: vga text console

On Tue, 2006-15-08 at 09:26 +0800, Antonino A. Daplas wrote:
> On Tue, 2006-08-15 at 09:22 +0800, Antonino A. Daplas wrote:
> > On Mon, 2006-08-14 at 21:11 -0400, James C Georgas wrote:
> > > I can't seem to remove the VGA text console from my kernel
> > > configuration. Can someone please enlighten me?
> >
> > You can't. It is always part of the kernel (for X86 at least). What's
> > your intention?

I want to write my own VGA text console driver.

> And correcting myself, you can configure out vgacon, but you have to
> define CONFIG_EMBEDDED, and undefine CONFIG_VT.
>
If I define CONFIG_EMBEDDED, is that going to change the behaviour of
other subsystems, or does it just enable more options?

2006-08-15 01:54:16

by Antonino A. Daplas

[permalink] [raw]
Subject: Re: vga text console

On Mon, 2006-08-14 at 21:41 -0400, James C Georgas wrote:
> On Tue, 2006-15-08 at 09:26 +0800, Antonino A. Daplas wrote:
> > On Tue, 2006-08-15 at 09:22 +0800, Antonino A. Daplas wrote:
> > > On Mon, 2006-08-14 at 21:11 -0400, James C Georgas wrote:
> > > > I can't seem to remove the VGA text console from my kernel
> > > > configuration. Can someone please enlighten me?
> > >
> > > You can't. It is always part of the kernel (for X86 at least). What's
> > > your intention?
>
> I want to write my own VGA text console driver.
>
> > And correcting myself, you can configure out vgacon, but you have to
> > define CONFIG_EMBEDDED, and undefine CONFIG_VT.
> >
> If I define CONFIG_EMBEDDED, is that going to change the behaviour of
> other subsystems, or does it just enable more options?
>

It basically opens up a lot of config options. It may also disable a few
incompatible options (ie, CONFIG_DEBUG_VERBOSE), and enable a few. It
will require that you know exactly what options need to be turned on or
off.

Tony

2006-08-15 02:08:48

by James C Georgas

[permalink] [raw]
Subject: Re: vga text console

On Tue, 2006-15-08 at 09:54 +0800, Antonino A. Daplas wrote:
> > If I define CONFIG_EMBEDDED, is that going to change the behaviour of
> > other subsystems, or does it just enable more options?
> >
>
> It basically opens up a lot of config options. It may also disable a few
> incompatible options (ie, CONFIG_DEBUG_VERBOSE), and enable a few. It
> will require that you know exactly what options need to be turned on or
> off.
Oh. That actually sounds like it could be a lot of fun. I'm a big fan of
the Minimal Kernel.

I'm kind of surprised that the VGA console can't be built as a module,
like the other console drivers in the kernel can be. Is this on purpose,
or is it just that nobody has gotten around to it?

2006-08-15 06:11:57

by Antonino A. Daplas

[permalink] [raw]
Subject: Re: vga text console

On Mon, 2006-08-14 at 22:09 -0400, James C Georgas wrote:
> On Tue, 2006-15-08 at 09:54 +0800, Antonino A. Daplas wrote:
> > > If I define CONFIG_EMBEDDED, is that going to change the behaviour of
> > > other subsystems, or does it just enable more options?
> > >
> >
> > It basically opens up a lot of config options. It may also disable a few
> > incompatible options (ie, CONFIG_DEBUG_VERBOSE), and enable a few. It
> > will require that you know exactly what options need to be turned on or
> > off.
> Oh. That actually sounds like it could be a lot of fun. I'm a big fan of
> the Minimal Kernel.
>
> I'm kind of surprised that the VGA console can't be built as a module,
> like the other console drivers in the kernel can be. Is this on purpose,
> or is it just that nobody has gotten around to it?
>

It's possible to make vgacon modular, the changes required will be
minimal. It would seem that nobody ever had a need for it, so that was
never done.

Tony

2006-08-15 06:53:04

by Jan Engelhardt

[permalink] [raw]
Subject: Re: vga text console

>> I'm kind of surprised that the VGA console can't be built as a module,
>> like the other console drivers in the kernel can be. Is this on purpose,
>> or is it just that nobody has gotten around to it?
>
>It's possible to make vgacon modular, the changes required will be
>minimal. It would seem that nobody ever had a need for it, so that was
>never done.

Maybe someday this will happen automagically when VGA/FB switching
is finished.


Jan Engelhardt
--