[okl4-developer] gta01 and framebufer
Remy Gottschalk
rgottschalk at linagora.com
Tue May 20 03:37:59 EST 2008
Hi all,
I am trying to get some display under wombat with gta01 as target. If i
understood well I have two options : using the Linux native drivers or
the iguana native drivers plus a stub in Linux.
For the first solution I found out that the drivers to be used is the
s3c2410 lcd driver (ie : s3c2410fb). But it depends on ARCH_S3C2410 and
thus don't seems to be directly usable.
So i tried to add this arch and enable it with scary results (as
expected).
I also tried to forcefully enable the drivers without adding the arch by
tricking the dependencies. It gives better results and the only thing
left to compile correctly is that dma_alloc_writecombine and
dma_free_writecombine are missing.
I suppose that it is due to dma not being fully available in wombat.
So for this option the questions are :
Is s3c2410fb indeed the correct drivers to use ?
Should it be feasible to make the drivers work without the full arch
support ?
If I interpreted correctly the problem, how could I replace the missing
functions ?
For the second option. It seems that with the default configuration the
right iguana native lcd drivers is already activated and running.
I assumed that wombat's iguana virtual framebuffer is the corresponding
stub and started to work with it. It seems that the wombat drivers is
still designed to use the old drivers framework while the iguana's
drivers is implemented with the v2 framework.
So I tried to make the wombat stub evolve (using the serial drivers as
reference) and I am stuck pretty soon since iguana_getenv("VLCD_TID");
return NULL.
So for this option :
Are my assumptions correct ? (Is iguana's drivers using v2 and wombat's
one expecting v1 ?)
Are VLCD_TID and VLCD_HNDLE supposed to exists or do they need to be
created ?
If it needs to be created, how ?
And more generally I've read a little while that a documentation
concerning the drivers framework was under works, do you have any news
concerning this ?
I've also read that you got at one time the framebuffer running on this
platform (and something concerning quake), how did you achieved that ?
I hope i managed to be clear.
Regards,
--
Remy Gottschalk - rgottschalk at linagora.com
Ingénieur informatique embarquée
Groupe LINAGORA - http://www.linagora.com
Tél.: +33(0)1 58 18 68 28 - Fax : +33(0)1 58 18 68 29
More information about the Developer
mailing list