Laczen commented on issue #16099:
URL: https://github.com/apache/nuttx/issues/16099#issuecomment-2801756529

   @tmedicci (and others if interested) it is also possible to mount a romfs 
system directly on a mtd device.
   
   I created a mtd device /dev/mtdblock0 starting at 0x200000 and wrote a 
generated romfs file directly to 0x200000. This can be mounted using:
   ```
   mount -t romfs -o MS_RDONLY /dev/mtdblock0 /mnt/romfs
   ```
   
   It is then possible to use /mnt/romfs to access the files in the romfs 
filesystem. This is a great solution for allowing updates to a romfs without 
updating the kernel. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to