logo
한국어 Select Language
FF 포럼
포럼지기에게 한 마디
공지사항
뉴스 EZ보드 통합 메뉴얼
FA-VUS 개발환경 !강추! 타켓보드 부팅-HyperTerminal 타켓보드 부팅-Tutty 타켓보드 부팅-minicom Windows환경-타겟 Linux 구동 Linux환경-타겟 Linux 구동 개발 시스템 구축 유형 페도라 설치 CentOS 설치 크로스 컴파일러 설치 TFTP 환경 구축 NFS 파일 시스템 구축 삼바 서버 구축 부트로더 부트로더 쓰기 커널 이미지 제작 및 설치 램디스크 이미지 제작 및 설치
임베디드 제품 사용기 오늘의 영어 휴게실 Appliance
강좌 & 팁
강좌 & 팁 EZ-보드 그래픽 & 멀티미디어 네트워크 프로그래밍 디바이스 드라이버 ImJa 솔루션 임베디드 FLEX 안드로이드 iOS 개발 FAIDE 하드웨어 C/C++ go언어 GNU C 레퍼런스 메뉴얼 ARM 루아 응용 프로젝트 이클립스 지그비 개발자 노트 권장도서 FPGA
VIVADO DSP HSIO Logic Zynq
함수설명
C 라이브러리 함수 커널 API 그래픽 라이브러리 - gxLib
자료실
자료실 FALINUX SDK ARM PC-V210 S3C6410
G100-S3C6410 S100-S3C6410 C221-S3C6410 N200-S3C6410 EZ-S3C6410
S5PV210
G100-S5PV210 S100-S5PV210 N200-S5PV210 C221-S5PV210
EZ-S3C2440 EZ-PXA270 EZ-X5 EZ-S2410 Auto Package
도와주세요
FAQ 도와주세요

  • 회원가입
  • ID/PW 찾기
 
  1. FAQ

  2. 도와주세요


최근 글

  • [특판][성Y인Y용Y품][...
  • 요즘 잘 나가는,,,
  • 요즘은 vmware 말고 ...
  • [docker] buildx 를 ...
  • buildroot 사용 관련
  • GPIO 제어 방법 문의 [1]
  • 임베디드 리눅스 개발...
  • make wandboard_quad ...
  • LCD 초기화 코드 좀 ... [1]
  • 임베디드 리눅스 커널...

최근 댓글

  • 오래 전에 해결법을 터득해서 ...
  • 비트 코인으로 작업하는 것은 ...
  • 10년차 임베 엔지니어 입니다. ...
  • 임베디드쪽이라면 SOC 쪽 displ...
  • 그렇군요 제가 질문이 잘못됬었...
  • 취준생으로서 포트폴리오를 만...
  • 제가 현재 취업준비생입니다. ...
  • 에프에이리눅스 보드는 아래 링...
  • 전체
  • 일반
  • X5
  • S2410
  • ESP-NS
  • S3C2440
  • EP9312
  • 구매
  • 기타

기타 [S5PV210] WATCHDOG SPI

2012.09.21 18:37

대강박 조회 수:17420

답변 감사합니다.

WDT는 어떤 드라이버를 사용하고 있는지요?

 

SPI는 6410것을 사용하면 컴파일시 에러가 나타납니다.

CC [M]  drivers/spi/spi_s3c64xx.o
drivers/spi/spi_s3c64xx.c: In function 'enable_datapath':
drivers/spi/spi_s3c64xx.c:307: error: implicit declaration of function 's3c2410_dma_config'
drivers/spi/spi_s3c64xx.c:308: error: implicit declaration of function 's3c2410_dma_enqueue'
drivers/spi/spi_s3c64xx.c:310: error: implicit declaration of function 's3c2410_dma_ctrl'
drivers/spi/spi_s3c64xx.c:310: error: 'S3C2410_DMAOP_START' undeclared (first use in this function)
drivers/spi/spi_s3c64xx.c:310: error: (Each undeclared identifier is reported only once
drivers/spi/spi_s3c64xx.c:310: error: for each function it appears in.)
drivers/spi/spi_s3c64xx.c:313: warning: passing argument 1 of 'sdd->do_xfer' discards qualifiers from pointer target type
drivers/spi/spi_s3c64xx.c:313: note: expected 'void *' but argument is of type 'const void *'
drivers/spi/spi_s3c64xx.c: At top level:
drivers/spi/spi_s3c64xx.c:511: warning: 'enum s3c2410_dma_buffresult' declared inside parameter list
drivers/spi/spi_s3c64xx.c:511: warning: its scope is only this definition or declaration, which is probably not what you want
drivers/spi/spi_s3c64xx.c:511: warning: 'struct s3c2410_dma_chan' declared inside parameter list
drivers/spi/spi_s3c64xx.c:511: error: parameter 4 ('res') has incomplete type
drivers/spi/spi_s3c64xx.c: In function 's3c64xx_spi_dma_rxcb':
drivers/spi/spi_s3c64xx.c:518: error: 'S3C2410_RES_OK' undeclared (first use in this function)
drivers/spi/spi_s3c64xx.c: At top level:
drivers/spi/spi_s3c64xx.c:531: warning: 'enum s3c2410_dma_buffresult' declared inside parameter list
drivers/spi/spi_s3c64xx.c:531: warning: 'struct s3c2410_dma_chan' declared inside parameter list
drivers/spi/spi_s3c64xx.c:531: error: parameter 4 ('res') has incomplete type
drivers/spi/spi_s3c64xx.c: In function 's3c64xx_spi_dma_txcb':
drivers/spi/spi_s3c64xx.c:538: error: 'S3C2410_RES_OK' undeclared (first use in this function)
drivers/spi/spi_s3c64xx.c: In function 's3c64xx_spi_map_mssg':
drivers/spi/spi_s3c64xx.c:576: warning: passing argument 2 of 'dma_map_single' discards qualifiers from pointer target type
/home/pdh0085/develope/light_dhplab/prosoft/kernels/linux-2.6.35-s5pv210/arch/arm/include/asm/dma-mapping.h:350: note: expected 'void *' but argument is of type 'const void *'
drivers/spi/spi_s3c64xx.c: In function 'handle_msg':
drivers/spi/spi_s3c64xx.c:724: error: 'S3C2410_DMAOP_FLUSH' undeclared (first use in this function)
drivers/spi/spi_s3c64xx.c: In function 'acquire_dma':
drivers/spi/spi_s3c64xx.c:768: error: implicit declaration of function 's3c2410_dma_request'
drivers/spi/spi_s3c64xx.c:773: error: implicit declaration of function 's3c2410_dma_set_buffdone_fn'
drivers/spi/spi_s3c64xx.c:774: error: implicit declaration of function 's3c2410_dma_devconfig'
drivers/spi/spi_s3c64xx.c:774: error: 'S3C2410_DMASRC_HW' undeclared (first use in this function)
drivers/spi/spi_s3c64xx.c:780: error: implicit declaration of function 's3c2410_dma_free'
drivers/spi/spi_s3c64xx.c:784: error: 'S3C2410_DMASRC_MEM' undeclared (first use in this function)
make[3]: *** [drivers/spi/spi_s3c64xx.o] Error 1
make[2]: *** [drivers/spi] Error 2
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [drivers] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/home/pdh0085/develope/light_dhplab/prosoft/kernels/linux-2.6.35-s5pv210'
make: *** [modules-build] Error 2

 

답변 부탁드리겠습니다.

이 게시물을
  • Twitter
  • Facebook
  • Delicious
목록

댓글 4

  • 이우영

    2012.09.21 20:02

    모듈 컴파일을 하신건가요? 

    현재 SPI는 CONFIG_S3C64XX_DEV_SPI 설정이 안되어 있어 등록되지 않습니다.


    CONFIG_S3C64XX_DEV_SPI 설정을 하시더라도 플랫폼 정보만 등록하기 때문에


    디바이스 드라이버는 직접 올리셔야 합니다.


    WATCHDOG 또한 플랫폼 정보만 등록하고 있습니다.


    결론적으로 WATCHDOG, spi는 현재 커널에서 사용하고 있지 않습니다.


    필요하시다면 커널 옵션을 변경하여 디바이스 드라이버를 포함 시켜주셔야 합니다


    경우에따라 디바이스 드라이버 소스를 수정해야 할지도 모릅니다.


    댓글

  • 대강박

    2012.09.21 20:29

    디바이스 WATCHDOG과 SPI는 S5PV210의 기본 기능 아닌가요?

    기본기능이라면 기본기능 포팅도 모두 이루어 지지 않았는데 파셨다는 것이 되는데 이건 아니겠죠?

    댓글

  • 이우영

    2012.09.22 01:23

    제가 잘못 알고 있던게 있었습니다.

    우선 커널에서 설정을 해주셔야 사용 가능합니다.


    WATCHDOG, SPI support를 활성화 해주시면 됩니다.

    WATCHDOG는 S3C2410 Watchdog

    SPI는 User mode SPI device driver support 를 지원 합니다.



    댓글

  • 대강박

    2013.03.22 08:48

    watchdog은 말쓰하신데로 하니 원활히 동작합니다. 

    SPI는 어떻게 해야 할까요?

    SPI는 User mode SPI device driver support 를 지원 합니다. <==어떻게 해야할지 감을 못잡겠습니다.


    혹시 커널이 업데이트 되어 동작하는지 확인해 주실수 있을까요?

    댓글

목록
번호 제목 글쓴이 날짜 조회 수
공지 포럼의 메뉴가 보이지 않아요! 장길석 2014.02.06 957630
공지 [중요 공지]제품 사용 및 기술 문의는 전화 상담을 받지 않습니다. 장길석 2012.11.09 1408523
공지 답글에 대한 공지 사항. falinux 2006.11.20 2424020
15341 [특판][성Y인Y용Y품][비아][시알][여성흥분제] 전부 1+1 vv8282.top 지금 확인해보세요~! dde33 2026.10.15 2
15340 요즘 잘 나가는,,, dde33 2026.09.12 843
15339 buildroot 사용 관련 로즈마리 2021.02.01 38166
15338 GPIO 제어 방법 문의 [1] 단순최고 2021.01.25 51084
15337 임베디드 리눅스 개발 보드 추천 nam 2019.12.06 48863
15336 make wandboard_quad 실행시 문제 gasi 2019.08.27 47084
15335 LCD 초기화 코드 좀 봐주세요 [1] 김용수 2019.07.12 63134
15334 임베디드 리눅스 커널 소스에 관해 질문드립니다 ! ekthatkxkd 2019.06.28 43727
15333 numpy,scipy 를 arm-linux-XXXX 로 크로스컴파일 하여 올릴수 있나요? 초보자 2019.06.24 49287
15332 I2C - deal with arbitration loss 오류가 궁금합니다. [1] S1eepingBeauty 2018.12.10 56770
15331 구형 EM-PXA270 보드 혹시 보유하시분 연락 주시면 감사드릴께요. file 존 2018.11.24 42753
15330 리눅스 GPIO 관련 센서의 단선 또는 고장유무 판별법이 궁금합니다. [2] S1eepingBeauty 2018.11.12 55125
15329 임베디드 리눅스에서 c 언어 디버깅 궁금합니다. [1] 존 2018.09.14 47072
15328 부팅 시간 문의 [1] nam 2018.06.29 45791
15327 localport? port? 검은고래 2018.06.29 39957
15326 fork()의 thread 멈추는 현상 [4] HwangRoy 2018.05.09 58614
15325 임베디드 리눅스 습득용 보드 판매하시나요? 임베디드초급자 2018.04.27 39719
15324 (도와주세요)네트워크 디바이스 드라이버 수정문제입니다. [1] Chanmini 2018.03.04 43600
15323 Ez x5 구합니다!! khobaik 2018.01.26 38315
15322 실행중 symbol not found 를 발생시키는 u-boot 본적 있으신가요 ? sayyouandme 2017.12.17 57347
첫 페이지 1 2 3 4 5 6 7 8 9 10 끝 페이지
쓰기
태그
부탁드립니다. ^^
  • 글을 작성하시려면 회원으로 가입하시고 로그인 하셔야 합니다.
  • 회원 가입은 주민등록번호가 필요 없으며, 메일 주소만 있으면 간단하게 가입하실 수 있습니다.
  • 본 포럼에 등록된 모든 글의 저작권은 작성하신 분께 있으며, 저작자의 허락 없이 다른 곳에 펌이나 도용하시면 안 됩니다.
  • 또한, 전자우편 수집 프로그램이나 그 밖의 기술적 장치를 이용하여 무단으로 이메일 주소 및 자료 수집되는 것을 거부하며,
  • 이를 위반 시 정보통신망 법에 의해 형사 처벌됨을 유념하시기 바랍니다.
  • FF 포럼
  • 강좌 & 팁
  • 함수설명
  • 자료실
  • 도와주세요