Flashdisk configuration

ali nasir supremenasir at yahoo.com
Fri Mar 2 16:01:34 UTC 2012


Hi,
 
We are using a Flash device and have mounted RFS on it. 
The flash device size is 512K. There two variants of the harware where one has a sector size of 64K each and the other is 128K sector size.
 
We basically have problms in identifying the correct values for the below memebers of the rtems_flashdisk_configuration struct
   unavail_blocks:     0,
    compact_segs:       1,
    avail_compact_segs: 1,
    info_level:         0
 
Can anyone help what should be the correct values of these members?
 
Thanks in advance
 
Regards,
Ali
 
const rtems_flashdisk_config rtems_flashdisk_configuration[] =
{
  {
    block_size:         512,
    device_count:       1,
    devices:            &device_descriptor[0],
    flags:              RTEMS_FDISK_BLANK_CHECK_BEFORE_WRITE,
    unavail_blocks:     0,
    compact_segs:       1,
    avail_compact_segs: 1,
    info_level:         0
  }
};
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20120302/852eb2c5/attachment.html>


More information about the users mailing list