主题 : 编译2.6.18 内核下载后为什么不能启动? 复制链接 | 浏览器收藏 | 打印
级别: 侠客
UID: 172
精华: 1
发帖: 48
金钱: 500 两
威望: 68 点
贡献值: 10 点
综合积分: 116 分
注册时间: 2008-02-27
最后登录: 2017-09-13
20楼  发表于: 2008-04-03 16:45
我一步一步的在main函数里调,先后去掉了consle_init()函数的(*call)(),然后去掉了vfs_caches_init_early(),再去掉vfs_caches_init(),最后去掉了proc_root_init()后,终于可以完成整个main函数。但出现以下错误

<1>Unable to handle kernel NULL pointer dereference at virtual address 00000000
<1>pgd = c0004000
<1>[00000000] *pgd=00000000
Internal error: Oops: 5 [#1]
Modules linked in:
CPU: 0
PC is at kmem_cache_alloc+0x18/0x48
LR is at getname+0x20/0xcc

我想可能和内存映射有关,我已经无从下手了,请帮帮我吧
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5407
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11054 分
注册时间: 2008-01-16
最后登录: 2014-11-22
21楼  发表于: 2008-04-03 17:11
kernel原来crash的位置在vgacon_startup()里,你可以在这个函数里加printk()找到crash的地方。
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 侠客
UID: 172
精华: 1
发帖: 48
金钱: 500 两
威望: 68 点
贡献值: 10 点
综合积分: 116 分
注册时间: 2008-02-27
最后登录: 2017-09-13
22楼  发表于: 2008-04-03 17:33
我以前在编译内核时 出现PCIMEM_BASE 没有定义,所以我加上#define PCIMEM_BASE这句就通过编译了,不知道是否和这个有关。为什么PCIMEM_BASE没定义呢?用gcc 编译没问题啊。我一步步看vgacon_startup()看看是什么问题。
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5407
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11054 分
注册时间: 2008-01-16
最后登录: 2014-11-22
23楼  发表于: 2008-04-03 17:38
引用第22楼alexchen于2008-04-03 17:33发表的  :
我以前在编译内核时 出现PCIMEM_BASE 没有定义,所以我加上#define PCIMEM_BASE这句就通过编译了,不知道是否和这个有关。为什么PCIMEM_BASE没定义呢?用gcc 编译没问题啊。我一步步看vgacon_startup()看看是什么问题。


把没有define PCIMEM_BASE时编译出错的log贴出来
用gcc和arm-linux-gcc编译完全是两回事,编译的东西是不同的
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 侠客
UID: 172
精华: 1
发帖: 48
金钱: 500 两
威望: 68 点
贡献值: 10 点
综合积分: 116 分
注册时间: 2008-02-27
最后登录: 2017-09-13
24楼  发表于: 2008-04-03 18:00
  CHK    include/linux/compile.h
  CC      drivers/video/console/vgacon.o
In file included from drivers/video/console/vgacon.c:52:
include/video/vga.h: In function `vga_io_r':
include/video/vga.h:226: warning: comparison is always true due to limited range of data type
include/video/vga.h: In function `vga_io_w':
include/video/vga.h:231: warning: comparison is always true due to limited range of data type
include/video/vga.h: In function `vga_io_w_fast':
include/video/vga.h:237: warning: comparison is always true due to limited range of data type
include/video/vga.h:237: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c: In function `write_vga':
drivers/video/console/vgacon.c:153: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:153: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:154: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:154: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c: In function `vgacon_startup':
drivers/video/console/vgacon.c:487: error: `PCIMEM_BASE' undeclared (first use in this function)
drivers/video/console/vgacon.c:487: error: (Each undeclared identifier is reported only once
drivers/video/console/vgacon.c:487: error: for each function it appears in.)
drivers/video/console/vgacon.c: In function `vgacon_set_cursor_size':
drivers/video/console/vgacon.c:641: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:642: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:643: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:644: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:653: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:654: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:655: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:656: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c: In function `vgacon_doresize':
drivers/video/console/vgacon.c:734: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:735: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:740: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:741: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:749: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:750: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:758: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:759: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:760: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:761: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:764: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:765: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:766: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:767: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:770: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:771: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:772: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:773: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:776: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:777: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c: In function `vga_vesa_blank':
drivers/video/console/vgacon.c:865: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:869: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:870: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:871: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:872: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:873: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:874: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:875: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:876: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:877: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:878: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:879: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:880: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:881: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:882: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:883: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:884: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:903: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:904: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:905: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:906: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:907: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:908: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:917: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:918: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:919: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:920: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:925: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c: In function `vga_vesa_unblank':
drivers/video/console/vgacon.c:935: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:936: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:937: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:938: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:939: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:940: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:941: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:942: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:943: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:944: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:945: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:946: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:947: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:948: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:949: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:950: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:956: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c: In function `vgacon_do_font_op':
drivers/video/console/vgacon.c:1038: error: `PCIMEM_BASE' undeclared (first use in this function)
drivers/video/console/vgacon.c:1153: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:1158: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c: In function `vgacon_adjust_height':
drivers/video/console/vgacon.c:1188: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:1189: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:1190: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:1191: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:1200: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:1201: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:1202: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:1203: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:1204: warning: comparison is always true due to limited range of data type
drivers/video/console/vgacon.c:1205: warning: comparison is always true due to limited range of data type
make[3]: *** [drivers/video/console/vgacon.o] 閿欒? 1
make[2]: *** [drivers/video/console] 閿欒? 2
make[1]: *** [drivers/video] 閿欒? 2
make: *** [drivers] 閿欒? 2


那两个字应该是错误的意思
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5407
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11054 分
注册时间: 2008-01-16
最后登录: 2014-11-22
25楼  发表于: 2008-04-03 18:13
引用第24楼alexchen于2008-04-03 18:00发表的  :
  CHK     include/linux/compile.h
  CC      drivers/video/console/vgacon.o
In file included from drivers/video/console/vgacon.c:52:
include/video/vga.h: In function `vga_io_r':
include/video/vga.h:226: warning: comparison is always true due to limited range of data type
.......


把你现在用的.config文件也贴出来
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 侠客
UID: 172
精华: 1
发帖: 48
金钱: 500 两
威望: 68 点
贡献值: 10 点
综合积分: 116 分
注册时间: 2008-02-27
最后登录: 2017-09-13
26楼  发表于: 2008-04-03 18:44
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.18
# Thu Apr  3 13:11:10 2008
#
CONFIG_ARM=y
CONFIG_MMU=y
CONFIG_GENERIC_HARDIRQS=y
CONFIG_HARDIRQS_SW_RESEND=y
CONFIG_GENERIC_IRQ_PROBE=y
CONFIG_RWSEM_GENERIC_SPINLOCK=y
CONFIG_GENERIC_HWEIGHT=y
CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_VECTORS_BASE=0xffff0000
CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"

#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y
CONFIG_BROKEN_ON_SMP=y
CONFIG_INIT_ENV_ARG_LIMIT=32

#
# General setup
#
CONFIG_LOCALVERSION=""
# CONFIG_LOCALVERSION_AUTO is not set
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
CONFIG_BSD_PROCESS_ACCT=y
# CONFIG_BSD_PROCESS_ACCT_V3 is not set
# CONFIG_IKCONFIG is not set
CONFIG_RELAY=y
CONFIG_INITRAMFS_SOURCE=""
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
# CONFIG_EMBEDDED is not set
CONFIG_UID16=y
CONFIG_SYSCTL=y
CONFIG_KALLSYMS=y
# CONFIG_KALLSYMS_ALL is not set
CONFIG_KALLSYMS_EXTRA_PASS=y
CONFIG_HOTPLUG=y
CONFIG_PRINTK=y
CONFIG_BUG=y
CONFIG_ELF_CORE=y
CONFIG_BASE_FULL=y
CONFIG_FUTEX=y
CONFIG_EPOLL=y
CONFIG_SHMEM=y
CONFIG_SLAB=y
CONFIG_VM_EVENT_COUNTERS=y
CONFIG_RT_MUTEXES=y
# CONFIG_TINY_SHMEM is not set
CONFIG_BASE_SMALL=0
# CONFIG_SLOB is not set

#
# Loadable module support
#
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
# CONFIG_MODULE_FORCE_UNLOAD is not set
CONFIG_MODVERSIONS=y
CONFIG_MODULE_SRCVERSION_ALL=y
CONFIG_KMOD=y

#
# Block layer
#
CONFIG_BLK_DEV_IO_TRACE=y

#
# IO Schedulers
#
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_AS=y
CONFIG_IOSCHED_DEADLINE=y
CONFIG_IOSCHED_CFQ=y
# CONFIG_DEFAULT_AS is not set
# CONFIG_DEFAULT_DEADLINE is not set
CONFIG_DEFAULT_CFQ=y
# CONFIG_DEFAULT_NOOP is not set
CONFIG_DEFAULT_IOSCHED="cfq"

#
# System Type
#
# CONFIG_ARCH_AAEC2000 is not set
# CONFIG_ARCH_INTEGRATOR is not set
# CONFIG_ARCH_REALVIEW is not set
# CONFIG_ARCH_VERSATILE is not set
# CONFIG_ARCH_AT91 is not set
# CONFIG_ARCH_CLPS7500 is not set
# CONFIG_ARCH_CLPS711X is not set
# CONFIG_ARCH_CO285 is not set
# CONFIG_ARCH_EBSA110 is not set
# CONFIG_ARCH_EP93XX is not set
# CONFIG_ARCH_FOOTBRIDGE is not set
# CONFIG_ARCH_NETX is not set
# CONFIG_ARCH_H720X is not set
# CONFIG_ARCH_IMX is not set
# CONFIG_ARCH_IOP3XX is not set
# CONFIG_ARCH_IXP4XX is not set
# CONFIG_ARCH_IXP2000 is not set
# CONFIG_ARCH_IXP23XX is not set
# CONFIG_ARCH_L7200 is not set
# CONFIG_ARCH_PNX4008 is not set
# CONFIG_ARCH_PXA is not set
# CONFIG_ARCH_RPC is not set
# CONFIG_ARCH_SA1100 is not set
CONFIG_ARCH_S3C2410=y
# CONFIG_ARCH_SHARK is not set
# CONFIG_ARCH_LH7A40X is not set
# CONFIG_ARCH_OMAP is not set

#
# S3C24XX Implementations
#
# CONFIG_MACH_ANUBIS is not set
# CONFIG_MACH_OSIRIS is not set
# CONFIG_ARCH_BAST is not set
# CONFIG_ARCH_H1940 is not set
# CONFIG_MACH_N30 is not set
CONFIG_MACH_SMDK=y
# CONFIG_ARCH_SMDK2410 is not set
CONFIG_ARCH_S3C2440=y
CONFIG_SMDK2440_CPU2440=y
# CONFIG_SMDK2440_CPU2442 is not set
# CONFIG_MACH_SMDK2413 is not set
# CONFIG_MACH_VR1000 is not set
# CONFIG_MACH_RX3715 is not set
# CONFIG_MACH_OTOM is not set
# CONFIG_MACH_NEXCODER_2440 is not set
CONFIG_S3C2410_CLOCK=y
CONFIG_CPU_S3C244X=y
CONFIG_CPU_S3C2440=y

#
# S3C2410 Boot
#
# CONFIG_S3C2410_BOOT_ERROR_RESET is not set

#
# S3C2410 Setup
#
# CONFIG_S3C2410_DMA is not set
# CONFIG_S3C2410_PM_DEBUG is not set
# CONFIG_S3C2410_PM_CHECK is not set
CONFIG_S3C2410_LOWLEVEL_UART_PORT=0

#
# Processor Type
#
CONFIG_CPU_32=y
CONFIG_CPU_ARM920T=y
CONFIG_CPU_32v4T=y
CONFIG_CPU_ABRT_EV4T=y
CONFIG_CPU_CACHE_V4WT=y
CONFIG_CPU_CACHE_VIVT=y
CONFIG_CPU_COPY_V4WB=y
CONFIG_CPU_TLB_V4WBI=y

#
# Processor Features
#
CONFIG_ARM_THUMB=y
# CONFIG_CPU_ICACHE_DISABLE is not set
# CONFIG_CPU_DCACHE_DISABLE is not set
# CONFIG_CPU_DCACHE_WRITETHROUGH is not set

#
# Bus support
#

#
# PCCARD (PCMCIA/CardBus) support
#
CONFIG_PCCARD=y
# CONFIG_PCMCIA_DEBUG is not set
CONFIG_PCMCIA=y
CONFIG_PCMCIA_LOAD_CIS=y
CONFIG_PCMCIA_IOCTL=y

#
# PC-card bridges
#

#
# Kernel Features
#
# CONFIG_PREEMPT is not set
# CONFIG_NO_IDLE_HZ is not set
CONFIG_HZ=200
# CONFIG_AEABI is not set
# CONFIG_ARCH_DISCONTIGMEM_ENABLE is not set
CONFIG_SELECT_MEMORY_MODEL=y
CONFIG_FLATMEM_MANUAL=y
# CONFIG_DISCONTIGMEM_MANUAL is not set
# CONFIG_SPARSEMEM_MANUAL is not set
CONFIG_FLATMEM=y
CONFIG_FLAT_NODE_MEM_MAP=y
# CONFIG_SPARSEMEM_STATIC is not set
CONFIG_SPLIT_PTLOCK_CPUS=4096
CONFIG_RESOURCES_64BIT=y
CONFIG_ALIGNMENT_TRAP=y

#
# Boot options
#
CONFIG_ZBOOT_ROM_TEXT=0
CONFIG_ZBOOT_ROM_BSS=0
CONFIG_CMDLINE=""
# CONFIG_XIP_KERNEL is not set

#
# Floating point emulation
#

#
# At least one emulation must be selected
#
# CONFIG_FPE_NWFPE is not set
# CONFIG_FPE_FASTFPE is not set

#
# Userspace binary formats
#
CONFIG_BINFMT_ELF=y
# CONFIG_BINFMT_AOUT is not set
CONFIG_BINFMT_MISC=y
# CONFIG_ARTHUR is not set

#
# Power management options
#
CONFIG_PM=y
CONFIG_PM_LEGACY=y
# CONFIG_PM_DEBUG is not set
CONFIG_APM=y

#
# Networking
#
# CONFIG_NET is not set

#
# Device Drivers
#

#
# Generic Driver Options
#
CONFIG_STANDALONE=y
CONFIG_PREVENT_FIRMWARE_BUILD=y
CONFIG_FW_LOADER=y
# CONFIG_DEBUG_DRIVER is not set
# CONFIG_SYS_HYPERVISOR is not set

#
# Connector - unified userspace <-> kernelspace linker
#

#
# Memory Technology Devices (MTD)
#
CONFIG_MTD=m
# CONFIG_MTD_DEBUG is not set
CONFIG_MTD_CONCAT=m
CONFIG_MTD_PARTITIONS=y
CONFIG_MTD_REDBOOT_PARTS=m
CONFIG_MTD_REDBOOT_DIRECTORY_BLOCK=-1
# CONFIG_MTD_REDBOOT_PARTS_UNALLOCATED is not set
# CONFIG_MTD_REDBOOT_PARTS_READONLY is not set
CONFIG_MTD_CMDLINE_PARTS=y
# CONFIG_MTD_AFS_PARTS is not set

#
# User Modules And Translation Layers
#
CONFIG_MTD_CHAR=m
CONFIG_MTD_BLOCK=m
CONFIG_MTD_BLOCK_RO=m
CONFIG_FTL=m
CONFIG_NFTL=m
CONFIG_NFTL_RW=y
# CONFIG_INFTL is not set
CONFIG_RFD_FTL=m

#
# RAM/ROM/Flash chip drivers
#
CONFIG_MTD_CFI=m
CONFIG_MTD_JEDECPROBE=m
CONFIG_MTD_GEN_PROBE=m
# CONFIG_MTD_CFI_ADV_OPTIONS is not set
CONFIG_MTD_MAP_BANK_WIDTH_1=y
CONFIG_MTD_MAP_BANK_WIDTH_2=y
CONFIG_MTD_MAP_BANK_WIDTH_4=y
# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set
# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set
CONFIG_MTD_CFI_I1=y
CONFIG_MTD_CFI_I2=y
# CONFIG_MTD_CFI_I4 is not set
# CONFIG_MTD_CFI_I8 is not set
CONFIG_MTD_CFI_INTELEXT=m
CONFIG_MTD_CFI_AMDSTD=m
CONFIG_MTD_CFI_STAA=m
CONFIG_MTD_CFI_UTIL=m
CONFIG_MTD_RAM=m
CONFIG_MTD_ROM=m
CONFIG_MTD_ABSENT=m
# CONFIG_MTD_OBSOLETE_CHIPS is not set

#
# Mapping drivers for chip access
#
# CONFIG_MTD_COMPLEX_MAPPINGS is not set
# CONFIG_MTD_PHYSMAP is not set
# CONFIG_MTD_ARM_INTEGRATOR is not set
# CONFIG_MTD_IMPA7 is not set
# CONFIG_MTD_PLATRAM is not set

#
# Self-contained MTD device drivers
#
# CONFIG_MTD_SLRAM is not set
# CONFIG_MTD_PHRAM is not set
CONFIG_MTD_MTDRAM=m
CONFIG_MTDRAM_TOTAL_SIZE=4096
CONFIG_MTDRAM_ERASE_SIZE=128
CONFIG_MTD_BLOCK2MTD=m

#
# Disk-On-Chip Device Drivers
#
# CONFIG_MTD_DOC2000 is not set
# CONFIG_MTD_DOC2001 is not set
# CONFIG_MTD_DOC2001PLUS is not set

#
# NAND Flash Device Drivers
#
CONFIG_MTD_NAND=m
# CONFIG_MTD_NAND_VERIFY_WRITE is not set
CONFIG_MTD_NAND_ECC_SMC=y
CONFIG_MTD_NAND_IDS=m
# CONFIG_MTD_NAND_S3C2410 is not set
CONFIG_MTD_NAND_DISKONCHIP=m
# CONFIG_MTD_NAND_DISKONCHIP_PROBE_ADVANCED is not set
CONFIG_MTD_NAND_DISKONCHIP_PROBE_ADDRESS=0
# CONFIG_MTD_NAND_DISKONCHIP_BBTWRITE is not set
CONFIG_MTD_NAND_NANDSIM=m

#
# OneNAND Flash Device Drivers
#
# CONFIG_MTD_ONENAND is not set

#
# Parallel port support
#
CONFIG_PARPORT=m
CONFIG_PARPORT_PC=m
# CONFIG_PARPORT_PC_FIFO is not set
# CONFIG_PARPORT_PC_SUPERIO is not set
CONFIG_PARPORT_PC_PCMCIA=m
# CONFIG_PARPORT_GSC is not set
# CONFIG_PARPORT_AX88796 is not set
CONFIG_PARPORT_1284=y

#
# Plug and Play support
#

#
# Block devices
#
CONFIG_PARIDE=m
CONFIG_PARIDE_PARPORT=m

#
# Parallel IDE high-level drivers
#
CONFIG_PARIDE_PD=m
CONFIG_PARIDE_PCD=m
CONFIG_PARIDE_PF=m
CONFIG_PARIDE_PT=m
CONFIG_PARIDE_PG=m

#
# Parallel IDE protocol modules
#
CONFIG_PARIDE_ATEN=m
CONFIG_PARIDE_BPCK=m
CONFIG_PARIDE_BPCK6=m
CONFIG_PARIDE_COMM=m
CONFIG_PARIDE_DSTR=m
CONFIG_PARIDE_FIT2=m
CONFIG_PARIDE_FIT3=m
CONFIG_PARIDE_EPAT=m
CONFIG_PARIDE_EPATC8=y
CONFIG_PARIDE_EPIA=m
CONFIG_PARIDE_FRIQ=m
CONFIG_PARIDE_FRPW=m
CONFIG_PARIDE_KBIC=m
CONFIG_PARIDE_KTTI=m
CONFIG_PARIDE_ON20=m
CONFIG_PARIDE_ON26=m
# CONFIG_BLK_DEV_COW_COMMON is not set
CONFIG_BLK_DEV_LOOP=m
CONFIG_BLK_DEV_CRYPTOLOOP=m
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_COUNT=16
CONFIG_BLK_DEV_RAM_SIZE=16384
CONFIG_BLK_DEV_RAM_BLOCKSIZE=4096
CONFIG_BLK_DEV_INITRD=y
CONFIG_CDROM_PKTCDVD=m
CONFIG_CDROM_PKTCDVD_BUFFERS=8
# CONFIG_CDROM_PKTCDVD_WCACHE is not set

#
# ATA/ATAPI/MFM/RLL support
#
CONFIG_IDE=y
CONFIG_BLK_DEV_IDE=y

#
# Please see Documentation/ide.txt for help/info on IDE drives
#
# CONFIG_BLK_DEV_IDE_SATA is not set
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_IDEDISK_MULTI_MODE=y
CONFIG_BLK_DEV_IDECS=m
CONFIG_BLK_DEV_IDECD=m
# CONFIG_BLK_DEV_IDETAPE is not set
CONFIG_BLK_DEV_IDEFLOPPY=y
CONFIG_BLK_DEV_IDESCSI=m
CONFIG_IDE_TASK_IOCTL=y

#
# IDE chipset support/bugfixes
#
CONFIG_IDE_GENERIC=y
# CONFIG_IDE_ARM is not set
# CONFIG_BLK_DEV_IDEDMA is not set
# CONFIG_IDEDMA_AUTO is not set
# CONFIG_BLK_DEV_HD is not set

#
# SCSI device support
#
CONFIG_RAID_ATTRS=m
CONFIG_SCSI=m
CONFIG_SCSI_PROC_FS=y

#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=m
CONFIG_CHR_DEV_ST=m
CONFIG_CHR_DEV_OSST=m
CONFIG_BLK_DEV_SR=m
CONFIG_BLK_DEV_SR_VENDOR=y
CONFIG_CHR_DEV_SG=m
CONFIG_CHR_DEV_SCH=m

#
# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
#
CONFIG_SCSI_MULTI_LUN=y
CONFIG_SCSI_CONSTANTS=y
CONFIG_SCSI_LOGGING=y

#
# SCSI Transport Attributes
#
CONFIG_SCSI_SPI_ATTRS=m
CONFIG_SCSI_FC_ATTRS=m
CONFIG_SCSI_SAS_ATTRS=m

#
# SCSI low-level drivers
#
# CONFIG_SCSI_SATA is not set
CONFIG_SCSI_PPA=m
CONFIG_SCSI_IMM=m
# CONFIG_SCSI_IZIP_EPP16 is not set
# CONFIG_SCSI_IZIP_SLOW_CTR is not set
# CONFIG_SCSI_DEBUG is not set

#
# PCMCIA SCSI adapter support
#
# CONFIG_PCMCIA_AHA152X is not set
CONFIG_PCMCIA_FDOMAIN=m
# CONFIG_PCMCIA_NINJA_SCSI is not set
# CONFIG_PCMCIA_QLOGIC is not set
# CONFIG_PCMCIA_SYM53C500 is not set

#
# Multi-device support (RAID and LVM)
#
CONFIG_MD=y
CONFIG_BLK_DEV_MD=y
CONFIG_MD_LINEAR=m
CONFIG_MD_RAID0=m
CONFIG_MD_RAID1=m
CONFIG_MD_RAID10=m
CONFIG_MD_RAID456=m
CONFIG_MD_RAID5_RESHAPE=y
CONFIG_MD_MULTIPATH=m
CONFIG_MD_FAULTY=m
CONFIG_BLK_DEV_DM=m
CONFIG_DM_CRYPT=m
CONFIG_DM_SNAPSHOT=m
CONFIG_DM_MIRROR=m
CONFIG_DM_ZERO=m
CONFIG_DM_MULTIPATH=m
CONFIG_DM_MULTIPATH_EMC=m

#
# Fusion MPT device support
#
# CONFIG_FUSION is not set

#
# IEEE 1394 (FireWire) support
#

#
# I2O device support
#

#
# ISDN subsystem
#

#
# Input device support
#
CONFIG_INPUT=y

#
# Userland interfaces
#
CONFIG_INPUT_MOUSEDEV=y
# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
CONFIG_INPUT_JOYDEV=m
# CONFIG_INPUT_TSDEV is not set
CONFIG_INPUT_EVDEV=y
# CONFIG_INPUT_EVBUG is not set

#
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
CONFIG_KEYBOARD_ATKBD=y
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_LKKBD is not set
# CONFIG_KEYBOARD_XTKBD is not set
# CONFIG_KEYBOARD_NEWTON is not set
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=y
CONFIG_MOUSE_SERIAL=m
CONFIG_MOUSE_VSXXXAA=m
CONFIG_INPUT_JOYSTICK=y
# CONFIG_JOYSTICK_ANALOG is not set
# CONFIG_JOYSTICK_A3D is not set
# CONFIG_JOYSTICK_ADI is not set
# CONFIG_JOYSTICK_COBRA is not set
# CONFIG_JOYSTICK_GF2K is not set
# CONFIG_JOYSTICK_GRIP is not set
# CONFIG_JOYSTICK_GRIP_MP is not set
# CONFIG_JOYSTICK_GUILLEMOT is not set
# CONFIG_JOYSTICK_INTERACT is not set
# CONFIG_JOYSTICK_SIDEWINDER is not set
# CONFIG_JOYSTICK_TMDC is not set
# CONFIG_JOYSTICK_IFORCE is not set
# CONFIG_JOYSTICK_WARRIOR is not set
# CONFIG_JOYSTICK_MAGELLAN is not set
# CONFIG_JOYSTICK_SPACEORB is not set
# CONFIG_JOYSTICK_SPACEBALL is not set
# CONFIG_JOYSTICK_STINGER is not set
CONFIG_JOYSTICK_TWIDJOY=m
# CONFIG_JOYSTICK_DB9 is not set
# CONFIG_JOYSTICK_GAMECON is not set
# CONFIG_JOYSTICK_TURBOGRAFX is not set
CONFIG_JOYSTICK_JOYDUMP=m
CONFIG_INPUT_TOUCHSCREEN=y
CONFIG_TOUCHSCREEN_GUNZE=m
CONFIG_TOUCHSCREEN_ELO=m
CONFIG_TOUCHSCREEN_MTOUCH=m
CONFIG_TOUCHSCREEN_MK712=m
CONFIG_INPUT_MISC=y
CONFIG_INPUT_UINPUT=m

#
# Hardware I/O ports
#
CONFIG_SERIO=y
CONFIG_SERIO_SERPORT=y
# CONFIG_SERIO_PARKBD is not set
CONFIG_SERIO_LIBPS2=y
CONFIG_SERIO_RAW=m
CONFIG_GAMEPORT=m
CONFIG_GAMEPORT_NS558=m
CONFIG_GAMEPORT_L4=m

#
# Character devices
#
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_HW_CONSOLE=y
CONFIG_VT_HW_CONSOLE_BINDING=y
CONFIG_SERIAL_NONSTANDARD=y
# CONFIG_COMPUTONE is not set
# CONFIG_ROCKETPORT is not set
CONFIG_CYCLADES=m
# CONFIG_CYZ_INTR is not set
# CONFIG_DIGIEPCA is not set
# CONFIG_MOXA_INTELLIO is not set
# CONFIG_MOXA_SMARTIO is not set
# CONFIG_ISI is not set
CONFIG_SYNCLINKMP=m
CONFIG_N_HDLC=m
# CONFIG_RISCOM8 is not set
# CONFIG_SPECIALIX is not set
# CONFIG_SX is not set
# CONFIG_RIO is not set
# CONFIG_STALDRV is not set

#
# Serial drivers
#
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_SERIAL_8250_CS=m
CONFIG_SERIAL_8250_NR_UARTS=32
CONFIG_SERIAL_8250_RUNTIME_UARTS=4
CONFIG_SERIAL_8250_EXTENDED=y
CONFIG_SERIAL_8250_MANY_PORTS=y
CONFIG_SERIAL_8250_SHARE_IRQ=y
CONFIG_SERIAL_8250_DETECT_IRQ=y
CONFIG_SERIAL_8250_RSA=y

#
# Non-8250 serial port support
#
# CONFIG_SERIAL_S3C2410 is not set
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
CONFIG_UNIX98_PTYS=y
# CONFIG_LEGACY_PTYS is not set
CONFIG_PRINTER=m
CONFIG_LP_CONSOLE=y
CONFIG_PPDEV=m
# CONFIG_TIPAR is not set

#
# IPMI
#
CONFIG_IPMI_HANDLER=m
# CONFIG_IPMI_PANIC_EVENT is not set
CONFIG_IPMI_DEVICE_INTERFACE=m
CONFIG_IPMI_SI=m
CONFIG_IPMI_WATCHDOG=m
CONFIG_IPMI_POWEROFF=m

#
# Watchdog Cards
#
CONFIG_WATCHDOG=y
# CONFIG_WATCHDOG_NOWAYOUT is not set

#
# Watchdog Device Drivers
#
CONFIG_SOFT_WATCHDOG=m
# CONFIG_S3C2410_WATCHDOG is not set
CONFIG_HW_RANDOM=y
CONFIG_NVRAM=y
# CONFIG_S3C2410_RTC is not set
CONFIG_DTLK=m
# CONFIG_R3964 is not set

#
# Ftape, the floppy tape device driver
#

#
# PCMCIA character devices
#
# CONFIG_SYNCLINK_CS is not set
CONFIG_CARDMAN_4000=m
CONFIG_CARDMAN_4040=m
CONFIG_RAW_DRIVER=y
CONFIG_MAX_RAW_DEVS=8192

#
# TPM devices
#
# CONFIG_TCG_TPM is not set
# CONFIG_TELCLOCK is not set

#
# I2C support
#
# CONFIG_I2C is not set

#
# SPI support
#
# CONFIG_SPI is not set
# CONFIG_SPI_MASTER is not set

#
# Dallas's 1-wire bus
#

#
# Hardware Monitoring support
#
CONFIG_HWMON=m
# CONFIG_HWMON_VID is not set
CONFIG_SENSORS_ABITUGURU=m
CONFIG_SENSORS_F71805F=m
# CONFIG_HWMON_DEBUG_CHIP is not set

#
# Misc devices
#

#
# LED devices
#
CONFIG_NEW_LEDS=y
CONFIG_LEDS_CLASS=y

#
# LED drivers
#
# CONFIG_LEDS_S3C24XX is not set

#
# LED Triggers
#
CONFIG_LEDS_TRIGGERS=y
CONFIG_LEDS_TRIGGER_TIMER=m
CONFIG_LEDS_TRIGGER_IDE_DISK=y
CONFIG_LEDS_TRIGGER_HEARTBEAT=m

#
# Multimedia devices
#
# CONFIG_VIDEO_DEV is not set
CONFIG_VIDEO_V4L2=y

#
# Digital Video Broadcasting Devices
#

#
# Graphics support
#
# CONFIG_FIRMWARE_EDID is not set
CONFIG_FB=y
# CONFIG_FB_CFB_FILLRECT is not set
# CONFIG_FB_CFB_COPYAREA is not set
# CONFIG_FB_CFB_IMAGEBLIT is not set
# CONFIG_FB_MACMODES is not set
# CONFIG_FB_BACKLIGHT is not set
CONFIG_FB_MODE_HELPERS=y
CONFIG_FB_TILEBLITTING=y
# CONFIG_FB_S1D13XXX is not set
# CONFIG_FB_S3C2410 is not set
# CONFIG_FB_VIRTUAL is not set

#
# Console display driver support
#
CONFIG_VGA_CONSOLE=y
# CONFIG_VGACON_SOFT_SCROLLBACK is not set
CONFIG_DUMMY_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y
# CONFIG_FONTS is not set
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y

#
# Logo configuration
#
CONFIG_LOGO=y
# CONFIG_LOGO_LINUX_MONO is not set
# CONFIG_LOGO_LINUX_VGA16 is not set
CONFIG_LOGO_LINUX_CLUT224=y
CONFIG_BACKLIGHT_LCD_SUPPORT=y
CONFIG_BACKLIGHT_CLASS_DEVICE=m
CONFIG_BACKLIGHT_DEVICE=y
CONFIG_LCD_CLASS_DEVICE=m
CONFIG_LCD_DEVICE=y

#
# Sound
#
# CONFIG_SOUND is not set

#
# USB support
#
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB_ARCH_HAS_OHCI=y
# CONFIG_USB_ARCH_HAS_EHCI is not set
# CONFIG_USB is not set

#
# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
#

#
# USB Gadget Support
#
# CONFIG_USB_GADGET is not set

#
# MMC/SD Card support
#
# CONFIG_MMC is not set

#
# Real Time Clock
#
CONFIG_RTC_LIB=y
CONFIG_RTC_CLASS=m

#
# RTC interfaces
#
CONFIG_RTC_INTF_SYSFS=m
CONFIG_RTC_INTF_PROC=m
CONFIG_RTC_INTF_DEV=m
# CONFIG_RTC_INTF_DEV_UIE_EMUL is not set

#
# RTC drivers
#
CONFIG_RTC_DRV_DS1553=m
CONFIG_RTC_DRV_DS1742=m
# CONFIG_RTC_DRV_S3C is not set
# CONFIG_RTC_DRV_M48T86 is not set
# CONFIG_RTC_DRV_TEST is not set
CONFIG_RTC_DRV_V3020=m

#
# File systems
#
CONFIG_EXT2_FS=y
CONFIG_EXT2_FS_XATTR=y
CONFIG_EXT2_FS_POSIX_ACL=y
CONFIG_EXT2_FS_SECURITY=y
CONFIG_EXT2_FS_XIP=y
CONFIG_FS_XIP=y
CONFIG_EXT3_FS=m
CONFIG_EXT3_FS_XATTR=y
CONFIG_EXT3_FS_POSIX_ACL=y
CONFIG_EXT3_FS_SECURITY=y
CONFIG_JBD=m
# CONFIG_JBD_DEBUG is not set
CONFIG_FS_MBCACHE=y
# CONFIG_REISERFS_FS is not set
# CONFIG_JFS_FS is not set
CONFIG_FS_POSIX_ACL=y
# CONFIG_XFS_FS is not set
# CONFIG_MINIX_FS is not set
# CONFIG_ROMFS_FS is not set
CONFIG_INOTIFY=y
CONFIG_INOTIFY_USER=y
CONFIG_QUOTA=y
# CONFIG_QFMT_V1 is not set
CONFIG_QFMT_V2=y
CONFIG_QUOTACTL=y
CONFIG_DNOTIFY=y
# CONFIG_AUTOFS_FS is not set
CONFIG_AUTOFS4_FS=m
# CONFIG_FUSE_FS is not set

#
# CD-ROM/DVD Filesystems
#
CONFIG_ISO9660_FS=y
CONFIG_JOLIET=y
CONFIG_ZISOFS=y
CONFIG_ZISOFS_FS=y
CONFIG_UDF_FS=m
CONFIG_UDF_NLS=y

#
# DOS/FAT/NT Filesystems
#
CONFIG_FAT_FS=m
CONFIG_MSDOS_FS=m
CONFIG_VFAT_FS=m
CONFIG_FAT_DEFAULT_CODEPAGE=437
CONFIG_FAT_DEFAULT_IOCHARSET="ascii"
# CONFIG_NTFS_FS is not set

#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
CONFIG_SYSFS=y
CONFIG_TMPFS=y
# CONFIG_HUGETLB_PAGE is not set
CONFIG_RAMFS=y
CONFIG_CONFIGFS_FS=m

#
# Miscellaneous filesystems
#
# CONFIG_ADFS_FS is not set
# CONFIG_AFFS_FS is not set
CONFIG_HFS_FS=m
CONFIG_HFSPLUS_FS=m
# CONFIG_BEFS_FS is not set
# CONFIG_BFS_FS is not set
# CONFIG_EFS_FS is not set
# CONFIG_JFFS_FS is not set
CONFIG_JFFS2_FS=m
CONFIG_JFFS2_FS_DEBUG=0
CONFIG_JFFS2_FS_WRITEBUFFER=y
CONFIG_JFFS2_SUMMARY=y
# CONFIG_JFFS2_FS_XATTR is not set
# CONFIG_JFFS2_COMPRESSION_OPTIONS is not set
CONFIG_JFFS2_ZLIB=y
CONFIG_JFFS2_RTIME=y
# CONFIG_JFFS2_RUBIN is not set
CONFIG_CRAMFS=m
CONFIG_VXFS_FS=m
# CONFIG_HPFS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS is not set

#
# Partition Types
#
CONFIG_PARTITION_ADVANCED=y
# CONFIG_ACORN_PARTITION is not set
CONFIG_OSF_PARTITION=y
CONFIG_AMIGA_PARTITION=y
# CONFIG_ATARI_PARTITION is not set
CONFIG_MAC_PARTITION=y
CONFIG_MSDOS_PARTITION=y
CONFIG_BSD_DISKLABEL=y
CONFIG_MINIX_SUBPARTITION=y
CONFIG_SOLARIS_X86_PARTITION=y
CONFIG_UNIXWARE_DISKLABEL=y
# CONFIG_LDM_PARTITION is not set
CONFIG_SGI_PARTITION=y
# CONFIG_ULTRIX_PARTITION is not set
CONFIG_SUN_PARTITION=y
CONFIG_KARMA_PARTITION=y
CONFIG_EFI_PARTITION=y

#
# Native Language Support
#
CONFIG_NLS=y
CONFIG_NLS_DEFAULT="utf8"
CONFIG_NLS_CODEPAGE_437=y
CONFIG_NLS_CODEPAGE_737=m
CONFIG_NLS_CODEPAGE_775=m
CONFIG_NLS_CODEPAGE_850=m
CONFIG_NLS_CODEPAGE_852=m
CONFIG_NLS_CODEPAGE_855=m
CONFIG_NLS_CODEPAGE_857=m
CONFIG_NLS_CODEPAGE_860=m
CONFIG_NLS_CODEPAGE_861=m
CONFIG_NLS_CODEPAGE_862=m
CONFIG_NLS_CODEPAGE_863=m
CONFIG_NLS_CODEPAGE_864=m
CONFIG_NLS_CODEPAGE_865=m
CONFIG_NLS_CODEPAGE_866=m
CONFIG_NLS_CODEPAGE_869=m
CONFIG_NLS_CODEPAGE_936=m
CONFIG_NLS_CODEPAGE_950=m
CONFIG_NLS_CODEPAGE_932=m
CONFIG_NLS_CODEPAGE_949=m
CONFIG_NLS_CODEPAGE_874=m
CONFIG_NLS_ISO8859_8=m
CONFIG_NLS_CODEPAGE_1250=m
CONFIG_NLS_CODEPAGE_1251=m
CONFIG_NLS_ASCII=y
CONFIG_NLS_ISO8859_1=m
CONFIG_NLS_ISO8859_2=m
CONFIG_NLS_ISO8859_3=m
CONFIG_NLS_ISO8859_4=m
CONFIG_NLS_ISO8859_5=m
CONFIG_NLS_ISO8859_6=m
CONFIG_NLS_ISO8859_7=m
CONFIG_NLS_ISO8859_9=m
CONFIG_NLS_ISO8859_13=m
CONFIG_NLS_ISO8859_14=m
CONFIG_NLS_ISO8859_15=m
CONFIG_NLS_KOI8_R=m
CONFIG_NLS_KOI8_U=m
CONFIG_NLS_UTF8=m

#
# Profiling support
#
CONFIG_PROFILING=y
CONFIG_OPROFILE=m

#
# Kernel hacking
#
# CONFIG_PRINTK_TIME is not set
CONFIG_MAGIC_SYSRQ=y
# CONFIG_UNUSED_SYMBOLS is not set
CONFIG_DEBUG_KERNEL=y
CONFIG_LOG_BUF_SHIFT=17
CONFIG_DETECT_SOFTLOCKUP=y
CONFIG_SCHEDSTATS=y
# CONFIG_DEBUG_SLAB is not set
# CONFIG_DEBUG_RT_MUTEXES is not set
# CONFIG_RT_MUTEX_TESTER is not set
# CONFIG_DEBUG_SPINLOCK is not set
# CONFIG_DEBUG_MUTEXES is not set
# CONFIG_DEBUG_RWSEMS is not set
# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
# CONFIG_DEBUG_KOBJECT is not set
CONFIG_DEBUG_BUGVERBOSE=y
CONFIG_DEBUG_INFO=y
CONFIG_DEBUG_FS=y
# CONFIG_DEBUG_VM is not set
CONFIG_FRAME_POINTER=y
# CONFIG_UNWIND_INFO is not set
# CONFIG_FORCED_INLINING is not set
# CONFIG_RCU_TORTURE_TEST is not set
# CONFIG_DEBUG_USER is not set
# CONFIG_DEBUG_WAITQ is not set
# CONFIG_DEBUG_ERRORS is not set
CONFIG_DEBUG_LL=y
# CONFIG_DEBUG_ICEDCC is not set
CONFIG_DEBUG_S3C2410_PORT=y
CONFIG_DEBUG_S3C2410_UART=0

#
# Security options
#
CONFIG_KEYS=y
CONFIG_KEYS_DEBUG_PROC_KEYS=y
CONFIG_SECURITY=y
CONFIG_SECURITY_NETWORK=y
CONFIG_SECURITY_CAPABILITIES=y
# CONFIG_SECURITY_SECLVL is not set

#
# Cryptographic options
#
CONFIG_CRYPTO=y
CONFIG_CRYPTO_HMAC=y
CONFIG_CRYPTO_NULL=m
CONFIG_CRYPTO_MD4=m
CONFIG_CRYPTO_MD5=m
CONFIG_CRYPTO_SHA1=y
CONFIG_CRYPTO_SHA256=m
CONFIG_CRYPTO_SHA512=m
CONFIG_CRYPTO_WP512=m
CONFIG_CRYPTO_TGR192=m
CONFIG_CRYPTO_DES=m
CONFIG_CRYPTO_BLOWFISH=m
CONFIG_CRYPTO_TWOFISH=m
CONFIG_CRYPTO_SERPENT=m
CONFIG_CRYPTO_AES=m
CONFIG_CRYPTO_CAST5=m
CONFIG_CRYPTO_CAST6=m
CONFIG_CRYPTO_TEA=m
CONFIG_CRYPTO_ARC4=m
CONFIG_CRYPTO_KHAZAD=m
CONFIG_CRYPTO_ANUBIS=m
CONFIG_CRYPTO_DEFLATE=m
CONFIG_CRYPTO_MICHAEL_MIC=m
CONFIG_CRYPTO_CRC32C=y
# CONFIG_CRYPTO_TEST is not set

#
# Hardware crypto devices
#

#
# Library routines
#
CONFIG_CRC_CCITT=m
CONFIG_CRC16=m
CONFIG_CRC32=y
CONFIG_LIBCRC32C=y
CONFIG_ZLIB_INFLATE=y
CONFIG_ZLIB_DEFLATE=m
CONFIG_REED_SOLOMON=m
CONFIG_REED_SOLOMON_DEC16=y
CONFIG_PLIST=y
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5407
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11054 分
注册时间: 2008-01-16
最后登录: 2014-11-22
27楼  发表于: 2008-04-03 22:01
引用第26楼alexchen于2008-04-03 18:44发表的  :
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.18
# Thu Apr  3 13:11:10 2008
#
.......


这个config是不适用于QQ2440的。QQ2440是基于S3C2440的,因此,配置一个适用于QQ2440的内核最简单的方法是修改原本内核对于S3C2440的默认配置,这个config定义在arch/arm/configs/s3c2410_defconfig, 你可以通过make s3c2410_defconfig来配置内核。

另外,永远不要做自己定义一个地址这种傻事,内核不是应用程序,宏都有自己的物理意义,并且很多都是根据实际硬件决定的。
[ 此贴被kasim在2008-04-03 22:08重新编辑 ]
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 侠客
UID: 172
精华: 1
发帖: 48
金钱: 500 两
威望: 68 点
贡献值: 10 点
综合积分: 116 分
注册时间: 2008-02-27
最后登录: 2017-09-13
28楼  发表于: 2008-04-04 04:09
按照上面,不修改s3c2410 defconfig ,也不修改内核,(网上修改的NAND FLASH 我试了也不行) 出现以下错误。。。




##### FriendlyARM BIOS for 2440 #####                                   
[x] bon part 0 320k 2368k                       
[v] Download vivi               
[k] Download linux kernel                       
[y] Download root_yaffs image                           
[c] Download root_cramfs image                             
[n] Download Nboot                 
[e] Download Eboot                 
Download WinCE NK.nb0                       
[w] Download WinCE NK.bin                       
[d] Download & Run                 
[f] Format the nand flash                       
[p] Partition for Linux                     
Boot the system                 
[s] Set the boot parameters                         
[t] Print the TOC struct of wince                               
[q] Goto shell of vivi                     
Enter your selection: B                     

##### FriendlyARM BIOS for 2440 #####                                   
[x] bon part 0 320k 2368k                       
[v] Download vivi               
[k] Download linux kernel                       
[y] Download root_yaffs image                           
[c] Download root_cramfs image                             
[n] Download Nboot                 
[e] Download Eboot                 
Download WinCE NK.nb0                       
[w] Download WinCE NK.bin                       
[d] Download & Run                 
[f] Format the nand flash                       
[p] Partition for Linux                     
Boot the system                 
[s] Set the boot parameters                         
[t] Print the TOC struct of wince                               
[q] Goto shell of vivi                     
Enter your selection: b                     
Copy linux kernel from 0x00050000 to 0x30008000, size = 0x00200000 ... done                                                                         
zImage magic = 0x016f2818                       
Setup linux parameters at                         
linux command line is: "noinitrd root=/dev/mtdblock2 init=/linuxrc console=ttySA                                                                               
C0" 
MACH_TYPE = 193             
NOW, Booting Linux......                       
Uncompressing Linux.............................................................                                                                               
..................... done, booting the kernel.                                             
Linux version 2.6.13 (root@localhost.localdomain) (gcc version 3.4.1) #1 Fri Apr                                                                               
4 03:03:21 CST 2008                   
CPU: ARM920Tid(wb) [41129200] revision 0 (ARMv4T)                                               
Machine: SMDK2410               
ATAG_INITRD is deprecated; please update your bootloader.                                                       
Memory policy: ECC disabled, Data c                               
CPU S3C2440A (id 0x32440001)                           
S3C2440: core 405.000 MHz, memory 101.250 MHz, peripheral 50.625 MHz                                                                   
S3C2410 Clocks, (c) 2004 Simtec Electronics                                         
CPU0: D VIVT write-back cache                           
CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets                                                                 
CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets                                                                 
Built 1 zonelists               
Kernel command line: noinitrd root=/dev/mtdblock2 init=/linuxrc console=ttySAC0                                                                             
irq: clearing pending ext status 00000200                                       
irq: clearing subpending status 00000003                                       
irq: clearing subpending sta                         
PID hash table entries: 512 (order: 9, 8192 bytes)                                                 
timer tcon=00000000, tcnt a4ca, tcfg 00000200,00000000, usec 00001e57                                                                   
Console: colour dummy device 80x30                                 
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)                                                             
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)                                                           
Memory: 64MB = 64MB total                       
Memory: 62080KB available (2126K code, 434K data, 100K init)                                                           
Mount-cache hash table entries: 512                                 
CPU: Testing write buffer coherency: ok                                     
NET: Registered protocol family 16                                 
S3C2440: Initialising architecture                                 
S3C2440: IRQ Support                   
S3C2440: Clock Support, UPLL 48.000 MHz                                     
S3C2410 DMA Driver, (c) 2003-2004 Simtec Electronics                                                   
DMA channel 0 at c4800000, irq 33                               
DMA channel 1 at c4800040, irq 34                               
DMA channel 2 at c4800080, irq 35                               
DMA channel 3 at c48000c0, irq 36                               
NetWinder Floating Point Emulator V0.97 (double precision)                                                         
JFFS version 1.0, (C) 1999, 2000  Axis Communications AB                                                       
JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.                                                   
lp: driver loaded but no devices found                                     
S3C2410 RTC, (c) 2004 Simtec Electronics                                       
ppdev: user-space parallel port driver                                     
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics                                                 
Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing enabled                                                                       
s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2440                                                         
s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2440                                                         
s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2440                                                         
io scheduler noop registered                           
io scheduler anticipatory registered                                   
io scheduler deadline registered                               
io scheduler cfq registered                         
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
BAST NOR-Flash Driver, (c) 2004 Simtec Electronics
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
mice: PS/2 mouse device common for all mice
s3c2440-i2c s3c2440-i2c: slave address 0x10
s3c2440-i2c s3c2440-i2c: bus frequency set to 98 KHz
s3c2440-i2c s3c2440-i2c: i2c-0: S3C I2C adapter
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
Root-NFS: No NFS server available, giving up.
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "mtdblock2" or unknown-block(2,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5407
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11054 分
注册时间: 2008-01-16
最后登录: 2014-11-22
29楼  发表于: 2008-04-04 08:28
我不明白你要做什么,如果你想用2.6.13的内核,那可以参照友善之臂提供的源代码,看友善之臂修改了哪些部分;如果你想自己移植2.6.18的内核,你可以参照友善之臂在移植2.6.13内核时修改的部分修改2.6.18的内核。如果你自己都不清楚一遍一遍重新编译内核源代码,重烧NAND Flash的目的,没人可以帮的了你。
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."