<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:Arial;
        color:blue;
        font-weight:bold;
        font-style:normal;
        text-decoration:none none;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Hi Stu,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I realize you are trying to get your own
ram disk to work, but if you want to get a baseline you can use one we have on
our wiki site, at <a href="http://xilinx.wikidot.com/open-source-linux">http://xilinx.wikidot.com/open-source-linux</a>,
under Files To Download. &nbsp;This is the same ram disk that is included in the ELDK.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>This is the ram disk that I use to test
the ML507 design in our Git tree.&nbsp; I also use NFS a lot for testing.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Looks like you&#8217;re close with yours,
but I&#8217;m certainly no expert in that area as I typically have something
that works and don&#8217;t change it.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Good luck,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>John<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> linuxppc-embedded-bounces+john.linn=xilinx.com@ozlabs.org
[mailto:linuxppc-embedded-bounces+john.linn=xilinx.com@ozlabs.org] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Stu Bershtein<br>
<b><span style='font-weight:bold'>Sent:</span></b> Tuesday, August 12, 2008
5:28 PM<br>
<b><span style='font-weight:bold'>To:</span></b> linuxppc-embedded@ozlabs.org<br>
<b><span style='font-weight:bold'>Subject:</span></b> ml507 initrd problem</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><b><font size=2 color=blue face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:blue;font-weight:bold'>I have
been trying to boot linux on an ml507 board for a few days now.&nbsp; I am
using xilinx&#8217;s linux-2.6-xlnx.git kernel.&nbsp; The rootfs is home
rolled.&nbsp; I have had experience with NFS mounted root filesystems (not an
option here), cramfs, and romfs but have never tried running root out of a
ramdisk.&nbsp; Because of that I am quite sure I have dorked this up.&nbsp; Any
help will be appreciated!&nbsp; I have added printk&#8217;s in the kernel at
do_sys_open to get an idea what is going on.&nbsp; Here is a snip of the boot
output:<o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=2 color=blue face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:blue;font-weight:bold'><o:p>&nbsp;</o:p></span></font></b></p>

<p class=MsoNormal><b><font size=2 color=blue face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:blue;font-weight:bold'>.<o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=2 color=blue face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:blue;font-weight:bold'>Kernel
command line: console=ttyS0,9600 ip=on init=/linuxrc root=/dev/ram rw ram
disk_size=9000<o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=2 color=blue face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:blue;font-weight:bold'>.<o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=2 color=blue face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:blue;font-weight:bold'>Serial:
8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
83e00000.serial: ttyS0 at MMIO 0x83e00003 (irq = 16) is a 16550A<o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=2 color=blue face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:blue;font-weight:bold'>.<o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=2 color=blue face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:blue;font-weight:bold'>eth0:
XLlTemac: Send Threshold = 0, Receive Threshold = 0<o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=2 color=blue face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:blue;font-weight:bold'>eth0:
XLlTemac: Send Wait bound = 0, Receive Wait bound = 0<o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=2 color=blue face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:blue;font-weight:bold'>IP-Config:
Incomplete network configuration information.<o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=2 color=blue face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:blue;font-weight:bold'>open
/dev/ram<o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=2 color=blue face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:blue;font-weight:bold'>fd 0<o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=2 color=blue face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:blue;font-weight:bold'>open
/initrd.image<o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=2 color=blue face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:blue;font-weight:bold'>fd 1<o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=2 color=blue face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:blue;font-weight:bold'>RAMDISK:
Compressed image found at block 0<o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=2 color=blue face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:blue;font-weight:bold'>VFS:
Mounted root (ext2 filesystem).<o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=2 color=blue face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:blue;font-weight:bold'>Freeing
unused kernel memory: 144k init<o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=2 color=blue face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:blue;font-weight:bold'>open
/dev/console<o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=2 color=blue face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:blue;font-weight:bold'>fd 0<o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=2 color=blue face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:blue;font-weight:bold'>code
10000000 - 1019854c, data 10195000 - 1019854c, stack bf85df00<o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=2 color=blue face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:blue;font-weight:bold'>open
/dev/null<o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=2 color=blue face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:blue;font-weight:bold'>fd 3<o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=2 color=blue face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:blue;font-weight:bold'>open
/etc/inittab<o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=2 color=blue face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:blue;font-weight:bold'>fd 3<o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=2 color=blue face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:blue;font-weight:bold'><o:p>&nbsp;</o:p></span></font></b></p>

<p class=MsoNormal><b><font size=2 color=blue face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:blue;font-weight:bold'>And it
gets very quiet at that point.&nbsp; The kernel is still running in
ppc44x_idle.&nbsp; Does this suggest anything to anyone?&nbsp; I&#8217;ll be
more than happy to send or describe any config files to any one who might take
pity.<o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=2 color=blue face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:blue;font-weight:bold'><o:p>&nbsp;</o:p></span></font></b></p>

<p class=MsoNormal><b><font size=2 color=blue face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:blue;font-weight:bold'>Thanks,<o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=2 color=blue face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:blue;font-weight:bold'>Stu<o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=2 color=blue face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:blue;font-weight:bold'><o:p>&nbsp;</o:p></span></font></b></p>

</div>

</div>

<br clear=all> This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.
</body>

</html>