[okl4-developer] Console output on Iguana

Jamie Lennox jamielennox at gmail.com
Thu Jan 10 14:26:45 EST 2008


Thanks to a couple of the okl guys for this. 

For anyone else interested kdb output is (partially) in
platform/pc99/pistachio/kdb/io.cc and putc_serial and putc_screen do as
advertised, so you can change this in the kdb config options or as
suggested to me just put a putc_screen(c) within putc_serial to print to
both.

Thanks for your help everyone

Jamie


On Thu, 2008-01-10 at 12:38 +1100, Hal Ashburner wrote:
> Jamie Lennox wrote:
> > Should have mentioned that i am building with machine=ia32_pc99_vga.
> > I'm going to take a stab in the dark and assume there is no easily
> > available vga driver, right?
> 
> Hi Jamie,
> That builds you a vga driver in OK Linux - so you won't get L4 or Iguana
> output only linux output on it. It is also a little temperamental so if
> you need VGA in particular then you might want to play with the struct
> screen_info values set in arch/l4/kernel/setup.c to get some output.
> 
> Alternatively use ia32_pc99_fb for the framebuffer console, if there's a
> linux driver for your videocard that you can enable.
> 
> Playing with these things I like to run qemu with -serial stdio so I
> have serial output on my terminal as well as emulated vga or framebuffer
> output.
> 
> Another alternative depending on what you are trying to achieve is to
> enable the VGA driver in the L4 kernel then get everything to use that
> via the L4 KDB serial driver. That may take a bit of fiddling to get
> right and I haven't actually tried this myself.
> 
> All the best,
> Hal




More information about the Developer mailing list