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

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,注释掉(成功)

使用新内核启动

原文地址:https://www.cnblogs.com/start530/p/3834411.html