[uClinux-dev] blkmem.c

From: Joe deBlaquiere (joe@wirespeed.com)
Date: Fri Jul 07 2000 - 16:52:25 EDT


I'm using blkmem.c to allow me to access and rewrite the flash memory. It
generally works very cleanly except that I couldn't figure out a nice way to
define a memory block device to be sectored heterogeneously. I'm using an
AMD flash that has a mixture of 8k and 64k blocks. As a workaround, I
defined two block devices with the same origin. one has small blocks and one
has big ones. This was good'nuff to get what I needed, but now I'm thinking
about doing it right.

Am I missing something or is the current driver only for equal-sectored
(monolithic, right?) devices?

Has anybody done this already, or should I start?

Are there any other features I should be thinking about adding while I'm
under the hood? lock/unlock sectors?

Joe deBlaquiere
WireSpeed Communications
307 Wynn Drive
Huntsville, AL 35805
voice : 256-704-9257
fax   : 256-837-3839

This message resent by the uclinux-dev@uclinux.org list server http://www.uClinux.org/


This archive was generated by hypermail 2.1.4 : Thu Sep 19 2002 - 13:19:14 EDT