Re: [I] [HELP] romfs on esp32 [nuttx]

2025-06-25 Thread via GitHub
acassis commented on issue #16099: URL: https://github.com/apache/nuttx/issues/16099#issuecomment-3004508892 Understood, then it is another "hidden feature" of NuttX. There are many feature on NuttX that we only discover that exist accidentally reading the code. There are many examples, the

Re: [I] [HELP] romfs on esp32 [nuttx]

2025-06-24 Thread via GitHub
Laczen commented on issue #16099: URL: https://github.com/apache/nuttx/issues/16099#issuecomment-3003261861 > I tried to search for it here: https://nuttx.apache.org/docs/latest/search.html?q=romfs+mtd&check_keywords=yes&area=default but didn't find it. What is the name of your elf sample?

Re: [I] [HELP] romfs on esp32 [nuttx]

2025-06-24 Thread via GitHub
acassis commented on issue #16099: URL: https://github.com/apache/nuttx/issues/16099#issuecomment-3001860243 I tried to search for it here: https://nuttx.apache.org/docs/latest/search.html?q=romfs+mtd&check_keywords=yes&area=default but didn't find it. What is the name of your elf sample?

Re: [I] [HELP] romfs on esp32 [nuttx]

2025-06-24 Thread via GitHub
Laczen commented on issue #16099: URL: https://github.com/apache/nuttx/issues/16099#issuecomment-3001757264 @tmedicci @acassis the use of romfs with MTD is already covered in the elf example at the end of the sample. -- This is an automated message from the Apache Git Service. To respond

Re: [I] [HELP] romfs on esp32 [nuttx]

2025-06-20 Thread via GitHub
acassis commented on issue #16099: URL: https://github.com/apache/nuttx/issues/16099#issuecomment-2992402313 @Laczen very nice! About wear levelling for NOR Flash, why don't you use SmartFS or LittleFS? It has support to it. Yes, the things you discovered about how to use ROMFS with M

Re: [I] [HELP] romfs on esp32 [nuttx]

2025-06-20 Thread via GitHub
Laczen commented on issue #16099: URL: https://github.com/apache/nuttx/issues/16099#issuecomment-2992371491 > Just a follow-up on that: [@Laczen](https://github.com/Laczen) , if you have time, please share the `defconfig` you used for and - if possible - write about it on `ROMFS` entry (on

Re: [I] [HELP] romfs on esp32 [nuttx]

2025-06-20 Thread via GitHub
tmedicci commented on issue #16099: URL: https://github.com/apache/nuttx/issues/16099#issuecomment-2991370078 Just a follow-up on that: @Laczen , if you have time, please share the `defconfig` you used for and - if possible - write about it on `ROMFS` entry (on documentation). That would be

Re: [I] [HELP] romfs on esp32 [nuttx]

2025-04-15 Thread via GitHub
Laczen commented on issue #16099: URL: https://github.com/apache/nuttx/issues/16099#issuecomment-2802171800 > That is really cool approach! Maybe using it with progmem you can have create OTA apps update That is my ultimate goal, I reckon that if modules (see examples/module) can be

Re: [I] [HELP] romfs on esp32 [nuttx]

2025-04-15 Thread via GitHub
acassis commented on issue #16099: URL: https://github.com/apache/nuttx/issues/16099#issuecomment-2805466599 @Laczen cool! If you get some inspiration please create a Guide showing how to do an Application update using this ROMFS approach with ELF support -- This is an automated message f

Re: [I] [HELP] romfs on esp32 [nuttx]

2025-04-15 Thread via GitHub
Laczen commented on issue #16099: URL: https://github.com/apache/nuttx/issues/16099#issuecomment-2805207898 @acassis I can confirm that this method also works with the elf example. NuttX is so cool :-). I will look into making an example (e.g. hello_world) to show the method. -- Th

Re: [I] [HELP] romfs on esp32 [nuttx]

2025-04-14 Thread via GitHub
acassis commented on issue #16099: URL: https://github.com/apache/nuttx/issues/16099#issuecomment-2801913332 That is really cool approach! Maybe using it with progmem you can have create OTA apps update -- This is an automated message from the Apache Git Service. To respond to the message

Re: [I] [HELP] romfs on esp32 [nuttx]

2025-04-14 Thread via GitHub
Laczen commented on issue #16099: URL: https://github.com/apache/nuttx/issues/16099#issuecomment-2801866756 > [@Laczen](https://github.com/Laczen) maybe it could become a Guide here: https://nuttx.apache.org/docs/latest/guides/index.html > I need to further test this to see if ther

Re: [I] [HELP] romfs on esp32 [nuttx]

2025-04-14 Thread via GitHub
acassis commented on issue #16099: URL: https://github.com/apache/nuttx/issues/16099#issuecomment-2801794265 @Laczen maybe it could become a Guide here: https://nuttx.apache.org/docs/latest/guides/index.html How are you updating the romfs without updating the kernel? Do you just flas

Re: [I] [HELP] romfs on esp32 [nuttx]

2025-04-14 Thread via GitHub
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 0x20 and wrote a

Re: [I] [HELP] romfs on esp32 [nuttx]

2025-04-05 Thread via GitHub
lupyuen commented on issue #16099: URL: https://github.com/apache/nuttx/issues/16099#issuecomment-2767577601 Hi @Laczen: For my RISC-V and Arm64 Ports of NuttX, I mount the ROM FS like this... https://lupyuen.org/articles/avaota.html#mount-the-romfs ```c struct boardioc_romdisk_s

[I] [HELP] romfs on esp32 [nuttx]

2025-04-05 Thread via GitHub
Laczen opened a new issue, #16099: URL: https://github.com/apache/nuttx/issues/16099 ### Description I am trying to mount a romfs filesystem at a specific location in flash. I am using the romfs sample. I have placed the testdir.img at a specific location in flash (0x20) an

Re: [I] [HELP] romfs on esp32 [nuttx]

2025-04-01 Thread via GitHub
tmedicci commented on issue #16099: URL: https://github.com/apache/nuttx/issues/16099#issuecomment-2769338704 > [@lupyuen](https://github.com/lupyuen) thanks for the reply. > > For the esp32 the linker scripts are a mystery for me. > > Maybe [@tmedici](https://github.com/tmedici

Re: [I] [HELP] romfs on esp32 [nuttx]

2025-04-01 Thread via GitHub
Laczen commented on issue #16099: URL: https://github.com/apache/nuttx/issues/16099#issuecomment-2770387280 @tmedicci thanks for your reply. I had chosen romfs because from the documentation this seemed to be the simplest, it is explicitly read-only and should support xip. I will have

Re: [I] [HELP] romfs on esp32 [nuttx]

2025-04-01 Thread via GitHub
Laczen closed issue #16099: [HELP] romfs on esp32 URL: https://github.com/apache/nuttx/issues/16099 -- 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: comm

Re: [I] [HELP] romfs on esp32 [nuttx]

2025-03-31 Thread via GitHub
acassis commented on issue #16099: URL: https://github.com/apache/nuttx/issues/16099#issuecomment-2767516648 @lupyuen did you try something like this in the past? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL