Marco Gerards
2006-Aug-21 23:59 UTC
[Xen-devel] [PATCH] Framebuffer support on the Intel Mac
Hi, When booting the Intel Mac in non-legacy mode (EFI), it doesn''t support textmode. In order to get a console in Xen, I have written a framebuffer for the Intel Mac. At the moment it was only tested on the MacBook. Because a framebuffer is capable of showing more than just text, I have added the Xen logo at startup. I made a photo last week, although this was while I was hacking it and this was under xen-testing. But it should give you an impression of what it looks like. See the end of the email for the URLs. The patch tests for PCIIDs when VGA support is not available. Only in the case the right device was found, the framebuffer will be used. I hope the code I am using to do this works on all machines and will not break Xen on any other machine. This is the first patch I send in. If there are problems with the way I am submitting this patch, with the style or with the way it works, please tell me so I can improve the patch. Thanks, Marco http://www.xs4all.nl/~mgerards/xenfb_macbook1.jpg http://www.xs4all.nl/~mgerards/xenfb_macbook2.jpg _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Marco Gerards
2006-Aug-22 00:11 UTC
Re: [Xen-devel] [PATCH] Framebuffer support on the Intel Mac
Marco Gerards <mgerards@xs4all.nl> writes: Hi,> When booting the Intel Mac in non-legacy mode (EFI), it doesn''t > support textmode. In order to get a console in Xen, I have written a > framebuffer for the Intel Mac. At the moment it was only tested on > the MacBook. Because a framebuffer is capable of showing more than > just text, I have added the Xen logo at startup. I made a photo last > week, although this was while I was hacking it and this was under > xen-testing. But it should give you an impression of what it looks > like. See the end of the email for the URLs.Something I forgot to mention is that I was unable to use ioremap to map in the video memory. But the memory was already mapped to the virtual memory address that matches the physical address. To be honest, I do not know (yet) why ioremap doesn''t work in this case and why directly accessing the memory does work. I am wondering if this will cause problems at a later stage, Xen does not boot all the way yet because there other other things I have to change before Xen will work properly with EFI. -- Marco _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel