pls see
Is there nand flash driver ok on EVM6467?
i have post to [email protected]
and google search Using the "TMS320DM6467 DMSoC Bootloader"
Maybe this document can help u.
Sorry,there is no time for me to read the document and the uboot source code
now.
but i will do it in future.
good luck to u!
On 2 February 2010 14:38, rohan tabish <[email protected]> wrote:

> Have you solved this problem i hav the same problem when i do
>
>
> nand erase 0x60000
>
> The u-boot stops working instead i am doing
>
> nand erase 0x100000 0x200000
>
> and flash my uImage here and it works fine
>
> Regard's
> RT
>
> --- On *Sun, 31/1/10, Herbert Miao <[email protected]>* wrote:
>
>
> From: Herbert Miao <[email protected]>
> Subject: Re: problem with u-boot on NAND memory with dm6446
> To: "Ottavio Campana" <[email protected]>
> Cc: [email protected]
> Date: Sunday, 31 January, 2010, 19:39
>
>
> > > In any case I would assume that  after 0x60000 (i.e. 384k) no data
> would
> > > be present,  and by erasing it  nothing would happen. But  By erasing
> it
> > > u-boot stops working.
> > >
> > > The commands I give are:
> > >
> > > nand erase 0x00060000 0x00400000
> > > nand write 0x80700000 0x00060000 0x00400000
> > > reset
> > >
> >
> > Do you want to update u-boot from u-boot? I never tried that, I thought
> ubl
> > obb layout and u-boot layout are not compatiple.
> i have the same problem when i run "nand erase 0xa0000" on DM6467 and then
> uboot cannot work.
>
> On 29 January 2010 16:41, Ottavio Campana 
> <[email protected]<http://mc/[email protected]>
> > 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.
>>
>> > > In any case I would assume that  after 0x60000 (i.e. 384k) no data
>> would
>> > > be present,  and by erasing it  nothing would happen. But  By erasing
>> it
>> > > u-boot stops working.
>> > >
>> > > The commands I give are:
>> > >
>> > > nand erase 0x00060000 0x00400000
>> > > nand write 0x80700000 0x00060000 0x00400000
>> > > reset
>> > >
>> >
>> > Do you want to update u-boot from u-boot? I never tried that, I thought
>> ubl
>> > obb layout and u-boot layout are not compatiple.
>>
>> no, just putting kernel and rootfs on the nand.
>>
>> In any case, it somehow works, I just would like now to understand what
>> u-boot
>> 2009.11 really does.
>>
>> Ottavio
>> _______________________________________________
>> Davinci-linux-open-source mailing list
>> [email protected]<http://mc/[email protected]>
>> http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
>>
>
>
> -----Inline Attachment Follows-----
>
>
> _______________________________________________
> Davinci-linux-open-source mailing list
> [email protected]<http://mc/[email protected]>
> http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
>
>
>
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to