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에 복사후 올려보아도 반응은 매한가지네요..


동영상 재생하고 싶어요.. 도와주세요 ㅠㅠ