기존 이솝 임베디드 포럼의 지식인 서비스가 게시판 형태로 변경되었습니다.

s3c2440a cpu 를 채용하고 있는 보드를 사용하고 있습니다.

mplayer 포팅을 하고 재생해 보니 사운드가 않나오는 문제가 발생해서

AC97 이 아닌 IIS 를 사용하도록 변경하려고 합니다.

aesop 3차 커널내에 있는 uda1341 드라이버를 적용하려 하는데

제가 사용하는 커널 버젼인 2.6.15.2 과 aesop 3차 커널 버전(2.6.13) 이 다른

데도 적용이 가능할까요??

고현철

2007.09.21 20:47:36
*.202.140.58

가능합니다. 저도 2.4.20거 가지고 그냥 땜빵 포팅한겁니다...^^

김재흥

2007.09.21 21:33:10
*.149.255.251

다행이네요..
그러면 필요한 파일들이

uda1341.c
aesop2440-audio.c
aesop2440-audio.h

이렇게 3개 인가요..??

3개의 파일을 제가 사용하는 커널의 sound/oss 에 복사해서 커널 컴파일을 했습니다.
그러나 uda1341.o 파일은 생성이 되는데 aesop2440-audio.o 는 생성되지 않는게
다른 추가 설정을 해 줘야 하는지 궁금합니다. :)

고현철

2007.09.22 08:58:26
*.202.132.63

drivers/l3 디렉토리도 동작해야합니다...^^

2.6.x에는 없는 넘이라 제가 붙였습니다.

김재흥

2007.09.22 19:43:01
*.35.253.8

l3 디렉토리를 붙이고 aesop2440-audio.o 가 생성되도록 설정하고 컴파일을 하니

uda1341.o / l3-algo-bit.o / l3-bie-s3c2440.o / l3-core.o 는 생성 되었지만..

aesop2440-audio.o 생성중에 다음과 같은 에러가 발생합니다.

arm-linux-gcc -Wp,-MD,sound/oss/.aesop2440-audio.o.d -nostdinc -isystem /opt/q+esto/cdt/lib/gcc/arm-linux/3.4.3/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -mlittle-endian -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -Os -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-omit-frame-pointer -mapcs -mno-sched-prolog -mapcs-32 -mno-thumb-interwork -D__LINUX_ARM_ARCH__=4 -march=armv4 -mtune=arm9tdmi -malignment-traps -msoft-float -Uarm -Wdeclaration-after-statement -DKBUILD_BASENAME=aesop2440_audio -DKBUILD_MODNAME=aesop2440_audio -c -o sound/oss/aesop2440-audio.o sound/oss/aesop2440-audio.c

sound/oss/aesop2440-audio.c: In function `aesop2440_audio_ioctl':
sound/oss/aesop2440-audio.c:808: warning: unused variable `dma_send_bytes'
sound/oss/aesop2440-audio.c: At top level:
sound/oss/aesop2440-audio.c:1275: error: `platform_bus_type' undeclared here (not in a function)
sound/oss/aesop2440-audio.c:1275: error: initializer element is not constant
sound/oss/aesop2440-audio.c:1275: error: (near initialization for `aesop2440_audio_driver.bus')
sound/oss/aesop2440-audio.c:126: warning: 'ao_dcon' defined but not used
sound/oss/aesop2440-audio.c:126: warning: 'ai_dcon' defined but not used
sound/oss/aesop2440-audio.c:150: warning: 'set_iis_bus_to_duplex_mode' declared `static' but never defined
make[2]: *** [sound/oss/aesop2440-audio.o] 오류 1
make[1]: *** [sound/oss] 오류 2
make: *** [sound] 오류 2

고현철

2007.09.22 21:28:46
*.202.132.63

2.6.15서부터인가 2.6.14서부터인가 platform device쪽이 바뀐 모양이네요.

그 부분은 알아서 바꿔주셔야 할 듯 합니다. drivers/* 파일들의 platform device 등록 예를 보시고 약간만 바꿔주시면 됩니다.
List of Articles
번호 제목 글쓴이 날짜sort 조회 수
5488 [미해결] RAM 문제입니다. [7] 신재곤 2007-09-04 1192
5487 [완료] kmalloc으로 할당한 메모리를 cache disable할 수 있는 방법... [3] 김정호 2007-09-05 741
5486 [완료] NFS 마운트 후 Freeing init memory에서 멈춰버립니다 [3] 김재언 2007-09-05 1142
5485 [질문] ax88796b 커널드라이버 컴파일 에라 [2] 마루치 2007-09-06 758
5484 [질문] 2차보드 DVD구할수없을까요? [5] 재호아빠 2007-09-06 728
5483 [질문] 터치 패널 커넥터 관련 질문 올립니다.. [1] 김용태 2007-09-06 694
5482 LX800 + CS5536 가격과 구입처 좀 가르쳐 주세요. [1] 김정렬 2007-09-07 3143
5481 [완료]아래 램에 관한 글을 읽고 .... [2] 최재혁 2007-09-07 681
5480 [완료]qt/e 보드에 포팅하고 예제 실행을하는데 안되네요 ㅠㅠ [3] 김태호 2007-09-07 763
5479 [완료] USB host bug 관련질문입니다. [5] 이영재 2007-09-08 931
5478 [질문]LCD에 셋팅되어있는 레지스터값 읽는 방법 [5] 이태간 2007-09-11 797
5477 [질문]마이크... [4] 이태간 2007-09-14 2363
5476 [질문] aESOP 3차보드 USB Host -- Mass Storage 부분에 관해서 [7] 이재훈 2007-09-14 1066
5475 [완료]dm9000a [10] 이진우 2007-09-14 2741
5474 [완료] JTAG문제? NAND FLASH 문제? [추가 질문] [4] 조현철 2007-09-17 988
5473 [질문]gnuboy 포팅한 자료를 찾고 있습니다. [11] 이율권 2007-09-18 835
5472 [완료] 2410보드로 mplayer를 포팅한후 4by6 정도의 매트릭스가 깜박... [3] 김승규 2007-09-20 652
» [완료] 이솝3차 보드의 uda1341 파일 사용에 대해서... [5] 김재흥 2007-09-21 730
5470 [확인중] aesop 커널 2.4.20에서 ext3 사용해보셨나요?[포맷로그추가... [10] 신시하 2007-09-22 1190
5469 [완료]터치스크린 질문좀 할게용 ㅠㅠ [2] 김태호 2007-09-22 641

사용자 로그인