Porting Linux On MPC8266 custom board

Alex Zeffertt ajz at cambridgebroadband.com
Wed Jul 27 18:52:32 EST 2005


On Wed, 27 Jul 2005 11:46:05 +0530
apoorv sangal <apoorvsangal at gmail.com> 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



More information about the Linuxppc-embedded mailing list