MCSDK 3.x User Guide
Loading and Running Linux Kernel using tftp with NFS file system
>setenv serverip 192.168.1.10
>setenv tftp_root release
>setenv nfs_root export/release
>setenv boot net
>saveenv
>boot
我按照手册上面的设置进行tftp下载内核,nfs挂载文件系统,遇到如下问题:
设置好bootfile : setenv bootfile uImage, 当boot后,总是出现错误:
K2HK EVM # boot
BOOTP broadcast 1
BOOTP broadcast 2
*** Unhandled DHCP Option in OFFER/ACK: 52
*** Unhandled DHCP Option in OFFER/ACK: 52
DHCP client bound to address 192.168.1.100
Using K2HK_EMAC device
TFTP from server 192.168.1.192; our IP address is 192.168.1.100
Filename '�'.
Load address: 0x87000000
这时再查看bootfile, printenv bootfile:
bootfile=�
Shine:
请问用的是哪个版本的 SDK? '�'这个符号是log信息里打印的?
wen zhou2:
回复 Shine:
使用的是mcsdk-3-01-04-07. 简单来说就是我设置bootfile为uImage后,执行boot命令显示:
DHCP client bound to address 192.168.1.100Using K2HK_EMAC deviceTFTP from server 192.168.1.192; our IP address is 192.168.1.100Filename '�'.Load address: 0x87000000
按下Ctrl + c后退出tftp下载, 然后在uboot命令下查看bootfile, 得到: bootfile=�