← index #17544Issue #18962
Related · high · value 2.186
QUERY · ISSUE

Make ROMFS Bootable.

openby kwagyemanopened 2025-06-21updated 2025-06-23
enhancement

Description

The new ROMFS feature allows users to deploy their application with all necessary resources as a package. This is hugely valuable. However, while ROMFS partitions can contain code, they are not actively searched by default for code. I'd like to suggest that ROMFS partition(s) are searched whenever before/after frozen scripts.

E.g. pyexec_file_if_exists() searches frozen scripts first before the current path. Searching ROMFS should be added in between. When used from main.c to run "boot.py" and "main.py" this would ensure that the ROMS partition is considered and executed first.

Similarly, when searching for an import, before searching for frozen scripts, ROMFS is also interrogated.

...

Generally, the goal here is one where you can put your whole application on ROMFS and then /flash or /sdcard don't matter except for storing logs or config files.

Code Size

This can be an optional feature.

Implementation

I hope the MicroPython maintainers or community will implement this feature

Code of Conduct

Yes, I agree

CANDIDATE · ISSUE

OpenMV Feature: ROMFS IOCTL Documentation and Debug

openby kwagyemanopened 2026-03-21updated 2026-03-21
enhancement

Description

  • Ensure ROMFS write/erase from MicroPython for STM32, IMIXRT, and ALIF works.
  • Add documentation about ROMFS, ioctl API, etc.
  • Make ROMFS bootable?

Code Size

No response

Implementation

I hope the MicroPython maintainers or community will implement this feature

Code of Conduct

Yes, I agree

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied