[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
port-evbarm/38285: EP9315 raster engine driver plus critical fix for running on rev. E Armadillo-9 boards.
>Synopsis: EP9315 raster engine driver plus critical fix for running on
>rev. E Armadillo-9 boards.
>Arrival-Date: Sun Mar 23 22:30:00 +0000 2008
>Originator: Raphael Langerhorst
>Release: NetBSD 4.0/evbarm
NetBSD 4.0 (ARMADILLO9) (note: custom kernel based on 4.0 release, see below)
I am using NetBSD/evbarm on the Armadillo-9 board for quite some time now and
have accumulated various improvements that should really go into NetBSD CVS
HEAD and (if possible) into the 4(.0) BRANCH. Since I have recently updated to
the 4.0 release and tested the changes against CVS HEAD, too, I believe it's
time to move things into CVS - for the benefit of all.
The changes also include a critical fix which would make it impossible to
seriously run NetBSD on recent revisions of the Armadillo-9 board (usage of red
LED for CF activity).
Apart from that the main improvement is a fully featured graphics driver for
the EP9315 raster engine.
Please find all relevant files, patches and details here:
Note: Please check which files have to be ADDED to CVS(!!!)
Note 2: The ARMADILLO9 kernel configuration does not need to be updated, it
just shows how the EPFB driver could be used, including various extra stuff
that really should NOT go into CVS. So no update needed for the kernel config
(you may still want to extract some important from the updated ARMADILLO9
config if you wish).
Please contact me if you begin to work on the PR (I may have updates pending,
Download everything, run inst.sh if you wish and compile an ARMADILLO9 kernel.
Set up an Armadillo-9 board for use (contact me if instructions on the web are
To test the raster engine, use the epio.h file for the ioctl calls. They should
be rock solid (sanity checking of memory ranges, etc.)
Note: on CVS HEAD do NOT run inst.sh, and use the patch for the machdep file
(there were changes in CVS since 4.0).
Download everything and run inst.sh (if not already done so).
Check which of the files are NEW to the repository. See note above for the
machdep file in case of CVS HEAD.
I hope that someone with better kernel knowledge than me could look through the
changes and clean things up a bit. Now I know that things work, I don't want to
break anything (subtle) before having it in CVS. When it's all in CVS I will
improve things, too.
Please apply to NetBSD 4 BRANCH (if possible) as well as CVS HEAD.
One more note: epio.h should go somewhere into the system to make it possible
to write userland programs for the epfb driver. I have no clue how to do this.
It may be an arm32 system include, or whatever. Further: it might be renamed to
epfbio.h since up to now it's really only dealing with the EPFB driver.
I would be glad if you could go about this PR soon, thanks in advance!!!
Main Index |
Thread Index |