Re: [U-Boot] OneNAND operations.

2009-10-09 Thread Kyungmin Park
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  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 0x8000 0x0024 1000
> 0x8000 - is the address where data will be put?
> "off" (I use 0x0024 becouse I want to read OMAP3's environments)
> size is 0x1000 - just for example.
>
> And I get:
>
> OneNAND read: offset 0x24, 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@lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] OneNAND operations.

2009-10-08 Thread Tuma
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 0x8000 0x0024 1000
0x8000 - is the address where data will be put?
"off" (I use 0x0024 becouse I want to read OMAP3's environments)
size is 0x1000 - just for example.

And I get:

OneNAND read: offset 0x24, 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@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot