<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2963" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2>
<DIV><SPAN class=981160106-16112006><FONT face=Arial size=2>hello 
all,</FONT></SPAN></DIV>
<DIV><SPAN class=981160106-16112006><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN 
class=981160106-16112006>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<FONT face=Arial size=2>I am currently trying to optimize the Ethernet driver 
initialization code and the Tftp code of the U-boot so that it can fit into the 
I2CPROM of the 8321 LCDB board whose PROM size is 32 KB, but out of which only 
18 KB is available for the code. </FONT></SPAN></DIV>
<DIV><SPAN class=981160106-16112006><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=981160106-16112006><FONT face=Arial size=2>The main aim of this 
project is to be able to provide support for booting up for those boards whose 
flash memory has gone bad or boards not having any flash.</FONT></SPAN></DIV>
<DIV><SPAN class=981160106-16112006><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=981160106-16112006><FONT face=Arial size=2>The code which will 
be present on the PROM will have the first stage boot up code, which will 
initialize the board. The second part of the part does Ethernet initialization 
and provide support for Tftp so that the board will be able to download the 
images to the RAM and then start booting up from RAM.&nbsp;</FONT></SPAN></DIV>
<DIV><SPAN class=981160106-16112006><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=981160106-16112006><FONT face=Arial size=2>The main problem in 
implementing&nbsp;this&nbsp;feature is the size of the PROM that is available to 
us. The Ethernet initialization code (UCC) needs&nbsp;to do bare initialization 
of the Ethernet and does not implement any complex functionalities. The only 
functions that are required are the (1) TX event (2) RX event (3) Error Control 
and (4)CRC.</FONT></SPAN></DIV>
<DIV><SPAN class=981160106-16112006></SPAN>&nbsp;</DIV>
<DIV><SPAN class=981160106-16112006><FONT face=Arial size=2>The Tftp code 
(present in the&nbsp;net directory of the U-Boot) then should support&nbsp;a 
simple file transfer protocol implemented in a minimal 
fashion.</FONT></SPAN></DIV>
<DIV><SPAN class=981160106-16112006></SPAN>&nbsp;</DIV>
<DIV><SPAN class=981160106-16112006><FONT face=Arial size=2>The&nbsp;Ethernet 
initialization code and the Tftp code size should&nbsp;not be more than 18 
KB.&nbsp;</FONT></SPAN></DIV>
<DIV><SPAN class=981160106-16112006><FONT face=Arial size=2>Can anyone suggest 
me a method like how to&nbsp;go on with the optimization of the codes or is 
there any other way of implementing this feature.</FONT></SPAN></DIV>
<DIV><SPAN class=981160106-16112006></SPAN>&nbsp;</DIV>
<DIV><SPAN class=981160106-16112006><FONT face=Arial 
size=2>Regards</FONT></SPAN></DIV>
<DIV><SPAN class=981160106-16112006><FONT face=Arial size=2>Sandeep 
Gopalpet</FONT>&nbsp;</SPAN></DIV></FONT></DIV></BODY></HTML>