⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.txt

📁 sm501-712 linux驱动源码
💻 TXT
字号:

      ---- Readme.txt for Linux release ----

The SMI Linux frame buffer device driver is based on the
ITE8152 StrongARM platform and Linux kernel-2.4.5 to
delelop. It has been tested successfully.

Configuration:
The kernel should be configured in order to link SMI frame
buffer device driver. The following is the commands.

* Put smifb.c and smifb.h file under the linux/drivers/video
  directory.

* In the linux/drivers/video directory, modify fbmem.c file.
  Add
		extern int smifb_init(void);

  before the fb_drivers structure declared.

  Add

		#ifdef CONFIG_FB_SMI
			{ "smifb", smifb_init, NULL },
		#endif

  in the fb_drivers structure.

* Modify "Makefile" file in the same directory.
  Add

  	obj-$(CONFIG_FB_SMI)  += smifb.o

  in the region which declares drivers.

* Modify "Config.in" fine in the same directory.
  Add

	bool     '  SiliconMotion Lynx support' CONFIG_FB_SMI

  in the region between

	if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
		if [ "$CONFIG_PCI" != "n" ]; then
	...
	...
	...
			tristate '  ATI Mach64 display support (EXPERIMENTAL)' CONFIG_FB_ATY
			tristate '  ATI Rage 128 display support (EXPERIMENTAL)' CONFIG_FB_ATY128
			tristate '  3Dfx Banshee/Voodoo3 display support (EXPERIMENTAL)' CONFIG_FB_3DFX
			tristate '  SIS 630/540 display support (EXPERIMENTAL)' CONFIG_FB_SIS
			bool	 '  SiliconMotion Lynx Support' CONFIG_FB_SMI
		fi
	fi

* Configure the kernel using the make xconfig command:

    make xconfig

  go into "Character devices"
    turn on "Virtual Terminal" and "Support for console on virtual terminal"

  go into "Console drivers"
    turn on "Support Frame buffer devices"
    then clik "Frame buffer support" button
    	turn on "Support for frame buffer devices (EXPERIMENTAL)"
        	    "SiliconMotion Lynx Support"
                "Advanced low level driver options"
                "16 bpp packed pixel support"
                "support only 8 pixels wide fonts"
                "Select compiled-in fonts"
                "VGA 8x8 font"

* Build the kernel.

	make zImage

* Finally, you will have a virtual terminal console on your CRT monitor.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -