Altera_Forum
Honored Contributor
19 years agou-boot ethernet not working
Hi all,
I got a 2C35 development board and try to run u-boot on it. following this instruction http://forum.niosforum.com/forum/index.php?showtopic=4081&hl=u-boot ://http://forum.niosforum.com/forum/in...4081&hl=u-boot ://http://forum.niosforum.com/forum/in...4081&hl=u-boot (http://forum.niosforum.com/forum/index.php?showtopic=4081&hl=u-boot), I was able to build and download u-boot. then I configured the network and tried to ping any host, the node crashed and complained about memory allocation failed, like this: Warning: MAC addresses don't match: HW MAC address: 01:00:EF:FD:EF:FF "ethaddr" value: 08:00:3E:26:0A:5B Using MAC Address 08:00:3E:26:0A:5B SMC91111: smc_hardware_send_packet SMC91111: memory allocation, try 1 succeeded ... SMC91111: Memory allocation failed. SMC91111: smc_rcv RCV: STATUS e000 LENGTH 0 I searched around the forum and found this problem was reported before http://forum.niosforum.com/forum/index.php...=4674&hl=u-boot (http://forum.niosforum.com/forum/index.php?showtopic=4674&hl=u-boot), but did not see an answer. I am using the u-boot 1.1.3, which was download from http://www.psyent.com/download (http://www.psyent.com/download), while I checked the latest version 1.1.5) has no change in the ethernet driver file (smc91111.c). Anybody knows the fix please advise, your help is highly appreciated. ps. the ethernet chip itself should be fine, since it was working fine for me with eCos and uClinux, so I think the ethernet driver needs to be fixed. Thanks, Bin