[완료]VMware 로 타겟과의 통신중, TFTP 에 발생된 에러 내용입니다.

mkt7979의 이미지

현재 환경을 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 주소들의 주소도 끝자리만 변경하여 테스트해보았으나, 증상은 같았습니다.
한번 살펴봐 주세요ㅠ.

bushi의 이미지

'File not found' 는 tftp 서버에서 보내 준 문자열입니다.
'kernel' 이라는 파일을 못 찾겠다는 뜻입니다.

OTL

mkt7979의 이미지

말씀하신대로, 해당 파일을 못찾는다는 메세지였습니다.
그래서 u-boot 명령어를 찾아봤더니,명령어 형식을 다르게 쓰고 있었습니다.
댓글 정말 감사합니다~

외모로 버텨온 나날들...

외모로 버텨온 나날들...

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.