Step1 编译内核,添加framebuffer驱动。 在此,重点说一下编译时要选中的项,以加入framebuffer驱动支持 VGA text console Video mode selection support Support for frame buffer devices (EXPERIMENTAL) VESA VGA graphics console Advanced low level driver options <*> 8 bpp packed pixels support <*> 16 bpp packed pixels support <*> 24 bpp packed pixels support <*> 32 bpp packed pixels support <*> VGA characters/attributes support Select compiled-in fonts VGA 8x8 font VGA 8x16 font
我们还要知道自己所用的显示卡,也有 framebuffer的驱动,所以也要一并选中,比如 <*> nVidia Framebuffer Support <*> ATI Radeon display support
编译完成后,你的内核就支持framebuffer驱动了
Step2 选择你需要的分辨率 # Normal VGA console # vga = normal # VESA framebuffer console @ 1024x768x64k # vga=791 # VESA framebuffer console @ 1024x768x32k # vga=790 # VESA framebuffer console @ 1024x768x256 # vga=773 # VESA framebuffer console @ 800x600x64k # vga=788 # VESA framebuffer console @ 800x600x32k # vga=787 # VESA framebuffer console @ 800x600x256 # vga=771 # VESA framebuffer console @ 640x480x64k # vga=785 # VESA framebuffer console @ 640x480x32k # vga=784 # VESA framebuffer console @ 640x480x256 # vga=769