u-Boot VxWorks TFTP启动失败:"错误:启动操作系统'未知操作系统' (14)不受支持"

时间:2014-09-02 14:17:02

标签: vxworks u-boot tftp zynq

我正在尝试使用tftp为zynq启动VxWOrks 我已经相应地为ipaddr,serverip,netmask设置了环境变量,并且文件成功地加载到RAM中。但是,在尝试引导vxWorks映像时出现以下错误。 VxWOrks映像没有问题,因为当我将这些文件写入SD卡并从SD卡启动时,我可以使用这些iamges成功启动

zynq-uboot> bootm 0x5000000 - 0x4000000

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

这是一个完整的截图

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>

1 个答案:

答案 0 :(得分:0)

的解决方案: 我不得不加载vxWorks.bin并且它有效。

zynq-uboot> tftp 0x200000 vxWorks.bin