flashdisk heap requirements

Matthew J Fletcher amimjf at gmail.com
Wed Mar 13 16:22:43 UTC 2013


Hi,

I have setup a flashdisk device, the segment descriptor, defines a size of
64k and a count of 32 (although i am not 100% sure what the count means). I
have a 512 block size in the flashdisk configuration.

In rtems_flashdisk_initalize() the code calloc()'s the size of blocks as
calculated by rtems_fdisk_blocks_in_device(), for the example above this
results in calloc(4032,8) a request of 32256 !, thats 50% of the NOR size.
Actually i would like a 6MB filesystem on a 16MB NOR chip.

-- 

regards
---
Matthew J Fletcher
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20130313/118df9b8/attachment.html>


More information about the users mailing list