1、解壓飛凌自己的內核linux2.6.36到/home/ok6410中:
root@Ubuntu:/mnt/hgfs/FORLINX_share/OK6410/Linux-2.6.36# tar zxvf FORLINX_linux-2.6.36.2.tar.gz -C /home/ok6410/
2、在/home/ok6410/linux-2.6.36.2-v1.05中,查看配置文件ls –a ,
其中看到.config。復制保存為config
root@ubuntu:/home/ok6410/linux-2.6.36.2-v1.05# cp .config config
清除配置:
root@ubuntu:/home/ok6410/linux-2.6.36.2-v1.05# make distclean
3、配置文件,進行配置
root@ubuntu:/home/ok6410/linux-2.6.36.2-v1.05# cp config .config
配置內核,進入圖形化界面
root@ubuntu:/home/ok6410/linux-2.6.36.2-v1.05# make menuconfig ARCH=arm COMPIEL_CROSS=arm-linux-
4、在項目中,需要用到USB攝像頭,USB聲卡,因為飛凌的內核聲卡驅動有bug,無法使用AC97,但是linux3.0.1內核中,飛凌修改了,可以使用。還有無線網卡RTL8187B。
(1)、配置USB攝像頭:
<*> Multimedia support --->
<*> Video For Linux
[*] Video capture adapters --->
[*] V4L USB devices --->
<*> GSPCA based webcams ---> (進入後全部選擇,如果不知道USB攝像頭的芯片型號)
<*> ZC3XX USB Camera Driver
(2)、配置聲卡:
去除AC97的聲卡驅動
<*> Sound card support --->
<*> Advanced Linux Sound Architecture --->
< > ALSA for SoC audio support ---> (去掉*)
配置USB聲卡
<*> Sound card support --->
<*> Advanced Linux Sound Architecture --->
[*] USB sound devices --->
<*> USB Audio/MIDI driver
<*> Edirol UA-101/UA-1000 driver
(3)配置USB無線網卡
[*] Network device support --->
[*] Wireless LAN --->
<*> Realtek 8187 and 8187B USB support
5、編譯內核
root@ubuntu:/home/ok6410/linux-2.6.36.2-v1.05# make zImage ARCH=arm COMPILE_CROSS=arm-linux-