<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2657.88">
<TITLE>Memory Size Requirement to Run Linux on Embedded Environment</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2 FACE="Verdana">Hi everyone!</FONT>
<BR><FONT SIZE=2 FACE="Verdana">I am new to linux and my current project is to port linux on our custom hardware based on PPC405EP(AMCC).</FONT>
<BR><FONT SIZE=2 FACE="Verdana">Currently we are in a hardware design phase but I am finding it hard to decide the Flash and SDRAM Memory size.</FONT>
<BR><FONT SIZE=2 FACE="Verdana">We are planning to us 2.6 Kernel, with minimum hardware interfaces.</FONT>
</P>

<P><FONT SIZE=2 FACE="Verdana">Should we use Kernel 2.4 or 2.6?</FONT>
</P>

<P><FONT SIZE=2 FACE="Verdana">Main components of my target device are as follows..</FONT>
</P>

<P><FONT SIZE=2 FACE="Verdana">1)AMCC PPC405EP processor operating at 66.66Mhz External Oscillator(Hope we can go for higher operating frequencies by configuring internal registers of PPC).</FONT></P>

<P><FONT SIZE=2 FACE="Verdana">2)Virtex-2 Pro FPGA - memory mapped to PPC405.</FONT>
<BR><FONT SIZE=2 FACE="Verdana">3)Ethernet Connectivity.</FONT>
<BR><FONT SIZE=2 FACE="Verdana">4)IrDA.</FONT>
<BR><FONT SIZE=2 FACE="Verdana">5)Two RS232 Serial Ports.</FONT>
<BR><FONT SIZE=2 FACE="Verdana">6) IIC Bus.</FONT>
</P>
<BR>

<P><FONT SIZE=2 FACE="Verdana">I assume the binary size of my application that will run on linux would be around 2 to 3 MB. By considering these facts of my hardware, what would be the size of kernel? And how many drivers I may require? What would be the size of my root file system? </FONT></P>

<P><FONT SIZE=2 FACE="Verdana">Is it necessary to have a NAND Flash to handle the power failures? Or any CFI compliant NOR Flash would do!</FONT>
</P>

<P><FONT SIZE=2 FACE="Verdana">There will be parameters of about 65KB are to be used and these parameters can be changed in the field. This parameter block will have 2 copies to avoid data corruption due to power fail. Hence to avoid the use of NAND Flash I will be using 2 Parameter files to read and write(into flash) in a linux environment during normal operation. Am I right??</FONT></P>

<P><FONT SIZE=2 FACE="Verdana">In this mailing list I have read the typical size of U-BOOT will be around 256KB as suggested by Wolfgang Denk.</FONT>
</P>

<P><FONT SIZE=2 FACE="Verdana">A rough approximation of Flash and SDRAM size would help me a lot to proceed with my hardware design. </FONT>
</P>

<P><FONT SIZE=2 FACE="Verdana">Pardon me If I am asking too basic questions, I know I have to do lot of reading before I proceed. </FONT>
<BR><FONT SIZE=2 FACE="Verdana">Your inputs are valuable to me!</FONT>
</P>

<P><FONT SIZE=2 FACE="Verdana">Thanks in advance for your support,</FONT>
<BR><FONT SIZE=2 FACE="Verdana">BR,</FONT>
<BR><FONT SIZE=2 FACE="Verdana">Albert David.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">- - - - - - - DISCLAIMER - - - - - - - - </FONT>
<BR><FONT SIZE=2 FACE="Arial">Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.</FONT></P>

</BODY>
</HTML>