DM9161驱动移植问题
采用uboot1.3.4出现
Generating include/autoconf.mk.dep
cc1: warning: target CPU does not support interworking
搜索发现修改cpu/920t/config.mk中的
PLATFORM_CPPFLAGS += -march=armv4
改为
PLATFORM_CPPFLAGS += -march=armv4t
编译没出现警告;
tftp下载内核的时候发现内核下载不完整导致无法启动内核
U-Boot> imls
Legacy Image at 10060000:
Image Name: Linux-2.6.21
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1716624 Bytes = 1.6 MB
Load Address: 20008000
Entry Point: 20008000
Verifying Checksum ... Bad Data CRC
抓包发现
在传送的过程中出了tftp还有ip协议的出现,导致收到的内核不完整
第一次做uboot的移植,看了半天的网络的代码,也不明白那里有问题,望高人指点啊
谢谢~~