6.触摸屏驱动

github驱动代码:https://github.com/China-wzs/Linux-driver/blob/master/5.%E8%A7%A6%E6%91%B8%E5%B1%8Fts%E9%A9%B1%E5%8A%A8.rar

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

-> Device Drivers

  -> Input device support

    -> Generic input layer

      -> Touchscreens

      <>   S3C2410/S3C2440 touchscreens

nfs 30000000 192.168.2.126:/work/nfs_root/uImage_nots

bootm 30000000

insmod cfbcopyarea.ko

insmod cfbimgblt.ko                                注意顺序(不行就换顺序)

insmod cfbfillrect.ko

insmod lcd.ko

如果出现段错误,就重新编译内核uImage_nots

编译内核:

    从新到linux2.6.22目录。make menuconfig 

                                            make uImage

                                            cp arch/arm/boot/uImage /work/nfs_root/uImage_nots

insmod s3c_ts.ko

猜你喜欢

转载自blog.csdn.net/weixin_40535588/article/details/89351774