<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
Yes I am using ARCH=ppc (actual line is $make ARCH=ppc
CROSS_COMPILE=powerpc-405-linux-gnu- zImage.initrd ) for this I have
placed ramdisk.image.gz in arch/ppc/boot/images. In case of
ARCH=powerpc I cannot find processor type 405 , in make menuconfig.
Thats why i am using ARCH=ppc.<br>
<br>
And when I give kernel command string as init=/bin/sh , it says : <br>
>Failed to execute /bin/sh. Attempting defaults...<br>
[ 3.744035] Kernel panic - not syncing: No init found. Try passing
init= option to kernel.<br>
[ 3.768073] Rebooting in 30 seconds..<br>
<br>
--init is present in sbin/init which is a soft link to ../bin/busybox<br>
<br>
--I used powepc-405-gnu-readelf -h bin/sh to verify that it is compiled
for powerpc itself.<br>
<br>
Any other suggestions ?<br>
<br>
<pre class="moz-signature" cols="72">-----------------------------------------------------
Neeraj Garg
</pre>
<br>
<br>
Grant Likely wrote:
<blockquote cite="mid:20080709143318.GB26524@secretlab.ca" type="cite">
<pre wrap="">On Wed, Jul 09, 2008 at 10:24:13AM +0530, neeraj garg wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi,
I am trying to boot ML405 with Linux source code downloaded from
<a class="moz-txt-link-freetext" href="http://www.git.xilinx.com">http://www.git.xilinx.com</a> . My cross compiler tool chain version is
gcc-3.4.1, glibc-2.3.2 and binutils-2.15. I have also downloaded RAMDISK
from same url (<a class="moz-txt-link-freetext" href="http://www.git.xilinx.com">http://www.git.xilinx.com</a>). When I download
zImage.initrd.elf using XMD everything goes fine, untill RAMDISK is
uncompressed, I get following messages :
</pre>
</blockquote>
<pre wrap=""><!----><snip>
</pre>
<blockquote type="cite">
<pre wrap=""> [ 3.736691] Failed to
execute /sbin/init. Attempting defaults...
[ 3.748073] Kernel panic - not syncing: No init found. Try passing
init= option to kernel.
[ 3.772040] Rebooting in 180 seconds..[ 183.487314] Signal: 8
</pre>
</blockquote>
<pre wrap=""><!---->
Try changing the kernel parameters line to specify init=/bin/sh and see
what happens.
g.
</pre>
</blockquote>
</body>
</html>