主题 : android移植到mini2440 7寸触摸屏的开发板 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 11453
精华: 0
发帖: 9
金钱: 45 两
威望: 9 点
贡献值: 0 点
综合积分: 18 分
注册时间: 2009-12-08
最后登录: 2011-09-02
楼主  发表于: 2009-12-23 18:08

 android移植到mini2440 7寸触摸屏的开发板

请教各位达人:
环境:android移植到mini2440 7寸触摸屏的开发板

问题点:

1.我下了android-guide.pdf文档中提供的内核文件,配置的时候Device Drivers里面根本没有android的选项出现,请问这个要怎么修改

2.Device Drivers ->graphics support ->support for frame buffer devices->lcd select里面只有3.5的屏,请问要怎么把7寸的屏(友善之臂提供的)给加进去??


盼望高手指点迷津!!!!

不胜感激!!!
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2009-12-24 10:53
1.我下了android-guide.pdf文档中提供的内核文件,配置的时候Device Drivers里面根本没有android的选项出现,请问这个要怎么修改

Android有关的驱动配置选项在Device Drivers  --->Misc devices  下(默认配置如下)

[*]   Android pmem allocator                                                                    | |  
  | |                         [*]   Timed output class driver                                                                 | |  
  | |                         [*]     Android timed gpio driver                                                               | |  
  | |                         <*>   Binder IPC Driver                                                                         | |  
  | |                         < >   EEPROM 93CX6 support                                                                      | |  
  | |                         < >   Enclosure Services                                                                        | |  
  | |                         [ ]   Kernel Debugger Core                                                                      | |  
  | |                         < >   Low Memory Killer                                                                         | |  
  | |                         [*]   High-speed in-kernel logging driver                                                       | |  
  | |                         [ ]   UID based statistics tracking exported to /proc/uid_stat                                  | |  
  | |                         [ ]   RAM buffer console        

2.Device Drivers ->graphics support ->support for frame buffer devices->lcd select里面只有3.5的屏,请问要怎么把7寸的屏(友善之臂提供的)给加进去??

1) 在drivers/video/Kconfig里按照1902行开始的、
复制代码
  1. config FB_S3C2410_T240320
  2.         boolean "3.5 inch 240X320 Toppoly LCD"
  3.         depends on FB_S3C2410
  4.         help
  5.           3.5 inch 240X320 Toppoly LCD

依葫芦画瓢,把7寸屏的配置选项加进去

2)在arch/arm/mach-s3c2440/mach-mini2440.c里按照3.5寸的LCD驱动配置数据写一份7寸屏的
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."