linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* yaboot: text mode or graphics mode?
@ 2008-12-20 16:07 sumedh tirodkar
  2008-12-20 17:56 ` sumedh tirodkar
  0 siblings, 1 reply; 5+ messages in thread
From: sumedh tirodkar @ 2008-12-20 16:07 UTC (permalink / raw)
  To: linuxppc-embedded

Does anyone knw what happens when we boot into yaboot,whether we are
in text mode or graphics mode? If text mode then wat is the address of
the screen? I need it to print some debug info..bt i either dnt seem
to get the buffer address correct or i m not in text mode as yaboot
has already switched to some other mode...

Regards,
Sumedh

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: yaboot: text mode or graphics mode?
  2008-12-20 16:07 yaboot: text mode or graphics mode? sumedh tirodkar
@ 2008-12-20 17:56 ` sumedh tirodkar
  2008-12-30 22:45   ` Matt Sealey
  0 siblings, 1 reply; 5+ messages in thread
From: sumedh tirodkar @ 2008-12-20 17:56 UTC (permalink / raw)
  To: linuxppc-embedded

I just found out that openfirmware boots into graphics mode(non-text
mode). Now i wish to switch back to text mode. how do i do this?

On Sat, Dec 20, 2008 at 9:37 PM, sumedh tirodkar
<sumedhtirodkar@gmail.com> wrote:
> Does anyone knw what happens when we boot into yaboot,whether we are
> in text mode or graphics mode? If text mode then wat is the address of
> the screen? I need it to print some debug info..bt i either dnt seem
> to get the buffer address correct or i m not in text mode as yaboot
> has already switched to some other mode...
>
> Regards,
> Sumedh
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: yaboot: text mode or graphics mode?
  2008-12-20 17:56 ` sumedh tirodkar
@ 2008-12-30 22:45   ` Matt Sealey
  2009-01-05  5:31     ` sumedh tirodkar
  0 siblings, 1 reply; 5+ messages in thread
From: Matt Sealey @ 2008-12-30 22:45 UTC (permalink / raw)
  To: sumedh tirodkar; +Cc: linuxppc-embedded

sumedh tirodkar wrote:
> I just found out that openfirmware boots into graphics mode(non-text
> mode). Now i wish to switch back to text mode. how do i do this?

Unfortunately unless you are running some kind of yaboot-accessible or 
firmware-accessible x86 BIOS emulation, this isn't possible.

--
Matt

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: yaboot: text mode or graphics mode?
  2008-12-30 22:45   ` Matt Sealey
@ 2009-01-05  5:31     ` sumedh tirodkar
  2009-01-06  1:04       ` Matt Sealey
  0 siblings, 1 reply; 5+ messages in thread
From: sumedh tirodkar @ 2009-01-05  5:31 UTC (permalink / raw)
  To: Matt Sealey; +Cc: linuxppc-dev

Isn't there any other way that i can access the VGA registers? So as
to reconfigure them...

-Sumedh

On Wed, Dec 31, 2008 at 4:15 AM, Matt Sealey <matt@genesi-usa.com> wrote:
> sumedh tirodkar wrote:
>>
>> I just found out that openfirmware boots into graphics mode(non-text
>> mode). Now i wish to switch back to text mode. how do i do this?
>
> Unfortunately unless you are running some kind of yaboot-accessible or
> firmware-accessible x86 BIOS emulation, this isn't possible.
>
> --
> Matt
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: yaboot: text mode or graphics mode?
  2009-01-05  5:31     ` sumedh tirodkar
@ 2009-01-06  1:04       ` Matt Sealey
  0 siblings, 0 replies; 5+ messages in thread
From: Matt Sealey @ 2009-01-06  1:04 UTC (permalink / raw)
  To: sumedh tirodkar; +Cc: linuxppc-dev

They should be mapped into PCI address space with the rest, you should 
note though that a bunch of people have asked this a bunch of times and 
the response is usually null.

If you want to output debugging info, try a serial port, or if you're 
still at the point in boot where the OF is still around, you can still 
output to it (check prom_init.c) and if not, the open firmware 
framebuffer console driver is your best friend..

sumedh tirodkar wrote:
> Isn't there any other way that i can access the VGA registers? So as
> to reconfigure them...
> 
> -Sumedh
> 
> On Wed, Dec 31, 2008 at 4:15 AM, Matt Sealey <matt@genesi-usa.com> wrote:
>> sumedh tirodkar wrote:
>>> I just found out that openfirmware boots into graphics mode(non-text
>>> mode). Now i wish to switch back to text mode. how do i do this?
>> Unfortunately unless you are running some kind of yaboot-accessible or
>> firmware-accessible x86 BIOS emulation, this isn't possible.
>>
>> --
>> Matt
>>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-01-06  1:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-20 16:07 yaboot: text mode or graphics mode? sumedh tirodkar
2008-12-20 17:56 ` sumedh tirodkar
2008-12-30 22:45   ` Matt Sealey
2009-01-05  5:31     ` sumedh tirodkar
2009-01-06  1:04       ` Matt Sealey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).