1. °²×°Èí¼þ
(1) VMware Workstation ACE Edition (6.0.2 build-59824)
(2) Ubuntu Desktop I386 (7.10)
(3) ΪÁË·½±ã¿Í»§»úÓëËÞÖ÷»ú¹²Ïí£¬°²×°VMware tools£º
½«VMwareTools-6.0.2-59824.tar.gz¸´ÖƵ½/tmp²¢½âѹ£¬È»ºó½øÈëĿ¼vmware-tools-distrib£¬
Ö´ÐÐsudo ./vmware-install.pl
Ö÷ÒªÓÐ3¸öÎÊÌâÒª½â¾ö£º
(a) Êó±ê¹öÂÖʧЧ ==> ÐÞ¸Ä/etc/X11/xorg.confÎļþ£¬"ps/2"¸ÄΪ"imps/2"
(b) Êó±ê´Ó¿Í»§»ú²»ÄÜƽ»¬µÄÇл»µ½ËÞÖ÷»ú ==> ÐÞ¸Ä/etc/X11/xorg.confÎļþ£¬"mouse"¸ÄΪ"vmmouse"
(c) hgfs¹²ÏíʧЧ ==> °²×°Ç°ÐÞ¸ÄVMtoolsµÄlib/modules/source/vmhgfs.tarÖеÄcompat_slab.hÎļþ£¬
if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 22) || defined(VMW_KMEMCR_HAS_DTOR)
½«"<"¸ÄΪ"<="£¬È»ºó½«Ð޸ĺóµÄÎļþ´ò°ü²¢Ìæ»»µôÔÀ´µÄvmhgfs.tarÎļþ
2. ½¨Á¢½»²æ±àÒë»·¾³
(1) install Basic Compilers
sudo apt-get install build-essential
(2) install ncurses
sudo apt-get install libncurses5-dev
(3) °²×°½»²æ±àÒ빤¾ßÁ´
¸´ÖƹâÅÌÖеŤ¾ß°üarm-linux-gcc-3.4.1.tgzµ½ÐéÄâ»úÓ²ÅÌÖÐ
tar zxvf arm-linux-gcc-3.4.1.tgz -C /media/disk/qq2440/work
(4) ½¨Á¢±àÒë»·¾³ÉèÖýű¾
´´½¨Îļþsetenv£¬ÄÚÈÝÈçÏ£º
PATH_QQ2440_WORK=/media/disk/qq2440/work
export PATH=$PATH:$PATH_QQ2440_WORK/sbin
export PATH=$PATH:$PATH_QQ2440_WORK/usr/sbin
export PATH=$PATH:$PATH_QQ2440_WORK/usr/local/sbin
export PATH=$PATH:$PATH_QQ2440_WORK/usr/local/arm/3.4.1/bin
(5) ÉèÖñàÒë»·¾³
ÖÕ¶ËϽøÈësetenvÎļþĿ¼£¬Ö´ÐÐsource setenv
Õâʱ¿ÉÒԲ鿴»·¾³ÊÇ·ñÒѾÉèÖúÃecho $PATH
3. ±àÒëÄÚºË
(1) ½¨Á¢Ô´´úÂ빤×÷Ŀ¼
¸´ÖƹâÅÌÖеÄÄÚºËÔ´´úÂëlinux-2.6.13-qq2440_20070507.tgzµ½ÐéÄâ»úÓ²ÅÌÖÐ
tar zxvf linux-2.6.13-qq2440_20070507.tgz -C /media/disk/qq2440/work
(2) ÐÞ¸ÄȨÏÞ
sudo chmod -R 777 kernel-2.6.13
(3) ¿ªÊ¼±àÒë
make clean
make menuconfig
make zImage
Èç¹ûÄãÏëÒª½«±àÒë½á¹û±£´æµ½ÎļþÖпÉÒÔÕâÑùÊäÈ룺
make zImage 2>&1 | tee build.log
´óÔ¼4·ÖÖÓºóÍê³É±àÒë(ÅäÖÃÊÇAMD Sempron/64bit/Socket754 2.70GHz)