Shop OBEX P1 Docs P2 Docs Learn Events
What SD card size (GB) to buy for Prop BOE?S - Page 2 — Parallax Forums

What SD card size (GB) to buy for Prop BOE?S

2»

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2012-02-29 10:28
    A small point regarding cluster sizes ...

    For loading programs on the Prop 1, most loaders require a contiguous 32K physical file storage area for the binary file. The easiest way to do this is to use a 32K cluster. For applications where there's no other compelling reason to choose one cluster size over another, this may trump other reasons for a particular cluster size. It would be possible to write the loader to work with smaller cluster sizes, maybe building a table of clusters to be loaded along with their physical addresses and sizes before turning control over to the cog-resident loader, but I don't think this has been done yet.
  • KyeKye Posts: 2,200
    edited 2012-02-29 15:50
    A small point regarding cluster sizes ...

    For loading programs on the Prop 1, most loaders require a contiguous 32K physical file storage area for the binary file. The easiest way to do this is to use a 32K cluster. For applications where there's no other compelling reason to choose one cluster size over another, this may trump other reasons for a particular cluster size. It would be possible to write the loader to work with smaller cluster sizes, maybe building a table of clusters to be loaded along with their physical addresses and sizes before turning control over to the cog-resident loader, but I don't think this has been done yet.

    My driver does this Mike. Other loaders do not however.

    Thanks,
  • David BetzDavid Betz Posts: 14,516
    edited 2012-03-01 05:06
    Mike Green wrote: »
    A small point regarding cluster sizes ...

    For loading programs on the Prop 1, most loaders require a contiguous 32K physical file storage area for the binary file. The easiest way to do this is to use a 32K cluster. For applications where there's no other compelling reason to choose one cluster size over another, this may trump other reasons for a particular cluster size. It would be possible to write the loader to work with smaller cluster sizes, maybe building a table of clusters to be loaded along with their physical addresses and sizes before turning control over to the cog-resident loader, but I don't think this has been done yet.

    The PropGCC SD cache driver does this for running XMM programs directly off of the SD card using a hub cache.
Sign In or Register to comment.