도와주세요!!
통합보드 메뉴얼의 커널 이미지 제작 및 설치를 따라하고 있습니다
보드는 s3c6410 이고 CD 에 있는 linux-2.6.29를 사용하고 있으며
툴체인 역시 CD에있는 arm-generic-linux-gnueabi 4.3.2를 설치하였습니다
커널 소스 압축 풀고 ./falinux-config.sh ez-s3c6410을 한뒤
make menuconfig에서 CPU를 RiscPC 또는 samsung s3c64XX 등 다양하게 선택하였으나
make zImage를 하면 아래와 같은 오류가 뜨네요
[root@localhost linux]# make clean
[root@localhost linux]# make zImage
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/docproc
HOSTCC scripts/basic/hash
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/kxgettext.o
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf -s arch/arm/Kconfig
CHK include/linux/version.h
UPD include/linux/version.h
Generating include/asm-arm/mach-types.h
CHK include/linux/utsrelease.h
UPD include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-arm
CC kernel/bounds.s
GEN include/linux/bounds.h
CC arch/arm/kernel/asm-offsets.s
In file included from include/linux/irqflags.h:57,
from /project/falinux/linux-2.6.29-co/arch/arm/include/asm/system.h:61,
from /project/falinux/linux-2.6.29-co/arch/arm/include/asm/bitops.h:27,
from include/linux/bitops.h:17,
from include/linux/kernel.h:15,
from include/linux/sched.h:52,
from arch/arm/kernel/asm-offsets.c:13:
/project/falinux/linux-2.6.29-co/arch/arm/include/asm/irqflags.h:11:5: warning: "__LINUX_ARM_ARCH__" is not defined
In file included from /project/falinux/linux-2.6.29-co/arch/arm/include/asm/bitops.h:27,
from include/linux/bitops.h:17,
from include/linux/kernel.h:15,
from include/linux/sched.h:52,
from arch/arm/kernel/asm-offsets.c:13:
/project/falinux/linux-2.6.29-co/arch/arm/include/asm/system.h:111:5: warning: "__LINUX_ARM_ARCH__" is not defined
/project/falinux/linux-2.6.29-co/arch/arm/include/asm/system.h:117:5: warning: "__LINUX_ARM_ARCH__" is not defined
/project/falinux/linux-2.6.29-co/arch/arm/include/asm/system.h:121:35: warning: "__LINUX_ARM_ARCH__" is not defined
/project/falinux/linux-2.6.29-co/arch/arm/include/asm/system.h:241:5: warning: "__LINUX_ARM_ARCH__" is not defined
/project/falinux/linux-2.6.29-co/arch/arm/include/asm/system.h:246:5: warning: "__LINUX_ARM_ARCH__" is not defined
In file included from include/linux/bitops.h:17,
from include/linux/kernel.h:15,
from include/linux/sched.h:52,
from arch/arm/kernel/asm-offsets.c:13:
/project/falinux/linux-2.6.29-co/arch/arm/include/asm/bitops.h:237:5: warning: "__LINUX_ARM_ARCH__" is not defined
In file included from /project/falinux/linux-2.6.29-co/arch/arm/include/asm/thread_info.h:16,
from include/linux/thread_info.h:55,
from include/linux/preempt.h:9,
from include/linux/spinlock.h:50,
from include/linux/seqlock.h:29,
from include/linux/time.h:8,
from include/linux/timex.h:56,
from include/linux/sched.h:54,
from arch/arm/kernel/asm-offsets.c:13:
/project/falinux/linux-2.6.29-co/arch/arm/include/asm/fpstate.h:32:5: warning: "__LINUX_ARM_ARCH__" is not defined
In file included from include/linux/prefetch.h:14,
from include/linux/list.h:6,
from include/linux/preempt.h:11,
from include/linux/spinlock.h:50,
from include/linux/seqlock.h:29,
from include/linux/time.h:8,
from include/linux/timex.h:56,
from include/linux/sched.h:54,
from arch/arm/kernel/asm-offsets.c:13:
/project/falinux/linux-2.6.29-co/arch/arm/include/asm/processor.h:109:5: warning: "__LINUX_ARM_ARCH__" is not defined
In file included from include/linux/spinlock.h:353,
from include/linux/seqlock.h:29,
from include/linux/time.h:8,
from include/linux/timex.h:56,
from include/linux/sched.h:54,
from arch/arm/kernel/asm-offsets.c:13:
/project/falinux/linux-2.6.29-co/arch/arm/include/asm/atomic.h:24:5: warning: "__LINUX_ARM_ARCH__" is not defined
In file included from include/linux/time.h:9,
from include/linux/timex.h:56,
from include/linux/sched.h:54,
from arch/arm/kernel/asm-offsets.c:13:
include/linux/math64.h: In function 'div_u64_rem':
include/linux/math64.h:43: error: '__LINUX_ARM_ARCH__' undeclared (first use in this function)
include/linux/math64.h:43: error: (Each undeclared identifier is reported only once
include/linux/math64.h:43: error: for each function it appears in.)
In file included from /project/falinux/linux-2.6.29-co/arch/arm/include/asm/page.h:26,
from include/linux/mm_types.h:14,
from include/linux/sched.h:61,
from arch/arm/kernel/asm-offsets.c:13:
/project/falinux/linux-2.6.29-co/arch/arm/include/asm/glue.h:119:2: error: #error Unknown data abort handler type
/project/falinux/linux-2.6.29-co/arch/arm/include/asm/glue.h:146:2: error: #error Unknown prefetch abort handler type
In file included from include/linux/mm_types.h:14,
from include/linux/sched.h:61,
from arch/arm/kernel/asm-offsets.c:13:
/project/falinux/linux-2.6.29-co/arch/arm/include/asm/page.h:108:2: error: #error Unknown user operations model
make[1]: *** [arch/arm/kernel/asm-offsets.s] 오류 1
make: *** [prepare0] 오류 2
저는 스크립트 파일을 만들어 사용 하고 있습니다.
첨부파일을 커널 소스 폴더에 넣고 실행 하시면 됩니다.
소스는 CD에 있는파일을 그대로 사용하시거나 포럼에서 linux-2.6.29-ez-s3c6410.tar.gz 파일을 내려받아
사용하시면 될듯합니다.