天津至扬州泰州飞机:今天重新编译成功2.6.31.1内核| Linux交流区
来源:百度文库 编辑:偶看新闻 时间:2024/04/27 13:30:22
今天重新编译成功2.6.31.1内核
[post]首先下载linux.2.6.31.1.tar.bz2,然后解压缩到/opt/FriendlyARM/mini2440/下。因为该内核已经支持mini2440,故
yagerya@yagerya-desktop:/opt/FriendlyARM/mini2440/linux-2.6.31.1$
yagerya@yagerya-desktop:/opt/FriendlyARM/mini2440/linux-2.6.31.1$
yagerya@yagerya-desktop:/opt/FriendlyARM/mini2440/linux-2.6.31.1$ cp arch/arm/configs/mini2440_defconfig .config
yagerya@yagerya-desktop:/opt/FriendlyARM/mini2440/linux-2.6.31.1$
yagerya@yagerya-desktop:/opt/FriendlyARM/mini2440/linux-2.6.31.1$ make menuconfig
然后保存退出。
yagerya@yagerya-desktop:/opt/FriendlyARM/mini2440/linux-2.6.31.1$ make zImage
这样就出现如下错误:
a[color=#ff0000]rch/arm/mach-s3c2440/built-in.o:(.init.data+0x724): undefined reference to `s3c_device_usb' make: *** [.tmp_vmlinux1] 错误 1
[/color]
查看Kconfig文件:
# arch/arm/mach-s3c2440/Kconfig
#
# Copyright 2007 Simtec Electronics
#
# Licensed under GPLv2
config CPU_S3C2440
bool
depends on ARCH_S3C2410
select CPU_ARM920T
select S3C2410_CLOCK
select S3C2410_PM if PM
select S3C2410_GPIO
select S3C2440_DMA if S3C2410_DMA
select CPU_S3C244X
select CPU_LLSERIAL_S3C2440
help
Support for S3C2440 Samsung Mobile CPU based systems.
.........................................................................................................
select CPU_S3C2440
select PM_H1940 if PM
help
Say Y here if you are using the HP iPAQ rx3715.
config ARCH_S3C2440
bool "SMDK2440"
select CPU_S3C2440
select MACH_SMDK
select S3C_DEV_USB_HOST
help
Say Y here if you are using the SMDK2440.
config MACH_NEXCODER_2440
bool "NexVision NEXCODER 2440 Light Board"
select CPU_S3C2440
select S3C_DEV_USB_HOST
help
Say Y here if you are using the Nex Vision NEXCODER 2440 Light Board
config MACH_AT2440EVB
bool "Avantech AT2440EVB development board"
select CPU_S3C2440
select S3C_DEV_USB_HOST
help
Say Y here if you are using the AT2440EVB development board
config MACH_MINI2440
bool "MINI2440 development board"
select CPU_S3C2440
select EEPROM_AT24
select LEDS_TRIGGER_BACKLIGHT
select SND_S3C24XX_SOC_S3C24XX_UDA134X
help
Say Y here to select support for the MINI2440. Is a 10cm x 10cm board
available via various sources. It can come with a 3.5" or 7" touch LCD.
endmenu
这样就可发现由于mini2440中没有select S3C_DEV_USB_HOST这一项,故出现上面的错误。
好了,我们vim 修改添加它,保存退出。
重新make zImage,就生成了.
...................................................
Kernel: arch/arm/boot/zImage is ready
root@yagerya-desktop:/opt/FriendlyARM/mini2440/linux-2.6.31.1# ls
arch Documentation init MAINTAINERS README sound [color=#66ff00]vmlinux[/color]
block drivers ipc Makefile REPORTING-BUGS System.map vmlinux.o
COPYING firmware Kbuild mm samples tools
CREDITS fs kernel Module.symvers scripts usr
crypto include lib net security virt
linux 2.6 的内核编译问题
怎么样去内核编译?
linux内核编译
Fedora Core 4 x64中内核重新编译后出现的问题
怎样编译linux2 .6.17内核
linux2.6内核编译warning要紧吗?
Linux内核编译,步骤及截图.
我的编译LINUX内核时出错!!!
gentoo 重新编译 php
vc编译无法成功
重新配置内核后修改grub
Fedora Core 4 x64 内核重编译问题
有没有人编译过linuzx2.6.15的内核啊??
有没有人编译过linux2.6.15的内核啊??
请问我今天委托购买股票,如果今天没有交易成功,明天我还需要重新填写委托单?重新委托购买吗?
重新拍一廉幽梦会成功吗?
java编译配置成功后干什么?
kylix 无法成功编译,那些原因呢?
谁有编译成功的Shareaza代码
问大家一个比较菜的问题,我们要编译内核,那内核到底是什么东西 呢?
在编译内核的时候,make bzImage 与make uImage有什么区别
pb文件执行后还能再重新编译一次么
C这么写是不是在那里都可以编译成功?
JDK安装正确,为何不能成功编译.java文件?