(1) An error occurred while entering make Menuconfig when running the kernel configuration
encountering this problem, the main thought is that there is no ncurses library, and make menconfig need this library . So you need to install ncurses or ncurses-devel. Input command: sudo apt-get install ncurses or sudo apt-get install ncurses-devel.
But there may still be a problem,
The solution to this problem is that there is no package ncurses available today, but it is referenced by other packages. This may mean that the missing package may have been discarded, or could only be found in other sources of disclosure
The ability to use the command: $sudo apt-get install libncurses* for installation.
Error 2:
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
The workaround:
Compile first to see if there is a problem with the kernel. The following error occurred while executing the make command:
Issue: drivers/input/touchscreen/eeti_ts.c:65: Error: Implicitly declaring function ' Irq_to_gpio ' resolution: Once again make menuconfig, connect the input devices in the driver to the touch device, Eeti option is not selected, save after exiting, make again
(3) Transplant linux2.6.38 kernel to TQ2440. Porting steps See URL: http://blog.sina.com.cn/s/blog_77aea4c60100qs9o.html
In the 9th article, you should read:/drivers/tty/serial/
According to 10th./patch-kernel.sh C m/usr/src/linux-2.6.38 (the folder in which you own the kernel) displays "No Files and folders"
Solution: See YAFFS2 directory There is no patch-kernel.sh, just patch-ker.sh. Then instead:./patch-ker.sh c m/usr/src/linux-2.6.38 then appears:
Updating/usr/src/linux-2.6.38/fs/kconfig
Updating/usr/src/linux-2.6.38/fs/makefile
Patch Complete
"Linux learning" Ubuntu under Kernel compilation (i)