2014-09-02 7 views
2

zynq 용 tftp를 사용하여 VxWOrks를 부팅하려고합니다.
ipaddr, serverip, netmask에 대한 환경 변수를 설정하고 파일을 RAM에 성공적으로로드합니다. 그러나 vxWorks 이미지를 부팅 할 때 다음 오류가 발생합니다. 내가 sdcard에 여기u-Boot VxWorks TFTP 부팅 실패 : "부팅 할 때 os '알 수없는 OS'(14)가 지원되지 않습니다."

zynq-uboot> bootm 0x5000000 - 0x4000000 

#ERROR: booting os 'Unknown OS' (14) is not supported" 

에서 SD 카드 및 부팅에 이러한 파일을 쓸 때 내가 성공적으로 iamges 부팅 할 수 있습니다으로 Vx 웍스 이미지 문제는

zynq-uboot> setenv ipaddr 192.168.88.169;setenv serverip 192.168.88.88;setenv netmask 255.255.255.0 
zynq-uboot> tftp 0x8000000 BOOT.bin 

Trying to set up GEM link... 
Phy ID: 01410E40 
Resetting PHY... 
PHY reset complete. 
Waiting for PHY to complete auto-negotiation... 
Link is now at 1000Mbps! 
Using zynq_gem device 
TFTP from server 192.168.88.88; our IP address is 192.168.88.169 
Filename 'BOOT.bin'. 
Load address: 0x8000000 
Loading: T ######################## 
done 
Bytes transferred = 345180 (5445c hex) 
zynq-uboot> tftp 0x5000000 uVxWorks && tftp 0x4000000 zynq-7000.dtb 

Using zynq_gem device 
TFTP from server 192.168.88.88; our IP address is 192.168.88.169 
Filename 'uVxWorks'. 
Load address: 0x5000000 
Loading: T T ################################################################# 
     ################################################################# 
     ############################################################### 
done 
Bytes transferred = 2829468 (2b2c9c hex) 
Using zynq_gem device 
TFTP from server 192.168.88.88; our IP address is 192.168.88.169 
Filename 'zynq-7000.dtb'. 
Load address: 0x4000000 
Loading: # 
done 
Bytes transferred = 3588 (e04 hex) 
zynq-uboot> bootm 0x5000000 - 0x4000000 

## Booting kernel from Legacy Image at 05000000 ... 
    Image Name: vxWorks 
    Image Type: ARM Unknown OS Kernel Image (uncompressed) 
    Data Size: 2829404 Bytes = 2.7 MiB 
    Load Address: 00200000 
    Entry Point: 00200000 
    Verifying Checksum ... OK 
    Loading Kernel Image ... OK 
OK 
ERROR: booting os 'Unknown OS' (14) is not supported 

zynq-uboot> <INTERRUPT> 
+0

SD 카드 부팅과 동일한 버전 및 U-Boot 복사본을 사용합니까? BTW에서 "* sdcard에서 부팅 할 때 문제가 없습니다."*라고 말하면 실패한 부팅 대신에 성공적인 부팅 결과를 볼 것으로 예상됩니다. – sawdust

+0

어떤 u- 부트 버전을 사용하고 있습니까? "mkimage -l uVxWorks"의 출력은 무엇입니까? "이미지 유형"에 대한 mkimage의 출력은 "알 수 없음"이 아니어야합니다. 오류 메시지는 바이너리의 이미지 유형으로 " '알 수없는 OS'(14)"를 표시하지만 14는 VxWorks 이미지 유형에 대한 정의이므로 아무 문제가 없어야합니다. 도구와 u-boot 버전을 섞어 놓지 않는 한. –

+1

U-Boot 버전은 U-Boot 2012.10 (2012 년 12 월 17 일 - 10:57:07) 문제를 해결했습니다. 그것은 버전에 없습니다. 내가해야 할 일은 vxWorks.bin을로드하는 것뿐입니다. "zynq-uboot> tftp 0x200000 vxWorks.bin" – Aparajuli

답변

0

솔루션을 촬영 완전한 화면이됩니다되지 않습니다 : vxWorks.bin도로드해야했기 때문에 작동했습니다.

zynq-uboot> tftp 0x200000 vxWorks.bin