RTEMS | bsps/shared/dev/flash: Enforce maximum JFFS2 filesystem size (!742)

Kinsey Moore (@opticron) gitlab at rtems.org
Tue Sep 23 01:49:29 UTC 2025



Kinsey Moore created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/742

Project:Branches: opticron/rtems:br6-jffs2-max to rtems/rtos/rtems:6
Author:   Kinsey Moore
Assignee: Kinsey Moore



## Summary

bsps/shared/dev/flash: Enforce maximum JFFS2 filesystem size

The maximum size of JFFS2 is 4GB minus the block size of the flash.
Enforce this limitation when setting up a filesystem on a flashdev
region that is larger than the maximum.

This also resolves some off-nominal memory leaks.

Closes #5347


<!-- Default settings, if it is a dropdown it will set after submission -->

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/742
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20250923/3300db78/attachment.htm>


More information about the bugs mailing list