도와주세요!!
안녕하세요,,,,
아래 내용으로 커널을 변경하여 적용하려 하니 문제가 좀 발생을 합니다.
해결 좀 해주셔요,,,ㅠㅠ
<커널 컴파일 과정>
#make distclean
#./falinux-config.sh ez-s3c6410
#make menuconfig
--> Bluetooth 설정
Networking support --> Bluetooth subsystem support --> 아래 항목 모두 체크
#make clean
#make zImage
.
.
.
LD drivers/block/paride/built-in.o
CC drivers/bluetooth/hci_vhci.o
CC drivers/bluetooth/hci_ldisc.o
CC drivers/bluetooth/hci_h4.o
CC drivers/bluetooth/hci_bcsp.o
CC drivers/bluetooth/hci_ll.o
LD drivers/bluetooth/hci_uart.o
CC drivers/bluetooth/bcm203x.o
CC drivers/bluetooth/bpa10x.o
CC drivers/bluetooth/bfusb.o
CC drivers/bluetooth/dtl1_cs.o
CC drivers/bluetooth/bt3c_cs.o
CC drivers/bluetooth/bluecard_cs.o
CC drivers/bluetooth/btuart_cs.o
CC drivers/bluetooth/btusb.o
LD drivers/bluetooth/built-in.o
LD drivers/cdrom/built-in.o
CC drivers/char/mem.o
CC drivers/char/random.o
CC drivers/char/tty_io.o
CC drivers/char/n_tty.o
CC drivers/char/tty_ioctl.o
CC drivers/char/tty_ldisc.o
CC drivers/char/tty_buffer.o
CC drivers/char/tty_port.o
CC drivers/char/pty.o
CC drivers/char/misc.o
CC drivers/char/vt_ioctl.o
CC drivers/char/vc_screen.o
CC drivers/char/selection.o
CC drivers/char/keyboard.o
CC drivers/char/consolemap.o
CONMK drivers/char/consolemap_deftbl.c
CC drivers/char/consolemap_deftbl.o
CC drivers/char/vt.o
SHIPPED drivers/char/defkeymap.c
CC drivers/char/defkeymap.o
CC drivers/char/tty_audit.o
CC drivers/char/sysrq.o
CC drivers/char/hw_random/core.o
LD drivers/char/hw_random/rng-core.o
LD drivers/char/hw_random/built-in.o
LD drivers/char/ipmi/built-in.o
LD drivers/char/pcmcia/ipwireless/built-in.o
LD drivers/char/pcmcia/built-in.o
LD drivers/char/tpm/built-in.o
CC drivers/char/s3c_mem.o
drivers/char/s3c_mem.c:36:22: error: mach/map.h: No such file or directory
drivers/char/s3c_mem.c:40:22: error: mach/dma.h: No such file or directory
drivers/char/s3c_mem.c:41:22: error: plat/dma.h: No such file or directory
drivers/char/s3c_mem.c:49: error: variable 's3c_m2m_dma_client' has initializer but incomplete type
drivers/char/s3c_mem.c:50: error: unknown field 'name' specified in initializer
drivers/char/s3c_mem.c:50: warning: excess elements in struct initializer
drivers/char/s3c_mem.c:50: warning: (near initialization for 's3c_m2m_dma_client')
drivers/char/s3c_mem.c:58: warning: 'enum s3c2410_dma_buffresult' declared inside parameter list
drivers/char/s3c_mem.c:58: warning: its scope is only this definition or declaration, which is probably not what you want
drivers/char/s3c_mem.c:58: warning: 'struct s3c2410_dma_chan' declared inside parameter list
drivers/char/s3c_mem.c:58: error: parameter 4 ('result') has incomplete type
drivers/char/s3c_mem.c: In function 's3c_mem_ioctl':
drivers/char/s3c_mem.c:254: error: implicit declaration of function 's3c2410_dma_request'
drivers/char/s3c_mem.c:254: error: 'DMACH_3D_M2M' undeclared (first use in this function)
drivers/char/s3c_mem.c:254: error: (Each undeclared identifier is reported only once
drivers/char/s3c_mem.c:254: error: for each function it appears in.)
drivers/char/s3c_mem.c:259: error: implicit declaration of function 's3c2410_dma_set_buffdone_fn'
drivers/char/s3c_mem.c:262: error: implicit declaration of function 's3c2410_dma_devconfig'
drivers/char/s3c_mem.c:262: error: 'S3C_DMA_MEM2MEM' undeclared (first use in this function)
drivers/char/s3c_mem.c:262: warning: passing argument 1 of 'virt_to_phys' makes pointer from integer without a cast
drivers/char/s3c_mem.c:263: error: implicit declaration of function 's3c2410_dma_config'
drivers/char/s3c_mem.c:266: error: implicit declaration of function 's3c2410_dma_enqueue'
drivers/char/s3c_mem.c:266: warning: passing argument 1 of 'virt_to_phys' makes pointer from integer without a cast
drivers/char/s3c_mem.c:267: error: implicit declaration of function 's3c2410_dma_ctrl'
drivers/char/s3c_mem.c:267: error: 'S3C2410_DMAOP_START' undeclared (first use in this function)
drivers/char/s3c_mem.c:291: error: implicit declaration of function 's3c2410_dma_free'
make[2]: *** [drivers/char/s3c_mem.o] Error 1
make[1]: *** [drivers/char] Error 2
make: *** [drivers] Error 2
파란색 글씨는 변경된 커널 적용 된 것으로 판단되며,,
그 후 빨간색 글씨의 에러가 발생을 합니다.
이곳 포럼에서 동일한 오류가 발생하시는 분이 올리신 글을 보니
답변으로 커널 이미지 생성시 커멘드를 아래와 같이 하면 된다는 답변이 있어서,,,
#./make_s3c6410.sh
실행을 시켰습니다.
다행이 에러가 나지 않았지만,,,변경된 커널 내용이 적용이 되지 않는 것 같습니다.
어떻게 해야 할까요,,,,!?
커널 옵션 설정 시 ./make_s3c6410.sh menuconfig로 해보시기 바랍니다.
컴파일은 #./make_s3c6410.sh 동일 하게 해보시기 바랍니다.
.config의 위치가 달라서 옵션 설정이 적용이 안된거 같습니다.