oreh-a opened a new pull request, #1577:
URL: https://github.com/apache/nuttx-apps/pull/1577

   ## Summary
   Create MTD loop device from command line (lomtd, similar to losetup, losmart)
   
   ## Impact
   No impact
   
   ## Testing
   Testing should be performed when related code will be added to nuttx 
repository (pr. #8573)
   
   Preparing:
   config: Simulator, enable littlfs, spiffs, filemtd + mtd loop
   apps: nsh component lomtd is not disabled
   host: create files, e.g., littlefs.dat, spiffs.dat
   
   ./nuttx
   nsh>mount -t hostfs -o fs=/home/oreh /host
   nsh>lomtd -s 1024 -e 4096 -o 0 /dev/mtd0 /host/littlefs.dat
   nsh>mount -t littlefs -f "forceformat" /dev/mtd0 /mnt0
   nsh>ls /mnt0
   
   nsh>lomtd -s 1024 -e 4096 -o 0 /dev/mtd1 /host/spiffs.dat
   nsh>mount -t spiffs -o "forceformat" /dev/mtd1 /mnt1
   nsh>ls /mnt1
   


-- 
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