Forum Discussion
Altera_Forum
Honored Contributor
20 years agoThe size reported by the Filesystem project is a max size as found in your system ptf file. It basically calculates the amount of free space by
(1) finding the beginning of flash to write to: (2) Look for any reserved areas of flash (for factory or user hardware configurations) (3) Take the lowest address of the reserved areas - 2MB (2 MB is reserved for the kernel) All of the Altera development boards and the Microtronix Development Boards have Linux MTD memory maps that match up with the amount of free space in flash. (i.e. the maps recognize that portions of flash are reserved for hardware configurations). If you're using a custom board, then you'll need to create a Linux MTD memory map that matches up with the free memory on your board. If this doesn't make much sense right now, lemme know and I'll see if I can clarify a little more in the next message.