2012-11-21, 16:08
I'm not really sure where to post this, I wrote the utility so that I could run my cross-compiled XBMC on a Mele A2000 with composite video output. Hence posting back on the thread that got me building...
I've written a command line utility that allows configuration of the sun4i display controller to output to Component / VGA / HDMI / Composite / S-Video / possibly LCD.
It will also set up a second frame buffer on a second output (HDMI and Composite in my case).
http://www2.artaylor.co.uk/allwinner/disp_setup.c
Build with:
arm-none-linux-gnueabi-gcc -o disp_setup -I<path to A10 kernel>/include/ disp_setup.c
For configurations other than the defaults I've used, consult "drv_display_sun4i.h" for the values you can supply.
I'm not far enough up the learning curve to integrate this into the OpenELEC / xbmc UI yet!
I've written a command line utility that allows configuration of the sun4i display controller to output to Component / VGA / HDMI / Composite / S-Video / possibly LCD.
It will also set up a second frame buffer on a second output (HDMI and Composite in my case).
http://www2.artaylor.co.uk/allwinner/disp_setup.c
Build with:
arm-none-linux-gnueabi-gcc -o disp_setup -I<path to A10 kernel>/include/ disp_setup.c
For configurations other than the defaults I've used, consult "drv_display_sun4i.h" for the values you can supply.
I'm not far enough up the learning curve to integrate this into the OpenELEC / xbmc UI yet!