Opened 7 years ago

Closed 7 years ago

Last modified 4 years ago

#8308 closed enhancement (fixed)

Add a no erase option to mtd for the write command

Reported by: wmoors@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:


Added a patch to add an option to prevent the erase of the block when writing to flash. (option -n)
It is overkill to let mtd erase the block when the driver already uses a write instruction that has a built-in erase. (in my case the AT45DB642D)
This significantly speeds up write operations.

Attachments (1)

mtd_no_erase_on_write.patch (1.5 KB) - added by wmoors@… 7 years ago.
patch for mtd no erase on write

Download all attachments as: .zip

Change History (6)

Changed 7 years ago by wmoors@…

patch for mtd no erase on write

comment:1 Changed 7 years ago by acoul

  • Resolution set to fixed
  • Status changed from new to closed

applied in r24132. thank you

comment:2 Changed 7 years ago by Mark Mentovai <mark@…>

I think that this patch got the logic backwards. See .

comment:3 Changed 7 years ago by jow

Actually made it working in r24134...

comment:4 Changed 7 years ago by wmoors@…

@jow: thx for fixing this.
Inexcusable error.

comment:5 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.