现在的位置: 首页 > 综合 > 正文

编译可加载触摸屏驱动的uImage内核。

2014年06月09日 ⁄ 综合 ⁄ 共 355字 ⁄ 字号 评论关闭

pc:Centos5.4

内核:linux 3.0.1

开发板:ok6410

交叉编译器:arm-linux-gcc 4.4.1

 

1. make menuconfig 去掉原来的触摸屏驱动程序

-> Device Drivers

  -> Input device support

    -> Generic input layer

      -> Touchscreens

      <>   s3c touchscreens

 

make uImage

错误:undefined refer to s3c_device_ts

修改 arch/arm/mach-s3c64xx/目录下的makefile,将跟ts有关的.o注释掉(无用);

进入arch/arm/mach-s3c64xx,将里面smdk_6410.c的

&s3c_device_ts,注释掉(成功)

使用新内核启动

 

抱歉!评论已关闭.