linux驱动框架——LCD内核驱动配置
来源:互联网 发布:单片机原理及应用 编辑:程序博客网 时间:2024/05/20 11:19
Helper2416开发板LCD内核驱动配置
1、arch/arm/plat-samsung/include/plat/map-base.h
#define S3C_VA_LCD S3C_ADDR(0 x01100000) /* LCD控制器基址映射*/
2、arch/arm/mach-s3c64xx/include/mach/regs-lcd.h //LCD控制器寄存器以及相关位操作
3、drivers/video/samsung //内核自带的LCD驱动
4、 linux/arch/arm/mach-s3c6410/mach-smdk6410.c //设置相关IO,实现对LCD背光控制、液晶屏电源的管理、复位信号的管理、显示屏亮度控制
5、arch/arm/mach-s3c2410/include/mach/fb.h //LCD控制器寄存器的定义、相关IO和LCD的描述结构体
6、include/linux/fb.h //帧缓冲的参数结构体和操作函数
7、在内核驱动中的相关配置
make menuconfig
Power management options --->
[ ] Power Management support 必然要去掉,不然会有
drivers/video/samsung/s3cfb_fimd4x.c:1440:2: error: implicit declaration of function ""s3c6410_pm_do_save""的错误,愁闷了半天
<*> Support for frame buffer devices --->
< > Samsung S3C framebuffer support
<*> S3C Framebuffer Support (eXtended)
Select LCD Type (4.3 inch 480 x272 TFT LCD) --->
<*> Advanced options for S3C Framebuffer
Select BPP(Bits Per Pixel) (16 BPP) --->
(4) Number of Framebuffers
[ ] Enable Virtual Screen (NEW)
[*] Enable Double Buffering
[ ] Backlight & LCD device support --->
Console display driver support --->
<*> Framebuffer Console support 这个也必然要选,不然会有
drivers/built-in.o:(.data+0 x174): undefined reference to `soft_cursor""的错误,此中解决这些错误花了我不少时候。
[*] Bootup logo --->
[ ] Standard black and white Linux logo
[ ] Standard 16-color Linux logo
[*] Standard 224-color Linux logo
0 0
- linux驱动框架——LCD内核驱动配置
- linux-2.6.35内核移植—LCD驱动的添加
- 《Linux驱动开发详解》——LCD设备驱动重要数据结构及驱动框架
- 《Linux驱动开发详解》——LCD设备驱动重要数据结构及驱动框架
- Linux驱动:LCD驱动框架分析
- lcd fb参数如何计算——Linux 内核framebuffer LCD 驱动
- Linux 驱动—LCD学习二:驱动框架(帧缓冲)篇
- Linux驱动-LCD驱动
- linux-2.6.32内核LCD驱动移植
- linux-2.6.32内核LCD驱动移植
- Linux内核移植 part2:uboot lcd驱动
- S3C2440 Linux驱动移植——LCD
- Linux设备驱动——LCD驱动程序
- S3C2440 Linux驱动移植——LCD
- ARM9开发板FL2440移植Linux-3.0内核————MMC和LCD驱动
- Linux-4.9.2内核在mini2440上的移植(九)——LCD驱动移植
- lcd驱动框架
- Linux内核usb驱动框架——U盘挂载
- Linux内核:编译内核
- C++命名规则1
- C++命名规则2
- POJ3678——Katu Puzzle
- 为什么NTFS系统容易产生碎片而ext系列则不会?
- linux驱动框架——LCD内核驱动配置
- android用户界面详尽教程实例
- 游戏引擎不仅是代码,更多的是完善的工具
- 判断字符串中的字符是否唯一
- 如何查看VS2010中VC++目录中的环境变量
- C#实现窗体拖动时各个控件同比自动放缩大小
- CodeForces 341D
- hdu1251
- Spring - 集成多数据源于MyBatis