From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 27 Jul 2005 09:52:32 +0100 From: Alex Zeffertt To: apoorv sangal Message-Id: <20050727095232.3603abc1.ajz@cambridgebroadband.com> In-Reply-To: References: <20050707101239.1389b917.ajz@cambridgebroadband.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Cc: Linuxppc-embedded@ozlabs.org Subject: Re: Porting Linux On MPC8266 custom board List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, 27 Jul 2005 11:46:05 +0530 apoorv sangal wrote: > Hi Alex, > Thanks a lot for your reply. > I have been able to procedd further and now I am facing problem in > mounting root file system. > As suggested by you in earlier mail about the following :- > " > 1. linux/init/main.c > > (which contains the following code > #endif > #ifdef CONFIG_MTD > { "mtdblock", 0x1f00 }, > #endif > { NULL, 0 } > }; > ) > " > I am not able to find the above mention code snippet in the linux/init/main.c. > I am using Linux Kerne 2.4.24 which came with eldk. > Does that mean that i have to deifne CONFIG_MTD myself as i am trying > to JFFS2 file system ? The code is definitely in there! You need to define CONFIG_MTD using make menuconfig (make sure you define it as kernel resident not as a module). If you are new to all this read the README in the kernel source directory first. Alex