[U-Boot] OneNAND operations.

Kyungmin Park kmpark at infradead.org
Fri Oct 9 15:53:05 CEST 2009


Sorry for late reply.

At current implementation. only block write supported. Of course, I
wrote the partial write.

I will post the latest patches.

Sorry. Please wait until next Monday

Thank you,
Kyungmin Park

On Thu, Oct 8, 2009 at 6:10 PM, Tuma <chernigovskiy at spb.gs.ru> wrote:
> Hello, All!
> My next question is about OneNAND U-Boot operations.
> I use U-Boot 2009.08.rc2. There is "onenand" command:
>
> onenand read[.oob] addr off size
>    read/write 'size' bytes starting at offset 'off'
>    to/from memory address 'addr', skipping bad blocks.
>
>
> Can someone explain me how should I use it please?
> I try:
> onenand read 0x80000000 0x00240000 1000
> 0x80000000 - is the address where data will be put?
> "off" (I use 0x00240000 becouse I want to read OMAP3's environments)
> size is 0x1000 - just for example.
>
> And I get:
>
> OneNAND read: offset 0x240000, size 0x1000
>  0 bytes read: OK
>
> What is wrong?
> And what is [.oob]?
>
> Thank you!
>
>
> --
> Software Developer
> General Satellite Corp.
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>


More information about the U-Boot mailing list