asmcos 发表于 2005-9-25 14:13:01

Howto use Egui in Fedora core

Howto use Egui in Fedora core 4
1:)
   update FC4 kernel 2.6.12-1.1447_FC4
   1: download kernel-2.6.12-1.1447_FC4.src.rpm
   2: rpm -ivh kernel-2.6.12-1.1447_FC4.src.rpm
   3: cd /usr/src/redhat/SPECS/
   4: uname -i
      if your computer is i386,do so.
      vi kernel-2.6.spec
      modify
      %define all_x86 i586 i686
      as
      %define all_x86 i586 i686 i386
   5: rpmbuild -bb kernel-2.6.spec
   6: cd /usr/src
   7: ln -s /usr/src/redhat/BUILD/kernel-2.6.12/linux-2.6.12/ linux
   8: cd linux
   9: cp configs/kernel-2.6.12-i686.config .config //your computer CPU match config filename.
   10: make menuconfig // save and exit
   11: make all
   12: make modules_install
   13: make install
   14: vi /boot/grub/grub.conf
       add as follow:
       title Fedora Core (2.6.12)
      root (hd0,5)
      kernel /boot/vmlinuz-2.6.12-1.1447_FC4.root ro root=LABEL=/ rhgbquiet
      initrd /boot/initrd-2.6.12-1.1447_FC4.img

2:)
   config for Egui
   1: compile kernel add framebuffer support and add your VGA card driver
   2: modify /boot/grub/grub.conf
      kernel /boot/vmlinuz-2.6.12-1.1447_FC4.root ro root=LABEL=/ rhgbquiet vga=0x317
      add vga=0x317 //1024x768-16bbp mode
   3: reboot your computer

3:)
   compile your Egui
   download Egui-demo-xxx.tgz
   1: tar zxvf Egui-demo-xxx.tgz
   2: cd Egui(-demo)/
   3: make
   4: mknod /dev/egui c 240 0
   5: insmod src-gui/driver/kegui.ko
   6: ./demo/bmp Eguibg.bmp
   7: other test
      ./demo/monitor
      ./src-gui/egui/egui
      ./demo/capturebmp save.bmp

4:) good Luck
    maybe you can download Egui from http://159.226.40.150/Inetpub/akaebbs/
    by asmcos 2005-09-24

asmcos 发表于 2005-9-25 14:15:41

picture
页: [1]
查看完整版本: Howto use Egui in Fedora core