ternz 发表于 2014-4-28 15:05:33

求教:为什么我编译的kernel运行那么慢

R.T.

使用的源码是linux-sunxi-3.4: https://github.com/linux-sunxi/linux-sunxi

环境:
win7上用VM虚拟机安装的x86 Ubuntu 12.04
所有toolchain直接用apt-get安装,所以交叉编译器是gcc-4.6-arm-linux-gnueabihf

编译命令:
#make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- uImage

文件系统是用debootstrap安装的debian根文件系统
#debootstrap --foreign --arch armhf wheezy $rootfs

但编译出来的kernel运行得很慢,明显比预装的linaro慢,控制台打印字符都卡。这是为什么?难道跟我的kernel编译配置有关,我基本是默认的sun4i配置;还是说某些模块没有加载?还是其他的问题?

如能解答,万分感谢!!
页: [1]
查看完整版本: 求教:为什么我编译的kernel运行那么慢