Hexxeh wrote:Any progress on this? Do you have your work in a Git repo anywhere at all?
I'm putting ebuilds together for all the RPi specific stuff, which includes the Xorg driver, so knowing how the drivers build/install works would be useful, even if it's not yet functional.
I do not have any code depot set up anywhere at the moment.
I was actually going to ask you for suggestions about how to give the code out, once it's ready
In terms of what it will be, it'll most likely comprise
- kernel module that handles contiguous memory allocation (for DMA), and does virt->phys mapping + DMA kicks
- custom fbdev X driver - this can be a drop-in replacement for the existing /usr/lib/modules/xorg etc fbdev_drv.so
- potentially a replacement for libfb.so (high chance)
- potentially a replacement for pixmap.so (low chance)
- potentially a libEGL wrapper, to target X (not for a while)
- modifications to xorg.conf
So nearly everything is a link library drop-in. The only knarly thing is the kernel module. Kernel modules have to fit the kernel build config exactly, and since there are only a few distros out there at the moment this should be easily. But ultimately I think this should be built on each target machine and that then requires gcc, kernel headers etc. This seems to be a pretty typical way of giving out a kernel module.