* mtd erase
@ 2005-11-21 4:59 yogesh shivabasappa
2005-11-21 6:38 ` Thomas Gleixner
0 siblings, 1 reply; 2+ messages in thread
From: yogesh shivabasappa @ 2005-11-21 4:59 UTC (permalink / raw)
To: linux-mtd
Hi,
Im using intelP30 nor flash(CFI) in our custom board , im
registering the flash as mtd character device. We dont have
partitions on it , Now i'm writting a util program to perform
read,write and erase.
beform performing ioctl ERASE we need to call ioctl MEMGETINFO
or MEMGETREGIONINFO. Here im confusing between these two ioctls.
my understaing is, for region erase we need to call
MEMGETREIONINFO and MEMGETINFO is for non-region-erase .
can anyone tell me how these two ioctls are differ and which one
can be used for perfect erase.
I will appreciate any tips
Rgds,
Yogesh Shivabasappa
________________________________________________
Get your own "800" number
Voicemail, fax, email, and a lot more
http://www.ureach.com/reg/tag
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: mtd erase
2005-11-21 4:59 mtd erase yogesh shivabasappa
@ 2005-11-21 6:38 ` Thomas Gleixner
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Gleixner @ 2005-11-21 6:38 UTC (permalink / raw)
To: yogesh; +Cc: linux-mtd
On Sun, 2005-11-20 at 23:59 -0500, yogesh shivabasappa wrote:
> Hi,
>
> Im using intelP30 nor flash(CFI) in our custom board , im
> registering the flash as mtd character device. We dont have
> partitions on it , Now i'm writting a util program to perform
> read,write and erase.
>
> beform performing ioctl ERASE we need to call ioctl MEMGETINFO
> or MEMGETREGIONINFO. Here im confusing between these two ioctls.
> my understaing is, for region erase we need to call
> MEMGETREIONINFO and MEMGETINFO is for non-region-erase .
>
> can anyone tell me how these two ioctls are differ and which one
> can be used for perfect erase.
>
> I will appreciate any tips
MTDsource/utils/flash_erase and MTDsource/utils/flash_eraseall are the
utilities you are looking for.
tglx
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-11-21 6:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-21 4:59 mtd erase yogesh shivabasappa
2005-11-21 6:38 ` Thomas Gleixner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox