[완료]VMware 로 타겟과의 통신중, TFTP 에 발생된 에러 내용입니다.
글쓴이: mkt7979 / 작성시간: 월, 2010/05/03 - 11:24오전
현재 환경을 WinXP SP3에서 VMware Workstation 7에 GuestOS로 Fedora 12 를 구동하였습니다.
minicom 설정을 마치고, u-boot는 이미 올라가있는 상태이며, tftp 로 커널이미지를 다운받아보려 하지만,
커널이미지가 다운이 되질 않습니다.(다른 보드에서는 정상적인 tftp동작을 확인하였는데, 현재 보드에서만 tftp동작이 안되요)
먼저 터미널에서 미니컴을 실행시키면...
Welcome to minicom 2.4 OPTIONS: I18n Compiled on Apr 29 2010, 09:42:18. Port /dev/ttyS0 Press CTRL-A Z for help on special keys U-Boot 1.0.0 (Dec 17 2005 - 10:59:37) U-Boot code: A7000000 -> A70179AC BSS: -> A704B634 SDRAM Configuration: Bank #0: a0000000 64 MB Bank #1: a4000000 64 MB Flash: 32 MB *** Warning - bad CRC, using default environment GPIO Test(LED(D16) : ON/OFF)-Debugging LED GPIO_4 - LED ON setenv....serial Hit any key to stop autoboot: 0 SuDo21> printenv <-----------------여기서 printenv로 환경 확인 bootcmd=bootm 80000 200000 bootdelay=5 baudrate=115200 ethaddr=00:00:00:f0:f0:f0 ipaddr=192.168.1.211 serverip=192.168.1.196 <------- 설정된 serverip 192.168.1.196 gatewayip=192.168.1.1 netmask=255.255.255.0 stdout=serial stderr=serial Environment size: 197/262140 bytes
u-boot에는 위와 같이 설정이 되어 있습니다.그러면 tftp 서버를 구동시킬 리눅스의 ip를 위에 192.168.1.196 로 설정해야 되겠죠.
[root@localhost tftpboot]# ifconfig eth0 Link encap:Ethernet HWaddr 00:0C:29:DC:FF:83 inet addr:192.168.1.196 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::20c:29ff:fedc:ff83/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:127 errors:0 dropped:0 overruns:0 frame:0 TX packets:280 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:11924 (11.6 KiB) TX bytes:31687 (30.9 KiB) Interrupt:19 Base address:0x2000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:8 errors:0 dropped:0 overruns:0 frame:0 TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:480 (480.0 b) TX bytes:480 (480.0 b)
위에 보시는것처럼 현재 tftp가 돌아가는 serverip를 맞추어줬습니다. 그래서 u-boot 상에서 아래의 명령어를 치면
SuDo21> tftp zImage.ram kernel TFTP from server 192.168.1.196; our IP address is 192.168.1.211 Filename 'kernel'. Load address: 0x0 Loading: * TFTP error: 'File not found' (1) Starting again Abort SuDo21> <INTERRUPT> <---ctrl+c 입니다.
위와같은 메시지만 뜹니다.제가 놓치고 있는 부분이 있을까요?
방화벽도 모두 해제했고, 윈도우 주소,VMware 주소, target 주소들의 주소도 끝자리만 변경하여 테스트해보았으나, 증상은 같았습니다.
한번 살펴봐 주세요ㅠ.
Forums:
'File not found' 는 tftp
'File not found' 는 tftp 서버에서 보내 준 문자열입니다.
'kernel' 이라는 파일을 못 찾겠다는 뜻입니다.
OTL
댓글 감사합니다.
말씀하신대로, 해당 파일을 못찾는다는 메세지였습니다.
그래서 u-boot 명령어를 찾아봤더니,명령어 형식을 다르게 쓰고 있었습니다.
댓글 정말 감사합니다~
외모로 버텨온 나날들...
외모로 버텨온 나날들...
댓글 달기