(1) An error occurs when you input make menuconfig to execute Kernel configuration.
This problem occurs mainly because there is no ncurses library, and make menconfig requires this library. Therefore, you need to install ncurses or ncurses-devel. Run sudo apt-get install ncurses or sudo apt-get install ncurses-devel.
(2) Error
Drivers/input/touchscreen/eeti_ts.c: In function "eeti_ts_irq_active ':
Drivers/input/touchscreen/eeti_ts.c: 65: error: implicit declaration of function 'irq _ to_gpio'
Make [3]: *** [drivers/input/touchscreen/eeti_ts.o] Error 1
Make [2]: *** [drivers/input/touchscreen] Error 2
Make [1]: *** [drivers/input] Error 2
Make: *** [drivers] Error 2
Solution:
Compile the file to check whether there is any problem in the kernel. the following error occurs when running the make command:
Problem: drivers/input/touchscreen/eeti_ts.c: 65: Error: Implicit declaration function 'irq _ to_gpio 'solution: Re-make menuconfig, set the input device in the driver to> touch the device, if you do not select the EETI option, save and exit, and re-make
(3) port the Linux kernel 2.6.38 to TQ2440. Port steps see URL: http://blog.sina.com.cn/s/blog_77aea4c60100qs9o.html
In the first example, change it to/drivers/tty/serial/
Following the 10th./patch-kernel.sh c m/usr/src/linux-2.6.38 (directory where your kernel is located), "No file and directory" is displayed"
Solution: seeing that there is no patch-kernel.sh under the yaffs2 folder, only the patch-ker.sh, then changed to:./patch-ker.sh c m/usr/src/linux-2.6.38 and then appeared:
Updating/usr/src/linux-2.6.38/fs/Kconfig
Updating/usr/src/linux-2.6.38/fs/Makefile
Patch completed