도와주세요!!
글 수 15,339
2008.12.16 11:41:05 (*.73.230.174)
7533
make -C ./mae/mae-driver-2/build-2.6 KERNELSRC=/au1200/movie_player/linux
make[1]: Entering directory `/au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6'
make -C /au1200/movie_player/linux M=`pwd`/../ modules
make[2]: Entering directory `/au1200/movie_player/linux'
CC [M] /au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6/../au1xxx_mae.o
In file included from /au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6/../au1xxx_mae.h:32,
from /au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6/../au1xxx_mae.c:90:
/au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6/../types.h:38: warning: useless keyword or type name in empty declaration
/au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6/../types.h:38: warning: empty declaration
/au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6/../types.h:40: warning: useless keyword or type name in empty declaration
/au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6/../types.h:40: warning: empty declaration
/au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6/../au1xxx_mae.c: In function `clear_rgbq_planes':
/au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6/../au1xxx_mae.c:1931: error: `size_rgb_frames_base' undeclared (first use in this function)
/au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6/../au1xxx_mae.c:1931: error: (Each undeclared identifier is reported only once
/au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6/../au1xxx_mae.c:1931: error: for each function it appears in.)
/au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6/../au1xxx_mae.c: In function `init_rgbq_list':
/au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6/../au1xxx_mae.c:1999: error: `size_rgb_frame' undeclared (first use in this function)
/au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6/../au1xxx_mae.c: In function `setup_mae_memory':
/au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6/../au1xxx_mae.c:4359: error: `size_rgb_frame' undeclared (first use in this function)
/au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6/../au1xxx_mae.c:4367: error: `size_rgb_frames_base' undeclared (first use in this function)
make[3]: *** [/au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6/../au1xxx_mae.o] 오류 1
make[2]: *** [_module_/au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6/..] 오류 2
make[2]: Leaving directory `/au1200/movie_player/linux'
make[1]: *** [all] 오류 2
make[1]: Leaving directory `/au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6'
강좌내용처럼 하면 error 메세지가 size_rgb_frame이랑 size_rgb_frames_base가 없다고 해서 그 구문을 임의로 비슷하게 추가해서 넣어 보았습니다.
167 int size_rgb_frame;
168 module_param(size_rgb_frame, int, 0444);
169 MODULE_PARM_DESC(size_rgb_frame, "my value1");
170
171 int size_rgb_frames_base;
172 module_param(size_rgb_frames_base, int, 0444);
173 MODULE_PARM_DESC(size_rgb_frames_base, "my value2");
에러는 없지만 warning은 여전히 뜸
make[1]: Leaving directory `/au1200/movie_player/amdms2/app/maiplayer/Build/Linux'
mipsel-linux-gcc ./util/fbio/fbio.c -o /au1200/movie_player/amdms2/mipsrel/fbio
make -C ./mae/mae-driver-2/build-2.6 KERNELSRC=/au1200/movie_player/linux
make[1]: Entering directory `/au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6'
make -C /au1200/movie_player/linux M=`pwd`/../ modules
make[2]: Entering directory `/au1200/movie_player/linux'
CC [M] /au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6/../au1xxx_mae.o
In file included from /au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6/../au1xxx_mae.h:32,
from /au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6/../au1xxx_mae.c:90:
/au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6/../types.h:38: warning: useless keyword or type name in empty declaration
/au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6/../types.h:38: warning: empty declaration
/au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6/../types.h:40: warning: useless keyword or type name in empty declaration
/au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6/../types.h:40: warning: empty declaration
CC [M] /au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6/../au1xxx_mae_dump.o
/au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6/../au1xxx_mae_dump.c: In function `dump_maeq_entry':
/au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6/../au1xxx_mae_dump.c:111: warning: unsigned int format, different type arg (arg 3)
/au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6/../au1xxx_mae_dump.c:113: warning: unsigned int format, different type arg (arg 3)
LD [M] /au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6/../mae-driver.o
Building modules, stage 2.
MODPOST 1 modules
CC /au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6/../mae-driver.mod.o
LD [M] /au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6/../mae-driver.ko
make[2]: Leaving directory `/au1200/movie_player/linux'
make[1]: Leaving directory `/au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6'
그렇게 추가해서 강좌를 따라서 쭉쭉 따라 ./mipsrel에 있는 파일들을 home/nfs로 옮겨서 동영상 강좌 까지 가면 메세지가 minicom에서 메세지가 다음과 같습니다
]$ mount -t nfs -o nolock hostIP:/home/nfs /mnt/nfs
]$ cd /mnt/nfs
]$ cd /mnt/nfs
]$ ./nodes.sh
[root@falinux nfs]$ ./nodes.sh
Creating device nodes: fb, mae, dsp, mixer...
Removing fb0 and fb1...
Recreating fb0(29,0) and fb1(29,1)...
Nodes created.
ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ
[mae] 내용은 안나와서
다시한번더 ./nodes.sh를 치면
ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ
Creating device nodes: fb, mae, dsp, mixer...
Removing fb0 and fb1...
Recreating fb0(29,0) and fb1(29,1)...
Removing mae...
Recreating mae(251,2)...
Nodes created.
ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ
노드는 생성되네요 꼭 2번쳐야 하는게 의심스럽고요
그 다음 ]$ insmod ./mae-driver.ko 를 치면 강좌와 틀리게 이런 메세지만 계속 나옵니다.
ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ
eth0: Receiver overrun.
eth0: Receiver overrun.
eth0: Receiver overrun.
.
.
.
ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ
의문 1. eth0는 이상없이 부팅되고 ping은 서로 오고 가는데 무슨 문제인지 모르겠습니다.
의문 2. 강좌중에 mae/mae-driver-2/build-2.6/Makefile를 보면 전혀 다른내용인 52라인으로 되어 있어요.
RMI에서 받은 소스중 그 Makefile을 첨부해서 보여드릴테니 확인부탁드립니다.
ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ
mae/mae-driver-2/build-2.6/Makefile 수정
역시 쓰기 속성를 추가한 후 수정합니다.
]# chmod 644 mae/mae-driver-2/build-2.6/Makefile
]# vi mae/mae-driver-2/build-2.6/Makefile
1. TARGET_PREFIX 수정
97 static __inline__ int __ilog2(unsigned int x)
98 {
99 int lz;
100
101 asm volatile (
102 ".settnoreordernt"
103 ".settnoatnt"
ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ
외문 3. 혹시 강좌내용중에 커널 컴파일한 zImage.bin 커널도 올려야 하는건가요?
tftp로 컴파일한 zImage.bin을 적절히 변경해서 /tftp에 복사후 올려보아도 반응은 매한가지네요..
동영상 재생하고 싶어요.. 도와주세요 ㅠㅠ
make[1]: Entering directory `/au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6'
make -C /au1200/movie_player/linux M=`pwd`/../ modules
make[2]: Entering directory `/au1200/movie_player/linux'
CC [M] /au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6/../au1xxx_mae.o
In file included from /au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6/../au1xxx_mae.h:32,
from /au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6/../au1xxx_mae.c:90:
/au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6/../types.h:38: warning: useless keyword or type name in empty declaration
/au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6/../types.h:38: warning: empty declaration
/au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6/../types.h:40: warning: useless keyword or type name in empty declaration
/au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6/../types.h:40: warning: empty declaration
/au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6/../au1xxx_mae.c: In function `clear_rgbq_planes':
/au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6/../au1xxx_mae.c:1931: error: `size_rgb_frames_base' undeclared (first use in this function)
/au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6/../au1xxx_mae.c:1931: error: (Each undeclared identifier is reported only once
/au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6/../au1xxx_mae.c:1931: error: for each function it appears in.)
/au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6/../au1xxx_mae.c: In function `init_rgbq_list':
/au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6/../au1xxx_mae.c:1999: error: `size_rgb_frame' undeclared (first use in this function)
/au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6/../au1xxx_mae.c: In function `setup_mae_memory':
/au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6/../au1xxx_mae.c:4359: error: `size_rgb_frame' undeclared (first use in this function)
/au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6/../au1xxx_mae.c:4367: error: `size_rgb_frames_base' undeclared (first use in this function)
make[3]: *** [/au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6/../au1xxx_mae.o] 오류 1
make[2]: *** [_module_/au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6/..] 오류 2
make[2]: Leaving directory `/au1200/movie_player/linux'
make[1]: *** [all] 오류 2
make[1]: Leaving directory `/au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6'
강좌내용처럼 하면 error 메세지가 size_rgb_frame이랑 size_rgb_frames_base가 없다고 해서 그 구문을 임의로 비슷하게 추가해서 넣어 보았습니다.
167 int size_rgb_frame;
168 module_param(size_rgb_frame, int, 0444);
169 MODULE_PARM_DESC(size_rgb_frame, "my value1");
170
171 int size_rgb_frames_base;
172 module_param(size_rgb_frames_base, int, 0444);
173 MODULE_PARM_DESC(size_rgb_frames_base, "my value2");
에러는 없지만 warning은 여전히 뜸
make[1]: Leaving directory `/au1200/movie_player/amdms2/app/maiplayer/Build/Linux'
mipsel-linux-gcc ./util/fbio/fbio.c -o /au1200/movie_player/amdms2/mipsrel/fbio
make -C ./mae/mae-driver-2/build-2.6 KERNELSRC=/au1200/movie_player/linux
make[1]: Entering directory `/au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6'
make -C /au1200/movie_player/linux M=`pwd`/../ modules
make[2]: Entering directory `/au1200/movie_player/linux'
CC [M] /au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6/../au1xxx_mae.o
In file included from /au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6/../au1xxx_mae.h:32,
from /au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6/../au1xxx_mae.c:90:
/au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6/../types.h:38: warning: useless keyword or type name in empty declaration
/au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6/../types.h:38: warning: empty declaration
/au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6/../types.h:40: warning: useless keyword or type name in empty declaration
/au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6/../types.h:40: warning: empty declaration
CC [M] /au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6/../au1xxx_mae_dump.o
/au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6/../au1xxx_mae_dump.c: In function `dump_maeq_entry':
/au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6/../au1xxx_mae_dump.c:111: warning: unsigned int format, different type arg (arg 3)
/au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6/../au1xxx_mae_dump.c:113: warning: unsigned int format, different type arg (arg 3)
LD [M] /au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6/../mae-driver.o
Building modules, stage 2.
MODPOST 1 modules
CC /au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6/../mae-driver.mod.o
LD [M] /au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6/../mae-driver.ko
make[2]: Leaving directory `/au1200/movie_player/linux'
make[1]: Leaving directory `/au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6'
그렇게 추가해서 강좌를 따라서 쭉쭉 따라 ./mipsrel에 있는 파일들을 home/nfs로 옮겨서 동영상 강좌 까지 가면 메세지가 minicom에서 메세지가 다음과 같습니다
]$ mount -t nfs -o nolock hostIP:/home/nfs /mnt/nfs
]$ cd /mnt/nfs
]$ cd /mnt/nfs
]$ ./nodes.sh
[root@falinux nfs]$ ./nodes.sh
Creating device nodes: fb, mae, dsp, mixer...
Removing fb0 and fb1...
Recreating fb0(29,0) and fb1(29,1)...
Nodes created.
ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ
[mae] 내용은 안나와서
다시한번더 ./nodes.sh를 치면
ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ
Creating device nodes: fb, mae, dsp, mixer...
Removing fb0 and fb1...
Recreating fb0(29,0) and fb1(29,1)...
Removing mae...
Recreating mae(251,2)...
Nodes created.
ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ
노드는 생성되네요 꼭 2번쳐야 하는게 의심스럽고요
그 다음 ]$ insmod ./mae-driver.ko 를 치면 강좌와 틀리게 이런 메세지만 계속 나옵니다.
ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ
eth0: Receiver overrun.
eth0: Receiver overrun.
eth0: Receiver overrun.
.
.
.
ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ
의문 1. eth0는 이상없이 부팅되고 ping은 서로 오고 가는데 무슨 문제인지 모르겠습니다.
의문 2. 강좌중에 mae/mae-driver-2/build-2.6/Makefile를 보면 전혀 다른내용인 52라인으로 되어 있어요.
RMI에서 받은 소스중 그 Makefile을 첨부해서 보여드릴테니 확인부탁드립니다.
ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ
mae/mae-driver-2/build-2.6/Makefile 수정
역시 쓰기 속성를 추가한 후 수정합니다.
]# chmod 644 mae/mae-driver-2/build-2.6/Makefile
]# vi mae/mae-driver-2/build-2.6/Makefile
1. TARGET_PREFIX 수정
97 static __inline__ int __ilog2(unsigned int x)
98 {
99 int lz;
100
101 asm volatile (
102 ".settnoreordernt"
103 ".settnoatnt"
ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ
외문 3. 혹시 강좌내용중에 커널 컴파일한 zImage.bin 커널도 올려야 하는건가요?
tftp로 컴파일한 zImage.bin을 적절히 변경해서 /tftp에 복사후 올려보아도 반응은 매한가지네요..
동영상 재생하고 싶어요.. 도와주세요 ㅠㅠ
2008.12.16 18:17:20 (*.138.43.103)
앗! 성공하셨군요. 작업하면서 복사해 넣은 것인데 어떤 차이가 있는지 모르겠네요.
그래서 성현님의 말씀은 더욱 고맙습니다. ^^
앞으로 안되시는 분을 위해 잘 정리해서 다시 올리게습니다.
혹시 정리하면서 올리다가 궁금한 것이 있으면 여쭙고 싶은데,
저에게 메일 주소를 알려 주시면 감사하겠습니다.
저의 메일 주소는 jwjwmx@gmail.com 입니다. 꼭 부탁드립니다. ^^
그래서 성현님의 말씀은 더욱 고맙습니다. ^^
앞으로 안되시는 분을 위해 잘 정리해서 다시 올리게습니다.
혹시 정리하면서 올리다가 궁금한 것이 있으면 여쭙고 싶은데,
저에게 메일 주소를 알려 주시면 감사하겠습니다.
저의 메일 주소는 jwjwmx@gmail.com 입니다. 꼭 부탁드립니다. ^^
혹시나 해서 검색 해보니 eth0 :receiver overrun 메세지 나올시에는 옵션을 따로지정해주니 되요.
mount -t nfs -o nolock,rsize=1024,wsize=1024 HOSTIP:/home/nfs /mnt/nfs 이런식으로
결론을 말씀드리자면 강좌에 /au1200/movie_player/amdms2/mae/mae-driver-2/au1xxx_mae.c에
167 int size_rgb_frame;
168 module_param(size_rgb_frame, int, 0444);
169 MODULE_PARM_DESC(size_rgb_frame, "my value1");
170
171 int size_rgb_frames_base;
172 module_param(size_rgb_frames_base, int, 0444);
173 MODULE_PARM_DESC(size_rgb_frames_base, "my value2");
이런 내용이 빠져있고
au1200/movie_player/amdms2/mae/mae-driver-2/build-2.6/Makefile에
커널 소스=?/au1200/move_player/linux 라 적는 내용이 빠져있습니다.
수정해서 올려주시면 다른분들도 참고 하실때 편할 것 같군요. 감사합니다. ^^