* Help with debugging of a framebuffer driver on a legacyfree system.
@ 2003-08-27 14:20 Thomas S. Iversen
2003-08-27 15:22 ` Randy.Dunlap
0 siblings, 1 reply; 2+ messages in thread
From: Thomas S. Iversen @ 2003-08-27 14:20 UTC (permalink / raw)
To: linux-kernel
Hi there
As part of a project I am trying to write a framebuffer device
driver for a graphic chip. Up until now I have compiled my
code as a module and been doing insmod, rmmod and that have worked
nicely.
I then tried to compile the driver into the kernel but that
makes the kernel hang. As my development system are a legacy
free laptop and my driver initializes the screen, the kernel
hangs without me being able to figure out where and why that
happend.
So I seek advice on how to debug the driver! As said, the
laptop are legacy free, so I have not got a serial port.
I have tried a usb->serial adapter, but that requires a driver.
Can I do USB->USB on another computer? Or?
Or am I stuck with coding my own printk variant and writing to the
screen or is there any other option I have not thought of?
Regards Thomas, Denmark
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Help with debugging of a framebuffer driver on a legacyfree system.
2003-08-27 14:20 Help with debugging of a framebuffer driver on a legacyfree system Thomas S. Iversen
@ 2003-08-27 15:22 ` Randy.Dunlap
0 siblings, 0 replies; 2+ messages in thread
From: Randy.Dunlap @ 2003-08-27 15:22 UTC (permalink / raw)
To: Thomas S. Iversen; +Cc: linux-kernel
On Wed, 27 Aug 2003 16:20:35 +0200 "Thomas S. Iversen" <zensonic@zensonic.dk> wrote:
| Hi there
|
| As part of a project I am trying to write a framebuffer device
| driver for a graphic chip. Up until now I have compiled my
| code as a module and been doing insmod, rmmod and that have worked
| nicely.
|
| I then tried to compile the driver into the kernel but that
| makes the kernel hang. As my development system are a legacy
| free laptop and my driver initializes the screen, the kernel
| hangs without me being able to figure out where and why that
| happend.
First choice would be to develop on a system where you can add
(PCI?) bus probes or other adapters/gadgets, like a port-80 card.
| So I seek advice on how to debug the driver! As said, the
| laptop are legacy free, so I have not got a serial port.
| I have tried a usb->serial adapter, but that requires a driver.
| Can I do USB->USB on another computer? Or?
|
| Or am I stuck with coding my own printk variant and writing to the
| screen or is there any other option I have not thought of?
There are already early_printk patches and an x86-specific
"poke a character into video RAM" patch. The latter one is at:
http://kernelnewbies.org/documents/videochar.txt
--
~Randy
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-08-27 15:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-27 14:20 Help with debugging of a framebuffer driver on a legacyfree system Thomas S. Iversen
2003-08-27 15:22 ` Randy.Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®