按网上的说法,在config_linux_mini6410文件中添加:
CONFIG_TICK_ONESHOT=y
CONFIG_NO_HZ=y
CONFIG_HIGH_RES_TIMERS=y
CONFIG_GENERIC_CLOCKEVENTS_BUILD=y
然后开启high resolution Timer support配置,编译内核时出现错误:
drivers/mfd/ezx-pcap.c: In function 'pcap_isr_work':
drivers/mfd/ezx-pcap.c:214:2: error: implicit declaration of function 'irq_to_gpio'
scripts/Makefile.build:249: recipe for target 'drivers/mfd/ezx-pcap.o' failed
make[2]: *** [drivers/mfd/ezx-pcap.o] Error 1
scripts/Makefile.build:385: recipe for target 'drivers/mfd' failed
make[1]: *** [drivers/mfd] Error 2
Makefile:916: recipe for target 'drivers' failed
make: *** [drivers] Error 2
再按网上说的,修改drivers/mfd/ezx-pcap.c 中相关文件后,编译通过。但是将新的内核烧写到Tiny6410的板子上时,开不了机了。。。各位有遇到这种情况吗?请问怎么解决啊。。。。