2

我正在尝试使用 tftp 为 zynq 启动 VxWOrks。
我已相应地为 ipaddr、serverip、网络掩码设置了环境变量,并且文件已成功加载到 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>
4

1 回答 1

0

解决方案:我也必须加载 vxWorks.bin 并且它有效。

zynq-uboot> tftp 0x200000 vxWorks.bin
于 2017-02-07T05:55:00.920 回答