[U-Boot-Users] [PATCH] m68k fix for Ethernet Buffers at address 0

Wilson Callan wcallan at savantav.com
Mon Jul 23 17:09:00 CEST 2007


Hi,

Attached is a patch file to address the problem where eth_init() is  
called before NetRxPackets is initialized.  This results in the  
receive buffers being set to address 0, which overwrites the vector  
table when packets are received.  This patch simply removes the call  
to eth_init() because its called again later when TFTP is needed.   
The u-boot methodology is to only init hardware when its going to use  
it.   Note that this change may break some systems that relied on u- 
boot to set the MAC Address in all cases.  Those systems are supposed  
to get the MAC from u-boot parameters.

CHANGELOG:

Fix m68k problem where eth_init() is called before NetRxPackets is  
initialized.  Fixed by removing call to eth_init().

Signed-off-by: Wilson Callan <wcallan at savantav.com>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pktfix2.patch
Type: application/octet-stream
Size: 398 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20070723/786ae61c/attachment.obj 
-------------- next part --------------



More information about the U-Boot mailing list