You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "no1wudi (via GitHub)" <gi...@apache.org> on 2025/03/16 11:44:57 UTC

[PR] boards/imx6: Add support for mounting tmpfs file system [nuttx]

no1wudi opened a new pull request, #15999:
URL: https://github.com/apache/nuttx/pull/15999

   **Summary:**  
   * Automatically mount tmpfs during board bring-up when configured  
   * Modifies board bring-up code to handle tmpfs initialization  
   * Checks for `CONFIG_FS_TMPFS` and mounts tmpfs at `CONFIG_LIBC_TMPDIR`  
   * Includes error logging for mount failures  
   
   **Impact:**  
   * **New feature added?** YES - Adds automatic tmpfs mounting support for the i.MX6 Sabre board.  
   * **Impact on user?** YES - Users enabling `CONFIG_FS_TMPFS` no longer need to manually mount tmpfs.  
   * **Impact on build?** NO - No build system changes; relies on existing configuration.  
   * **Impact on hardware?** NO - Purely software/filesystem functionality.  
   * **Impact on documentation?** NO - No documentation updates included in this change.  
   * **Impact on security?** NO - Does not introduce security risks beyond tmpfs’s inherent behavior.  
   * **Impact on compatibility?** NO - Backward-compatible; only affects users enabling `CONFIG_FS_TMPFS`.  
   
   **Test:**
   Running: qemu-system-arm -M sabrelite -smp 1 -kernel /home/huang/Work/nuttx-crates-index/build/nuttx -nographic
   ```
   NuttShell (NSH) NuttX-12.8.0
   nsh> ls
   /:
    dev/
    proc/
    tmp/
   nsh> 
   ```


-- 
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-unsubscribe@nuttx.apache.org

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


Re: [PR] boards/imx6: Add support for mounting tmpfs file system [nuttx]

Posted by "acassis (via GitHub)" <gi...@apache.org>.
acassis merged PR #15999:
URL: https://github.com/apache/nuttx/pull/15999


-- 
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-unsubscribe@nuttx.apache.org

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


Re: [PR] boards/imx6: Add support for mounting tmpfs file system [nuttx]

Posted by "nuttxpr (via GitHub)" <gi...@apache.org>.
nuttxpr commented on PR #15999:
URL: https://github.com/apache/nuttx/pull/15999#issuecomment-2727356116

   [**\[Experimental Bot, please feedback here\]**](https://github.com/search?q=repo%3Aapache%2Fnuttx+13552&type=issues)
   
   
   
   Yes, this PR appears to meet the NuttX requirements, although it lacks specific testing logs demonstrating the behavior *before* the change.  The summary, impact assessment, and testing sections are all present and adequately filled.  The testing section could be improved by including logs demonstrating the system's behavior before the change (presumably requiring manual `tmpfs` mounting) and explicitly stating the build host and target details. While the target is implied (qemu-system-arm -M sabrelite), specifying the host OS and compiler version would strengthen the testing verification.
   


-- 
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-unsubscribe@nuttx.apache.org

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