|

楼主 |
发表于 2010-3-11 21:40:03
|
显示全部楼层
Post by chengliye;2074748
怎么写?:yun::yun::yun:
uvesafb网站上写的很清楚了,不过够繁琐的:
http://dev.gentoo.org/~spock/projects/uvesafb/
1. cd /usr/src/linux
2. configure the kernel; in the "Device Drivers" section select:
Connector - unified userspace <-> kernelspace linker and
Graphics support ---> Support for frame buffer devices ---> Userspace VESA VGA graphics support
(that's CONFIG_CONNECTOR=y and CONFIG_FB_UVESA=y)
3. build the kernel: make
4. remerge klibc: emerge klibc
note: This step is necessary because klibc has to be compiled against a kernel tree that includes uvesafb. You only need to do this once, i.e. you won't have to remerge klibc every time you install a new kernel or a new kernel module.
5. install v86d: emerge v86d
6. reconfigure your kernel; in the "General Setup" section select:
Initial RAM filesystem and RAM disk (initramfs/initrd) support
and use /usr/share/v86d/initramfs in Initramfs source file(s).
(that's CONFIG_INITRAMFS_SOURCE="/usr/share/v86d/initramfs")
7. rebuild the kernel: make, and install it
8. add video=uvesafb:1024x768-32,mtrr:3,ywrap (or similar) to your kernel command line
9. reboot and enjoy uvesafb |
|