From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.196]) by ozlabs.org (Postfix) with ESMTP id C45FC679E7 for ; Thu, 26 May 2005 03:48:47 +1000 (EST) Received: by wproxy.gmail.com with SMTP id 37so958167wra for ; Wed, 25 May 2005 10:48:45 -0700 (PDT) Message-ID: Date: Wed, 25 May 2005 10:48:45 -0700 From: Shawn Jin To: John Otken , ppcembed In-Reply-To: <4292A441.4080708@softadvances.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 References: <4292A441.4080708@softadvances.com> Subject: Re: 2.6.10 unable to mount a root fs on ramdisk Reply-To: Shawn Jin List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi John, Thanks for your answer. I did add these lines to the code. Actually it turned out that I was so stupid that I didn't enable EXT2 filesystem support in the kernel. That's why the kernel always complained unknown block. -Shawn. On 5/23/05, John Otken wrote: > I had this problem with MV code on a Bamboo board. Look at > platform_init() in ebony.c. Before the call to ibm44x_platform_init() ad= d: >=20 > /* > * If we were passed in a board information, copy it into the > * residual data area. > */ > if (r3) > __res =3D *(bd_t *)(r3 + KERNELBASE); >=20 > /* > * If the init RAM disk has been configured in, and there's a vali= d > * starting address for it, set it up. > */ > if (r4) { > initrd_start =3D r4 + KERNELBASE; > initrd_end =3D r5 + KERNELBASE; > } >=20 > /* Copy the kernel command line arguments to a safe place. */ >=20 > if (r6) { > *(char *) (r7 + KERNELBASE) =3D 0; > strcpy(cmd_line, (char *) (r6 + KERNELBASE)); > }