分类: LINUX
2010-08-30 23:33:49
使用虚拟机做嵌入式的开发试验,是一种方便省钱的做法。的虚拟机机型繁多,其中的Versatile-PB机型功能丰富,适合做试验环境使用。本文给出改机型的内核最简配置方法。
首先,用
make ARCH=arm CROSS_COMPILE=arm-unknown-linux-gnueabi- allnoconfig
,做最基本的配置。命令中的“arm-unknown-linux-gnueabi-” 是所用的arm工具链的前缀,可根据实际情况更改。
然后,再执行
make ARCH=arm CROSS_COMPILE=arm-unknown-linux-gnueabi- menuconfig
命令,增加适用于Versatile-PB机型的配置项。具体配置如下:
(1)
System Type --> ARM Ltd. Versatile family --> Support
Versatile/PB platform. , Support ARM926T processor , Support Thumb
user binaries
(2) Features --> Use the ARM EABI to compile the kernel
(3) Device Drivers --> Input devices support --> Keyboards --> AT keyboard
(4)
Device Drivers --> Graphic support --> Support for frame. buffer
devices --> ARM Primecell PL110 support , Console display driver
support --> Framebuffer console support
(5) 可选的硬盘支持:Bus support
--> PCI Support , Device Drivers --> SCSI device support -->
SCSI disk support , Probe all LUNs on each SCSI device , SCSI
low-level drivers --> SYM53C8XX Version 2 SCSI support --> Use
memory mapped IO
(6) 可选的网卡支持:Device Drivers --> Network device support --> Ethernet (10 or 100Mbit) --> SMC 91C9X/91C1XXX support