Enable ads7846 Touchscreen in Android that works on Devkit8000
If you would like to make Android work on Devkit8000, you can follow to patch your kernel which is mentioned in my old article(Android Eclair Porting for Devkit8000). After that you might notice the touchscreen doesn't work, it is a ads7846 kernel driver bug from Embinux. So I modified a few lines of code to fix the bug.
Here is the patch:
http://people.linux.org.tw/~fred/patches/devkit8000-touchscreen-android-kernel.patch
Here is the patch:
http://people.linux.org.tw/~fred/patches/devkit8000-touchscreen-android-kernel.patch
When I use this patch, it give me such log, what can I do to deal with it?thanks
回覆刪除~/AndroidEclair/kernel$ patch -p0 < devkit8000-touchscreen-android-kernel.patch
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/arch/arm/mach-omap2/board-omap3devkit8000.c b/arch/arm/mach-omap2/board-omap3devkit8000.c
|index 3ba6ee5..e86d254 100644
|--- a/arch/arm/mach-omap2/board-omap3devkit8000.c
|+++ b/arch/arm/mach-omap2/board-omap3devkit8000.c
--------------------------
File to patch: