On Friday 29 January 2010 10:41:19 am Ottavio Campana wrote:
> On Tue, Jan 26, 2010 at 09:42:43AM +0200, Caglar Akyuz wrote:
> > On Monday 25 January 2010 06:49:23 pm Ottavio Campana wrote:
> > > I'm trying  to put u-boot on  a custom board  based on dm6446 in  a
> > > NAND memory.
> > >
> > > I find  some mismatches between  the montavista linux kernel  and
> > > u-boot 2009.11 .
> >
> > Are they using the same ecc/oob layout? In the past(2.6.10 era), it is
> > known that u-boot montavista linux kernel do not use the same layout.
> > Does montavista linux kernel suppose to work with u-boot 2009.11?
> 
> mmm.. I don't know. By the way, I find a solution, I discovered that
> u-boot 2009.11 and bootargs "live" in the first MB of the nand, thus as a
> workaround I consider my nand divided into three parts: 1m of bootloader,
>  4m for the kernel and the rest for the rootfs.
> 
> But I still dont' know where u-boot puts its stuf...
> 
> > > Particularly,  in 
> > > linux-2.6.18_pro500/arch/arm/mach-davinci/board-evm.c the variable
> > > davinci_nand_partitions has 4 elements bootloader of 265KB, params
> > > 128K, kernel 4M and filesystem the rest of the memory.
> > >
> > > But  u-boot  2009.11 has  a  different  partitions layout  specified 
> > > by mtdparts=davinci_nand.0:384k(bootloader)ro,4m(kernel),-(filesystem)
> >
> > Correct me if I'm wrong but this is a kernel command line parameter. It
> > has nothing to do with u-boot partitions. does u-boot even support nand
> > partitions? By looking at the documentation at [1] I see it is just an
> > interface to use dynamic partitioning feature of Linux.
> 
> well, mtdparts seems to be hardcoded in the kernel. By passing the variable
> nothing changes.
> 

Have you selected CONFIG_MTD_CMDLINE_PARTS option in your kernel config?

Caglar
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to