Skip to contentSkip to conversation

vga text console

DISCUSSION James C Georgas 3 participants 8 messages Aug 15, 2006

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 2 lines · James C Georgas

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

#2 lore raw
Quoted 6 lines · Antonino A. Daplas
Quoted 2 lines · James C Georgas

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

#3 lore raw
Quoted 7 lines · Antonino A. Daplas
Quoted 6 lines · Antonino A. Daplas
Quoted 2 lines · James C Georgas

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.

Quoted 3 lines

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?

#4 lore raw
Quoted 9 lines · James C Georgas
Quoted 7 lines · Antonino A. Daplas
Quoted 6 lines · Antonino A. Daplas
Quoted 2 lines · James C Georgas

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?

Quoted 8 lines

I want to write my own VGA text console driver.

Quoted 3 lines

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

#5 lore raw
Quoted 8 lines · Antonino A. Daplas
Quoted 3 lines

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?

#6 lore raw
Quoted 9 lines · James C Georgas
Quoted 8 lines · Antonino A. Daplas
Quoted 3 lines

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.

Quoted 7 lines

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

#7 lore raw
Quoted 7 lines
Quoted 3 lines

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