Difference between pages "Uvesafb" and "Template:Ebuild"

(Difference between pages)
(Klibc)
 
 
Line 1: Line 1:
== ''How to'' : Framebuffer: Userspace VESA VGA graphics support ==
+
<noinclude>
Uvesafb is an improved framebuffer driver for Linux systems with some enhancements compared to vesa.  
+
This is the "Ebuild" template.
=Kernel configuration=
+
It should be called in the following format:
 
+
<pre>
{{Kernelop
+
{{Ebuild
| <br> |<pre>
+
|Summary=
Device Drivers ->
+
|CatPkg=
    <*> Connector - unified userspace <-> kernelspace linker  --->
+
|Maintainer=
    Graphics support ->
+
|Organization=
        [*] Support for frame buffer devices  --->
+
|Overlay=
            [*] Enable firmware EDID
+
}}
            Console display driver support ->
+
</pre>
                [*] Video mode selection support
+
Edit the page to see the template text.
                [*] Video mode handling helpers
+
</noinclude><includeonly>
            Frame buffer hardware drivers
+
[[Category:Ebuilds|{{PAGENAME}}]] __NOEDITSECTION__ __NOTOC__ __NOTITLE__<div id="eblogo">[[File:ebuild.png|frameless]]</div><div class="ebuild_summary" id="flop_info">{{#if: {{{Maintainer|}}} |;Current Maintainer(s): {{#arraymaptemplate:{{{Maintainer|}}}|MaintainerDisplay|,|,}} |}}{{#if: {{{Organization|}}} |
            [*] Userspace VESA VGA graphics support
+
;Organization: [[Organization::{{{Organization|}}}]] |}}
</pre>}}
+
;Portage CatPkg: [[CatPkg::{{{CatPkg|}}}]]{{#if: {{{Overlay|}}}|
 
+
;Primary Overlay: [[Overlay::Overlay:{{{Overlay}}}|{{{Overlay}}}]]}}
Build the kernel, do not install the kernel and modules. Note, that you can choose uvesafb as module, unlike vesa.
+
</div>
 
+
= Ebuild: {{PAGENAME}} =
== Klibc ==
+
<div class="ebuild_subtitle">[[Summary::{{{Summary|}}}]]</div></includeonly>
 
+
Next, we emerge {{Package|dev-libs/klibc}}:
+
<console>
+
###i## emerge -av klibc
+
</console>
+
This step is necessary because klibc has to be compiled against a kernel that includes uvesafb. You need to do it only once.
+
 
+
=v86d=
+
<code>v86d</code> is the userspace helper that runs an x86 code in emulated environment. uvesafb will not work without v86d.
+
 
+
<console>
+
##i### emerge v86d
+
</console>
+
 
+
=Back to kernel configuration=
+
Reconfigure the kernel
+
<pre>General Setup->
+
(*)Initial RAM filesystem and RAM disk (initramfs/initrd) support
+
 
+
and use /usr/share/v86d/initramfs in Initramfs source file(s)
+
 
+
CONFIG_INITRAMFS_SOURCE="/usr/share/v86d/initramfs"</pre>
+
 
+
rebuild the kernel: make and install it, install the modules
+
 
+
=Bootloader configuration=
+
add <code>video=uvesafb:1440x900-32,mtrr:3,ywrap</code> (or similar) to your kernel command line, like in example <code>boot.conf</code>
+
 
+
<pre>boot {
+
        generate grub
+
        default "Funtoo Linux uvesafb"
+
        timeout 3
+
}
+
  "Funtoo Linux uvesafb" {  
+
        kernel bzImage-uvesafb[-v]
+
        params += video=uvesafb:1440x900-32,mtrr:3,ywrap
+
}</pre>
+
 
+
Then run:
+
<console>
+
##i### boot-update
+
</console>  
+
and then run:
+
<console>
+
##i### reboot
+
</console>
+
and enjoy uvesafb!
+
[[Category:HOWTO]]
+

Revision as of 03:38, March 24, 2014

This is the "Ebuild" template. It should be called in the following format:

{{Ebuild
|Summary=
|CatPkg=
|Maintainer=
|Organization=
|Overlay=
}}

Edit the page to see the template text.